Class ApiMetadataWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of ApiMetadata.
Inherited Members
Namespace: Oci.ApiaccesscontrolService
Assembly: OCI.DotNetSDK.Apiaccesscontrol.dll
Syntax
public class ApiMetadataWaiters
Constructors
ApiMetadataWaiters(ApiMetadataClient)
Declaration
public ApiMetadataWaiters(ApiMetadataClient client)
Parameters
Type | Name | Description |
---|---|---|
ApiMetadataClient | client |
Methods
ForApiMetadata(GetApiMetadataRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetApiMetadataRequest, GetApiMetadataResponse> ForApiMetadata(GetApiMetadataRequest request, params ApiMetadata.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetApiMetadataRequest | 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<GetApiMetadataRequest, GetApiMetadataResponse> | a new Oci.common.Waiter instance |
ForApiMetadata(GetApiMetadataRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetApiMetadataRequest, GetApiMetadataResponse> ForApiMetadata(GetApiMetadataRequest request, WaiterConfiguration config, params ApiMetadata.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetApiMetadataRequest | 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<GetApiMetadataRequest, GetApiMetadataResponse> | a new Oci.common.Waiter instance |