Class MonitoringWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Monitoring.
Inherited Members
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 |