Class DemandSignalWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of DemandSignal.
Inherited Members
Namespace: Oci.CapacitymanagementService
Assembly: OCI.DotNetSDK.Capacitymanagement.dll
Syntax
public class DemandSignalWaiters
Constructors
DemandSignalWaiters(DemandSignalClient)
Declaration
public DemandSignalWaiters(DemandSignalClient client)
Parameters
Type | Name | Description |
---|---|---|
DemandSignalClient | client |
Methods
ForOccmDemandSignal(GetOccmDemandSignalRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetOccmDemandSignalRequest, GetOccmDemandSignalResponse> ForOccmDemandSignal(GetOccmDemandSignalRequest request, params OccmDemandSignal.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOccmDemandSignalRequest | 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<GetOccmDemandSignalRequest, GetOccmDemandSignalResponse> | a new Oci.common.Waiter instance |
ForOccmDemandSignal(GetOccmDemandSignalRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetOccmDemandSignalRequest, GetOccmDemandSignalResponse> ForOccmDemandSignal(GetOccmDemandSignalRequest request, WaiterConfiguration config, params OccmDemandSignal.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOccmDemandSignalRequest | 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<GetOccmDemandSignalRequest, GetOccmDemandSignalResponse> | a new Oci.common.Waiter instance |
ForOccmDemandSignalItem(GetOccmDemandSignalItemRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetOccmDemandSignalItemRequest, GetOccmDemandSignalItemResponse> ForOccmDemandSignalItem(GetOccmDemandSignalItemRequest request, params OccmDemandSignalItem.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOccmDemandSignalItemRequest | 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<GetOccmDemandSignalItemRequest, GetOccmDemandSignalItemResponse> | a new Oci.common.Waiter instance |
ForOccmDemandSignalItem(GetOccmDemandSignalItemRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetOccmDemandSignalItemRequest, GetOccmDemandSignalItemResponse> ForOccmDemandSignalItem(GetOccmDemandSignalItemRequest request, WaiterConfiguration config, params OccmDemandSignalItem.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOccmDemandSignalItemRequest | 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<GetOccmDemandSignalItemRequest, GetOccmDemandSignalItemResponse> | a new Oci.common.Waiter instance |