Show / Hide Table of Contents

Class AIServiceLanguageWaiters

Contains collection of helper methods to produce Oci.Common.Waiters for different resources of AIServiceLanguage.

Inheritance
object
AIServiceLanguageWaiters
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AilanguageService
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class AIServiceLanguageWaiters

Constructors

AIServiceLanguageWaiters(AIServiceLanguageClient)

Declaration
public AIServiceLanguageWaiters(AIServiceLanguageClient client)
Parameters
Type Name Description
AIServiceLanguageClient client

Methods

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

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

ForJob(GetJobRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetJobRequest, GetJobResponse> ForJob(GetJobRequest request, params Job.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetJobRequest 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<GetJobRequest, GetJobResponse>

a new Oci.common.Waiter instance

ForJob(GetJobRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetJobRequest, GetJobResponse> ForJob(GetJobRequest request, WaiterConfiguration config, params Job.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetJobRequest 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<GetJobRequest, GetJobResponse>

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

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

ForProject(GetProjectRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetProjectRequest, GetProjectResponse> ForProject(GetProjectRequest request, params Project.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetProjectRequest 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<GetProjectRequest, GetProjectResponse>

a new Oci.common.Waiter instance

ForProject(GetProjectRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetProjectRequest, GetProjectResponse> ForProject(GetProjectRequest request, WaiterConfiguration config, params Project.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetProjectRequest 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<GetProjectRequest, GetProjectResponse>

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

In this article
Back to top