Show / Hide Table of Contents

Class DisasterRecoveryWaiters

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

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

Constructors

DisasterRecoveryWaiters(DisasterRecoveryClient)

Declaration
public DisasterRecoveryWaiters(DisasterRecoveryClient client)
Parameters
Type Name Description
DisasterRecoveryClient client

Methods

ForDrPlan(GetDrPlanRequest, WaiterConfiguration, params DrPlanLifecycleState[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetDrPlanRequest, GetDrPlanResponse> ForDrPlan(GetDrPlanRequest request, WaiterConfiguration config, params DrPlanLifecycleState[] targetStates)
Parameters
Type Name Description
GetDrPlanRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

DrPlanLifecycleState[] 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<GetDrPlanRequest, GetDrPlanResponse>

a new Oci.common.Waiter instance

ForDrPlan(GetDrPlanRequest, params DrPlanLifecycleState[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetDrPlanRequest, GetDrPlanResponse> ForDrPlan(GetDrPlanRequest request, params DrPlanLifecycleState[] targetStates)
Parameters
Type Name Description
GetDrPlanRequest request

Request to send.

DrPlanLifecycleState[] 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<GetDrPlanRequest, GetDrPlanResponse>

a new Oci.common.Waiter instance

ForDrPlanExecution(GetDrPlanExecutionRequest, WaiterConfiguration, params DrPlanExecutionLifecycleState[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetDrPlanExecutionRequest, GetDrPlanExecutionResponse> ForDrPlanExecution(GetDrPlanExecutionRequest request, WaiterConfiguration config, params DrPlanExecutionLifecycleState[] targetStates)
Parameters
Type Name Description
GetDrPlanExecutionRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

DrPlanExecutionLifecycleState[] 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<GetDrPlanExecutionRequest, GetDrPlanExecutionResponse>

a new Oci.common.Waiter instance

ForDrPlanExecution(GetDrPlanExecutionRequest, params DrPlanExecutionLifecycleState[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetDrPlanExecutionRequest, GetDrPlanExecutionResponse> ForDrPlanExecution(GetDrPlanExecutionRequest request, params DrPlanExecutionLifecycleState[] targetStates)
Parameters
Type Name Description
GetDrPlanExecutionRequest request

Request to send.

DrPlanExecutionLifecycleState[] 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<GetDrPlanExecutionRequest, GetDrPlanExecutionResponse>

a new Oci.common.Waiter instance

ForDrProtectionGroup(GetDrProtectionGroupRequest, WaiterConfiguration, params DrProtectionGroupLifecycleState[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetDrProtectionGroupRequest, GetDrProtectionGroupResponse> ForDrProtectionGroup(GetDrProtectionGroupRequest request, WaiterConfiguration config, params DrProtectionGroupLifecycleState[] targetStates)
Parameters
Type Name Description
GetDrProtectionGroupRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

DrProtectionGroupLifecycleState[] 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<GetDrProtectionGroupRequest, GetDrProtectionGroupResponse>

a new Oci.common.Waiter instance

ForDrProtectionGroup(GetDrProtectionGroupRequest, params DrProtectionGroupLifecycleState[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetDrProtectionGroupRequest, GetDrProtectionGroupResponse> ForDrProtectionGroup(GetDrProtectionGroupRequest request, params DrProtectionGroupLifecycleState[] targetStates)
Parameters
Type Name Description
GetDrProtectionGroupRequest request

Request to send.

DrProtectionGroupLifecycleState[] 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<GetDrProtectionGroupRequest, GetDrProtectionGroupResponse>

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