Class KmsVaultWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of KmsVault.
Inherited Members
Namespace: Oci.KeymanagementService
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class KmsVaultWaiters
Constructors
KmsVaultWaiters(KmsVaultClient)
Declaration
public KmsVaultWaiters(KmsVaultClient client)
Parameters
Type | Name | Description |
---|---|---|
KmsVaultClient | client |
Methods
ForVault(GetVaultRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetVaultRequest, GetVaultResponse> ForVault(GetVaultRequest request, WaiterConfiguration config, params Vault.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetVaultRequest | 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<GetVaultRequest, GetVaultResponse> | a new Oci.common.Waiter instance |
ForVault(GetVaultRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetVaultRequest, GetVaultResponse> ForVault(GetVaultRequest request, params Vault.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetVaultRequest | 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<GetVaultRequest, GetVaultResponse> | a new Oci.common.Waiter instance |