Show / Hide Table of Contents

Class ZprWaiters

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

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

Constructors

ZprWaiters(ZprClient)

Declaration
public ZprWaiters(ZprClient client)
Parameters
Type Name Description
ZprClient client

Methods

ForConfiguration(GetConfigurationRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetConfigurationRequest, GetConfigurationResponse> ForConfiguration(GetConfigurationRequest request, WaiterConfiguration config, params Configuration.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetConfigurationRequest 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<GetConfigurationRequest, GetConfigurationResponse>

a new Oci.common.Waiter instance

ForConfiguration(GetConfigurationRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetConfigurationRequest, GetConfigurationResponse> ForConfiguration(GetConfigurationRequest request, params Configuration.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetConfigurationRequest 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<GetConfigurationRequest, GetConfigurationResponse>

a new Oci.common.Waiter instance

ForZprPolicy(GetZprPolicyRequest, WaiterConfiguration, params LifecycleStateEnum[])

Creates a waiter using the provided configuration.

Declaration
public Waiter<GetZprPolicyRequest, GetZprPolicyResponse> ForZprPolicy(GetZprPolicyRequest request, WaiterConfiguration config, params ZprPolicy.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetZprPolicyRequest 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<GetZprPolicyRequest, GetZprPolicyResponse>

a new Oci.common.Waiter instance

ForZprPolicy(GetZprPolicyRequest, params LifecycleStateEnum[])

Creates a waiter using default wait configuration.

Declaration
public Waiter<GetZprPolicyRequest, GetZprPolicyResponse> ForZprPolicy(GetZprPolicyRequest request, params ZprPolicy.LifecycleStateEnum[] targetStates)
Parameters
Type Name Description
GetZprPolicyRequest 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<GetZprPolicyRequest, GetZprPolicyResponse>

a new Oci.common.Waiter instance

In this article
Back to top