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