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