Class ManagementAgentWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of ManagementAgent.
Inherited Members
Namespace: Oci.ManagementagentService
Assembly: OCI.DotNetSDK.Managementagent.dll
Syntax
public class ManagementAgentWaiters
Constructors
ManagementAgentWaiters(ManagementAgentClient)
Declaration
public ManagementAgentWaiters(ManagementAgentClient client)
Parameters
Type | Name | Description |
---|---|---|
ManagementAgentClient | client |
Methods
ForManagementAgent(GetManagementAgentRequest, WaiterConfiguration, params LifecycleStates[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetManagementAgentRequest, GetManagementAgentResponse> ForManagementAgent(GetManagementAgentRequest request, WaiterConfiguration config, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetManagementAgentRequest | 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<GetManagementAgentRequest, GetManagementAgentResponse> | a new Oci.common.Waiter instance |
ForManagementAgent(GetManagementAgentRequest, params LifecycleStates[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetManagementAgentRequest, GetManagementAgentResponse> ForManagementAgent(GetManagementAgentRequest request, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetManagementAgentRequest | 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<GetManagementAgentRequest, GetManagementAgentResponse> | a new Oci.common.Waiter instance |
ForManagementAgentInstallKey(GetManagementAgentInstallKeyRequest, WaiterConfiguration, params LifecycleStates[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetManagementAgentInstallKeyRequest, GetManagementAgentInstallKeyResponse> ForManagementAgentInstallKey(GetManagementAgentInstallKeyRequest request, WaiterConfiguration config, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetManagementAgentInstallKeyRequest | 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<GetManagementAgentInstallKeyRequest, GetManagementAgentInstallKeyResponse> | a new Oci.common.Waiter instance |
ForManagementAgentInstallKey(GetManagementAgentInstallKeyRequest, params LifecycleStates[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetManagementAgentInstallKeyRequest, GetManagementAgentInstallKeyResponse> ForManagementAgentInstallKey(GetManagementAgentInstallKeyRequest request, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetManagementAgentInstallKeyRequest | 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<GetManagementAgentInstallKeyRequest, GetManagementAgentInstallKeyResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params OperationStatus[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
OperationStatus[] | 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<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, params OperationStatus[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
OperationStatus[] | 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<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |