Class ChannelsWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Channels.
Inherited Members
Namespace: Oci.MysqlService
Assembly: OCI.DotNetSDK.Mysql.dll
Syntax
public class ChannelsWaiters
Constructors
ChannelsWaiters(ChannelsClient)
Declaration
public ChannelsWaiters(ChannelsClient client)
Parameters
Type | Name | Description |
---|---|---|
ChannelsClient | client |
Methods
ForChannel(GetChannelRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetChannelRequest, GetChannelResponse> ForChannel(GetChannelRequest request, WaiterConfiguration config, params Channel.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetChannelRequest | 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<GetChannelRequest, GetChannelResponse> | a new Oci.common.Waiter instance |
ForChannel(GetChannelRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetChannelRequest, GetChannelResponse> ForChannel(GetChannelRequest request, params Channel.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetChannelRequest | 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<GetChannelRequest, GetChannelResponse> | a new Oci.common.Waiter instance |