Show / Hide Table of Contents

Class GenerativeAiAgentWaiters

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

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

Constructors

GenerativeAiAgentWaiters(GenerativeAiAgentClient)

Declaration
public GenerativeAiAgentWaiters(GenerativeAiAgentClient client)
Parameters
Type Name Description
GenerativeAiAgentClient client

Methods

ForAgent(GetAgentRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetAgentRequest, GetAgentResponse> ForAgent(GetAgentRequest request, WaiterConfiguration config, params Agent.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAgentRequest 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<GetAgentRequest, GetAgentResponse>

a new Oci.common.Waiter instance

ForAgent(GetAgentRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetAgentRequest, GetAgentResponse> ForAgent(GetAgentRequest request, params Agent.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAgentRequest 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<GetAgentRequest, GetAgentResponse>

a new Oci.common.Waiter instance

ForAgentEndpoint(GetAgentEndpointRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetAgentEndpointRequest, GetAgentEndpointResponse> ForAgentEndpoint(GetAgentEndpointRequest request, WaiterConfiguration config, params AgentEndpoint.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAgentEndpointRequest 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<GetAgentEndpointRequest, GetAgentEndpointResponse>

a new Oci.common.Waiter instance

ForAgentEndpoint(GetAgentEndpointRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetAgentEndpointRequest, GetAgentEndpointResponse> ForAgentEndpoint(GetAgentEndpointRequest request, params AgentEndpoint.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAgentEndpointRequest 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<GetAgentEndpointRequest, GetAgentEndpointResponse>

a new Oci.common.Waiter instance

ForDataIngestionJob(GetDataIngestionJobRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetDataIngestionJobRequest, GetDataIngestionJobResponse> ForDataIngestionJob(GetDataIngestionJobRequest request, WaiterConfiguration config, params DataIngestionJob.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetDataIngestionJobRequest 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<GetDataIngestionJobRequest, GetDataIngestionJobResponse>

a new Oci.common.Waiter instance

ForDataIngestionJob(GetDataIngestionJobRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetDataIngestionJobRequest, GetDataIngestionJobResponse> ForDataIngestionJob(GetDataIngestionJobRequest request, params DataIngestionJob.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetDataIngestionJobRequest 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<GetDataIngestionJobRequest, GetDataIngestionJobResponse>

a new Oci.common.Waiter instance

ForDataSource(GetDataSourceRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetDataSourceRequest, GetDataSourceResponse> ForDataSource(GetDataSourceRequest request, WaiterConfiguration config, params DataSource.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetDataSourceRequest 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<GetDataSourceRequest, GetDataSourceResponse>

a new Oci.common.Waiter instance

ForDataSource(GetDataSourceRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetDataSourceRequest, GetDataSourceResponse> ForDataSource(GetDataSourceRequest request, params DataSource.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetDataSourceRequest 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<GetDataSourceRequest, GetDataSourceResponse>

a new Oci.common.Waiter instance

ForKnowledgeBase(GetKnowledgeBaseRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetKnowledgeBaseRequest, GetKnowledgeBaseResponse> ForKnowledgeBase(GetKnowledgeBaseRequest request, WaiterConfiguration config, params KnowledgeBase.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetKnowledgeBaseRequest 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<GetKnowledgeBaseRequest, GetKnowledgeBaseResponse>

a new Oci.common.Waiter instance

ForKnowledgeBase(GetKnowledgeBaseRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetKnowledgeBaseRequest, GetKnowledgeBaseResponse> ForKnowledgeBase(GetKnowledgeBaseRequest request, params KnowledgeBase.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetKnowledgeBaseRequest 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<GetKnowledgeBaseRequest, GetKnowledgeBaseResponse>

a new Oci.common.Waiter instance

ForTool(GetToolRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetToolRequest, GetToolResponse> ForTool(GetToolRequest request, WaiterConfiguration config, params Tool.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetToolRequest 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<GetToolRequest, GetToolResponse>

a new Oci.common.Waiter instance

ForTool(GetToolRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetToolRequest, GetToolResponse> ForTool(GetToolRequest request, params Tool.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetToolRequest 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<GetToolRequest, GetToolResponse>

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

In this article
Back to top