Class DesktopServiceWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of DesktopService.
Inherited Members
Namespace: Oci.DesktopsService
Assembly: OCI.DotNetSDK.Desktops.dll
Syntax
public class DesktopServiceWaiters
Constructors
DesktopServiceWaiters(DesktopServiceClient)
Declaration
public DesktopServiceWaiters(DesktopServiceClient client)
Parameters
Type | Name | Description |
---|---|---|
DesktopServiceClient | client |
Methods
ForDesktop(GetDesktopRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDesktopRequest, GetDesktopResponse> ForDesktop(GetDesktopRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDesktopRequest | 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<GetDesktopRequest, GetDesktopResponse> | a new Oci.common.Waiter instance |
ForDesktop(GetDesktopRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDesktopRequest, GetDesktopResponse> ForDesktop(GetDesktopRequest request, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDesktopRequest | 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<GetDesktopRequest, GetDesktopResponse> | a new Oci.common.Waiter instance |
ForDesktopPool(GetDesktopPoolRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDesktopPoolRequest, GetDesktopPoolResponse> ForDesktopPool(GetDesktopPoolRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDesktopPoolRequest | 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<GetDesktopPoolRequest, GetDesktopPoolResponse> | a new Oci.common.Waiter instance |
ForDesktopPool(GetDesktopPoolRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDesktopPoolRequest, GetDesktopPoolResponse> ForDesktopPool(GetDesktopPoolRequest request, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDesktopPoolRequest | 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<GetDesktopPoolRequest, GetDesktopPoolResponse> | 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 |