Class VbsInstanceWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of VbsInstance.
Inherited Members
Namespace: Oci.VbsinstService
Assembly: OCI.DotNetSDK.Vbsinst.dll
Syntax
public class VbsInstanceWaiters
Constructors
VbsInstanceWaiters(VbsInstanceClient)
Declaration
public VbsInstanceWaiters(VbsInstanceClient client)
Parameters
Type | Name | Description |
---|---|---|
VbsInstanceClient | client |
Methods
ForVbsInstance(GetVbsInstanceRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetVbsInstanceRequest, GetVbsInstanceResponse> ForVbsInstance(GetVbsInstanceRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetVbsInstanceRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleState[] | 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<GetVbsInstanceRequest, GetVbsInstanceResponse> | a new Oci.common.Waiter instance |
ForVbsInstance(GetVbsInstanceRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetVbsInstanceRequest, GetVbsInstanceResponse> ForVbsInstance(GetVbsInstanceRequest request, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetVbsInstanceRequest | request | Request to send. |
LifecycleState[] | 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<GetVbsInstanceRequest, GetVbsInstanceResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params OperationStatus[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
OperationStatus[] | 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<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, params OperationStatus[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
OperationStatus[] | 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<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |