Class GenerativeAiWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of GenerativeAi.
Inherited Members
Namespace: Oci.GenerativeaiService
Assembly: OCI.DotNetSDK.Generativeai.dll
Syntax
public class GenerativeAiWaiters
Constructors
GenerativeAiWaiters(GenerativeAiClient)
Declaration
public GenerativeAiWaiters(GenerativeAiClient client)
Parameters
Type | Name | Description |
---|---|---|
GenerativeAiClient | client |
Methods
ForDedicatedAiCluster(GetDedicatedAiClusterRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDedicatedAiClusterRequest, GetDedicatedAiClusterResponse> ForDedicatedAiCluster(GetDedicatedAiClusterRequest request, WaiterConfiguration config, params DedicatedAiCluster.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDedicatedAiClusterRequest | 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<GetDedicatedAiClusterRequest, GetDedicatedAiClusterResponse> | a new Oci.common.Waiter instance |
ForDedicatedAiCluster(GetDedicatedAiClusterRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDedicatedAiClusterRequest, GetDedicatedAiClusterResponse> ForDedicatedAiCluster(GetDedicatedAiClusterRequest request, params DedicatedAiCluster.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDedicatedAiClusterRequest | 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<GetDedicatedAiClusterRequest, GetDedicatedAiClusterResponse> | a new Oci.common.Waiter instance |
ForEndpoint(GetEndpointRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetEndpointRequest, GetEndpointResponse> ForEndpoint(GetEndpointRequest request, WaiterConfiguration config, params Endpoint.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEndpointRequest | 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<GetEndpointRequest, GetEndpointResponse> | a new Oci.common.Waiter instance |
ForEndpoint(GetEndpointRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetEndpointRequest, GetEndpointResponse> ForEndpoint(GetEndpointRequest request, params Endpoint.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEndpointRequest | 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<GetEndpointRequest, GetEndpointResponse> | a new Oci.common.Waiter instance |
ForModel(GetModelRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetModelRequest, GetModelResponse> ForModel(GetModelRequest request, WaiterConfiguration config, params Model.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetModelRequest | 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<GetModelRequest, GetModelResponse> | a new Oci.common.Waiter instance |
ForModel(GetModelRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetModelRequest, GetModelResponse> ForModel(GetModelRequest request, params Model.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetModelRequest | 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<GetModelRequest, GetModelResponse> | 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 |