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