Class CcdCommitmentsWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of CcdCommitments.
Inherited Members
Namespace: Oci.CcdoffersService
Assembly: OCI.DotNetSDK.Ccdoffers.dll
Syntax
public class CcdCommitmentsWaiters
Constructors
CcdCommitmentsWaiters(CcdCommitmentsClient)
Declaration
public CcdCommitmentsWaiters(CcdCommitmentsClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| CcdCommitmentsClient | client |
Methods
ForCcdCommitment(GetCcdCommitmentRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetCcdCommitmentRequest, GetCcdCommitmentResponse> ForCcdCommitment(GetCcdCommitmentRequest request, params CcdCommitment.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCcdCommitmentRequest | 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<GetCcdCommitmentRequest, GetCcdCommitmentResponse> | a new Oci.common.Waiter instance |
ForCcdCommitment(GetCcdCommitmentRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetCcdCommitmentRequest, GetCcdCommitmentResponse> ForCcdCommitment(GetCcdCommitmentRequest request, WaiterConfiguration config, params CcdCommitment.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCcdCommitmentRequest | 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<GetCcdCommitmentRequest, GetCcdCommitmentResponse> | a new Oci.common.Waiter instance |