Class CostAdWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of CostAd.
Inherited Members
Namespace: Oci.BudgetService
Assembly: OCI.DotNetSDK.Budget.dll
Syntax
public class CostAdWaiters
Constructors
CostAdWaiters(CostAdClient)
Declaration
public CostAdWaiters(CostAdClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| CostAdClient | client |
Methods
ForCostAlertSubscription(GetCostAlertSubscriptionRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetCostAlertSubscriptionRequest, GetCostAlertSubscriptionResponse> ForCostAlertSubscription(GetCostAlertSubscriptionRequest request, params CostAlertSubscription.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCostAlertSubscriptionRequest | 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<GetCostAlertSubscriptionRequest, GetCostAlertSubscriptionResponse> | a new Oci.common.Waiter instance |
ForCostAlertSubscription(GetCostAlertSubscriptionRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetCostAlertSubscriptionRequest, GetCostAlertSubscriptionResponse> ForCostAlertSubscription(GetCostAlertSubscriptionRequest request, WaiterConfiguration config, params CostAlertSubscription.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCostAlertSubscriptionRequest | 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<GetCostAlertSubscriptionRequest, GetCostAlertSubscriptionResponse> | a new Oci.common.Waiter instance |
ForCostAnomalyEvent(GetCostAnomalyEventRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetCostAnomalyEventRequest, GetCostAnomalyEventResponse> ForCostAnomalyEvent(GetCostAnomalyEventRequest request, params CostAnomalyEvent.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCostAnomalyEventRequest | 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<GetCostAnomalyEventRequest, GetCostAnomalyEventResponse> | a new Oci.common.Waiter instance |
ForCostAnomalyEvent(GetCostAnomalyEventRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetCostAnomalyEventRequest, GetCostAnomalyEventResponse> ForCostAnomalyEvent(GetCostAnomalyEventRequest request, WaiterConfiguration config, params CostAnomalyEvent.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCostAnomalyEventRequest | 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<GetCostAnomalyEventRequest, GetCostAnomalyEventResponse> | a new Oci.common.Waiter instance |
ForCostAnomalyMonitor(GetCostAnomalyMonitorRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetCostAnomalyMonitorRequest, GetCostAnomalyMonitorResponse> ForCostAnomalyMonitor(GetCostAnomalyMonitorRequest request, params CostAnomalyMonitor.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCostAnomalyMonitorRequest | 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<GetCostAnomalyMonitorRequest, GetCostAnomalyMonitorResponse> | a new Oci.common.Waiter instance |
ForCostAnomalyMonitor(GetCostAnomalyMonitorRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetCostAnomalyMonitorRequest, GetCostAnomalyMonitorResponse> ForCostAnomalyMonitor(GetCostAnomalyMonitorRequest request, WaiterConfiguration config, params CostAnomalyMonitor.LifecycleStateEnum[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCostAnomalyMonitorRequest | 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<GetCostAnomalyMonitorRequest, GetCostAnomalyMonitorResponse> | a new Oci.common.Waiter instance |