/// <summary> /// 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. /// </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> public static OperationStatus InitiateMove(this IMoveCollectionsOperations operations, string resourceGroupName, string moveCollectionName, ResourceMoveRequest body = default(ResourceMoveRequest)) { return(operations.InitiateMoveAsync(resourceGroupName, moveCollectionName, body).GetAwaiter().GetResult()); }