Class OccDemandSignalWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of OccDemandSignal.
Inherited Members
Namespace: Oci.DemandsignalService
Assembly: OCI.DotNetSDK.Demandsignal.dll
Syntax
public class OccDemandSignalWaiters
Constructors
OccDemandSignalWaiters(OccDemandSignalClient)
Declaration
public OccDemandSignalWaiters(OccDemandSignalClient client)
Parameters
Type | Name | Description |
---|---|---|
OccDemandSignalClient | client |
Methods
ForOccDemandSignal(GetOccDemandSignalRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetOccDemandSignalRequest, GetOccDemandSignalResponse> ForOccDemandSignal(GetOccDemandSignalRequest request, WaiterConfiguration config, params OccDemandSignal.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOccDemandSignalRequest | 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<GetOccDemandSignalRequest, GetOccDemandSignalResponse> | a new Oci.common.Waiter instance |
ForOccDemandSignal(GetOccDemandSignalRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetOccDemandSignalRequest, GetOccDemandSignalResponse> ForOccDemandSignal(GetOccDemandSignalRequest request, params OccDemandSignal.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOccDemandSignalRequest | 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<GetOccDemandSignalRequest, GetOccDemandSignalResponse> | a new Oci.common.Waiter instance |