MoveCollections Interface
public interface MoveCollections
Resource collection API of MoveCollections.
Method Summary
Method Details
bulkRemove
public abstract OperationStatus bulkRemove(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:
bulkRemove
public abstract OperationStatus bulkRemove(String resourceGroupName, String moveCollectionName, BulkRemoveRequest body, Context context)
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:
commit
public abstract OperationStatus commit(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:
commit
public abstract OperationStatus commit(String resourceGroupName, String moveCollectionName, CommitRequest body, Context context)
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:
define
public abstract MoveCollection.DefinitionStages.Blank define(String name)
Begins definition for a new MoveCollection resource.
Parameters:
Returns:
delete
public abstract OperationStatus delete(String resourceGroupName, String moveCollectionName, Context context)
Deletes a move collection.
Parameters:
Returns:
deleteById
public abstract OperationStatus deleteById(String id)
Deletes a move collection.
Parameters:
Returns:
deleteByIdWithResponse
public abstract OperationStatus deleteByIdWithResponse(String id, Context context)
Deletes a move collection.
Parameters:
Returns:
deleteByResourceGroup
public abstract OperationStatus deleteByResourceGroup(String resourceGroupName, String moveCollectionName)
Deletes a move collection.
Parameters:
Returns:
discard
public abstract OperationStatus discard(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:
discard
public abstract OperationStatus discard(String resourceGroupName, String moveCollectionName, DiscardRequest body, Context context)
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:
getById
public abstract MoveCollection getById(String id)
Gets the move collection.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<MoveCollection> getByIdWithResponse(String id, Context context)
Gets the move collection.
Parameters:
Returns:
getByResourceGroup
public abstract MoveCollection getByResourceGroup(String resourceGroupName, String moveCollectionName)
Gets the move collection.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<MoveCollection> getByResourceGroupWithResponse(String resourceGroupName, String moveCollectionName, Context context)
Gets the move collection.
Parameters:
Returns:
initiateMove
public abstract OperationStatus initiateMove(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:
initiateMove
public abstract OperationStatus initiateMove(String resourceGroupName, String moveCollectionName, ResourceMoveRequest body, Context context)
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:
list
public abstract PagedIterable<MoveCollection> list()
Get all Move Collections. Get all the Move Collections in the subscription.
Returns:
list
public abstract PagedIterable<MoveCollection> list(Context context)
Get all Move Collections. Get all the Move Collections in the subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<MoveCollection> listByResourceGroup(String resourceGroupName)
Get all Move Collections. Get all the Move Collections in the resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<MoveCollection> listByResourceGroup(String resourceGroupName, Context context)
Get all Move Collections. Get all the Move Collections in the resource group.
Parameters:
Returns:
listRequiredFor
public abstract RequiredForResourcesCollection listRequiredFor(String resourceGroupName, String moveCollectionName, String sourceId)
List of the move resources for which an arm resource is required for.
Parameters:
Returns:
listRequiredForWithResponse
public abstract Response<RequiredForResourcesCollection> listRequiredForWithResponse(String resourceGroupName, String moveCollectionName, String sourceId, Context context)
List of the move resources for which an arm resource is required for.
Parameters:
Returns:
prepare
public abstract OperationStatus prepare(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:
prepare
public abstract OperationStatus prepare(String resourceGroupName, String moveCollectionName, PrepareRequest body, Context context)
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:
resolveDependencies
public abstract OperationStatus resolveDependencies(String resourceGroupName, String moveCollectionName)
Computes, resolves and validate the dependencies of the moveResources in the move collection.
Parameters:
Returns:
resolveDependencies
public abstract OperationStatus resolveDependencies(String resourceGroupName, String moveCollectionName, Context context)
Computes, resolves and validate the dependencies of the moveResources in the move collection.
Parameters:
Returns: