Class LinkWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Link.
Inherited Members
Namespace: Oci.TenantmanagercontrolplaneService
Assembly: OCI.DotNetSDK.Tenantmanagercontrolplane.dll
Syntax
public class LinkWaiters
Constructors
LinkWaiters(LinkClient)
Declaration
public LinkWaiters(LinkClient client)
Parameters
Type | Name | Description |
---|---|---|
LinkClient | client |
Methods
ForLink(GetLinkRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetLinkRequest, GetLinkResponse> ForLink(GetLinkRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetLinkRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleState[] | 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<GetLinkRequest, GetLinkResponse> | a new Oci.common.Waiter instance |
ForLink(GetLinkRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetLinkRequest, GetLinkResponse> ForLink(GetLinkRequest request, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetLinkRequest | request | Request to send. |
LifecycleState[] | 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<GetLinkRequest, GetLinkResponse> | a new Oci.common.Waiter instance |