Class EsxiHostWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of EsxiHost.
Inherited Members
Namespace: Oci.OcvpService
Assembly: OCI.DotNetSDK.Ocvp.dll
Syntax
public class EsxiHostWaiters
Constructors
EsxiHostWaiters(EsxiHostClient)
Declaration
public EsxiHostWaiters(EsxiHostClient client)
Parameters
Type | Name | Description |
---|---|---|
EsxiHostClient | client |
Methods
ForEsxiHost(GetEsxiHostRequest, WaiterConfiguration, params LifecycleStates[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetEsxiHostRequest, GetEsxiHostResponse> ForEsxiHost(GetEsxiHostRequest request, WaiterConfiguration config, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEsxiHostRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleStates[] | 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<GetEsxiHostRequest, GetEsxiHostResponse> | a new Oci.common.Waiter instance |
ForEsxiHost(GetEsxiHostRequest, params LifecycleStates[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetEsxiHostRequest, GetEsxiHostResponse> ForEsxiHost(GetEsxiHostRequest request, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEsxiHostRequest | request | Request to send. |
LifecycleStates[] | 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<GetEsxiHostRequest, GetEsxiHostResponse> | a new Oci.common.Waiter instance |