Show / Hide Table of Contents

Class EventsWaiters

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

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

Constructors

EventsWaiters(EventsClient)

Declaration
public EventsWaiters(EventsClient client)
Parameters
Type Name Description
EventsClient client

Methods

ForRule(GetRuleRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetRuleRequest, GetRuleResponse> ForRule(GetRuleRequest request, WaiterConfiguration config, params Rule.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetRuleRequest 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<GetRuleRequest, GetRuleResponse>

a new Oci.common.Waiter instance

ForRule(GetRuleRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetRuleRequest, GetRuleResponse> ForRule(GetRuleRequest request, params Rule.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetRuleRequest 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<GetRuleRequest, GetRuleResponse>

a new Oci.common.Waiter instance

In this article
Back to top