Class MonitoringClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.monitoring.MonitoringClient
-
- All Implemented Interfaces:
Monitoring,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20180401") public class MonitoringClient extends BaseSyncClient implements Monitoring
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMonitoringClient.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 Monitoring.
-
Constructor Summary
Constructors Constructor Description MonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.MonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.MonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.MonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.MonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.MonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.MonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.MonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MonitoringClient.Builderbuilder()Create a builder for this client.ChangeAlarmCompartmentResponsechangeAlarmCompartment(ChangeAlarmCompartmentRequest request)Moves an alarm into a different compartment within the same tenancy.voidclose()CreateAlarmResponsecreateAlarm(CreateAlarmRequest request)Creates a new alarm in the specified compartment.CreateAlarmSuppressionResponsecreateAlarmSuppression(CreateAlarmSuppressionRequest request)Creates a new alarm suppression at the specified level (alarm-wide or dimension-specific).DeleteAlarmResponsedeleteAlarm(DeleteAlarmRequest request)Deletes the specified alarm.DeleteAlarmSuppressionResponsedeleteAlarmSuppression(DeleteAlarmSuppressionRequest request)Deletes the specified alarm suppression.GetAlarmResponsegetAlarm(GetAlarmRequest request)Gets the specified alarm.GetAlarmHistoryResponsegetAlarmHistory(GetAlarmHistoryRequest request)Get the history of the specified alarm.GetAlarmSuppressionResponsegetAlarmSuppression(GetAlarmSuppressionRequest request)Gets the specified alarm suppression.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()MonitoringPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.MonitoringWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.ListAlarmsResponselistAlarms(ListAlarmsRequest request)Lists the alarms for the specified compartment.ListAlarmsStatusResponselistAlarmsStatus(ListAlarmsStatusRequest request)List the status of each alarm in the specified compartment.ListAlarmSuppressionsResponselistAlarmSuppressions(ListAlarmSuppressionsRequest request)Lists alarm suppressions for the specified alarm.ListMetricsResponselistMetrics(ListMetricsRequest request)Returns metric definitions that match the criteria specified in the request.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.PostMetricDataResponsepostMetricData(PostMetricDataRequest request)Publishes raw metric data points to the Monitoring service.voidrefreshClient()Rebuild the backingHttpClient.RemoveAlarmSuppressionResponseremoveAlarmSuppression(RemoveAlarmSuppressionRequest request)Removes any existing suppression for the specified alarm.RetrieveDimensionStatesResponseretrieveDimensionStates(RetrieveDimensionStatesRequest request)Lists the current alarm status of each metric stream, where status is derived from the metric stream’s last associated transition.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).SummarizeAlarmSuppressionHistoryResponsesummarizeAlarmSuppressionHistory(SummarizeAlarmSuppressionHistoryRequest request)Returns history of suppressions for the specified alarm, including both dimension-specific and and alarm-wide suppressions.SummarizeMetricsDataResponsesummarizeMetricsData(SummarizeMetricsDataRequest request)Returns aggregated data that match the criteria specified in the request.UpdateAlarmResponseupdateAlarm(UpdateAlarmRequest request)Updates the specified alarm.voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.-
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.monitoring.Monitoring
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
MonitoringClient
@Deprecated public MonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
MonitoringClient
@Deprecated public MonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
MonitoringClient
@Deprecated public MonitoringClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
MonitoringClient
@Deprecated public MonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
MonitoringClient
@Deprecated public MonitoringClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMonitoringClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
MonitoringClient
@Deprecated public MonitoringClient(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 (seeMonitoringClient.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)
-
MonitoringClient
@Deprecated public MonitoringClient(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 (seeMonitoringClient.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
-
MonitoringClient
@Deprecated public MonitoringClient(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 (seeMonitoringClient.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-MonitoringClient.Builder.executorService
-
-
Method Detail
-
builder
public static MonitoringClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:MonitoringSets 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 interfaceMonitoring- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:MonitoringSets 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 interfaceMonitoring- Parameters:
regionId- The public region ID.
-
changeAlarmCompartment
public ChangeAlarmCompartmentResponse changeAlarmCompartment(ChangeAlarmCompartmentRequest request)
Description copied from interface:MonitoringMoves an alarm into a different compartment within the same tenancy.For more information, see Moving an Alarm.
- Specified by:
changeAlarmCompartmentin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createAlarm
public CreateAlarmResponse createAlarm(CreateAlarmRequest request)
Description copied from interface:MonitoringCreates a new alarm in the specified compartment.For more information, see Creating an Alarm. For important limits information, see Limits on Monitoring.
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
createAlarmin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createAlarmSuppression
public CreateAlarmSuppressionResponse createAlarmSuppression(CreateAlarmSuppressionRequest request)
Description copied from interface:MonitoringCreates a new alarm suppression at the specified level (alarm-wide or dimension-specific).For more information, see Adding an Alarm-wide Suppression and Adding a Dimension-Specific Alarm Suppression.
For important limits information, see [Limits on Monitoring](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
createAlarmSuppressionin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteAlarm
public DeleteAlarmResponse deleteAlarm(DeleteAlarmRequest request)
Description copied from interface:MonitoringDeletes the specified alarm.For more information, see Deleting an Alarm. For important limits information, see Limits on Monitoring.
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
deleteAlarmin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteAlarmSuppression
public DeleteAlarmSuppressionResponse deleteAlarmSuppression(DeleteAlarmSuppressionRequest request)
Description copied from interface:MonitoringDeletes the specified alarm suppression.For more information, see Removing an Alarm-wide Suppression and Removing a Dimension-Specific Alarm Suppression.
For important limits information, see [Limits on Monitoring](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
deleteAlarmSuppressionin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAlarm
public GetAlarmResponse getAlarm(GetAlarmRequest request)
Description copied from interface:MonitoringGets the specified alarm.For more information, see Getting an Alarm. For important limits information, see Limits on Monitoring.
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
getAlarmin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAlarmHistory
public GetAlarmHistoryResponse getAlarmHistory(GetAlarmHistoryRequest request)
Description copied from interface:MonitoringGet the history of the specified alarm.For more information, see Getting History of an Alarm. For important limits information, see Limits on Monitoring.
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
getAlarmHistoryin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAlarmSuppression
public GetAlarmSuppressionResponse getAlarmSuppression(GetAlarmSuppressionRequest request)
Description copied from interface:MonitoringGets the specified alarm suppression.For more information, see Getting an Alarm-wide Suppression.
For important limits information, see [Limits on Monitoring](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
getAlarmSuppressionin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAlarmSuppressions
public ListAlarmSuppressionsResponse listAlarmSuppressions(ListAlarmSuppressionsRequest request)
Description copied from interface:MonitoringLists alarm suppressions for the specified alarm.For more information, see Listing Alarm Suppressions.
For important limits information, see [Limits on Monitoring](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
listAlarmSuppressionsin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAlarms
public ListAlarmsResponse listAlarms(ListAlarmsRequest request)
Description copied from interface:MonitoringLists the alarms for the specified compartment.For more information, see Listing Alarms. For important limits information, see Limits on Monitoring.
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
listAlarmsin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAlarmsStatus
public ListAlarmsStatusResponse listAlarmsStatus(ListAlarmsStatusRequest request)
Description copied from interface:MonitoringList the status of each alarm in the specified compartment.Status is collective, across all metric streams in the alarm. To list alarm status for each metric stream, use
retrieveDimensionStates. Optionally filter by resource or status value.For more information, see [Listing Alarm Statuses](https://docs.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-status.htm). For important limits information, see [Limits on Monitoring](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
listAlarmsStatusin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMetrics
public ListMetricsResponse listMetrics(ListMetricsRequest request)
Description copied from interface:MonitoringReturns metric definitions that match the criteria specified in the request.Compartment OCID required. For more information, see Listing Metric Definitions. For information about metrics, see Metrics Overview. For important limits information, see Limits on Monitoring.
Transactions Per Second (TPS) per-tenancy limit for this operation: 10.
- Specified by:
listMetricsin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
postMetricData
public PostMetricDataResponse postMetricData(PostMetricDataRequest request)
Description copied from interface:MonitoringPublishes raw metric data points to the Monitoring service.For a data point to be posted, its timestamp must be near current time (less than two hours in the past and less than 10 minutes in the future).
For more information about publishing metrics, see [Publishing Custom Metrics](https://docs.oracle.com/iaas/Content/Monitoring/Tasks/publishingcustommetrics.htm) and [Custom Metrics Walkthrough](https://docs.oracle.com/iaas/Content/Monitoring/Tasks/custom-metrics-walkthrough.htm). For information about developing a metric-posting client, see [Developer Guide](https://docs.oracle.com/iaas/Content/API/Concepts/devtoolslanding.htm). For an example client, see [MonitoringMetricPostExample.java](https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/MonitoringMetricPostExample.java). For important limits information, see [Limits on Monitoring](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
Per-call limits information follows.
Dimensions per metric group*. Maximum: 20. Minimum: 1. * Unique metric streams*. Maximum: 50. * Transactions Per Second (TPS) per-tenancy limit for this operation: 50.
A metric group is the combination of a given metric, metric namespace, and tenancy for the purpose of determining limits. A dimension is a qualifier provided in a metric definition. A metric stream is an individual set of aggregated data for a metric with zero or more dimension values. For more information about metric-related concepts, see [Monitoring Concepts](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#concepts).
*Note:** The endpoints for this operation differ from other Monitoring operations. Replace the string `telemetry` with `telemetry-ingestion` in the endpoint, as in the following example:
https://telemetry-ingestion.eu-frankfurt-1.oraclecloud.com
- Specified by:
postMetricDatain interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeAlarmSuppression
public RemoveAlarmSuppressionResponse removeAlarmSuppression(RemoveAlarmSuppressionRequest request)
Description copied from interface:MonitoringRemoves any existing suppression for the specified alarm.For more information, see Removing Suppression from an Alarm. For important limits information, see Limits on Monitoring.
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
removeAlarmSuppressionin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
retrieveDimensionStates
public RetrieveDimensionStatesResponse retrieveDimensionStates(RetrieveDimensionStatesRequest request)
Description copied from interface:MonitoringLists the current alarm status of each metric stream, where status is derived from the metric stream’s last associated transition.Optionally filter by status value and one or more dimension key-value pairs.
For more information, see [Listing Metric Stream Status in an Alarm](https://docs.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-status-metric-stream.htm).
For important limits information, see [Limits on Monitoring](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
retrieveDimensionStatesin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
summarizeAlarmSuppressionHistory
public SummarizeAlarmSuppressionHistoryResponse summarizeAlarmSuppressionHistory(SummarizeAlarmSuppressionHistoryRequest request)
Description copied from interface:MonitoringReturns history of suppressions for the specified alarm, including both dimension-specific and and alarm-wide suppressions.For more information, see Getting Suppression History for an Alarm.
For important limits information, see [Limits on Monitoring](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
summarizeAlarmSuppressionHistoryin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
summarizeMetricsData
public SummarizeMetricsDataResponse summarizeMetricsData(SummarizeMetricsDataRequest request)
Description copied from interface:MonitoringReturns aggregated data that match the criteria specified in the request.Compartment OCID required. For more information, see Querying Metric Data and Creating a Query. For important limits information, see Limits on Monitoring.
Transactions Per Second (TPS) per-tenancy limit for this operation: 10.
- Specified by:
summarizeMetricsDatain interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateAlarm
public UpdateAlarmResponse updateAlarm(UpdateAlarmRequest request)
Description copied from interface:MonitoringUpdates the specified alarm.For more information, see Updating an Alarm. For important limits information, see Limits on Monitoring.
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
- Specified by:
updateAlarmin interfaceMonitoring- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public MonitoringWaiters getWaiters()
Description copied from interface:MonitoringGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceMonitoring- Returns:
- The service waiters.
-
getPaginators
public MonitoringPaginators getPaginators()
Description copied from interface:MonitoringGets 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 interfaceMonitoring- 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()
-
-