Class EventWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Event.
Inherited Members
Namespace: Oci.OsmanagementhubService
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class EventWaiters
Constructors
EventWaiters(EventClient)
Declaration
public EventWaiters(EventClient client)
Parameters
Type | Name | Description |
---|---|---|
EventClient | client |
Methods
ForEvent(GetEventRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetEventRequest, GetEventResponse> ForEvent(GetEventRequest request, WaiterConfiguration config, params Event.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEventRequest | 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<GetEventRequest, GetEventResponse> | a new Oci.common.Waiter instance |
ForEvent(GetEventRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetEventRequest, GetEventResponse> ForEvent(GetEventRequest request, params Event.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEventRequest | 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<GetEventRequest, GetEventResponse> | a new Oci.common.Waiter instance |