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