/// <summary> /// Creates or updates a move collection. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The Resource Group Name. /// </param> /// <param name='moveCollectionName'> /// The Move Collection Name. /// </param> /// <param name='body'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <MoveCollection> CreateAsync(this IMoveCollectionsOperations operations, string resourceGroupName, string moveCollectionName, MoveCollection body = default(MoveCollection), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, moveCollectionName, body, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }