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
ForApiKey(GetApiKeyRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetApiKeyRequest, GetApiKeyResponse> ForApiKey(GetApiKeyRequest request, WaiterConfiguration config, params ApiKey.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetApiKeyRequest | 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<GetApiKeyRequest, GetApiKeyResponse> | a new Oci.common.Waiter instance |
ForApiKey(GetApiKeyRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetApiKeyRequest, GetApiKeyResponse> ForApiKey(GetApiKeyRequest request, params ApiKey.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetApiKeyRequest | 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<GetApiKeyRequest, GetApiKeyResponse> | a new Oci.common.Waiter instance |
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 |
ForGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetGenerativeAiPrivateEndpointRequest, GetGenerativeAiPrivateEndpointResponse> ForGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request, WaiterConfiguration config, params GenerativeAiPrivateEndpoint.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGenerativeAiPrivateEndpointRequest | 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<GetGenerativeAiPrivateEndpointRequest, GetGenerativeAiPrivateEndpointResponse> | a new Oci.common.Waiter instance |
ForGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetGenerativeAiPrivateEndpointRequest, GetGenerativeAiPrivateEndpointResponse> ForGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request, params GenerativeAiPrivateEndpoint.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGenerativeAiPrivateEndpointRequest | 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<GetGenerativeAiPrivateEndpointRequest, GetGenerativeAiPrivateEndpointResponse> | a new Oci.common.Waiter instance |
ForGenerativeAiProject(GetGenerativeAiProjectRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetGenerativeAiProjectRequest, GetGenerativeAiProjectResponse> ForGenerativeAiProject(GetGenerativeAiProjectRequest request, WaiterConfiguration config, params GenerativeAiProject.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGenerativeAiProjectRequest | 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<GetGenerativeAiProjectRequest, GetGenerativeAiProjectResponse> | a new Oci.common.Waiter instance |
ForGenerativeAiProject(GetGenerativeAiProjectRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetGenerativeAiProjectRequest, GetGenerativeAiProjectResponse> ForGenerativeAiProject(GetGenerativeAiProjectRequest request, params GenerativeAiProject.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGenerativeAiProjectRequest | 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<GetGenerativeAiProjectRequest, GetGenerativeAiProjectResponse> | a new Oci.common.Waiter instance |
ForHostedApplication(GetHostedApplicationRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetHostedApplicationRequest, GetHostedApplicationResponse> ForHostedApplication(GetHostedApplicationRequest request, WaiterConfiguration config, params HostedApplication.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetHostedApplicationRequest | 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<GetHostedApplicationRequest, GetHostedApplicationResponse> | a new Oci.common.Waiter instance |
ForHostedApplication(GetHostedApplicationRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetHostedApplicationRequest, GetHostedApplicationResponse> ForHostedApplication(GetHostedApplicationRequest request, params HostedApplication.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetHostedApplicationRequest | 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<GetHostedApplicationRequest, GetHostedApplicationResponse> | a new Oci.common.Waiter instance |
ForHostedApplicationStorage(GetHostedApplicationStorageRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetHostedApplicationStorageRequest, GetHostedApplicationStorageResponse> ForHostedApplicationStorage(GetHostedApplicationStorageRequest request, WaiterConfiguration config, params HostedApplicationStorage.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetHostedApplicationStorageRequest | 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<GetHostedApplicationStorageRequest, GetHostedApplicationStorageResponse> | a new Oci.common.Waiter instance |
ForHostedApplicationStorage(GetHostedApplicationStorageRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetHostedApplicationStorageRequest, GetHostedApplicationStorageResponse> ForHostedApplicationStorage(GetHostedApplicationStorageRequest request, params HostedApplicationStorage.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetHostedApplicationStorageRequest | 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<GetHostedApplicationStorageRequest, GetHostedApplicationStorageResponse> | a new Oci.common.Waiter instance |
ForHostedDeployment(GetHostedDeploymentRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetHostedDeploymentRequest, GetHostedDeploymentResponse> ForHostedDeployment(GetHostedDeploymentRequest request, WaiterConfiguration config, params HostedDeployment.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetHostedDeploymentRequest | 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<GetHostedDeploymentRequest, GetHostedDeploymentResponse> | a new Oci.common.Waiter instance |
ForHostedDeployment(GetHostedDeploymentRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetHostedDeploymentRequest, GetHostedDeploymentResponse> ForHostedDeployment(GetHostedDeploymentRequest request, params HostedDeployment.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetHostedDeploymentRequest | 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<GetHostedDeploymentRequest, GetHostedDeploymentResponse> | a new Oci.common.Waiter instance |
ForImportedModel(GetImportedModelRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetImportedModelRequest, GetImportedModelResponse> ForImportedModel(GetImportedModelRequest request, WaiterConfiguration config, params ImportedModel.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetImportedModelRequest | 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<GetImportedModelRequest, GetImportedModelResponse> | a new Oci.common.Waiter instance |
ForImportedModel(GetImportedModelRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetImportedModelRequest, GetImportedModelResponse> ForImportedModel(GetImportedModelRequest request, params ImportedModel.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetImportedModelRequest | 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<GetImportedModelRequest, GetImportedModelResponse> | 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 |
ForSemanticStore(GetSemanticStoreRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetSemanticStoreRequest, GetSemanticStoreResponse> ForSemanticStore(GetSemanticStoreRequest request, WaiterConfiguration config, params SemanticStore.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSemanticStoreRequest | 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<GetSemanticStoreRequest, GetSemanticStoreResponse> | a new Oci.common.Waiter instance |
ForSemanticStore(GetSemanticStoreRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetSemanticStoreRequest, GetSemanticStoreResponse> ForSemanticStore(GetSemanticStoreRequest request, params SemanticStore.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSemanticStoreRequest | 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<GetSemanticStoreRequest, GetSemanticStoreResponse> | a new Oci.common.Waiter instance |
ForVectorStoreConnector(GetVectorStoreConnectorRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetVectorStoreConnectorRequest, GetVectorStoreConnectorResponse> ForVectorStoreConnector(GetVectorStoreConnectorRequest request, WaiterConfiguration config, params VectorStoreConnector.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVectorStoreConnectorRequest | 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<GetVectorStoreConnectorRequest, GetVectorStoreConnectorResponse> | a new Oci.common.Waiter instance |
ForVectorStoreConnector(GetVectorStoreConnectorRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetVectorStoreConnectorRequest, GetVectorStoreConnectorResponse> ForVectorStoreConnector(GetVectorStoreConnectorRequest request, params VectorStoreConnector.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVectorStoreConnectorRequest | 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<GetVectorStoreConnectorRequest, GetVectorStoreConnectorResponse> | a new Oci.common.Waiter instance |
ForVectorStoreConnectorFileSync(GetVectorStoreConnectorFileSyncRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetVectorStoreConnectorFileSyncRequest, GetVectorStoreConnectorFileSyncResponse> ForVectorStoreConnectorFileSync(GetVectorStoreConnectorFileSyncRequest request, WaiterConfiguration config, params VectorStoreConnectorFileSync.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVectorStoreConnectorFileSyncRequest | 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<GetVectorStoreConnectorFileSyncRequest, GetVectorStoreConnectorFileSyncResponse> | a new Oci.common.Waiter instance |
ForVectorStoreConnectorFileSync(GetVectorStoreConnectorFileSyncRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetVectorStoreConnectorFileSyncRequest, GetVectorStoreConnectorFileSyncResponse> ForVectorStoreConnectorFileSync(GetVectorStoreConnectorFileSyncRequest request, params VectorStoreConnectorFileSync.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVectorStoreConnectorFileSyncRequest | 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<GetVectorStoreConnectorFileSyncRequest, GetVectorStoreConnectorFileSyncResponse> | 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 |