Class UsageapiWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Usageapi.
Inherited Members
Namespace: Oci.UsageapiService
Assembly: OCI.DotNetSDK.Usageapi.dll
Syntax
public class UsageapiWaiters
Constructors
UsageapiWaiters(UsageapiClient)
Declaration
public UsageapiWaiters(UsageapiClient client)
Parameters
Type | Name | Description |
---|---|---|
UsageapiClient | client |
Methods
ForEmailRecipientsGroup(GetEmailRecipientsGroupRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetEmailRecipientsGroupRequest, GetEmailRecipientsGroupResponse> ForEmailRecipientsGroup(GetEmailRecipientsGroupRequest request, WaiterConfiguration config, params EmailRecipientsGroup.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEmailRecipientsGroupRequest | 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<GetEmailRecipientsGroupRequest, GetEmailRecipientsGroupResponse> | a new Oci.common.Waiter instance |
ForEmailRecipientsGroup(GetEmailRecipientsGroupRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetEmailRecipientsGroupRequest, GetEmailRecipientsGroupResponse> ForEmailRecipientsGroup(GetEmailRecipientsGroupRequest request, params EmailRecipientsGroup.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEmailRecipientsGroupRequest | 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<GetEmailRecipientsGroupRequest, GetEmailRecipientsGroupResponse> | a new Oci.common.Waiter instance |
ForSchedule(GetScheduleRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetScheduleRequest, GetScheduleResponse> ForSchedule(GetScheduleRequest request, WaiterConfiguration config, params Schedule.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetScheduleRequest | 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<GetScheduleRequest, GetScheduleResponse> | a new Oci.common.Waiter instance |
ForSchedule(GetScheduleRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetScheduleRequest, GetScheduleResponse> ForSchedule(GetScheduleRequest request, params Schedule.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetScheduleRequest | 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<GetScheduleRequest, GetScheduleResponse> | a new Oci.common.Waiter instance |
ForScheduledRun(GetScheduledRunRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetScheduledRunRequest, GetScheduledRunResponse> ForScheduledRun(GetScheduledRunRequest request, WaiterConfiguration config, params ScheduledRun.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetScheduledRunRequest | 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<GetScheduledRunRequest, GetScheduledRunResponse> | a new Oci.common.Waiter instance |
ForScheduledRun(GetScheduledRunRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetScheduledRunRequest, GetScheduledRunResponse> ForScheduledRun(GetScheduledRunRequest request, params ScheduledRun.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetScheduledRunRequest | 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<GetScheduledRunRequest, GetScheduledRunResponse> | a new Oci.common.Waiter instance |