Show / Hide Table of Contents

Class MonitoringWaiters

Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Monitoring.

Inheritance
object
MonitoringWaiters
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.MonitoringService
Assembly: OCI.DotNetSDK.Monitoring.dll
Syntax
public class MonitoringWaiters

Constructors

MonitoringWaiters(MonitoringClient)

Declaration
public MonitoringWaiters(MonitoringClient client)
Parameters
Type Name Description
MonitoringClient client

Methods

ForAlarm(GetAlarmRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetAlarmRequest, GetAlarmResponse> ForAlarm(GetAlarmRequest request, WaiterConfiguration config, params Alarm.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAlarmRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

LifecycleStateEnum[] targetStates

Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states

Returns
Type Description
Waiter<GetAlarmRequest, GetAlarmResponse>

a new Oci.common.Waiter instance

ForAlarm(GetAlarmRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetAlarmRequest, GetAlarmResponse> ForAlarm(GetAlarmRequest request, params Alarm.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAlarmRequest request

Request to send.

LifecycleStateEnum[] targetStates

Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states

Returns
Type Description
Waiter<GetAlarmRequest, GetAlarmResponse>

a new Oci.common.Waiter instance

ForAlarmSuppression(GetAlarmSuppressionRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetAlarmSuppressionRequest, GetAlarmSuppressionResponse> ForAlarmSuppression(GetAlarmSuppressionRequest request, WaiterConfiguration config, params AlarmSuppression.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAlarmSuppressionRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

LifecycleStateEnum[] targetStates

Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states

Returns
Type Description
Waiter<GetAlarmSuppressionRequest, GetAlarmSuppressionResponse>

a new Oci.common.Waiter instance

ForAlarmSuppression(GetAlarmSuppressionRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetAlarmSuppressionRequest, GetAlarmSuppressionResponse> ForAlarmSuppression(GetAlarmSuppressionRequest request, params AlarmSuppression.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAlarmSuppressionRequest request

Request to send.

LifecycleStateEnum[] targetStates

Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states

Returns
Type Description
Waiter<GetAlarmSuppressionRequest, GetAlarmSuppressionResponse>

a new Oci.common.Waiter instance

In this article
Back to top