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