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