Share via


MoveCollectionsOperationsExtensions.CreateAsync Method

Definition

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to