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