Class KmsManagementWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of KmsManagement.
Inherited Members
Namespace: Oci.KeymanagementService
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class KmsManagementWaiters
Constructors
KmsManagementWaiters(KmsManagementClient)
Declaration
public KmsManagementWaiters(KmsManagementClient client)
Parameters
Type | Name | Description |
---|---|---|
KmsManagementClient | client |
Methods
ForKey(GetKeyRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetKeyRequest, GetKeyResponse> ForKey(GetKeyRequest request, WaiterConfiguration config, params Key.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetKeyRequest | 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<GetKeyRequest, GetKeyResponse> | a new Oci.common.Waiter instance |
ForKey(GetKeyRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetKeyRequest, GetKeyResponse> ForKey(GetKeyRequest request, params Key.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetKeyRequest | 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<GetKeyRequest, GetKeyResponse> | a new Oci.common.Waiter instance |
ForKeyVersion(GetKeyVersionRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetKeyVersionRequest, GetKeyVersionResponse> ForKeyVersion(GetKeyVersionRequest request, WaiterConfiguration config, params KeyVersion.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetKeyVersionRequest | 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<GetKeyVersionRequest, GetKeyVersionResponse> | a new Oci.common.Waiter instance |
ForKeyVersion(GetKeyVersionRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetKeyVersionRequest, GetKeyVersionResponse> ForKeyVersion(GetKeyVersionRequest request, params KeyVersion.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetKeyVersionRequest | 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<GetKeyVersionRequest, GetKeyVersionResponse> | a new Oci.common.Waiter instance |
ForWrappingKey(GetWrappingKeyRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWrappingKeyRequest, GetWrappingKeyResponse> ForWrappingKey(GetWrappingKeyRequest request, WaiterConfiguration config, params WrappingKey.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWrappingKeyRequest | 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<GetWrappingKeyRequest, GetWrappingKeyResponse> | a new Oci.common.Waiter instance |
ForWrappingKey(GetWrappingKeyRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWrappingKeyRequest, GetWrappingKeyResponse> ForWrappingKey(GetWrappingKeyRequest request, params WrappingKey.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWrappingKeyRequest | 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<GetWrappingKeyRequest, GetWrappingKeyResponse> | a new Oci.common.Waiter instance |