Show / Hide Table of Contents

Class UsagePlansWaiters

Contains collection of helper methods to produce Oci.Common.Waiters for different resources of UsagePlans.

Inheritance
object
UsagePlansWaiters
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ApigatewayService
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class UsagePlansWaiters

Constructors

UsagePlansWaiters(UsagePlansClient)

Declaration
public UsagePlansWaiters(UsagePlansClient client)
Parameters
Type Name Description
UsagePlansClient client

Methods

ForUsagePlan(GetUsagePlanRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetUsagePlanRequest, GetUsagePlanResponse> ForUsagePlan(GetUsagePlanRequest request, params UsagePlan.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetUsagePlanRequest 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<GetUsagePlanRequest, GetUsagePlanResponse>

a new Oci.common.Waiter instance

ForUsagePlan(GetUsagePlanRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetUsagePlanRequest, GetUsagePlanResponse> ForUsagePlan(GetUsagePlanRequest request, WaiterConfiguration config, params UsagePlan.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetUsagePlanRequest 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<GetUsagePlanRequest, GetUsagePlanResponse>

a new Oci.common.Waiter instance

In this article
Back to top