Class ComputeInstanceAgentWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of ComputeInstanceAgent.
Inherited Members
Namespace: Oci.ComputeinstanceagentService
Assembly: OCI.DotNetSDK.Computeinstanceagent.dll
Syntax
public class ComputeInstanceAgentWaiters
Constructors
ComputeInstanceAgentWaiters(ComputeInstanceAgentClient)
Declaration
public ComputeInstanceAgentWaiters(ComputeInstanceAgentClient client)
Parameters
Type | Name | Description |
---|---|---|
ComputeInstanceAgentClient | client |
Methods
ForInstanceAgentCommandExecution(GetInstanceAgentCommandExecutionRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetInstanceAgentCommandExecutionRequest, GetInstanceAgentCommandExecutionResponse> ForInstanceAgentCommandExecution(GetInstanceAgentCommandExecutionRequest request, WaiterConfiguration config, params InstanceAgentCommandExecution.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetInstanceAgentCommandExecutionRequest | 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<GetInstanceAgentCommandExecutionRequest, GetInstanceAgentCommandExecutionResponse> | a new Oci.common.Waiter instance |
ForInstanceAgentCommandExecution(GetInstanceAgentCommandExecutionRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetInstanceAgentCommandExecutionRequest, GetInstanceAgentCommandExecutionResponse> ForInstanceAgentCommandExecution(GetInstanceAgentCommandExecutionRequest request, params InstanceAgentCommandExecution.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetInstanceAgentCommandExecutionRequest | 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<GetInstanceAgentCommandExecutionRequest, GetInstanceAgentCommandExecutionResponse> | a new Oci.common.Waiter instance |