Class NosqlWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Nosql.
Inherited Members
Namespace: Oci.NosqlService
Assembly: OCI.DotNetSDK.Nosql.dll
Syntax
public class NosqlWaiters
Constructors
NosqlWaiters(NosqlClient)
Declaration
public NosqlWaiters(NosqlClient client)
Parameters
Type | Name | Description |
---|---|---|
NosqlClient | client |
Methods
ForIndex(GetIndexRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetIndexRequest, GetIndexResponse> ForIndex(GetIndexRequest request, WaiterConfiguration config, params Index.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetIndexRequest | 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<GetIndexRequest, GetIndexResponse> | a new Oci.common.Waiter instance |
ForIndex(GetIndexRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetIndexRequest, GetIndexResponse> ForIndex(GetIndexRequest request, params Index.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetIndexRequest | 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<GetIndexRequest, GetIndexResponse> | a new Oci.common.Waiter instance |
ForTable(GetTableRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetTableRequest, GetTableResponse> ForTable(GetTableRequest request, WaiterConfiguration config, params Table.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetTableRequest | 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<GetTableRequest, GetTableResponse> | a new Oci.common.Waiter instance |
ForTable(GetTableRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetTableRequest, GetTableResponse> ForTable(GetTableRequest request, params Table.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetTableRequest | 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<GetTableRequest, GetTableResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params StatusEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params WorkRequest.StatusEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
StatusEnum[] | 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 StatusEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params WorkRequest.StatusEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
StatusEnum[] | 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 |