Show / Hide Table of Contents

Class DatabaseRecoveryWaiters

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

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

Constructors

DatabaseRecoveryWaiters(DatabaseRecoveryClient)

Declaration
public DatabaseRecoveryWaiters(DatabaseRecoveryClient client)
Parameters
Type Name Description
DatabaseRecoveryClient client

Methods

ForProtectedDatabase(GetProtectedDatabaseRequest, WaiterConfiguration, params LifecycleState[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetProtectedDatabaseRequest, GetProtectedDatabaseResponse> ForProtectedDatabase(GetProtectedDatabaseRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetProtectedDatabaseRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

LifecycleState[] 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<GetProtectedDatabaseRequest, GetProtectedDatabaseResponse>

a new Oci.common.Waiter instance

ForProtectedDatabase(GetProtectedDatabaseRequest, params LifecycleState[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetProtectedDatabaseRequest, GetProtectedDatabaseResponse> ForProtectedDatabase(GetProtectedDatabaseRequest request, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetProtectedDatabaseRequest request

Request to send.

LifecycleState[] 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<GetProtectedDatabaseRequest, GetProtectedDatabaseResponse>

a new Oci.common.Waiter instance

ForProtectionPolicy(GetProtectionPolicyRequest, WaiterConfiguration, params LifecycleState[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetProtectionPolicyRequest, GetProtectionPolicyResponse> ForProtectionPolicy(GetProtectionPolicyRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetProtectionPolicyRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

LifecycleState[] 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<GetProtectionPolicyRequest, GetProtectionPolicyResponse>

a new Oci.common.Waiter instance

ForProtectionPolicy(GetProtectionPolicyRequest, params LifecycleState[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetProtectionPolicyRequest, GetProtectionPolicyResponse> ForProtectionPolicy(GetProtectionPolicyRequest request, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetProtectionPolicyRequest request

Request to send.

LifecycleState[] 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<GetProtectionPolicyRequest, GetProtectionPolicyResponse>

a new Oci.common.Waiter instance

ForRecoveryServiceSubnet(GetRecoveryServiceSubnetRequest, WaiterConfiguration, params LifecycleState[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetRecoveryServiceSubnetRequest, GetRecoveryServiceSubnetResponse> ForRecoveryServiceSubnet(GetRecoveryServiceSubnetRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetRecoveryServiceSubnetRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

LifecycleState[] 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<GetRecoveryServiceSubnetRequest, GetRecoveryServiceSubnetResponse>

a new Oci.common.Waiter instance

ForRecoveryServiceSubnet(GetRecoveryServiceSubnetRequest, params LifecycleState[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetRecoveryServiceSubnetRequest, GetRecoveryServiceSubnetResponse> ForRecoveryServiceSubnet(GetRecoveryServiceSubnetRequest request, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetRecoveryServiceSubnetRequest request

Request to send.

LifecycleState[] 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<GetRecoveryServiceSubnetRequest, GetRecoveryServiceSubnetResponse>

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