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