Class ApiGatewayWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of ApiGateway.
Inherited Members
Namespace: Oci.ApigatewayService
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class ApiGatewayWaiters
Constructors
ApiGatewayWaiters(ApiGatewayClient)
Declaration
public ApiGatewayWaiters(ApiGatewayClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| ApiGatewayClient | client |
Methods
ForApi(GetApiRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetApiRequest, GetApiResponse> ForApi(GetApiRequest request, params Api.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetApiRequest | 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<GetApiRequest, GetApiResponse> | a new Oci.common.Waiter instance |
ForApi(GetApiRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetApiRequest, GetApiResponse> ForApi(GetApiRequest request, WaiterConfiguration config, params Api.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetApiRequest | 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<GetApiRequest, GetApiResponse> | a new Oci.common.Waiter instance |
ForCertificate(GetCertificateRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetCertificateRequest, GetCertificateResponse> ForCertificate(GetCertificateRequest request, params Certificate.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCertificateRequest | 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<GetCertificateRequest, GetCertificateResponse> | a new Oci.common.Waiter instance |
ForCertificate(GetCertificateRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetCertificateRequest, GetCertificateResponse> ForCertificate(GetCertificateRequest request, WaiterConfiguration config, params Certificate.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCertificateRequest | 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<GetCertificateRequest, GetCertificateResponse> | a new Oci.common.Waiter instance |
ForSdk(GetSdkRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetSdkRequest, GetSdkResponse> ForSdk(GetSdkRequest request, params Sdk.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSdkRequest | 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<GetSdkRequest, GetSdkResponse> | a new Oci.common.Waiter instance |
ForSdk(GetSdkRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetSdkRequest, GetSdkResponse> ForSdk(GetSdkRequest request, WaiterConfiguration config, params Sdk.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSdkRequest | 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<GetSdkRequest, GetSdkResponse> | a new Oci.common.Waiter instance |