Class BatchComputingWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of BatchComputing.
Inherited Members
Namespace: Oci.BatchService
Assembly: OCI.DotNetSDK.Batch.dll
Syntax
public class BatchComputingWaiters
Constructors
BatchComputingWaiters(BatchComputingClient)
Declaration
public BatchComputingWaiters(BatchComputingClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchComputingClient | client |
Methods
ForBatchContext(GetBatchContextRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBatchContextRequest, GetBatchContextResponse> ForBatchContext(GetBatchContextRequest request, params BatchContext.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchContextRequest | 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<GetBatchContextRequest, GetBatchContextResponse> | a new Oci.common.Waiter instance |
ForBatchContext(GetBatchContextRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBatchContextRequest, GetBatchContextResponse> ForBatchContext(GetBatchContextRequest request, WaiterConfiguration config, params BatchContext.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchContextRequest | 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<GetBatchContextRequest, GetBatchContextResponse> | a new Oci.common.Waiter instance |
ForBatchJob(GetBatchJobRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBatchJobRequest, GetBatchJobResponse> ForBatchJob(GetBatchJobRequest request, params BatchJob.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchJobRequest | 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<GetBatchJobRequest, GetBatchJobResponse> | a new Oci.common.Waiter instance |
ForBatchJob(GetBatchJobRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBatchJobRequest, GetBatchJobResponse> ForBatchJob(GetBatchJobRequest request, WaiterConfiguration config, params BatchJob.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchJobRequest | 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<GetBatchJobRequest, GetBatchJobResponse> | a new Oci.common.Waiter instance |
ForBatchJobPool(GetBatchJobPoolRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBatchJobPoolRequest, GetBatchJobPoolResponse> ForBatchJobPool(GetBatchJobPoolRequest request, params BatchJobPool.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchJobPoolRequest | 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<GetBatchJobPoolRequest, GetBatchJobPoolResponse> | a new Oci.common.Waiter instance |
ForBatchJobPool(GetBatchJobPoolRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBatchJobPoolRequest, GetBatchJobPoolResponse> ForBatchJobPool(GetBatchJobPoolRequest request, WaiterConfiguration config, params BatchJobPool.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchJobPoolRequest | 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<GetBatchJobPoolRequest, GetBatchJobPoolResponse> | a new Oci.common.Waiter instance |
ForBatchTask(GetBatchTaskRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBatchTaskRequest, GetBatchTaskResponse> ForBatchTask(GetBatchTaskRequest request, params BatchTask.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchTaskRequest | 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<GetBatchTaskRequest, GetBatchTaskResponse> | a new Oci.common.Waiter instance |
ForBatchTask(GetBatchTaskRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBatchTaskRequest, GetBatchTaskResponse> ForBatchTask(GetBatchTaskRequest request, WaiterConfiguration config, params BatchTask.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchTaskRequest | 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<GetBatchTaskRequest, GetBatchTaskResponse> | a new Oci.common.Waiter instance |
ForBatchTaskEnvironment(GetBatchTaskEnvironmentRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBatchTaskEnvironmentRequest, GetBatchTaskEnvironmentResponse> ForBatchTaskEnvironment(GetBatchTaskEnvironmentRequest request, params BatchTaskEnvironment.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchTaskEnvironmentRequest | 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<GetBatchTaskEnvironmentRequest, GetBatchTaskEnvironmentResponse> | a new Oci.common.Waiter instance |
ForBatchTaskEnvironment(GetBatchTaskEnvironmentRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBatchTaskEnvironmentRequest, GetBatchTaskEnvironmentResponse> ForBatchTaskEnvironment(GetBatchTaskEnvironmentRequest request, WaiterConfiguration config, params BatchTaskEnvironment.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchTaskEnvironmentRequest | 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<GetBatchTaskEnvironmentRequest, GetBatchTaskEnvironmentResponse> | a new Oci.common.Waiter instance |
ForBatchTaskProfile(GetBatchTaskProfileRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBatchTaskProfileRequest, GetBatchTaskProfileResponse> ForBatchTaskProfile(GetBatchTaskProfileRequest request, params BatchTaskProfile.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchTaskProfileRequest | 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<GetBatchTaskProfileRequest, GetBatchTaskProfileResponse> | a new Oci.common.Waiter instance |
ForBatchTaskProfile(GetBatchTaskProfileRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBatchTaskProfileRequest, GetBatchTaskProfileResponse> ForBatchTaskProfile(GetBatchTaskProfileRequest request, WaiterConfiguration config, params BatchTaskProfile.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBatchTaskProfileRequest | 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<GetBatchTaskProfileRequest, GetBatchTaskProfileResponse> | 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 |
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 |