MoveCollectionsOperationsExtensions.Commit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public static Microsoft.Azure.Management.Migrate.ResourceMover.Models.OperationStatus Commit (this Microsoft.Azure.Management.Migrate.ResourceMover.IMoveCollectionsOperations operations, string resourceGroupName, string moveCollectionName, Microsoft.Azure.Management.Migrate.ResourceMover.Models.CommitRequest body = default);
static member Commit : Microsoft.Azure.Management.Migrate.ResourceMover.IMoveCollectionsOperations * string * string * Microsoft.Azure.Management.Migrate.ResourceMover.Models.CommitRequest -> Microsoft.Azure.Management.Migrate.ResourceMover.Models.OperationStatus
<Extension()>
Public Function Commit (operations As IMoveCollectionsOperations, resourceGroupName As String, moveCollectionName As String, Optional body As CommitRequest = Nothing) As OperationStatus
Parameters
- operations
- IMoveCollectionsOperations
The operations group for this extension method.
- resourceGroupName
- String
The Resource Group Name.
- moveCollectionName
- String
The Move Collection Name.
- body
- CommitRequest
Returns
Applies to
Azure SDK for .NET