Class MarketplaceWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Marketplace.
Inherited Members
Namespace: Oci.MarketplaceService
Assembly: OCI.DotNetSDK.Marketplace.dll
Syntax
public class MarketplaceWaiters
Constructors
MarketplaceWaiters(MarketplaceClient)
Declaration
public MarketplaceWaiters(MarketplaceClient client)
Parameters
Type | Name | Description |
---|---|---|
MarketplaceClient | client |
Methods
ForPublication(GetPublicationRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetPublicationRequest, GetPublicationResponse> ForPublication(GetPublicationRequest request, WaiterConfiguration config, params Publication.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetPublicationRequest | 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<GetPublicationRequest, GetPublicationResponse> | a new Oci.common.Waiter instance |
ForPublication(GetPublicationRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetPublicationRequest, GetPublicationResponse> ForPublication(GetPublicationRequest request, params Publication.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetPublicationRequest | 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<GetPublicationRequest, GetPublicationResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params OperationStatus[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
OperationStatus[] | 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<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, params OperationStatus[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
OperationStatus[] | 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<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |