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 classStackMonitoringClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for StackMonitoring.
-
Constructor Summary
Constructors Constructor Description StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
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 thebuilderinstead.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 thebuilderinstead.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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
StackMonitoringClient
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeStackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-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:StackMonitoringSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceStackMonitoring- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:StackMonitoringSets 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:
setRegionin interfaceStackMonitoring- Parameters:
regionId- The public region ID.
-
applyMonitoringTemplate
public ApplyMonitoringTemplateResponse applyMonitoringTemplate(ApplyMonitoringTemplateRequest request)
Description copied from interface:StackMonitoringApply the Monitoring Template identified by the id- Specified by:
applyMonitoringTemplatein 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:StackMonitoringCreate 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:
associateMonitoredResourcesin 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:StackMonitoringMoves 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:
changeConfigCompartmentin 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:StackMonitoringMoves a Metric Extension resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMetricExtensionCompartmentin 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:StackMonitoringMoves a monitored resource from one compartment to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMonitoredResourceCompartmentin 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:StackMonitoringMoves a stack monitoring resource task from one compartment to another.- Specified by:
changeMonitoredResourceTaskCompartmentin 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:StackMonitoringMoves a ProcessSet resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeProcessSetCompartmentin 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:StackMonitoringCreate a new alarm condition in same monitoringTemplate compartment.- Specified by:
createAlarmConditionin 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:StackMonitoringCreates the specified Baseline-able metric- Specified by:
createBaselineableMetricin 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:StackMonitoringCreates 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:
createConfigin 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:StackMonitoringAPI to create discovery Job and submit discovery Details to agent.- Specified by:
createDiscoveryJobin 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:StackMonitoringCreates 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:
createMaintenanceWindowin 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:StackMonitoringCreates a new metric extension resource for a given compartment- Specified by:
createMetricExtensionin 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:StackMonitoringCreates 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:
createMonitoredResourcein 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:StackMonitoringCreate a new stack monitoring resource task.- Specified by:
createMonitoredResourceTaskin 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:StackMonitoringCreates a new monitored resource type.- Specified by:
createMonitoredResourceTypein 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:StackMonitoringCreates a new monitoring template for a given compartment.- Specified by:
createMonitoringTemplatein 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:StackMonitoringAPI to create Process Set.- Specified by:
createProcessSetin 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:StackMonitoringDeletes the alarm conditions by identifier- Specified by:
deleteAlarmConditionin 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:StackMonitoringDeletes the Baseline-able metric for the given id- Specified by:
deleteBaselineableMetricin 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:StackMonitoringDeletes a configuration identified by the id.- Specified by:
deleteConfigin 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:StackMonitoringDeletes a DiscoveryJob by identifier- Specified by:
deleteDiscoveryJobin 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:StackMonitoringDeletes a maintenance window by identifier- Specified by:
deleteMaintenanceWindowin 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:StackMonitoringDeletes a metric extension by identifier- Specified by:
deleteMetricExtensionin 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:StackMonitoringDelete 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:
deleteMonitoredResourcein 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:StackMonitoringDeletes a monitored resource type by identifier OCID.- Specified by:
deleteMonitoredResourceTypein 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:StackMonitoringDeletes the monitoring template by identifier- Specified by:
deleteMonitoringTemplatein 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:StackMonitoringDeletes a Process Set- Specified by:
deleteProcessSetin 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:StackMonitoringDisable external database resource monitoring.All the references in DBaaS, DBM and resource service will be deleted as part of this operation.
- Specified by:
disableExternalDatabasein 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:StackMonitoringSubmits a request to disable matching metric extension Id for the given Resource IDs- Specified by:
disableMetricExtensionin 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:StackMonitoringRemoves associations between two monitored resources.- Specified by:
disassociateMonitoredResourcesin 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:StackMonitoringSubmits a request to enable matching metric extension Id for the given Resource IDs- Specified by:
enableMetricExtensionin 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:StackMonitoringEvaluates metric for anomalies for the given data points- Specified by:
evaluateBaselineableMetricin 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:StackMonitoringExport 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:
exportMetricExtensionin 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:StackMonitoringExport the specified monitoring template- Specified by:
exportMonitoringTemplatein 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:StackMonitoringGets a Alarm Condition by identifier.- Specified by:
getAlarmConditionin 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:StackMonitoringGet the Baseline-able metric for the given id- Specified by:
getBaselineableMetricin 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:StackMonitoringGets the details of a configuration.- Specified by:
getConfigin 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:StackMonitoringAPI to get the details of discovery Job by identifier.- Specified by:
getDiscoveryJobin 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:StackMonitoringGet maintenance window for the given identifier OCID.- Specified by:
getMaintenanceWindowin 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:StackMonitoringGets a Metric Extension by identifier- Specified by:
getMetricExtensionin 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:StackMonitoringGet monitored resource for the given identifier OCID.- Specified by:
getMonitoredResourcein 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:StackMonitoringGets stack monitoring resource task details by identifier OCID.- Specified by:
getMonitoredResourceTaskin 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:StackMonitoringGets a monitored resource type by identifier OCID.- Specified by:
getMonitoredResourceTypein 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:StackMonitoringGets a Monitoring Template by identifier- Specified by:
getMonitoringTemplatein 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:StackMonitoringAPI to get the details of a Process Set by identifier.- Specified by:
getProcessSetin 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:StackMonitoringGets the status of the work request with the given ID.- Specified by:
getWorkRequestin 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:StackMonitoringReturns a list of Alarm Conditions.- Specified by:
listAlarmConditionsin 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:StackMonitoringList of summary of baseline-able metrics for a given resource group if specified.- Specified by:
listBaselineableMetricsin 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:StackMonitoringGet a list of configurations in a compartment.- Specified by:
listConfigsin 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:StackMonitoringList Defined Monitoring Templates.- Specified by:
listDefinedMonitoringTemplatesin 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:StackMonitoringAPI to get all the logs of a Discovery Job.- Specified by:
listDiscoveryJobLogsin 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:StackMonitoringAPI to get the details of all Discovery Jobs.- Specified by:
listDiscoveryJobsin 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:StackMonitoringReturns a list of maintenance windows.- Specified by:
listMaintenanceWindowsin 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:StackMonitoringReturns a list of metric extensions- Specified by:
listMetricExtensionsin 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:StackMonitoringReturns a list of stack monitoring resource tasks in the compartment.- Specified by:
listMonitoredResourceTasksin 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:StackMonitoringReturns 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:
listMonitoredResourceTypesin 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:StackMonitoringReturns a list of monitored resources.- Specified by:
listMonitoredResourcesin 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:StackMonitoringReturns a list of Monitoring Templates.- Specified by:
listMonitoringTemplatesin 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:StackMonitoringAPI to get the details of all Process Sets.- Specified by:
listProcessSetsin 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:StackMonitoringReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin 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:StackMonitoringReturn a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogsin 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:StackMonitoringLists the work requests in a compartment.- Specified by:
listWorkRequestsin 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:StackMonitoringEach 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:
manageLicensein 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:StackMonitoringPublish the Metric Extension identified by the id- Specified by:
publishMetricExtensionin 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:StackMonitoringGets resource count based on the aggregation criteria specified using "groupBy" parameter.- Specified by:
requestMonitoredResourcesSummarizedCountin 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:StackMonitoringGets 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:
requestSummarizedMetricExtensionsMetricsin 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:StackMonitoringGets 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:
requestSummarizedMetricExtensionsResourcesin 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:StackMonitoringRetry the last failed operation.The operation failed will be the most recent one. It won’t apply for previous failed operations.
- Specified by:
retryFailedMaintenanceWindowOperationin 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:StackMonitoringList all associated resources recursively up-to a specified level, for the monitored resources of type specified.- Specified by:
searchAssociatedResourcesin 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:StackMonitoringSearch associations in the given compartment based on the search criteria.- Specified by:
searchMonitoredResourceAssociationsin 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:StackMonitoringList the member resources for the given monitored resource identifier OCID.- Specified by:
searchMonitoredResourceMembersin 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:StackMonitoringGets a list of all monitored resources in a compartment for the given search criteria.- Specified by:
searchMonitoredResourcesin 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:StackMonitoringStop a maintenance window before the end time is reached.- Specified by:
stopMaintenanceWindowin 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:StackMonitoringPerforms test of Metric Extension on a specific resource Id- Specified by:
testMetricExtensionin 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:StackMonitoringUnapply the Monitoring Template identified by the id- Specified by:
unapplyMonitoringTemplatein 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:StackMonitoringUpdate a Alarm Condition by identifier- Specified by:
updateAlarmConditionin 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:StackMonitoringProvided 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:
updateAndPropagateTagsin 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:StackMonitoringUpdates the Baseline-able metric for the given id- Specified by:
updateBaselineableMetricin 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:StackMonitoringUpdates the configuration identified by the id given.- Specified by:
updateConfigin 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:StackMonitoringUpdate maintenance window by the given identifier OCID.- Specified by:
updateMaintenanceWindowin 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:StackMonitoringUpdates the Metric Extension- Specified by:
updateMetricExtensionin 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:StackMonitoringUpdate 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:
updateMonitoredResourcein 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:StackMonitoringUpdate stack monitoring resource task by the given identifier OCID.- Specified by:
updateMonitoredResourceTaskin 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:StackMonitoringUpdate the Monitored Resource Type identified by the identifier OCID.- Specified by:
updateMonitoredResourceTypein 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:StackMonitoringUpdates the Monitoring Template- Specified by:
updateMonitoringTemplatein 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:StackMonitoringAPI to update a Process Set identified by a given ocid.- Specified by:
updateProcessSetin 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:StackMonitoringGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceStackMonitoring- Returns:
- The service waiters.
-
getPaginators
public StackMonitoringPaginators getPaginators()
Description copied from interface:StackMonitoringGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin 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
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-