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