Share via


MoveCollections Interface

Implements

com.microsoft.azure.arm.collection.SupportsCreating<Blank> com.microsoft.azure.arm.collection.SupportsListing<MoveCollection> com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.resourcemover.v2021_01_01.implementation.MoveCollectionsInner> com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup<MoveCollection> com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup<MoveCollection>

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<OperationStatus> bulkRemoveAsync(String resourceGroupName, String moveCollectionName)

Removes the set of move resources included in the request body from move collection.

abstract rx.Observable<OperationStatus> commitAsync(String resourceGroupName, String moveCollectionName)

Commits the set of resources included in the request body.

abstract rx.Observable<OperationStatus> discardAsync(String resourceGroupName, String moveCollectionName)

Discards the set of resources included in the request body.

abstract rx.Observable<OperationStatus> initiateMoveAsync(String resourceGroupName, String moveCollectionName)

Moves the set of resources included in the request body.

abstract rx.Observable<RequiredForResourcesCollection> listRequiredForAsync(String resourceGroupName, String moveCollectionName, String sourceId)

List of the move resources for which an arm resource is required for.

abstract rx.Observable<OperationStatus> prepareAsync(String resourceGroupName, String moveCollectionName)

Initiates prepare for the set of resources included in the request body.

abstract rx.Observable<OperationStatus> resolveDependenciesAsync(String resourceGroupName, String moveCollectionName)

Computes, resolves and validate the dependencies of the moveResources in the move collection.

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:

resourceGroupName - the String value
moveCollectionName - the String value

Returns:

the observable for the request

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:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.

Returns:

the observable for the request

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:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.

Returns:

the observable for the request

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:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.

Returns:

the observable for the request

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:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.
sourceId - The sourceId for which the api is invoked.

Returns:

the observable for the request

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:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.

Returns:

the observable for the request

resolveDependenciesAsync

public abstract Observable<OperationStatus> resolveDependenciesAsync(String resourceGroupName, String moveCollectionName)

Computes, resolves and validate the dependencies of the moveResources in the move collection.

Parameters:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.

Returns:

the observable for the request

Applies to