Class GatewayWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Gateway.
Inherited Members
Namespace: Oci.ApigatewayService
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class GatewayWaitersConstructors
GatewayWaiters(GatewayClient)
Declaration
public GatewayWaiters(GatewayClient client)Parameters
| Type | Name | Description | 
|---|---|---|
| GatewayClient | client | 
Methods
ForGateway(GetGatewayRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetGatewayRequest, GetGatewayResponse> ForGateway(GetGatewayRequest request, params Gateway.LifecycleStateEnum[] targetStates)Parameters
| Type | Name | Description | 
|---|---|---|
| GetGatewayRequest | 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<GetGatewayRequest, GetGatewayResponse> | a new Oci.common.Waiter instance | 
ForGateway(GetGatewayRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetGatewayRequest, GetGatewayResponse> ForGateway(GetGatewayRequest request, WaiterConfiguration config, params Gateway.LifecycleStateEnum[] targetStates)Parameters
| Type | Name | Description | 
|---|---|---|
| GetGatewayRequest | 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<GetGatewayRequest, GetGatewayResponse> | a new Oci.common.Waiter instance |