Show / Hide Table of Contents

Class StackMonitoringClient

Service client instance for StackMonitoring.

Inheritance
object
ClientBase
RegionalClientBase
StackMonitoringClient
Implements
IDisposable
Inherited Members
RegionalClientBase.logger
RegionalClientBase.SetRegion(Region)
RegionalClientBase.SetRegion(string)
RegionalClientBase.UseRealmSpecificEndpointTemplate(bool)
RegionalClientBase.PopulateServiceParametersInEndpointTemplate(RestClient, Dictionary<string, object>)
RegionalClientBase.parseEndpointForParameters(string)
ClientBase.restClient
ClientBase.service
ClientBase.userAgent
ClientBase.Dispose()
ClientBase.Dispose(bool)
ClientBase.SetEndpoint(string)
ClientBase.GetEndpoint()
ClientBase.GetUserAgent()
ClientBase.SetRealmSpecificEndpointTemplate(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.StackmonitoringService
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class StackMonitoringClient : RegionalClientBase, IDisposable

Constructors

StackMonitoringClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)

Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.

Declaration
public StackMonitoringClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
Type Name Description
IBasicAuthenticationDetailsProvider authenticationDetailsProvider

The authentication details provider. Required.

ClientConfiguration clientConfiguration

The client configuration that contains settings to adjust REST client behaviors. Optional.

string endpoint

The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional.

Properties

Paginators

Declaration
public StackMonitoringPaginators Paginators { get; }
Property Value
Type Description
StackMonitoringPaginators

Waiters

Declaration
public StackMonitoringWaiters Waiters { get; }
Property Value
Type Description
StackMonitoringWaiters

Methods

