MoveCollection Interface
public interface MoveCollection
An immutable client-side representation of MoveCollection.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Operation |
bulkRemove()
Removes the set of move resources included in the request body from move collection. |
abstract
Operation |
bulkRemove(BulkRemoveRequest body, Context context)
Removes the set of move resources included in the request body from move collection. |
abstract
Operation |
commit()
Commits the set of resources included in the request body. |
abstract
Operation |
commit(CommitRequest body, Context context)
Commits the set of resources included in the request body. |
abstract
Operation |
discard()
Discards the set of resources included in the request body. |
abstract
Operation |
discard(DiscardRequest body, Context context)
Discards the set of resources included in the request body. |
abstract String |
etag()
Gets the etag property: The etag of the resource. |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract Identity |
identity()
Gets the identity property: Defines the MSI properties of the Move Collection. |
abstract
Operation |
initiateMove()
Moves the set of resources included in the request body. |
abstract
Operation |
initiateMove(ResourceMoveRequest body, Context context)
Moves the set of resources included in the request body. |
abstract
Move |
innerModel()
Gets the inner com. |
abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract
Operation |
prepare()
Initiates prepare for the set of resources included in the request body. |
abstract
Operation |
prepare(PrepareRequest body, Context context)
Initiates prepare for the set of resources included in the request body. |
abstract
Move |
properties()
Gets the properties property: Defines the move collection properties. |
abstract
Move |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Move |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract Region |
region()
Gets the region of the resource. |
abstract String |
regionName()
Gets the name of the resource region. |
abstract
Operation |
resolveDependencies()
Computes, resolves and validate the dependencies of the move |
abstract
Operation |
resolveDependencies(Context context)
Computes, resolves and validate the dependencies of the move |
abstract String |
resourceGroupName()
Gets the name of the resource group. |
abstract
System |
systemData()
Gets the system |
abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract Update |
update()
Begins update for the Move |
Method Details
bulkRemove
public abstract OperationStatus bulkRemove()
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.
Returns:
bulkRemove
public abstract OperationStatus bulkRemove(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()
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.
Returns:
commit
public abstract OperationStatus commit(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:
discard
public abstract OperationStatus discard()
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.
Returns:
discard
public abstract OperationStatus discard(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:
etag
public abstract String etag()
Gets the etag property: The etag of the resource.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
identity
public abstract Identity identity()
Gets the identity property: Defines the MSI properties of the Move Collection.
Returns:
initiateMove
public abstract OperationStatus initiateMove()
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.
Returns:
initiateMove
public abstract OperationStatus initiateMove(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:
innerModel
public abstract MoveCollectionInner innerModel()
Gets the inner com.azure.resourcemanager.resourcemover.fluent.models.MoveCollectionInner object.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
prepare
public abstract OperationStatus prepare()
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.
Returns:
prepare
public abstract OperationStatus prepare(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:
properties
public abstract MoveCollectionProperties properties()
Gets the properties property: Defines the move collection properties.
Returns:
refresh
public abstract MoveCollection refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract MoveCollection refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resolveDependencies
public abstract OperationStatus resolveDependencies()
Computes, resolves and validate the dependencies of the moveResources in the move collection.
Returns:
resolveDependencies
public abstract OperationStatus resolveDependencies(Context context)
Computes, resolves and validate the dependencies of the moveResources in the move collection.
Parameters:
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
tags
public abstract Map
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract MoveCollection.Update update()
Begins update for the MoveCollection resource.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for