Show / Hide Table of Contents

Class InventoryWaiters

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

Inheritance
object
InventoryWaiters
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CloudbridgeService
Assembly: OCI.DotNetSDK.Cloudbridge.dll
Syntax
public class InventoryWaiters

Constructors

InventoryWaiters(InventoryClient)

Declaration
public InventoryWaiters(InventoryClient client)
Parameters
Type Name Description
InventoryClient client

Methods

ForAsset(GetAssetRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetAssetRequest, GetAssetResponse> ForAsset(GetAssetRequest request, params Asset.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAssetRequest 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<GetAssetRequest, GetAssetResponse>

a new Oci.common.Waiter instance

ForAsset(GetAssetRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetAssetRequest, GetAssetResponse> ForAsset(GetAssetRequest request, WaiterConfiguration config, params Asset.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetAssetRequest 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<GetAssetRequest, GetAssetResponse>

a new Oci.common.Waiter instance

ForInventory(GetInventoryRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetInventoryRequest, GetInventoryResponse> ForInventory(GetInventoryRequest request, params Inventory.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetInventoryRequest 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<GetInventoryRequest, GetInventoryResponse>

a new Oci.common.Waiter instance

ForInventory(GetInventoryRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetInventoryRequest, GetInventoryResponse> ForInventory(GetInventoryRequest request, WaiterConfiguration config, params Inventory.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetInventoryRequest 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<GetInventoryRequest, GetInventoryResponse>

a new Oci.common.Waiter instance

In this article
Back to top