MoveCollectionsOperationsExtensions.CreateAsync 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.
Creates or updates a move collection.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveCollection> CreateAsync (this Microsoft.Azure.Management.Migrate.ResourceMover.IMoveCollectionsOperations operations, string resourceGroupName, string moveCollectionName, Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveCollection body = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Migrate.ResourceMover.IMoveCollectionsOperations * string * string * Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveCollection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveCollection>
<Extension()>
Public Function CreateAsync (operations As IMoveCollectionsOperations, resourceGroupName As String, moveCollectionName As String, Optional body As MoveCollection = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MoveCollection)
Parameters
- operations
- IMoveCollectionsOperations
The operations group for this extension method.
- resourceGroupName
- String
The Resource Group Name.
- moveCollectionName
- String
The Move Collection Name.
- body
- MoveCollection
- cancellationToken
- CancellationToken
The cancellation token.