Class WorkRequestsWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of WorkRequests.
Inherited Members
Namespace: Oci.RoverService
Assembly: OCI.DotNetSDK.Rover.dll
Syntax
public class WorkRequestsWaiters
Constructors
WorkRequestsWaiters(WorkRequestsClient)
Declaration
public WorkRequestsWaiters(WorkRequestsClient client)
Parameters
Type | Name | Description |
---|---|---|
WorkRequestsClient | client |
Methods
ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params WorkRequestOperationStatus[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params WorkRequestOperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
WorkRequestOperationStatus[] | 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 WorkRequestOperationStatus[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params WorkRequestOperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WorkRequestOperationStatus[] | 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 |