Class GenerativeAiSandboxWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of GenerativeAiSandbox.
Inherited Members
Namespace: Oci.GenerativeaisandboxService
Assembly: OCI.DotNetSDK.Generativeaisandbox.dll
Syntax
public class GenerativeAiSandboxWaiters
Constructors
GenerativeAiSandboxWaiters(GenerativeAiSandboxClient)
Declaration
public GenerativeAiSandboxWaiters(GenerativeAiSandboxClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| GenerativeAiSandboxClient | client |
Methods
ForSandbox(GetSandboxRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetSandboxRequest, GetSandboxResponse> ForSandbox(GetSandboxRequest request, WaiterConfiguration config, params Sandbox.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSandboxRequest | 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<GetSandboxRequest, GetSandboxResponse> | a new Oci.common.Waiter instance |
ForSandbox(GetSandboxRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetSandboxRequest, GetSandboxResponse> ForSandbox(GetSandboxRequest request, params Sandbox.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSandboxRequest | 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<GetSandboxRequest, GetSandboxResponse> | a new Oci.common.Waiter instance |
ForSandboxSnapshot(GetSandboxSnapshotRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetSandboxSnapshotRequest, GetSandboxSnapshotResponse> ForSandboxSnapshot(GetSandboxSnapshotRequest request, WaiterConfiguration config, params SandboxSnapshot.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSandboxSnapshotRequest | 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<GetSandboxSnapshotRequest, GetSandboxSnapshotResponse> | a new Oci.common.Waiter instance |
ForSandboxSnapshot(GetSandboxSnapshotRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetSandboxSnapshotRequest, GetSandboxSnapshotResponse> ForSandboxSnapshot(GetSandboxSnapshotRequest request, params SandboxSnapshot.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSandboxSnapshotRequest | 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<GetSandboxSnapshotRequest, GetSandboxSnapshotResponse> | a new Oci.common.Waiter instance |