Show / Hide Table of Contents

Class OcbAgentSvcWaiters

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

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

Constructors

OcbAgentSvcWaiters(OcbAgentSvcClient)

Declaration
public OcbAgentSvcWaiters(OcbAgentSvcClient client)
Parameters
Type Name Description
OcbAgentSvcClient client

Methods

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

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

ForAgentDependency(GetAgentDependencyRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetAgentDependencyRequest, GetAgentDependencyResponse> ForAgentDependency(GetAgentDependencyRequest request, params AgentDependency.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAgentDependencyRequest 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<GetAgentDependencyRequest, GetAgentDependencyResponse>

a new Oci.common.Waiter instance

ForAgentDependency(GetAgentDependencyRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetAgentDependencyRequest, GetAgentDependencyResponse> ForAgentDependency(GetAgentDependencyRequest request, WaiterConfiguration config, params AgentDependency.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAgentDependencyRequest 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<GetAgentDependencyRequest, GetAgentDependencyResponse>

a new Oci.common.Waiter instance

ForEnvironment(GetEnvironmentRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetEnvironmentRequest, GetEnvironmentResponse> ForEnvironment(GetEnvironmentRequest request, params Environment.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetEnvironmentRequest 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<GetEnvironmentRequest, GetEnvironmentResponse>

a new Oci.common.Waiter instance

ForEnvironment(GetEnvironmentRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetEnvironmentRequest, GetEnvironmentResponse> ForEnvironment(GetEnvironmentRequest request, WaiterConfiguration config, params Environment.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetEnvironmentRequest 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<GetEnvironmentRequest, GetEnvironmentResponse>

a new Oci.common.Waiter instance

ForPlugin(GetPluginRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetPluginRequest, GetPluginResponse> ForPlugin(GetPluginRequest request, params Plugin.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetPluginRequest 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<GetPluginRequest, GetPluginResponse>

a new Oci.common.Waiter instance

ForPlugin(GetPluginRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetPluginRequest, GetPluginResponse> ForPlugin(GetPluginRequest request, WaiterConfiguration config, params Plugin.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetPluginRequest 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<GetPluginRequest, GetPluginResponse>

a new Oci.common.Waiter instance

In this article
Back to top