@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public class StackMonitoringClient extends BaseSyncClient implements StackMonitoring
Modifier and Type | Class and Description |
---|---|
static class |
StackMonitoringClient.Builder
Builder class for this client.
|
Modifier and Type | Field and 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 and Description |
---|
StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for StackMonitoring.
public final String clientCommonLibraryVersion
@Deprecated public StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see StackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see StackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public StackMonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see StackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see StackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see StackMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see StackMonitoringClient.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)
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see StackMonitoringClient.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
@Deprecated public StackMonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see StackMonitoringClient.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
public static StackMonitoringClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
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.
setRegion
in interface StackMonitoring
region
- The region of the service.public void setRegion(String regionId)
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 call setEndpoint
.
setRegion
in interface StackMonitoring
regionId
- The public region ID.public AssociateMonitoredResourcesResponse associateMonitoredResources(AssociateMonitoredResourcesRequest request)
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.
associateMonitoredResources
in interface StackMonitoring
request
- The request object containing the details to sendpublic ChangeConfigCompartmentResponse changeConfigCompartment(ChangeConfigCompartmentRequest request)
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.
changeConfigCompartment
in interface StackMonitoring
request
- The request object containing the details to sendpublic ChangeMetricExtensionCompartmentResponse changeMetricExtensionCompartment(ChangeMetricExtensionCompartmentRequest request)
StackMonitoring
Moves a Metric Extension resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
changeMetricExtensionCompartment
in interface StackMonitoring
request
- The request object containing the details to sendpublic ChangeMonitoredResourceCompartmentResponse changeMonitoredResourceCompartment(ChangeMonitoredResourceCompartmentRequest request)
StackMonitoring
Moves a monitored resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
changeMonitoredResourceCompartment
in interface StackMonitoring
request
- The request object containing the details to sendpublic ChangeMonitoredResourceTaskCompartmentResponse changeMonitoredResourceTaskCompartment(ChangeMonitoredResourceTaskCompartmentRequest request)
StackMonitoring
Moves a stack monitoring resource task from one compartment to another.
changeMonitoredResourceTaskCompartment
in interface StackMonitoring
request
- The request object containing the details to sendpublic ChangeProcessSetCompartmentResponse changeProcessSetCompartment(ChangeProcessSetCompartmentRequest request)
StackMonitoring
Moves a ProcessSet resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
changeProcessSetCompartment
in interface StackMonitoring
request
- The request object containing the details to sendpublic CreateBaselineableMetricResponse createBaselineableMetric(CreateBaselineableMetricRequest request)
StackMonitoring
Creates the specified Baseline-able metric
createBaselineableMetric
in interface StackMonitoring
request
- The request object containing the details to sendpublic CreateConfigResponse createConfig(CreateConfigRequest request)
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.
createConfig
in interface StackMonitoring
request
- The request object containing the details to sendpublic CreateDiscoveryJobResponse createDiscoveryJob(CreateDiscoveryJobRequest request)
StackMonitoring
API to create discovery Job and submit discovery Details to agent.
createDiscoveryJob
in interface StackMonitoring
request
- The request object containing the details to sendpublic CreateMaintenanceWindowResponse createMaintenanceWindow(CreateMaintenanceWindowRequest request)
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.
createMaintenanceWindow
in interface StackMonitoring
request
- The request object containing the details to sendpublic CreateMetricExtensionResponse createMetricExtension(CreateMetricExtensionRequest request)
StackMonitoring
Creates a new metric extension resource for a given compartment
createMetricExtension
in interface StackMonitoring
request
- The request object containing the details to sendpublic CreateMonitoredResourceResponse createMonitoredResource(CreateMonitoredResourceRequest request)
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.
createMonitoredResource
in interface StackMonitoring
request
- The request object containing the details to sendpublic CreateMonitoredResourceTaskResponse createMonitoredResourceTask(CreateMonitoredResourceTaskRequest request)
StackMonitoring
Create a new stack monitoring resource task.
createMonitoredResourceTask
in interface StackMonitoring
request
- The request object containing the details to sendpublic CreateMonitoredResourceTypeResponse createMonitoredResourceType(CreateMonitoredResourceTypeRequest request)
StackMonitoring
Creates a new monitored resource type.
createMonitoredResourceType
in interface StackMonitoring
request
- The request object containing the details to sendpublic CreateProcessSetResponse createProcessSet(CreateProcessSetRequest request)
StackMonitoring
API to create Process Set.
createProcessSet
in interface StackMonitoring
request
- The request object containing the details to sendpublic DeleteBaselineableMetricResponse deleteBaselineableMetric(DeleteBaselineableMetricRequest request)
StackMonitoring
Deletes the Baseline-able metric for the given id
deleteBaselineableMetric
in interface StackMonitoring
request
- The request object containing the details to sendpublic DeleteConfigResponse deleteConfig(DeleteConfigRequest request)
StackMonitoring
Deletes a configuration identified by the id.
deleteConfig
in interface StackMonitoring
request
- The request object containing the details to sendpublic DeleteDiscoveryJobResponse deleteDiscoveryJob(DeleteDiscoveryJobRequest request)
StackMonitoring
Deletes a DiscoveryJob by identifier
deleteDiscoveryJob
in interface StackMonitoring
request
- The request object containing the details to sendpublic DeleteMaintenanceWindowResponse deleteMaintenanceWindow(DeleteMaintenanceWindowRequest request)
StackMonitoring
Deletes a maintenance window by identifier
deleteMaintenanceWindow
in interface StackMonitoring
request
- The request object containing the details to sendpublic DeleteMetricExtensionResponse deleteMetricExtension(DeleteMetricExtensionRequest request)
StackMonitoring
Deletes a metric extension by identifier
deleteMetricExtension
in interface StackMonitoring
request
- The request object containing the details to sendpublic DeleteMonitoredResourceResponse deleteMonitoredResource(DeleteMonitoredResourceRequest request)
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.
deleteMonitoredResource
in interface StackMonitoring
request
- The request object containing the details to sendpublic DeleteMonitoredResourceTypeResponse deleteMonitoredResourceType(DeleteMonitoredResourceTypeRequest request)
StackMonitoring
Deletes a monitored resource type by identifier OCID.
deleteMonitoredResourceType
in interface StackMonitoring
request
- The request object containing the details to sendpublic DeleteProcessSetResponse deleteProcessSet(DeleteProcessSetRequest request)
StackMonitoring
Deletes a Process Set
deleteProcessSet
in interface StackMonitoring
request
- The request object containing the details to sendpublic DisableExternalDatabaseResponse disableExternalDatabase(DisableExternalDatabaseRequest request)
StackMonitoring
Disable external database resource monitoring. All the references in DBaaS, DBM and resource service will be deleted as part of this operation.
disableExternalDatabase
in interface StackMonitoring
request
- The request object containing the details to sendpublic DisableMetricExtensionResponse disableMetricExtension(DisableMetricExtensionRequest request)
StackMonitoring
Submits a request to disable matching metric extension Id for the given Resource IDs
disableMetricExtension
in interface StackMonitoring
request
- The request object containing the details to sendpublic DisassociateMonitoredResourcesResponse disassociateMonitoredResources(DisassociateMonitoredResourcesRequest request)
StackMonitoring
Removes associations between two monitored resources.
disassociateMonitoredResources
in interface StackMonitoring
request
- The request object containing the details to sendpublic EnableMetricExtensionResponse enableMetricExtension(EnableMetricExtensionRequest request)
StackMonitoring
Submits a request to enable matching metric extension Id for the given Resource IDs
enableMetricExtension
in interface StackMonitoring
request
- The request object containing the details to sendpublic EvaluateBaselineableMetricResponse evaluateBaselineableMetric(EvaluateBaselineableMetricRequest request)
StackMonitoring
Evaluates metric for anomalies for the given data points
evaluateBaselineableMetric
in interface StackMonitoring
request
- The request object containing the details to sendpublic ExportMetricExtensionResponse exportMetricExtension(ExportMetricExtensionRequest request)
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.
exportMetricExtension
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetBaselineableMetricResponse getBaselineableMetric(GetBaselineableMetricRequest request)
StackMonitoring
Get the Baseline-able metric for the given id
getBaselineableMetric
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetConfigResponse getConfig(GetConfigRequest request)
StackMonitoring
Gets the details of a configuration.
getConfig
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetDiscoveryJobResponse getDiscoveryJob(GetDiscoveryJobRequest request)
StackMonitoring
API to get the details of discovery Job by identifier.
getDiscoveryJob
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetMaintenanceWindowResponse getMaintenanceWindow(GetMaintenanceWindowRequest request)
StackMonitoring
Get maintenance window for the given identifier OCID.
getMaintenanceWindow
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetMetricExtensionResponse getMetricExtension(GetMetricExtensionRequest request)
StackMonitoring
Gets a Metric Extension by identifier
getMetricExtension
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetMonitoredResourceResponse getMonitoredResource(GetMonitoredResourceRequest request)
StackMonitoring
Get monitored resource for the given identifier OCID.
getMonitoredResource
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetMonitoredResourceTaskResponse getMonitoredResourceTask(GetMonitoredResourceTaskRequest request)
StackMonitoring
Gets stack monitoring resource task details by identifier OCID.
getMonitoredResourceTask
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetMonitoredResourceTypeResponse getMonitoredResourceType(GetMonitoredResourceTypeRequest request)
StackMonitoring
Gets a monitored resource type by identifier OCID.
getMonitoredResourceType
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetProcessSetResponse getProcessSet(GetProcessSetRequest request)
StackMonitoring
API to get the details of a Process Set by identifier.
getProcessSet
in interface StackMonitoring
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
StackMonitoring
Gets the status of the work request with the given ID.
getWorkRequest
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListBaselineableMetricsResponse listBaselineableMetrics(ListBaselineableMetricsRequest request)
StackMonitoring
List of summary of baseline-able metrics for a given resource group if specified.
listBaselineableMetrics
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListConfigsResponse listConfigs(ListConfigsRequest request)
StackMonitoring
Get a list of configurations in a compartment.
listConfigs
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListDiscoveryJobLogsResponse listDiscoveryJobLogs(ListDiscoveryJobLogsRequest request)
StackMonitoring
API to get all the logs of a Discovery Job.
listDiscoveryJobLogs
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListDiscoveryJobsResponse listDiscoveryJobs(ListDiscoveryJobsRequest request)
StackMonitoring
API to get the details of all Discovery Jobs.
listDiscoveryJobs
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListMaintenanceWindowsResponse listMaintenanceWindows(ListMaintenanceWindowsRequest request)
StackMonitoring
Returns a list of maintenance windows.
listMaintenanceWindows
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListMetricExtensionsResponse listMetricExtensions(ListMetricExtensionsRequest request)
StackMonitoring
Returns a list of metric extensions
listMetricExtensions
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListMonitoredResourceTasksResponse listMonitoredResourceTasks(ListMonitoredResourceTasksRequest request)
StackMonitoring
Returns a list of stack monitoring resource tasks in the compartment.
listMonitoredResourceTasks
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListMonitoredResourceTypesResponse listMonitoredResourceTypes(ListMonitoredResourceTypesRequest request)
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.
listMonitoredResourceTypes
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListMonitoredResourcesResponse listMonitoredResources(ListMonitoredResourcesRequest request)
StackMonitoring
Returns a list of monitored resources.
listMonitoredResources
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListProcessSetsResponse listProcessSets(ListProcessSetsRequest request)
StackMonitoring
API to get the details of all Process Sets.
listProcessSets
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
StackMonitoring
Return a (paginated) list of errors for a given work request.
listWorkRequestErrors
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
StackMonitoring
Return a (paginated) list of logs for a given work request.
listWorkRequestLogs
in interface StackMonitoring
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
StackMonitoring
Lists the work requests in a compartment.
listWorkRequests
in interface StackMonitoring
request
- The request object containing the details to sendpublic ManageLicenseResponse manageLicense(ManageLicenseRequest request)
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.
manageLicense
in interface StackMonitoring
request
- The request object containing the details to sendpublic PublishMetricExtensionResponse publishMetricExtension(PublishMetricExtensionRequest request)
StackMonitoring
Publish the Metric Extension identified by the id
publishMetricExtension
in interface StackMonitoring
request
- The request object containing the details to sendpublic RequestMonitoredResourcesSummarizedCountResponse requestMonitoredResourcesSummarizedCount(RequestMonitoredResourcesSummarizedCountRequest request)
StackMonitoring
Gets resource count based on the aggregation criteria specified using "groupBy" parameter.
requestMonitoredResourcesSummarizedCount
in interface StackMonitoring
request
- The request object containing the details to sendpublic RetryFailedMaintenanceWindowOperationResponse retryFailedMaintenanceWindowOperation(RetryFailedMaintenanceWindowOperationRequest request)
StackMonitoring
Retry the last failed operation. The operation failed will be the most recent one. It won’t apply for previous failed operations.
retryFailedMaintenanceWindowOperation
in interface StackMonitoring
request
- The request object containing the details to sendpublic SearchAssociatedResourcesResponse searchAssociatedResources(SearchAssociatedResourcesRequest request)
StackMonitoring
List all associated resources recursively up-to a specified level, for the monitored resources of type specified.
searchAssociatedResources
in interface StackMonitoring
request
- The request object containing the details to sendpublic SearchMonitoredResourceAssociationsResponse searchMonitoredResourceAssociations(SearchMonitoredResourceAssociationsRequest request)
StackMonitoring
Search associations in the given compartment based on the search criteria.
searchMonitoredResourceAssociations
in interface StackMonitoring
request
- The request object containing the details to sendpublic SearchMonitoredResourceMembersResponse searchMonitoredResourceMembers(SearchMonitoredResourceMembersRequest request)
StackMonitoring
List the member resources for the given monitored resource identifier OCID.
searchMonitoredResourceMembers
in interface StackMonitoring
request
- The request object containing the details to sendpublic SearchMonitoredResourcesResponse searchMonitoredResources(SearchMonitoredResourcesRequest request)
StackMonitoring
Gets a list of all monitored resources in a compartment for the given search criteria.
searchMonitoredResources
in interface StackMonitoring
request
- The request object containing the details to sendpublic StopMaintenanceWindowResponse stopMaintenanceWindow(StopMaintenanceWindowRequest request)
StackMonitoring
Stop a maintenance window before the end time is reached.
stopMaintenanceWindow
in interface StackMonitoring
request
- The request object containing the details to sendpublic TestMetricExtensionResponse testMetricExtension(TestMetricExtensionRequest request)
StackMonitoring
Performs test of Metric Extension on a specific resource Id
testMetricExtension
in interface StackMonitoring
request
- The request object containing the details to sendpublic UpdateAndPropagateTagsResponse updateAndPropagateTags(UpdateAndPropagateTagsRequest request)
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.
updateAndPropagateTags
in interface StackMonitoring
request
- The request object containing the details to sendpublic UpdateBaselineableMetricResponse updateBaselineableMetric(UpdateBaselineableMetricRequest request)
StackMonitoring
Updates the Baseline-able metric for the given id
updateBaselineableMetric
in interface StackMonitoring
request
- The request object containing the details to sendpublic UpdateConfigResponse updateConfig(UpdateConfigRequest request)
StackMonitoring
Updates the configuration identified by the id given.
updateConfig
in interface StackMonitoring
request
- The request object containing the details to sendpublic UpdateMaintenanceWindowResponse updateMaintenanceWindow(UpdateMaintenanceWindowRequest request)
StackMonitoring
Update maintenance window by the given identifier OCID.
updateMaintenanceWindow
in interface StackMonitoring
request
- The request object containing the details to sendpublic UpdateMetricExtensionResponse updateMetricExtension(UpdateMetricExtensionRequest request)
StackMonitoring
Updates the Metric Extension
updateMetricExtension
in interface StackMonitoring
request
- The request object containing the details to sendpublic UpdateMonitoredResourceResponse updateMonitoredResource(UpdateMonitoredResourceRequest request)
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.
updateMonitoredResource
in interface StackMonitoring
request
- The request object containing the details to sendpublic UpdateMonitoredResourceTaskResponse updateMonitoredResourceTask(UpdateMonitoredResourceTaskRequest request)
StackMonitoring
Update stack monitoring resource task by the given identifier OCID.
updateMonitoredResourceTask
in interface StackMonitoring
request
- The request object containing the details to sendpublic UpdateMonitoredResourceTypeResponse updateMonitoredResourceType(UpdateMonitoredResourceTypeRequest request)
StackMonitoring
Update the Monitored Resource Type identified by the identifier OCID.
updateMonitoredResourceType
in interface StackMonitoring
request
- The request object containing the details to sendpublic UpdateProcessSetResponse updateProcessSet(UpdateProcessSetRequest request)
StackMonitoring
API to update a Process Set identified by a given ocid.
updateProcessSet
in interface StackMonitoring
request
- The request object containing the details to sendpublic StackMonitoringWaiters getWaiters()
StackMonitoring
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface StackMonitoring
public StackMonitoringPaginators getPaginators()
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.
getPaginators
in interface StackMonitoring
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.