Class LifecycleEnvironmentWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of LifecycleEnvironment.
Inherited Members
Namespace: Oci.OsmanagementhubService
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class LifecycleEnvironmentWaiters
Constructors
LifecycleEnvironmentWaiters(LifecycleEnvironmentClient)
Declaration
public LifecycleEnvironmentWaiters(LifecycleEnvironmentClient client)
Parameters
Type | Name | Description |
---|---|---|
LifecycleEnvironmentClient | client |
Methods
ForLifecycleEnvironment(GetLifecycleEnvironmentRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetLifecycleEnvironmentRequest, GetLifecycleEnvironmentResponse> ForLifecycleEnvironment(GetLifecycleEnvironmentRequest request, WaiterConfiguration config, params LifecycleEnvironment.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetLifecycleEnvironmentRequest | 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<GetLifecycleEnvironmentRequest, GetLifecycleEnvironmentResponse> | a new Oci.common.Waiter instance |
ForLifecycleEnvironment(GetLifecycleEnvironmentRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetLifecycleEnvironmentRequest, GetLifecycleEnvironmentResponse> ForLifecycleEnvironment(GetLifecycleEnvironmentRequest request, params LifecycleEnvironment.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetLifecycleEnvironmentRequest | 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<GetLifecycleEnvironmentRequest, GetLifecycleEnvironmentResponse> | a new Oci.common.Waiter instance |
ForLifecycleStage(GetLifecycleStageRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetLifecycleStageRequest, GetLifecycleStageResponse> ForLifecycleStage(GetLifecycleStageRequest request, WaiterConfiguration config, params LifecycleStage.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetLifecycleStageRequest | 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<GetLifecycleStageRequest, GetLifecycleStageResponse> | a new Oci.common.Waiter instance |
ForLifecycleStage(GetLifecycleStageRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetLifecycleStageRequest, GetLifecycleStageResponse> ForLifecycleStage(GetLifecycleStageRequest request, params LifecycleStage.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetLifecycleStageRequest | 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<GetLifecycleStageRequest, GetLifecycleStageResponse> | a new Oci.common.Waiter instance |