Class StackMonitoringClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.stackmonitoring.StackMonitoringClient
-
- All Implemented Interfaces:
StackMonitoring
,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public class StackMonitoringClient extends BaseSyncClient implements StackMonitoring
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StackMonitoringClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field Description String
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.Optional<String>
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.static Service
SERVICE
Service instance for StackMonitoring.
-
Constructor Summary
Constructors Constructor Description StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.stackmonitoring.StackMonitoring
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-ClientBuilderBase.endpoint(java.lang.String)
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
-ClientBuilderBase.signingStrategyRequestSignerFactories
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
-ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
-StackMonitoringClient.Builder.executorService
-
-
Method Detail
-
builder
public static StackMonitoringClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:StackMonitoring
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpoint
after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegion
in interfaceStackMonitoring
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:StackMonitoring
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion
.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)
and then callsetEndpoint
.- Specified by:
setRegion
in interfaceStackMonitoring
- Parameters:
regionId
- The public region ID.
-
applyMonitoringTemplate
public ApplyMonitoringTemplateResponse applyMonitoringTemplate(ApplyMonitoringTemplateRequest request)
Description copied from interface:StackMonitoring
Apply the Monitoring Template identified by the id- Specified by:
applyMonitoringTemplate
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
associateMonitoredResources
public AssociateMonitoredResourcesResponse associateMonitoredResources(AssociateMonitoredResourcesRequest request)
Description copied from interface:StackMonitoring
Create an association between two monitored resources.Associations can be created between resources from different compartments as long they are in same tenancy. User should have required access in both the compartments.
- Specified by:
associateMonitoredResources
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeConfigCompartment
public ChangeConfigCompartmentResponse changeConfigCompartment(ChangeConfigCompartmentRequest request)
Description copied from interface:StackMonitoring
Moves the configuration item to another compartment.Basically, this will disable any configuration for this configuration type in thie compartment, and will enable it in the new one.
For example, if for a HOST resource type, the configuration with AUTO_PROMOTE in the configuration type and TRUE as value is moved, automatic discovery will not take place in this compartment any more, but in the new one.
So this operation will have the same effect as deleting the configuration item in the old compartment and recreating it in another compartment.
When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeConfigCompartment
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeMetricExtensionCompartment
public ChangeMetricExtensionCompartmentResponse changeMetricExtensionCompartment(ChangeMetricExtensionCompartmentRequest request)
Description copied from interface:StackMonitoring
Moves a Metric Extension resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMetricExtensionCompartment
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeMonitoredResourceCompartment
public ChangeMonitoredResourceCompartmentResponse changeMonitoredResourceCompartment(ChangeMonitoredResourceCompartmentRequest request)
Description copied from interface:StackMonitoring
Moves a monitored resource from one compartment to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMonitoredResourceCompartment
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeMonitoredResourceTaskCompartment
public ChangeMonitoredResourceTaskCompartmentResponse changeMonitoredResourceTaskCompartment(ChangeMonitoredResourceTaskCompartmentRequest request)
Description copied from interface:StackMonitoring
Moves a stack monitoring resource task from one compartment to another.- Specified by:
changeMonitoredResourceTaskCompartment
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeProcessSetCompartment
public ChangeProcessSetCompartmentResponse changeProcessSetCompartment(ChangeProcessSetCompartmentRequest request)
Description copied from interface:StackMonitoring
Moves a ProcessSet resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeProcessSetCompartment
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createAlarmCondition
public CreateAlarmConditionResponse createAlarmCondition(CreateAlarmConditionRequest request)
Description copied from interface:StackMonitoring
Create a new alarm condition in same monitoringTemplate compartment.- Specified by:
createAlarmCondition
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createBaselineableMetric
public CreateBaselineableMetricResponse createBaselineableMetric(CreateBaselineableMetricRequest request)
Description copied from interface:StackMonitoring
Creates the specified Baseline-able metric- Specified by:
createBaselineableMetric
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createConfig
public CreateConfigResponse createConfig(CreateConfigRequest request)
Description copied from interface:StackMonitoring
Creates a configuration item, for example to define whether resources of a specific type should be discovered automatically.For example, when a new Management Agent gets registered in a certain compartment, this Management Agent can potentially get promoted to a HOST resource. The configuration item will determine if HOST resources in the selected compartment will be discovered automatically.
- Specified by:
createConfig
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDiscoveryJob
public CreateDiscoveryJobResponse createDiscoveryJob(CreateDiscoveryJobRequest request)
Description copied from interface:StackMonitoring
API to create discovery Job and submit discovery Details to agent.- Specified by:
createDiscoveryJob
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMaintenanceWindow
public CreateMaintenanceWindowResponse createMaintenanceWindow(CreateMaintenanceWindowRequest request)
Description copied from interface:StackMonitoring
Creates a new Maintenance Window for the given resources.It will create also the Alarms Suppression for each alarm that the resource migth trigger.
- Specified by:
createMaintenanceWindow
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMetricExtension
public CreateMetricExtensionResponse createMetricExtension(CreateMetricExtensionRequest request)
Description copied from interface:StackMonitoring
Creates a new metric extension resource for a given compartment- Specified by:
createMetricExtension
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMonitoredResource
public CreateMonitoredResourceResponse createMonitoredResource(CreateMonitoredResourceRequest request)
Description copied from interface:StackMonitoring
Creates a new monitored resource for the given resource type with the details and submits a work request for promoting the resource to agent.Once the resource is successfully added to agent, resource state will be marked active.
- Specified by:
createMonitoredResource
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMonitoredResourceTask
public CreateMonitoredResourceTaskResponse createMonitoredResourceTask(CreateMonitoredResourceTaskRequest request)
Description copied from interface:StackMonitoring
Create a new stack monitoring resource task.- Specified by:
createMonitoredResourceTask
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMonitoredResourceType
public CreateMonitoredResourceTypeResponse createMonitoredResourceType(CreateMonitoredResourceTypeRequest request)
Description copied from interface:StackMonitoring
Creates a new monitored resource type.- Specified by:
createMonitoredResourceType
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMonitoringTemplate
public CreateMonitoringTemplateResponse createMonitoringTemplate(CreateMonitoringTemplateRequest request)
Description copied from interface:StackMonitoring
Creates a new monitoring template for a given compartment.- Specified by:
createMonitoringTemplate
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createProcessSet
public CreateProcessSetResponse createProcessSet(CreateProcessSetRequest request)
Description copied from interface:StackMonitoring
API to create Process Set.- Specified by:
createProcessSet
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteAlarmCondition
public DeleteAlarmConditionResponse deleteAlarmCondition(DeleteAlarmConditionRequest request)
Description copied from interface:StackMonitoring
Deletes the alarm conditions by identifier- Specified by:
deleteAlarmCondition
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteBaselineableMetric
public DeleteBaselineableMetricResponse deleteBaselineableMetric(DeleteBaselineableMetricRequest request)
Description copied from interface:StackMonitoring
Deletes the Baseline-able metric for the given id- Specified by:
deleteBaselineableMetric
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteConfig
public DeleteConfigResponse deleteConfig(DeleteConfigRequest request)
Description copied from interface:StackMonitoring
Deletes a configuration identified by the id.- Specified by:
deleteConfig
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDiscoveryJob
public DeleteDiscoveryJobResponse deleteDiscoveryJob(DeleteDiscoveryJobRequest request)
Description copied from interface:StackMonitoring
Deletes a DiscoveryJob by identifier- Specified by:
deleteDiscoveryJob
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteMaintenanceWindow
public DeleteMaintenanceWindowResponse deleteMaintenanceWindow(DeleteMaintenanceWindowRequest request)
Description copied from interface:StackMonitoring
Deletes a maintenance window by identifier- Specified by:
deleteMaintenanceWindow
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteMetricExtension
public DeleteMetricExtensionResponse deleteMetricExtension(DeleteMetricExtensionRequest request)
Description copied from interface:StackMonitoring
Deletes a metric extension by identifier- Specified by:
deleteMetricExtension
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteMonitoredResource
public DeleteMonitoredResourceResponse deleteMonitoredResource(DeleteMonitoredResourceRequest request)
Description copied from interface:StackMonitoring
Delete monitored resource by the given identifier OCID.By default, only the specified resource is deleted. If the parameter ‘isDeleteMembers’ is set to true, then the member resources will be deleted too. If the operation fails partially, the deleted entries will not be rolled back.
- Specified by:
deleteMonitoredResource
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteMonitoredResourceType
public DeleteMonitoredResourceTypeResponse deleteMonitoredResourceType(DeleteMonitoredResourceTypeRequest request)
Description copied from interface:StackMonitoring
Deletes a monitored resource type by identifier OCID.- Specified by:
deleteMonitoredResourceType
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteMonitoringTemplate
public DeleteMonitoringTemplateResponse deleteMonitoringTemplate(DeleteMonitoringTemplateRequest request)
Description copied from interface:StackMonitoring
Deletes the monitoring template by identifier- Specified by:
deleteMonitoringTemplate
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteProcessSet
public DeleteProcessSetResponse deleteProcessSet(DeleteProcessSetRequest request)
Description copied from interface:StackMonitoring
Deletes a Process Set- Specified by:
deleteProcessSet
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableExternalDatabase
public DisableExternalDatabaseResponse disableExternalDatabase(DisableExternalDatabaseRequest request)
Description copied from interface:StackMonitoring
Disable external database resource monitoring.All the references in DBaaS, DBM and resource service will be deleted as part of this operation.
- Specified by:
disableExternalDatabase
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableMetricExtension
public DisableMetricExtensionResponse disableMetricExtension(DisableMetricExtensionRequest request)
Description copied from interface:StackMonitoring
Submits a request to disable matching metric extension Id for the given Resource IDs- Specified by:
disableMetricExtension
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disassociateMonitoredResources
public DisassociateMonitoredResourcesResponse disassociateMonitoredResources(DisassociateMonitoredResourcesRequest request)
Description copied from interface:StackMonitoring
Removes associations between two monitored resources.- Specified by:
disassociateMonitoredResources
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
enableMetricExtension
public EnableMetricExtensionResponse enableMetricExtension(EnableMetricExtensionRequest request)
Description copied from interface:StackMonitoring
Submits a request to enable matching metric extension Id for the given Resource IDs- Specified by:
enableMetricExtension
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
evaluateBaselineableMetric
public EvaluateBaselineableMetricResponse evaluateBaselineableMetric(EvaluateBaselineableMetricRequest request)
Description copied from interface:StackMonitoring
Evaluates metric for anomalies for the given data points- Specified by:
evaluateBaselineableMetric
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
exportMetricExtension
public ExportMetricExtensionResponse exportMetricExtension(ExportMetricExtensionRequest request)
Description copied from interface:StackMonitoring
Export generates a template used to create new metric extension resources similar to matching metric extension id.Response is a file that contains metric extension definition with placeholders for fields to be changed.
- Specified by:
exportMetricExtension
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
exportMonitoringTemplate
public ExportMonitoringTemplateResponse exportMonitoringTemplate(ExportMonitoringTemplateRequest request)
Description copied from interface:StackMonitoring
Export the specified monitoring template- Specified by:
exportMonitoringTemplate
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAlarmCondition
public GetAlarmConditionResponse getAlarmCondition(GetAlarmConditionRequest request)
Description copied from interface:StackMonitoring
Gets a Alarm Condition by identifier.- Specified by:
getAlarmCondition
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getBaselineableMetric
public GetBaselineableMetricResponse getBaselineableMetric(GetBaselineableMetricRequest request)
Description copied from interface:StackMonitoring
Get the Baseline-able metric for the given id- Specified by:
getBaselineableMetric
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getConfig
public GetConfigResponse getConfig(GetConfigRequest request)
Description copied from interface:StackMonitoring
Gets the details of a configuration.- Specified by:
getConfig
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDiscoveryJob
public GetDiscoveryJobResponse getDiscoveryJob(GetDiscoveryJobRequest request)
Description copied from interface:StackMonitoring
API to get the details of discovery Job by identifier.- Specified by:
getDiscoveryJob
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMaintenanceWindow
public GetMaintenanceWindowResponse getMaintenanceWindow(GetMaintenanceWindowRequest request)
Description copied from interface:StackMonitoring
Get maintenance window for the given identifier OCID.- Specified by:
getMaintenanceWindow
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMetricExtension
public GetMetricExtensionResponse getMetricExtension(GetMetricExtensionRequest request)
Description copied from interface:StackMonitoring
Gets a Metric Extension by identifier- Specified by:
getMetricExtension
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMonitoredResource
public GetMonitoredResourceResponse getMonitoredResource(GetMonitoredResourceRequest request)
Description copied from interface:StackMonitoring
Get monitored resource for the given identifier OCID.- Specified by:
getMonitoredResource
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMonitoredResourceTask
public GetMonitoredResourceTaskResponse getMonitoredResourceTask(GetMonitoredResourceTaskRequest request)
Description copied from interface:StackMonitoring
Gets stack monitoring resource task details by identifier OCID.- Specified by:
getMonitoredResourceTask
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMonitoredResourceType
public GetMonitoredResourceTypeResponse getMonitoredResourceType(GetMonitoredResourceTypeRequest request)
Description copied from interface:StackMonitoring
Gets a monitored resource type by identifier OCID.- Specified by:
getMonitoredResourceType
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMonitoringTemplate
public GetMonitoringTemplateResponse getMonitoringTemplate(GetMonitoringTemplateRequest request)
Description copied from interface:StackMonitoring
Gets a Monitoring Template by identifier- Specified by:
getMonitoringTemplate
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getProcessSet
public GetProcessSetResponse getProcessSet(GetProcessSetRequest request)
Description copied from interface:StackMonitoring
API to get the details of a Process Set by identifier.- Specified by:
getProcessSet
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:StackMonitoring
Gets the status of the work request with the given ID.- Specified by:
getWorkRequest
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAlarmConditions
public ListAlarmConditionsResponse listAlarmConditions(ListAlarmConditionsRequest request)
Description copied from interface:StackMonitoring
Returns a list of Alarm Conditions.- Specified by:
listAlarmConditions
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listBaselineableMetrics
public ListBaselineableMetricsResponse listBaselineableMetrics(ListBaselineableMetricsRequest request)
Description copied from interface:StackMonitoring
List of summary of baseline-able metrics for a given resource group if specified.- Specified by:
listBaselineableMetrics
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listConfigs
public ListConfigsResponse listConfigs(ListConfigsRequest request)
Description copied from interface:StackMonitoring
Get a list of configurations in a compartment.- Specified by:
listConfigs
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDefinedMonitoringTemplates
public ListDefinedMonitoringTemplatesResponse listDefinedMonitoringTemplates(ListDefinedMonitoringTemplatesRequest request)
Description copied from interface:StackMonitoring
List Defined Monitoring Templates.- Specified by:
listDefinedMonitoringTemplates
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDiscoveryJobLogs
public ListDiscoveryJobLogsResponse listDiscoveryJobLogs(ListDiscoveryJobLogsRequest request)
Description copied from interface:StackMonitoring
API to get all the logs of a Discovery Job.- Specified by:
listDiscoveryJobLogs
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDiscoveryJobs
public ListDiscoveryJobsResponse listDiscoveryJobs(ListDiscoveryJobsRequest request)
Description copied from interface:StackMonitoring
API to get the details of all Discovery Jobs.- Specified by:
listDiscoveryJobs
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMaintenanceWindows
public ListMaintenanceWindowsResponse listMaintenanceWindows(ListMaintenanceWindowsRequest request)
Description copied from interface:StackMonitoring
Returns a list of maintenance windows.- Specified by:
listMaintenanceWindows
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMetricExtensions
public ListMetricExtensionsResponse listMetricExtensions(ListMetricExtensionsRequest request)
Description copied from interface:StackMonitoring
Returns a list of metric extensions- Specified by:
listMetricExtensions
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMonitoredResourceTasks
public ListMonitoredResourceTasksResponse listMonitoredResourceTasks(ListMonitoredResourceTasksRequest request)
Description copied from interface:StackMonitoring
Returns a list of stack monitoring resource tasks in the compartment.- Specified by:
listMonitoredResourceTasks
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMonitoredResourceTypes
public ListMonitoredResourceTypesResponse listMonitoredResourceTypes(ListMonitoredResourceTypesRequest request)
Description copied from interface:StackMonitoring
Returns list of resource types accessible to the customer.There are two types of resource types - System resource types and User resource types. System resource types are available out of the box in the stack monitoring resource service and are accessible to all the tenant users. User resource types are created in the context of a tenancy and are visible only for the tenancy. By default, both System resource types and User resource types are returned.
- Specified by:
listMonitoredResourceTypes
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMonitoredResources
public ListMonitoredResourcesResponse listMonitoredResources(ListMonitoredResourcesRequest request)
Description copied from interface:StackMonitoring
Returns a list of monitored resources.- Specified by:
listMonitoredResources
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMonitoringTemplates
public ListMonitoringTemplatesResponse listMonitoringTemplates(ListMonitoringTemplatesRequest request)
Description copied from interface:StackMonitoring
Returns a list of Monitoring Templates.- Specified by:
listMonitoringTemplates
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listProcessSets
public ListProcessSetsResponse listProcessSets(ListProcessSetsRequest request)
Description copied from interface:StackMonitoring
API to get the details of all Process Sets.- Specified by:
listProcessSets
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:StackMonitoring
Return a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrors
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:StackMonitoring
Return a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogs
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:StackMonitoring
Lists the work requests in a compartment.- Specified by:
listWorkRequests
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
manageLicense
public ManageLicenseResponse manageLicense(ManageLicenseRequest request)
Description copied from interface:StackMonitoring
Each resource is assigned a license based on which features are enabled for it.User is charged differently based on license. Specify the license type to be updated for the parent resource in the topology. The license type value is propagated to the member resources as well. Member resource is a resource which has "contains" association with the resource.
- Specified by:
manageLicense
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
publishMetricExtension
public PublishMetricExtensionResponse publishMetricExtension(PublishMetricExtensionRequest request)
Description copied from interface:StackMonitoring
Publish the Metric Extension identified by the id- Specified by:
publishMetricExtension
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
requestMonitoredResourcesSummarizedCount
public RequestMonitoredResourcesSummarizedCountResponse requestMonitoredResourcesSummarizedCount(RequestMonitoredResourcesSummarizedCountRequest request)
Description copied from interface:StackMonitoring
Gets resource count based on the aggregation criteria specified using "groupBy" parameter.- Specified by:
requestMonitoredResourcesSummarizedCount
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
requestSummarizedMetricExtensionsMetrics
public RequestSummarizedMetricExtensionsMetricsResponse requestSummarizedMetricExtensionsMetrics(RequestSummarizedMetricExtensionsMetricsRequest request)
Description copied from interface:StackMonitoring
Gets metric extension metrics count based on the aggregation criteria specified using request body.Either metricExtensionId or compartmentId must be passed even when no other filter property is passed.
- Specified by:
requestSummarizedMetricExtensionsMetrics
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
requestSummarizedMetricExtensionsResources
public RequestSummarizedMetricExtensionsResourcesResponse requestSummarizedMetricExtensionsResources(RequestSummarizedMetricExtensionsResourcesRequest request)
Description copied from interface:StackMonitoring
Gets metric extension resources count based on the aggregation criteria specified using request body.Either metricExtensionId or compartmentId should be passed, if no other property is passed.
- Specified by:
requestSummarizedMetricExtensionsResources
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
retryFailedMaintenanceWindowOperation
public RetryFailedMaintenanceWindowOperationResponse retryFailedMaintenanceWindowOperation(RetryFailedMaintenanceWindowOperationRequest request)
Description copied from interface:StackMonitoring
Retry the last failed operation.The operation failed will be the most recent one. It won’t apply for previous failed operations.
- Specified by:
retryFailedMaintenanceWindowOperation
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
searchAssociatedResources
public SearchAssociatedResourcesResponse searchAssociatedResources(SearchAssociatedResourcesRequest request)
Description copied from interface:StackMonitoring
List all associated resources recursively up-to a specified level, for the monitored resources of type specified.- Specified by:
searchAssociatedResources
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
searchMonitoredResourceAssociations
public SearchMonitoredResourceAssociationsResponse searchMonitoredResourceAssociations(SearchMonitoredResourceAssociationsRequest request)
Description copied from interface:StackMonitoring
Search associations in the given compartment based on the search criteria.- Specified by:
searchMonitoredResourceAssociations
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
searchMonitoredResourceMembers
public SearchMonitoredResourceMembersResponse searchMonitoredResourceMembers(SearchMonitoredResourceMembersRequest request)
Description copied from interface:StackMonitoring
List the member resources for the given monitored resource identifier OCID.- Specified by:
searchMonitoredResourceMembers
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
searchMonitoredResources
public SearchMonitoredResourcesResponse searchMonitoredResources(SearchMonitoredResourcesRequest request)
Description copied from interface:StackMonitoring
Gets a list of all monitored resources in a compartment for the given search criteria.- Specified by:
searchMonitoredResources
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
stopMaintenanceWindow
public StopMaintenanceWindowResponse stopMaintenanceWindow(StopMaintenanceWindowRequest request)
Description copied from interface:StackMonitoring
Stop a maintenance window before the end time is reached.- Specified by:
stopMaintenanceWindow
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
testMetricExtension
public TestMetricExtensionResponse testMetricExtension(TestMetricExtensionRequest request)
Description copied from interface:StackMonitoring
Performs test of Metric Extension on a specific resource Id- Specified by:
testMetricExtension
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
unapplyMonitoringTemplate
public UnapplyMonitoringTemplateResponse unapplyMonitoringTemplate(UnapplyMonitoringTemplateRequest request)
Description copied from interface:StackMonitoring
Unapply the Monitoring Template identified by the id- Specified by:
unapplyMonitoringTemplate
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateAlarmCondition
public UpdateAlarmConditionResponse updateAlarmCondition(UpdateAlarmConditionRequest request)
Description copied from interface:StackMonitoring
Update a Alarm Condition by identifier- Specified by:
updateAlarmCondition
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateAndPropagateTags
public UpdateAndPropagateTagsResponse updateAndPropagateTags(UpdateAndPropagateTagsRequest request)
Description copied from interface:StackMonitoring
Provided tags will be added or updated in the existing list of tags for the affected resources.Resources to be updated are identified based on association types specified. If association types not specified, then tags will be updated only for the resource identified by the given monitored resource identifier OCID.
- Specified by:
updateAndPropagateTags
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateBaselineableMetric
public UpdateBaselineableMetricResponse updateBaselineableMetric(UpdateBaselineableMetricRequest request)
Description copied from interface:StackMonitoring
Updates the Baseline-able metric for the given id- Specified by:
updateBaselineableMetric
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateConfig
public UpdateConfigResponse updateConfig(UpdateConfigRequest request)
Description copied from interface:StackMonitoring
Updates the configuration identified by the id given.- Specified by:
updateConfig
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMaintenanceWindow
public UpdateMaintenanceWindowResponse updateMaintenanceWindow(UpdateMaintenanceWindowRequest request)
Description copied from interface:StackMonitoring
Update maintenance window by the given identifier OCID.- Specified by:
updateMaintenanceWindow
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMetricExtension
public UpdateMetricExtensionResponse updateMetricExtension(UpdateMetricExtensionRequest request)
Description copied from interface:StackMonitoring
Updates the Metric Extension- Specified by:
updateMetricExtension
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMonitoredResource
public UpdateMonitoredResourceResponse updateMonitoredResource(UpdateMonitoredResourceRequest request)
Description copied from interface:StackMonitoring
Update monitored resource by the given identifier OCID.Note that "properties" object, if specified, will entirely replace the existing object, as part this operation.
- Specified by:
updateMonitoredResource
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMonitoredResourceTask
public UpdateMonitoredResourceTaskResponse updateMonitoredResourceTask(UpdateMonitoredResourceTaskRequest request)
Description copied from interface:StackMonitoring
Update stack monitoring resource task by the given identifier OCID.- Specified by:
updateMonitoredResourceTask
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMonitoredResourceType
public UpdateMonitoredResourceTypeResponse updateMonitoredResourceType(UpdateMonitoredResourceTypeRequest request)
Description copied from interface:StackMonitoring
Update the Monitored Resource Type identified by the identifier OCID.- Specified by:
updateMonitoredResourceType
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMonitoringTemplate
public UpdateMonitoringTemplateResponse updateMonitoringTemplate(UpdateMonitoringTemplateRequest request)
Description copied from interface:StackMonitoring
Updates the Monitoring Template- Specified by:
updateMonitoringTemplate
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateProcessSet
public UpdateProcessSetResponse updateProcessSet(UpdateProcessSetRequest request)
Description copied from interface:StackMonitoring
API to update a Process Set identified by a given ocid.- Specified by:
updateProcessSet
in interfaceStackMonitoring
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public StackMonitoringWaiters getWaiters()
Description copied from interface:StackMonitoring
Gets the pre-configured waiters available for resources for this service.- Specified by:
getWaiters
in interfaceStackMonitoring
- Returns:
- The service waiters.
-
getPaginators
public StackMonitoringPaginators getPaginators()
Description copied from interface:StackMonitoring
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginators
in interfaceStackMonitoring
- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint
- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient
.This will call
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-