Show / Hide Table of Contents

Class ProductWaiters

Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Product.

Inheritance
object
ProductWaiters
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top