Class NotificationDataPlaneWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of NotificationDataPlane.
Inherited Members
Namespace: Oci.OnsService
Assembly: OCI.DotNetSDK.Ons.dll
Syntax
public class NotificationDataPlaneWaiters
Constructors
NotificationDataPlaneWaiters(NotificationDataPlaneClient)
Declaration
public NotificationDataPlaneWaiters(NotificationDataPlaneClient client)
Parameters
Type | Name | Description |
---|---|---|
NotificationDataPlaneClient | client |
Methods
ForSubscription(GetSubscriptionRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetSubscriptionRequest, GetSubscriptionResponse> ForSubscription(GetSubscriptionRequest request, WaiterConfiguration config, params Subscription.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSubscriptionRequest | 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<GetSubscriptionRequest, GetSubscriptionResponse> | a new Oci.common.Waiter instance |
ForSubscription(GetSubscriptionRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetSubscriptionRequest, GetSubscriptionResponse> ForSubscription(GetSubscriptionRequest request, params Subscription.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSubscriptionRequest | 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<GetSubscriptionRequest, GetSubscriptionResponse> | a new Oci.common.Waiter instance |