Show / Hide Table of Contents

Class OmhubResourceAnchorWaiters

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

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

Constructors

OmhubResourceAnchorWaiters(OmhubResourceAnchorClient)

Declaration
public OmhubResourceAnchorWaiters(OmhubResourceAnchorClient client)
Parameters
Type Name Description
OmhubResourceAnchorClient client

Methods

ForResourceAnchor(GetResourceAnchorRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetResourceAnchorRequest, GetResourceAnchorResponse> ForResourceAnchor(GetResourceAnchorRequest request, WaiterConfiguration config, params ResourceAnchor.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetResourceAnchorRequest 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<GetResourceAnchorRequest, GetResourceAnchorResponse>

a new Oci.common.Waiter instance

ForResourceAnchor(GetResourceAnchorRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetResourceAnchorRequest, GetResourceAnchorResponse> ForResourceAnchor(GetResourceAnchorRequest request, params ResourceAnchor.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetResourceAnchorRequest 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<GetResourceAnchorRequest, GetResourceAnchorResponse>

a new Oci.common.Waiter instance

In this article
Back to top