Class KmsHsmClusterWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of KmsHsmCluster.
Inherited Members
Namespace: Oci.KeymanagementService
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class KmsHsmClusterWaiters
Constructors
KmsHsmClusterWaiters(KmsHsmClusterClient)
Declaration
public KmsHsmClusterWaiters(KmsHsmClusterClient client)
Parameters
Type | Name | Description |
---|---|---|
KmsHsmClusterClient | client |
Methods
ForHsmCluster(GetHsmClusterRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetHsmClusterRequest, GetHsmClusterResponse> ForHsmCluster(GetHsmClusterRequest request, WaiterConfiguration config, params HsmCluster.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetHsmClusterRequest | 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<GetHsmClusterRequest, GetHsmClusterResponse> | a new Oci.common.Waiter instance |
ForHsmCluster(GetHsmClusterRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetHsmClusterRequest, GetHsmClusterResponse> ForHsmCluster(GetHsmClusterRequest request, params HsmCluster.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetHsmClusterRequest | 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<GetHsmClusterRequest, GetHsmClusterResponse> | a new Oci.common.Waiter instance |
ForHsmPartition(GetHsmPartitionRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetHsmPartitionRequest, GetHsmPartitionResponse> ForHsmPartition(GetHsmPartitionRequest request, WaiterConfiguration config, params HsmPartition.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetHsmPartitionRequest | 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<GetHsmPartitionRequest, GetHsmPartitionResponse> | a new Oci.common.Waiter instance |
ForHsmPartition(GetHsmPartitionRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetHsmPartitionRequest, GetHsmPartitionResponse> ForHsmPartition(GetHsmPartitionRequest request, params HsmPartition.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetHsmPartitionRequest | 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<GetHsmPartitionRequest, GetHsmPartitionResponse> | a new Oci.common.Waiter instance |