Class ServiceConnectorWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of ServiceConnector.
Inherited Members
Namespace: Oci.SchService
Assembly: OCI.DotNetSDK.Sch.dll
Syntax
public class ServiceConnectorWaiters
Constructors
ServiceConnectorWaiters(ServiceConnectorClient)
Declaration
public ServiceConnectorWaiters(ServiceConnectorClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceConnectorClient | client |
Methods
ForServiceConnector(GetServiceConnectorRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetServiceConnectorRequest, GetServiceConnectorResponse> ForServiceConnector(GetServiceConnectorRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetServiceConnectorRequest | 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<GetServiceConnectorRequest, GetServiceConnectorResponse> | a new Oci.common.Waiter instance |
ForServiceConnector(GetServiceConnectorRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetServiceConnectorRequest, GetServiceConnectorResponse> ForServiceConnector(GetServiceConnectorRequest request, params LifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetServiceConnectorRequest | 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<GetServiceConnectorRequest, GetServiceConnectorResponse> | 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 |