MoveCollections Interface
Implements
public interface MoveCollections
extends com.microsoft.azure.arm.collection.SupportsCreating<Blank>, com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup, com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion, com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup<MoveCollection>, com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup<MoveCollection>, com.microsoft.azure.arm.collection.SupportsListing<MoveCollection>, com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.resourcemover.v2021_01_01.implementation.MoveCollectionsInner>
Type representing MoveCollections.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
rx.Observable<Operation |
bulkRemoveAsync(String resourceGroupName, String moveCollectionName)
Removes the set of move resources included in the request body from move collection. |
|
abstract
rx.Observable<Operation |
commitAsync(String resourceGroupName, String moveCollectionName)
Commits the set of resources included in the request body. |
|
abstract
rx.Observable<Operation |
discardAsync(String resourceGroupName, String moveCollectionName)
Discards the set of resources included in the request body. |
|
abstract
rx.Observable<Operation |
initiateMoveAsync(String resourceGroupName, String moveCollectionName)
Moves the set of resources included in the request body. |
|
abstract
rx.Observable<Required |
listRequiredForAsync(String resourceGroupName, String moveCollectionName, String sourceId)
List of the move resources for which an arm resource is required for. |
|
abstract
rx.Observable<Operation |
prepareAsync(String resourceGroupName, String moveCollectionName)
Initiates prepare for the set of resources included in the request body. |
|
abstract
rx.Observable<Operation |
resolveDependenciesAsync(String resourceGroupName, String moveCollectionName)
Computes, resolves and validate the dependencies of the move |
Method Details
bulkRemoveAsync
public abstract Observable<OperationStatus> bulkRemoveAsync(String resourceGroupName, String moveCollectionName)
Removes the set of move resources included in the request body from move collection. The orchestration is done by service. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Parameters:
Returns:
commitAsync
public abstract Observable<OperationStatus> commitAsync(String resourceGroupName, String moveCollectionName)
Commits the set of resources included in the request body. The commit operation is triggered on the moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Parameters:
Returns:
discardAsync
public abstract Observable<OperationStatus> discardAsync(String resourceGroupName, String moveCollectionName)
Discards the set of resources included in the request body. The discard operation is triggered on the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Parameters:
Returns:
initiateMoveAsync
public abstract Observable<OperationStatus> initiateMoveAsync(String resourceGroupName, String moveCollectionName)
Moves the set of resources included in the request body. The move operation is triggered after the moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Parameters:
Returns:
listRequiredForAsync
public abstract Observable<RequiredForResourcesCollection> listRequiredForAsync(String resourceGroupName, String moveCollectionName, String sourceId)
List of the move resources for which an arm resource is required for.
Parameters:
Returns:
prepareAsync
public abstract Observable<OperationStatus> prepareAsync(String resourceGroupName, String moveCollectionName)
Initiates prepare for the set of resources included in the request body. The prepare operation is on the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful completion the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Parameters:
Returns:
resolveDependenciesAsync
public abstract Observable<OperationStatus> resolveDependenciesAsync(String resourceGroupName, String moveCollectionName)
Computes, resolves and validate the dependencies of the moveResources in the move collection.
Parameters:
Returns: