Class BlockchainPlatformWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of BlockchainPlatform.
Inherited Members
Namespace: Oci.BlockchainService
Assembly: OCI.DotNetSDK.Blockchain.dll
Syntax
public class BlockchainPlatformWaiters
Constructors
BlockchainPlatformWaiters(BlockchainPlatformClient)
Declaration
public BlockchainPlatformWaiters(BlockchainPlatformClient client)
Parameters
Type | Name | Description |
---|---|---|
BlockchainPlatformClient | client |
Methods
ForBlockchainPlatform(GetBlockchainPlatformRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBlockchainPlatformRequest, GetBlockchainPlatformResponse> ForBlockchainPlatform(GetBlockchainPlatformRequest request, params BlockchainPlatform.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBlockchainPlatformRequest | 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<GetBlockchainPlatformRequest, GetBlockchainPlatformResponse> | a new Oci.common.Waiter instance |
ForBlockchainPlatform(GetBlockchainPlatformRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBlockchainPlatformRequest, GetBlockchainPlatformResponse> ForBlockchainPlatform(GetBlockchainPlatformRequest request, WaiterConfiguration config, params BlockchainPlatform.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBlockchainPlatformRequest | 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<GetBlockchainPlatformRequest, GetBlockchainPlatformResponse> | a new Oci.common.Waiter instance |
ForOsn(GetOsnRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetOsnRequest, GetOsnResponse> ForOsn(GetOsnRequest request, params Osn.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOsnRequest | 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<GetOsnRequest, GetOsnResponse> | a new Oci.common.Waiter instance |
ForOsn(GetOsnRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetOsnRequest, GetOsnResponse> ForOsn(GetOsnRequest request, WaiterConfiguration config, params Osn.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOsnRequest | 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<GetOsnRequest, GetOsnResponse> | a new Oci.common.Waiter instance |
ForPeer(GetPeerRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetPeerRequest, GetPeerResponse> ForPeer(GetPeerRequest request, params Peer.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetPeerRequest | 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<GetPeerRequest, GetPeerResponse> | a new Oci.common.Waiter instance |
ForPeer(GetPeerRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetPeerRequest, GetPeerResponse> ForPeer(GetPeerRequest request, WaiterConfiguration config, params Peer.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetPeerRequest | 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<GetPeerRequest, GetPeerResponse> | 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 |
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 |