Show / Hide Table of Contents

Class DatastoreWaiters

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

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

Constructors

DatastoreWaiters(DatastoreClient)

Declaration
public DatastoreWaiters(DatastoreClient client)
Parameters
Type Name Description
DatastoreClient client

Methods

ForDatastore(GetDatastoreRequest, WaiterConfiguration, params LifecycleStates[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetDatastoreRequest, GetDatastoreResponse> ForDatastore(GetDatastoreRequest request, WaiterConfiguration config, params LifecycleStates[] targetStates)
Parameters
Type Name Description
GetDatastoreRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

LifecycleStates[] 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<GetDatastoreRequest, GetDatastoreResponse>

a new Oci.common.Waiter instance

ForDatastore(GetDatastoreRequest, params LifecycleStates[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetDatastoreRequest, GetDatastoreResponse> ForDatastore(GetDatastoreRequest request, params LifecycleStates[] targetStates)
Parameters
Type Name Description
GetDatastoreRequest request

Request to send.

LifecycleStates[] 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<GetDatastoreRequest, GetDatastoreResponse>

a new Oci.common.Waiter instance

In this article
Back to top