ApplyMonitoringTemplate(ApplyMonitoringTemplateRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Apply the Monitoring Template identified by the id

Declaration
public Task<ApplyMonitoringTemplateResponse> ApplyMonitoringTemplate(ApplyMonitoringTemplateRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ApplyMonitoringTemplateRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ApplyMonitoringTemplateResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ApplyMonitoringTemplate API.

AssociateMonitoredResources(AssociateMonitoredResourcesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

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.

Declaration
public Task<AssociateMonitoredResourcesResponse> AssociateMonitoredResources(AssociateMonitoredResourcesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
AssociateMonitoredResourcesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<AssociateMonitoredResourcesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use AssociateMonitoredResources API.

ChangeConfigCompartment(ChangeConfigCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

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. <br/> 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. <br/> So this operation will have the same effect as deleting the configuration item in the old compartment and recreating it in another compartment. <br/> When provided, If-Match is checked against ETag values of the resource.

Declaration
public Task<ChangeConfigCompartmentResponse> ChangeConfigCompartment(ChangeConfigCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeConfigCompartmentRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ChangeConfigCompartmentResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ChangeConfigCompartment API.

ChangeMetricExtensionCompartment(ChangeMetricExtensionCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Moves a Metric Extension resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.

Declaration
public Task<ChangeMetricExtensionCompartmentResponse> ChangeMetricExtensionCompartment(ChangeMetricExtensionCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeMetricExtensionCompartmentRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ChangeMetricExtensionCompartmentResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ChangeMetricExtensionCompartment API.

ChangeMonitoredResourceCompartment(ChangeMonitoredResourceCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Moves a monitored resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

Declaration
public Task<ChangeMonitoredResourceCompartmentResponse> ChangeMonitoredResourceCompartment(ChangeMonitoredResourceCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeMonitoredResourceCompartmentRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ChangeMonitoredResourceCompartmentResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ChangeMonitoredResourceCompartment API.

ChangeMonitoredResourceTaskCompartment(ChangeMonitoredResourceTaskCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Moves a stack monitoring resource task from one compartment to another.

Declaration
public Task<ChangeMonitoredResourceTaskCompartmentResponse> ChangeMonitoredResourceTaskCompartment(ChangeMonitoredResourceTaskCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeMonitoredResourceTaskCompartmentRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ChangeMonitoredResourceTaskCompartmentResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ChangeMonitoredResourceTaskCompartment API.

ChangeProcessSetCompartment(ChangeProcessSetCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Moves a ProcessSet resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.

Declaration
public Task<ChangeProcessSetCompartmentResponse> ChangeProcessSetCompartment(ChangeProcessSetCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeProcessSetCompartmentRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ChangeProcessSetCompartmentResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ChangeProcessSetCompartment API.

CreateAlarmCondition(CreateAlarmConditionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Create a new alarm condition in same monitoringTemplate compartment.

Declaration
public Task<CreateAlarmConditionResponse> CreateAlarmCondition(CreateAlarmConditionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateAlarmConditionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateAlarmConditionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateAlarmCondition API.

CreateBaselineableMetric(CreateBaselineableMetricRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates the specified Baseline-able metric

Declaration
public Task<CreateBaselineableMetricResponse> CreateBaselineableMetric(CreateBaselineableMetricRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateBaselineableMetricRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateBaselineableMetricResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateBaselineableMetric API.

CreateConfig(CreateConfigRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a configuration item, for example to define whether resources of a specific type should be discovered automatically. <br/> 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.

Declaration
public Task<CreateConfigResponse> CreateConfig(CreateConfigRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateConfigRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateConfigResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateConfig API.

CreateDiscoveryJob(CreateDiscoveryJobRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

API to create discovery Job and submit discovery Details to agent.

Declaration
public Task<CreateDiscoveryJobResponse> CreateDiscoveryJob(CreateDiscoveryJobRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateDiscoveryJobRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateDiscoveryJobResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateDiscoveryJob API.

CreateMaintenanceWindow(CreateMaintenanceWindowRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a new Maintenance Window for the given resources. It will create also the Alarms Suppression for each alarm that the resource migth trigger.

Declaration
public Task<CreateMaintenanceWindowResponse> CreateMaintenanceWindow(CreateMaintenanceWindowRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateMaintenanceWindowRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateMaintenanceWindowResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateMaintenanceWindow API.

CreateMetricExtension(CreateMetricExtensionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a new metric extension resource for a given compartment

Declaration
public Task<CreateMetricExtensionResponse> CreateMetricExtension(CreateMetricExtensionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateMetricExtensionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateMetricExtensionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateMetricExtension API.

CreateMonitoredResource(CreateMonitoredResourceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

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.

Declaration
public Task<CreateMonitoredResourceResponse> CreateMonitoredResource(CreateMonitoredResourceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateMonitoredResourceRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateMonitoredResourceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateMonitoredResource API.

CreateMonitoredResourceTask(CreateMonitoredResourceTaskRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Create a new stack monitoring resource task.

Declaration
public Task<CreateMonitoredResourceTaskResponse> CreateMonitoredResourceTask(CreateMonitoredResourceTaskRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateMonitoredResourceTaskRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateMonitoredResourceTaskResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateMonitoredResourceTask API.

CreateMonitoredResourceType(CreateMonitoredResourceTypeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a new monitored resource type.

Declaration
public Task<CreateMonitoredResourceTypeResponse> CreateMonitoredResourceType(CreateMonitoredResourceTypeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateMonitoredResourceTypeRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateMonitoredResourceTypeResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateMonitoredResourceType API.

CreateMonitoringTemplate(CreateMonitoringTemplateRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a new monitoring template for a given compartment.

Declaration
public Task<CreateMonitoringTemplateResponse> CreateMonitoringTemplate(CreateMonitoringTemplateRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateMonitoringTemplateRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateMonitoringTemplateResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateMonitoringTemplate API.

CreateProcessSet(CreateProcessSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

API to create Process Set.

Declaration
public Task<CreateProcessSetResponse> CreateProcessSet(CreateProcessSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateProcessSetRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateProcessSetResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateProcessSet API.

DeleteAlarmCondition(DeleteAlarmConditionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes the alarm conditions by identifier

Declaration
public Task<DeleteAlarmConditionResponse> DeleteAlarmCondition(DeleteAlarmConditionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteAlarmConditionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteAlarmConditionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteAlarmCondition API.

DeleteBaselineableMetric(DeleteBaselineableMetricRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes the Baseline-able metric for the given id

Declaration
public Task<DeleteBaselineableMetricResponse> DeleteBaselineableMetric(DeleteBaselineableMetricRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteBaselineableMetricRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteBaselineableMetricResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteBaselineableMetric API.

DeleteConfig(DeleteConfigRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes a configuration identified by the id.

Declaration
public Task<DeleteConfigResponse> DeleteConfig(DeleteConfigRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteConfigRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteConfigResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteConfig API.

DeleteDiscoveryJob(DeleteDiscoveryJobRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes a DiscoveryJob by identifier

Declaration
public Task<DeleteDiscoveryJobResponse> DeleteDiscoveryJob(DeleteDiscoveryJobRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteDiscoveryJobRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteDiscoveryJobResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteDiscoveryJob API.

DeleteMaintenanceWindow(DeleteMaintenanceWindowRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes a maintenance window by identifier

Declaration
public Task<DeleteMaintenanceWindowResponse> DeleteMaintenanceWindow(DeleteMaintenanceWindowRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteMaintenanceWindowRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteMaintenanceWindowResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteMaintenanceWindow API.

DeleteMetricExtension(DeleteMetricExtensionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes a metric extension by identifier

Declaration
public Task<DeleteMetricExtensionResponse> DeleteMetricExtension(DeleteMetricExtensionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteMetricExtensionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteMetricExtensionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteMetricExtension API.

DeleteMonitoredResource(DeleteMonitoredResourceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

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.

Declaration
public Task<DeleteMonitoredResourceResponse> DeleteMonitoredResource(DeleteMonitoredResourceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteMonitoredResourceRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteMonitoredResourceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteMonitoredResource API.

DeleteMonitoredResourceType(DeleteMonitoredResourceTypeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes a monitored resource type by identifier OCID.

Declaration
public Task<DeleteMonitoredResourceTypeResponse> DeleteMonitoredResourceType(DeleteMonitoredResourceTypeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteMonitoredResourceTypeRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteMonitoredResourceTypeResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteMonitoredResourceType API.

DeleteMonitoringTemplate(DeleteMonitoringTemplateRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes the monitoring template by identifier

Declaration
public Task<DeleteMonitoringTemplateResponse> DeleteMonitoringTemplate(DeleteMonitoringTemplateRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteMonitoringTemplateRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteMonitoringTemplateResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteMonitoringTemplate API.

DeleteProcessSet(DeleteProcessSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes a Process Set

Declaration
public Task<DeleteProcessSetResponse> DeleteProcessSet(DeleteProcessSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteProcessSetRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteProcessSetResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteProcessSet API.

DisableExternalDatabase(DisableExternalDatabaseRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Disable external database resource monitoring. All the references in DBaaS, DBM and resource service will be deleted as part of this operation.

Declaration
public Task<DisableExternalDatabaseResponse> DisableExternalDatabase(DisableExternalDatabaseRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DisableExternalDatabaseRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DisableExternalDatabaseResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DisableExternalDatabase API.

DisableMetricExtension(DisableMetricExtensionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Submits a request to disable matching metric extension Id for the given Resource IDs

Declaration
public Task<DisableMetricExtensionResponse> DisableMetricExtension(DisableMetricExtensionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DisableMetricExtensionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DisableMetricExtensionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DisableMetricExtension API.

DisassociateMonitoredResources(DisassociateMonitoredResourcesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Removes associations between two monitored resources.

Declaration
public Task<DisassociateMonitoredResourcesResponse> DisassociateMonitoredResources(DisassociateMonitoredResourcesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DisassociateMonitoredResourcesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DisassociateMonitoredResourcesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DisassociateMonitoredResources API.

EnableMetricExtension(EnableMetricExtensionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Submits a request to enable matching metric extension Id for the given Resource IDs

Declaration
public Task<EnableMetricExtensionResponse> EnableMetricExtension(EnableMetricExtensionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
EnableMetricExtensionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<EnableMetricExtensionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use EnableMetricExtension API.

EvaluateBaselineableMetric(EvaluateBaselineableMetricRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Evaluates metric for anomalies for the given data points

Declaration
public Task<EvaluateBaselineableMetricResponse> EvaluateBaselineableMetric(EvaluateBaselineableMetricRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
EvaluateBaselineableMetricRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<EvaluateBaselineableMetricResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use EvaluateBaselineableMetric API.

ExportMetricExtension(ExportMetricExtensionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

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.

Declaration
public Task<ExportMetricExtensionResponse> ExportMetricExtension(ExportMetricExtensionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ExportMetricExtensionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ExportMetricExtensionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ExportMetricExtension API.

ExportMonitoringTemplate(ExportMonitoringTemplateRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Export the specified monitoring template

Declaration
public Task<ExportMonitoringTemplateResponse> ExportMonitoringTemplate(ExportMonitoringTemplateRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ExportMonitoringTemplateRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ExportMonitoringTemplateResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ExportMonitoringTemplate API.

GetAlarmCondition(GetAlarmConditionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets a Alarm Condition by identifier.

Declaration
public Task<GetAlarmConditionResponse> GetAlarmCondition(GetAlarmConditionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetAlarmConditionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetAlarmConditionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetAlarmCondition API.

GetBaselineableMetric(GetBaselineableMetricRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Get the Baseline-able metric for the given id

Declaration
public Task<GetBaselineableMetricResponse> GetBaselineableMetric(GetBaselineableMetricRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetBaselineableMetricRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetBaselineableMetricResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetBaselineableMetric API.

GetConfig(GetConfigRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the details of a configuration.

Declaration
public Task<GetConfigResponse> GetConfig(GetConfigRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetConfigRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetConfigResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetConfig API.

GetDiscoveryJob(GetDiscoveryJobRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

API to get the details of discovery Job by identifier.

Declaration
public Task<GetDiscoveryJobResponse> GetDiscoveryJob(GetDiscoveryJobRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetDiscoveryJobRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetDiscoveryJobResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetDiscoveryJob API.

GetMaintenanceWindow(GetMaintenanceWindowRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Get maintenance window for the given identifier OCID.

Declaration
public Task<GetMaintenanceWindowResponse> GetMaintenanceWindow(GetMaintenanceWindowRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetMaintenanceWindowRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetMaintenanceWindowResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetMaintenanceWindow API.

GetMetricExtension(GetMetricExtensionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets a Metric Extension by identifier

Declaration
public Task<GetMetricExtensionResponse> GetMetricExtension(GetMetricExtensionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetMetricExtensionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetMetricExtensionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetMetricExtension API.

GetMonitoredResource(GetMonitoredResourceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Get monitored resource for the given identifier OCID.

Declaration
public Task<GetMonitoredResourceResponse> GetMonitoredResource(GetMonitoredResourceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetMonitoredResourceRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetMonitoredResourceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetMonitoredResource API.

GetMonitoredResourceTask(GetMonitoredResourceTaskRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets stack monitoring resource task details by identifier OCID.

Declaration
public Task<GetMonitoredResourceTaskResponse> GetMonitoredResourceTask(GetMonitoredResourceTaskRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetMonitoredResourceTaskRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetMonitoredResourceTaskResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetMonitoredResourceTask API.

GetMonitoredResourceType(GetMonitoredResourceTypeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets a monitored resource type by identifier OCID.

Declaration
public Task<GetMonitoredResourceTypeResponse> GetMonitoredResourceType(GetMonitoredResourceTypeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetMonitoredResourceTypeRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetMonitoredResourceTypeResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetMonitoredResourceType API.

GetMonitoringTemplate(GetMonitoringTemplateRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets a Monitoring Template by identifier

Declaration
public Task<GetMonitoringTemplateResponse> GetMonitoringTemplate(GetMonitoringTemplateRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetMonitoringTemplateRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetMonitoringTemplateResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetMonitoringTemplate API.

GetProcessSet(GetProcessSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

API to get the details of a Process Set by identifier.

Declaration
public Task<GetProcessSetResponse> GetProcessSet(GetProcessSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetProcessSetRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetProcessSetResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetProcessSet API.

GetWorkRequest(GetWorkRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the status of the work request with the given ID.

Declaration
public Task<GetWorkRequestResponse> GetWorkRequest(GetWorkRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetWorkRequestRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetWorkRequestResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetWorkRequest API.

ListAlarmConditions(ListAlarmConditionsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Returns a list of Alarm Conditions.

Declaration
public Task<ListAlarmConditionsResponse> ListAlarmConditions(ListAlarmConditionsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListAlarmConditionsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListAlarmConditionsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListAlarmConditions API.

ListBaselineableMetrics(ListBaselineableMetricsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

List of summary of baseline-able metrics for a given resource group if specified.

Declaration
public Task<ListBaselineableMetricsResponse> ListBaselineableMetrics(ListBaselineableMetricsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListBaselineableMetricsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListBaselineableMetricsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListBaselineableMetrics API.

ListConfigs(ListConfigsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Get a list of configurations in a compartment.

Declaration
public Task<ListConfigsResponse> ListConfigs(ListConfigsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListConfigsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListConfigsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListConfigs API.

ListDefinedMonitoringTemplates(ListDefinedMonitoringTemplatesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

List Defined Monitoring Templates.

Declaration
public Task<ListDefinedMonitoringTemplatesResponse> ListDefinedMonitoringTemplates(ListDefinedMonitoringTemplatesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListDefinedMonitoringTemplatesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListDefinedMonitoringTemplatesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListDefinedMonitoringTemplates API.

ListDiscoveryJobLogs(ListDiscoveryJobLogsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

API to get all the logs of a Discovery Job.

Declaration
public Task<ListDiscoveryJobLogsResponse> ListDiscoveryJobLogs(ListDiscoveryJobLogsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListDiscoveryJobLogsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListDiscoveryJobLogsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListDiscoveryJobLogs API.

ListDiscoveryJobs(ListDiscoveryJobsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

API to get the details of all Discovery Jobs.

Declaration
public Task<ListDiscoveryJobsResponse> ListDiscoveryJobs(ListDiscoveryJobsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListDiscoveryJobsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListDiscoveryJobsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListDiscoveryJobs API.

ListMaintenanceWindows(ListMaintenanceWindowsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Returns a list of maintenance windows.

Declaration
public Task<ListMaintenanceWindowsResponse> ListMaintenanceWindows(ListMaintenanceWindowsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListMaintenanceWindowsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListMaintenanceWindowsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListMaintenanceWindows API.

ListMetricExtensions(ListMetricExtensionsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Returns a list of metric extensions

Declaration
public Task<ListMetricExtensionsResponse> ListMetricExtensions(ListMetricExtensionsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListMetricExtensionsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListMetricExtensionsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListMetricExtensions API.

ListMonitoredResourceTasks(ListMonitoredResourceTasksRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Returns a list of stack monitoring resource tasks in the compartment.

Declaration
public Task<ListMonitoredResourceTasksResponse> ListMonitoredResourceTasks(ListMonitoredResourceTasksRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListMonitoredResourceTasksRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListMonitoredResourceTasksResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListMonitoredResourceTasks API.

ListMonitoredResourceTypes(ListMonitoredResourceTypesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

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.

Declaration
public Task<ListMonitoredResourceTypesResponse> ListMonitoredResourceTypes(ListMonitoredResourceTypesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListMonitoredResourceTypesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListMonitoredResourceTypesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListMonitoredResourceTypes API.

ListMonitoredResources(ListMonitoredResourcesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Returns a list of monitored resources.

Declaration
public Task<ListMonitoredResourcesResponse> ListMonitoredResources(ListMonitoredResourcesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListMonitoredResourcesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListMonitoredResourcesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListMonitoredResources API.

ListMonitoringTemplates(ListMonitoringTemplatesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Returns a list of Monitoring Templates.

Declaration
public Task<ListMonitoringTemplatesResponse> ListMonitoringTemplates(ListMonitoringTemplatesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListMonitoringTemplatesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListMonitoringTemplatesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListMonitoringTemplates API.

ListProcessSets(ListProcessSetsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

API to get the details of all Process Sets.

Declaration
public Task<ListProcessSetsResponse> ListProcessSets(ListProcessSetsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListProcessSetsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListProcessSetsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListProcessSets API.

ListWorkRequestErrors(ListWorkRequestErrorsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Return a (paginated) list of errors for a given work request.

Declaration
public Task<ListWorkRequestErrorsResponse> ListWorkRequestErrors(ListWorkRequestErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListWorkRequestErrorsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListWorkRequestErrorsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListWorkRequestErrors API.

ListWorkRequestLogs(ListWorkRequestLogsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Return a (paginated) list of logs for a given work request.

Declaration
public Task<ListWorkRequestLogsResponse> ListWorkRequestLogs(ListWorkRequestLogsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListWorkRequestLogsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListWorkRequestLogsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListWorkRequestLogs API.

ListWorkRequests(ListWorkRequestsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists the work requests in a compartment.

Declaration
public Task<ListWorkRequestsResponse> ListWorkRequests(ListWorkRequestsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListWorkRequestsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListWorkRequestsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListWorkRequests API.

ManageLicense(ManageLicenseRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

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.

Declaration
public Task<ManageLicenseResponse> ManageLicense(ManageLicenseRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ManageLicenseRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ManageLicenseResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ManageLicense API.

PublishMetricExtension(PublishMetricExtensionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Publish the Metric Extension identified by the id

Declaration
public Task<PublishMetricExtensionResponse> PublishMetricExtension(PublishMetricExtensionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
PublishMetricExtensionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<PublishMetricExtensionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use PublishMetricExtension API.

RequestMonitoredResourcesSummarizedCount(RequestMonitoredResourcesSummarizedCountRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets resource count based on the aggregation criteria specified using "groupBy" parameter.

Declaration
public Task<RequestMonitoredResourcesSummarizedCountResponse> RequestMonitoredResourcesSummarizedCount(RequestMonitoredResourcesSummarizedCountRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
RequestMonitoredResourcesSummarizedCountRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<RequestMonitoredResourcesSummarizedCountResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use RequestMonitoredResourcesSummarizedCount API.

RequestSummarizedMetricExtensionsMetrics(RequestSummarizedMetricExtensionsMetricsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets metric extension metrics count based on the aggregation criteria specified using request body. Either metricExtensionId or compartmentId must be passed even when no other filter property is passed.

Declaration
public Task<RequestSummarizedMetricExtensionsMetricsResponse> RequestSummarizedMetricExtensionsMetrics(RequestSummarizedMetricExtensionsMetricsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
RequestSummarizedMetricExtensionsMetricsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<RequestSummarizedMetricExtensionsMetricsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use RequestSummarizedMetricExtensionsMetrics API.

RequestSummarizedMetricExtensionsResources(RequestSummarizedMetricExtensionsResourcesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets metric extension resources count based on the aggregation criteria specified using request body. Either metricExtensionId or compartmentId should be passed, if no other property is passed.

Declaration
public Task<RequestSummarizedMetricExtensionsResourcesResponse> RequestSummarizedMetricExtensionsResources(RequestSummarizedMetricExtensionsResourcesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
RequestSummarizedMetricExtensionsResourcesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<RequestSummarizedMetricExtensionsResourcesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use RequestSummarizedMetricExtensionsResources API.

RetryFailedMaintenanceWindowOperation(RetryFailedMaintenanceWindowOperationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retry the last failed operation. The operation failed will be the most recent one. It won't apply for previous failed operations.

Declaration
public Task<RetryFailedMaintenanceWindowOperationResponse> RetryFailedMaintenanceWindowOperation(RetryFailedMaintenanceWindowOperationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
RetryFailedMaintenanceWindowOperationRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<RetryFailedMaintenanceWindowOperationResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use RetryFailedMaintenanceWindowOperation API.

SearchAssociatedResources(SearchAssociatedResourcesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

List all associated resources recursively up-to a specified level, for the monitored resources of type specified.

Declaration
public Task<SearchAssociatedResourcesResponse> SearchAssociatedResources(SearchAssociatedResourcesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
SearchAssociatedResourcesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<SearchAssociatedResourcesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use SearchAssociatedResources API.

SearchMonitoredResourceAssociations(SearchMonitoredResourceAssociationsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Search associations in the given compartment based on the search criteria.

Declaration
public Task<SearchMonitoredResourceAssociationsResponse> SearchMonitoredResourceAssociations(SearchMonitoredResourceAssociationsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
SearchMonitoredResourceAssociationsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<SearchMonitoredResourceAssociationsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use SearchMonitoredResourceAssociations API.

SearchMonitoredResourceMembers(SearchMonitoredResourceMembersRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

List the member resources for the given monitored resource identifier OCID.

Declaration
public Task<SearchMonitoredResourceMembersResponse> SearchMonitoredResourceMembers(SearchMonitoredResourceMembersRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
SearchMonitoredResourceMembersRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<SearchMonitoredResourceMembersResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use SearchMonitoredResourceMembers API.

SearchMonitoredResources(SearchMonitoredResourcesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets a list of all monitored resources in a compartment for the given search criteria.

Declaration
public Task<SearchMonitoredResourcesResponse> SearchMonitoredResources(SearchMonitoredResourcesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
SearchMonitoredResourcesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<SearchMonitoredResourcesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use SearchMonitoredResources API.

StopMaintenanceWindow(StopMaintenanceWindowRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Stop a maintenance window before the end time is reached.

Declaration
public Task<StopMaintenanceWindowResponse> StopMaintenanceWindow(StopMaintenanceWindowRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
StopMaintenanceWindowRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<StopMaintenanceWindowResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use StopMaintenanceWindow API.

TestMetricExtension(TestMetricExtensionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Performs test of Metric Extension on a specific resource Id

Declaration
public Task<TestMetricExtensionResponse> TestMetricExtension(TestMetricExtensionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
TestMetricExtensionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<TestMetricExtensionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use TestMetricExtension API.

UnapplyMonitoringTemplate(UnapplyMonitoringTemplateRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Unapply the Monitoring Template identified by the id

Declaration
public Task<UnapplyMonitoringTemplateResponse> UnapplyMonitoringTemplate(UnapplyMonitoringTemplateRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UnapplyMonitoringTemplateRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UnapplyMonitoringTemplateResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UnapplyMonitoringTemplate API.

UpdateAlarmCondition(UpdateAlarmConditionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Update a Alarm Condition by identifier

Declaration
public Task<UpdateAlarmConditionResponse> UpdateAlarmCondition(UpdateAlarmConditionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateAlarmConditionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateAlarmConditionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateAlarmCondition API.

UpdateAndPropagateTags(UpdateAndPropagateTagsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

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.

Declaration
public Task<UpdateAndPropagateTagsResponse> UpdateAndPropagateTags(UpdateAndPropagateTagsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateAndPropagateTagsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateAndPropagateTagsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateAndPropagateTags API.

UpdateBaselineableMetric(UpdateBaselineableMetricRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the Baseline-able metric for the given id

Declaration
public Task<UpdateBaselineableMetricResponse> UpdateBaselineableMetric(UpdateBaselineableMetricRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateBaselineableMetricRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateBaselineableMetricResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateBaselineableMetric API.

UpdateConfig(UpdateConfigRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the configuration identified by the id given.

Declaration
public Task<UpdateConfigResponse> UpdateConfig(UpdateConfigRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateConfigRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateConfigResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateConfig API.

UpdateMaintenanceWindow(UpdateMaintenanceWindowRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Update maintenance window by the given identifier OCID.

Declaration
public Task<UpdateMaintenanceWindowResponse> UpdateMaintenanceWindow(UpdateMaintenanceWindowRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateMaintenanceWindowRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateMaintenanceWindowResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateMaintenanceWindow API.

UpdateMetricExtension(UpdateMetricExtensionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the Metric Extension

Declaration
public Task<UpdateMetricExtensionResponse> UpdateMetricExtension(UpdateMetricExtensionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateMetricExtensionRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateMetricExtensionResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateMetricExtension API.

UpdateMonitoredResource(UpdateMonitoredResourceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Update monitored resource by the given identifier OCID. Note that "properties" object, if specified, will entirely replace the existing object, as part this operation.

Declaration
public Task<UpdateMonitoredResourceResponse> UpdateMonitoredResource(UpdateMonitoredResourceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateMonitoredResourceRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateMonitoredResourceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateMonitoredResource API.

UpdateMonitoredResourceTask(UpdateMonitoredResourceTaskRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Update stack monitoring resource task by the given identifier OCID.

Declaration
public Task<UpdateMonitoredResourceTaskResponse> UpdateMonitoredResourceTask(UpdateMonitoredResourceTaskRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateMonitoredResourceTaskRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateMonitoredResourceTaskResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateMonitoredResourceTask API.

UpdateMonitoredResourceType(UpdateMonitoredResourceTypeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Update the Monitored Resource Type identified by the identifier OCID.

Declaration
public Task<UpdateMonitoredResourceTypeResponse> UpdateMonitoredResourceType(UpdateMonitoredResourceTypeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateMonitoredResourceTypeRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateMonitoredResourceTypeResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateMonitoredResourceType API.

UpdateMonitoringTemplate(UpdateMonitoringTemplateRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the Monitoring Template

Declaration
public Task<UpdateMonitoringTemplateResponse> UpdateMonitoringTemplate(UpdateMonitoringTemplateRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateMonitoringTemplateRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateMonitoringTemplateResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateMonitoringTemplate API.

UpdateProcessSet(UpdateProcessSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

API to update a Process Set identified by a given ocid.

Declaration
public Task<UpdateProcessSetResponse> UpdateProcessSet(UpdateProcessSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateProcessSetRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateProcessSetResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateProcessSet API.

Implements

IDisposable
In this article
Back to top