Class QuotasWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Quotas.
Inherited Members
Namespace: Oci.LimitsService
Assembly: OCI.DotNetSDK.Limits.dll
Syntax
public class QuotasWaitersConstructors
QuotasWaiters(QuotasClient)
Declaration
public QuotasWaiters(QuotasClient client)Parameters
| Type | Name | Description | 
|---|---|---|
| QuotasClient | client | 
Methods
ForQuota(GetQuotaRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetQuotaRequest, GetQuotaResponse> ForQuota(GetQuotaRequest request, WaiterConfiguration config, params Quota.LifecycleStateEnum[] targetStates)Parameters
| Type | Name | Description | 
|---|---|---|
| GetQuotaRequest | 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<GetQuotaRequest, GetQuotaResponse> | a new Oci.common.Waiter instance | 
ForQuota(GetQuotaRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetQuotaRequest, GetQuotaResponse> ForQuota(GetQuotaRequest request, params Quota.LifecycleStateEnum[] targetStates)Parameters
| Type | Name | Description | 
|---|---|---|
| GetQuotaRequest | 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<GetQuotaRequest, GetQuotaResponse> | a new Oci.common.Waiter instance |