Show / Hide Table of Contents

Class MacOrderWaiters

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

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

Constructors

MacOrderWaiters(MacOrderClient)

Declaration
public MacOrderWaiters(MacOrderClient client)
Parameters
Type Name Description
MacOrderClient client

Methods

ForMacOrder(GetMacOrderRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetMacOrderRequest, GetMacOrderResponse> ForMacOrder(GetMacOrderRequest request, WaiterConfiguration config, params MacOrder.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetMacOrderRequest 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<GetMacOrderRequest, GetMacOrderResponse>

a new Oci.common.Waiter instance

ForMacOrder(GetMacOrderRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetMacOrderRequest, GetMacOrderResponse> ForMacOrder(GetMacOrderRequest request, params MacOrder.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetMacOrderRequest 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<GetMacOrderRequest, GetMacOrderResponse>

a new Oci.common.Waiter instance

ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params OperationStatus[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params OperationStatus[] targetStates)
Parameters
Type Name Description
GetWorkRequestRequest request

Request to send.

WaiterConfiguration config

Wait Configuration

OperationStatus[] 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<GetWorkRequestRequest, GetWorkRequestResponse>

a new Oci.common.Waiter instance

ForWorkRequest(GetWorkRequestRequest, params OperationStatus[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params OperationStatus[] targetStates)
Parameters
Type Name Description
GetWorkRequestRequest request

Request to send.

OperationStatus[] 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<GetWorkRequestRequest, GetWorkRequestResponse>

a new Oci.common.Waiter instance

In this article
Back to top