Class BaseinfraWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Baseinfra.
Inherited Members
Namespace: Oci.DataccService
Assembly: OCI.DotNetSDK.Datacc.dll
Syntax
public class BaseinfraWaiters
Constructors
BaseinfraWaiters(BaseinfraClient)
Declaration
public BaseinfraWaiters(BaseinfraClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| BaseinfraClient | client |
Methods
ForInfrastructure(GetInfrastructureRequest, WaiterConfiguration, params InfrastructureLifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetInfrastructureRequest, GetInfrastructureResponse> ForInfrastructure(GetInfrastructureRequest request, WaiterConfiguration config, params InfrastructureLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetInfrastructureRequest | request | Request to send. |
| WaiterConfiguration | config | Wait Configuration |
| InfrastructureLifecycleState[] | 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<GetInfrastructureRequest, GetInfrastructureResponse> | a new Oci.common.Waiter instance |
ForInfrastructure(GetInfrastructureRequest, params InfrastructureLifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetInfrastructureRequest, GetInfrastructureResponse> ForInfrastructure(GetInfrastructureRequest request, params InfrastructureLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetInfrastructureRequest | request | Request to send. |
| InfrastructureLifecycleState[] | 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<GetInfrastructureRequest, GetInfrastructureResponse> | a new Oci.common.Waiter instance |
ForMaintenanceExecution(GetMaintenanceExecutionRequest, WaiterConfiguration, params MaintenanceRunLifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetMaintenanceExecutionRequest, GetMaintenanceExecutionResponse> ForMaintenanceExecution(GetMaintenanceExecutionRequest request, WaiterConfiguration config, params MaintenanceRunLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMaintenanceExecutionRequest | request | Request to send. |
| WaiterConfiguration | config | Wait Configuration |
| MaintenanceRunLifecycleState[] | 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<GetMaintenanceExecutionRequest, GetMaintenanceExecutionResponse> | a new Oci.common.Waiter instance |
ForMaintenanceExecution(GetMaintenanceExecutionRequest, params MaintenanceRunLifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetMaintenanceExecutionRequest, GetMaintenanceExecutionResponse> ForMaintenanceExecution(GetMaintenanceExecutionRequest request, params MaintenanceRunLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMaintenanceExecutionRequest | request | Request to send. |
| MaintenanceRunLifecycleState[] | 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<GetMaintenanceExecutionRequest, GetMaintenanceExecutionResponse> | a new Oci.common.Waiter instance |
ForMaintenanceRun(GetMaintenanceRunRequest, WaiterConfiguration, params MaintenanceRunLifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetMaintenanceRunRequest, GetMaintenanceRunResponse> ForMaintenanceRun(GetMaintenanceRunRequest request, WaiterConfiguration config, params MaintenanceRunLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMaintenanceRunRequest | request | Request to send. |
| WaiterConfiguration | config | Wait Configuration |
| MaintenanceRunLifecycleState[] | 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<GetMaintenanceRunRequest, GetMaintenanceRunResponse> | a new Oci.common.Waiter instance |
ForMaintenanceRun(GetMaintenanceRunRequest, params MaintenanceRunLifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetMaintenanceRunRequest, GetMaintenanceRunResponse> ForMaintenanceRun(GetMaintenanceRunRequest request, params MaintenanceRunLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMaintenanceRunRequest | request | Request to send. |
| MaintenanceRunLifecycleState[] | 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<GetMaintenanceRunRequest, GetMaintenanceRunResponse> | a new Oci.common.Waiter instance |
ForVmClusterNetwork(GetVmClusterNetworkRequest, WaiterConfiguration, params VmClusterNetworkLifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetVmClusterNetworkRequest, GetVmClusterNetworkResponse> ForVmClusterNetwork(GetVmClusterNetworkRequest request, WaiterConfiguration config, params VmClusterNetworkLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVmClusterNetworkRequest | request | Request to send. |
| WaiterConfiguration | config | Wait Configuration |
| VmClusterNetworkLifecycleState[] | 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<GetVmClusterNetworkRequest, GetVmClusterNetworkResponse> | a new Oci.common.Waiter instance |
ForVmClusterNetwork(GetVmClusterNetworkRequest, params VmClusterNetworkLifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetVmClusterNetworkRequest, GetVmClusterNetworkResponse> ForVmClusterNetwork(GetVmClusterNetworkRequest request, params VmClusterNetworkLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVmClusterNetworkRequest | request | Request to send. |
| VmClusterNetworkLifecycleState[] | 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<GetVmClusterNetworkRequest, GetVmClusterNetworkResponse> | a new Oci.common.Waiter instance |
ForVmInstance(GetVmInstanceRequest, WaiterConfiguration, params VmInstanceLifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetVmInstanceRequest, GetVmInstanceResponse> ForVmInstance(GetVmInstanceRequest request, WaiterConfiguration config, params VmInstanceLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVmInstanceRequest | request | Request to send. |
| WaiterConfiguration | config | Wait Configuration |
| VmInstanceLifecycleState[] | 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<GetVmInstanceRequest, GetVmInstanceResponse> | a new Oci.common.Waiter instance |
ForVmInstance(GetVmInstanceRequest, params VmInstanceLifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetVmInstanceRequest, GetVmInstanceResponse> ForVmInstance(GetVmInstanceRequest request, params VmInstanceLifecycleState[] targetStates)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVmInstanceRequest | request | Request to send. |
| VmInstanceLifecycleState[] | 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<GetVmInstanceRequest, GetVmInstanceResponse> | 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 |