Class MigrationWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Migration.
Inherited Members
Namespace: Oci.CloudmigrationsService
Assembly: OCI.DotNetSDK.Cloudmigrations.dll
Syntax
public class MigrationWaiters
Constructors
MigrationWaiters(MigrationClient)
Declaration
public MigrationWaiters(MigrationClient client)
Parameters
Type | Name | Description |
---|---|---|
MigrationClient | client |
Methods
ForMigration(GetMigrationRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetMigrationRequest, GetMigrationResponse> ForMigration(GetMigrationRequest request, params Migration.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetMigrationRequest | 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<GetMigrationRequest, GetMigrationResponse> | a new Oci.common.Waiter instance |
ForMigration(GetMigrationRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetMigrationRequest, GetMigrationResponse> ForMigration(GetMigrationRequest request, WaiterConfiguration config, params Migration.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetMigrationRequest | 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<GetMigrationRequest, GetMigrationResponse> | a new Oci.common.Waiter instance |
ForMigrationAsset(GetMigrationAssetRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetMigrationAssetRequest, GetMigrationAssetResponse> ForMigrationAsset(GetMigrationAssetRequest request, params MigrationAsset.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetMigrationAssetRequest | 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<GetMigrationAssetRequest, GetMigrationAssetResponse> | a new Oci.common.Waiter instance |
ForMigrationAsset(GetMigrationAssetRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetMigrationAssetRequest, GetMigrationAssetResponse> ForMigrationAsset(GetMigrationAssetRequest request, WaiterConfiguration config, params MigrationAsset.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetMigrationAssetRequest | 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<GetMigrationAssetRequest, GetMigrationAssetResponse> | a new Oci.common.Waiter instance |
ForMigrationPlan(GetMigrationPlanRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetMigrationPlanRequest, GetMigrationPlanResponse> ForMigrationPlan(GetMigrationPlanRequest request, params MigrationPlan.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetMigrationPlanRequest | 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<GetMigrationPlanRequest, GetMigrationPlanResponse> | a new Oci.common.Waiter instance |
ForMigrationPlan(GetMigrationPlanRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetMigrationPlanRequest, GetMigrationPlanResponse> ForMigrationPlan(GetMigrationPlanRequest request, WaiterConfiguration config, params MigrationPlan.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetMigrationPlanRequest | 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<GetMigrationPlanRequest, GetMigrationPlanResponse> | a new Oci.common.Waiter instance |
ForReplicationSchedule(GetReplicationScheduleRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetReplicationScheduleRequest, GetReplicationScheduleResponse> ForReplicationSchedule(GetReplicationScheduleRequest request, params ReplicationSchedule.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetReplicationScheduleRequest | 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<GetReplicationScheduleRequest, GetReplicationScheduleResponse> | a new Oci.common.Waiter instance |
ForReplicationSchedule(GetReplicationScheduleRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetReplicationScheduleRequest, GetReplicationScheduleResponse> ForReplicationSchedule(GetReplicationScheduleRequest request, WaiterConfiguration config, params ReplicationSchedule.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetReplicationScheduleRequest | 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<GetReplicationScheduleRequest, GetReplicationScheduleResponse> | a new Oci.common.Waiter instance |
ForTargetAsset(GetTargetAssetRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetTargetAssetRequest, GetTargetAssetResponse> ForTargetAsset(GetTargetAssetRequest request, params TargetAsset.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetTargetAssetRequest | 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<GetTargetAssetRequest, GetTargetAssetResponse> | a new Oci.common.Waiter instance |
ForTargetAsset(GetTargetAssetRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetTargetAssetRequest, GetTargetAssetResponse> ForTargetAsset(GetTargetAssetRequest request, WaiterConfiguration config, params TargetAsset.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetTargetAssetRequest | 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<GetTargetAssetRequest, GetTargetAssetResponse> | 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 |
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 |