Show / Hide Table of Contents

Class BudgetWaiters

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

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

Constructors

BudgetWaiters(BudgetClient)

Declaration
public BudgetWaiters(BudgetClient client)
Parameters
Type Name Description
BudgetClient client

Methods

ForAlertRule(GetAlertRuleRequest, params LifecycleState[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetAlertRuleRequest, GetAlertRuleResponse> ForAlertRule(GetAlertRuleRequest request, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetAlertRuleRequest request

Request to send.

LifecycleState[] 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<GetAlertRuleRequest, GetAlertRuleResponse>

a new Oci.common.Waiter instance

ForAlertRule(GetAlertRuleRequest, WaiterConfiguration, params LifecycleState[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetAlertRuleRequest, GetAlertRuleResponse> ForAlertRule(GetAlertRuleRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetAlertRuleRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

LifecycleState[] 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<GetAlertRuleRequest, GetAlertRuleResponse>

a new Oci.common.Waiter instance

ForBudget(GetBudgetRequest, params LifecycleState[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetBudgetRequest, GetBudgetResponse> ForBudget(GetBudgetRequest request, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetBudgetRequest request

Request to send.

LifecycleState[] 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<GetBudgetRequest, GetBudgetResponse>

a new Oci.common.Waiter instance

ForBudget(GetBudgetRequest, WaiterConfiguration, params LifecycleState[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetBudgetRequest, GetBudgetResponse> ForBudget(GetBudgetRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type Name Description
GetBudgetRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

LifecycleState[] 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<GetBudgetRequest, GetBudgetResponse>

a new Oci.common.Waiter instance

In this article
Back to top