Class ReplicasWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Replicas.
Inherited Members
Namespace: Oci.MysqlService
Assembly: OCI.DotNetSDK.Mysql.dll
Syntax
public class ReplicasWaiters
Constructors
ReplicasWaiters(ReplicasClient)
Declaration
public ReplicasWaiters(ReplicasClient client)
Parameters
Type | Name | Description |
---|---|---|
ReplicasClient | client |
Methods
ForReplica(GetReplicaRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetReplicaRequest, GetReplicaResponse> ForReplica(GetReplicaRequest request, WaiterConfiguration config, params Replica.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetReplicaRequest | 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<GetReplicaRequest, GetReplicaResponse> | a new Oci.common.Waiter instance |
ForReplica(GetReplicaRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetReplicaRequest, GetReplicaResponse> ForReplica(GetReplicaRequest request, params Replica.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetReplicaRequest | 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<GetReplicaRequest, GetReplicaResponse> | a new Oci.common.Waiter instance |