/// <summary>
 /// Lists the Move Resources in the 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='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <MoveResource> > ListAsync(this IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, ODataQuery <MoveResourceFilter> odataQuery = default(ODataQuery <MoveResourceFilter>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, moveCollectionName, odataQuery, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Lists the Move Resources in the move collection.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <MoveResource> > ListNextAsync(this IMoveResourcesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Deletes a Move Resource from the 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='moveResourceName'>
 /// The Move Resource Name.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <OperationStatus> BeginDeleteAsync(this IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, string moveResourceName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, moveCollectionName, moveResourceName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Creates or updates a Move Resource in the 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='moveResourceName'>
 /// The Move Resource Name.
 /// </param>
 /// <param name='properties'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <MoveResource> CreateAsync(this IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, string moveResourceName, MoveResourceProperties properties = default(MoveResourceProperties), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, moveCollectionName, moveResourceName, properties, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Creates or updates a Move Resource in the 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='moveResourceName'>
 /// The Move Resource Name.
 /// </param>
 /// <param name='properties'>
 /// </param>
 public static MoveResource Create(this IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, string moveResourceName, MoveResourceProperties properties = default(MoveResourceProperties))
 {
     return(operations.CreateAsync(resourceGroupName, moveCollectionName, moveResourceName, properties).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Lists the Move Resources in the 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='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 public static IPage <MoveResource> List(this IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, ODataQuery <MoveResourceFilter> odataQuery = default(ODataQuery <MoveResourceFilter>))
 {
     return(operations.ListAsync(resourceGroupName, moveCollectionName, odataQuery).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Lists the Move Resources in the move collection.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <MoveResource> ListNext(this IMoveResourcesOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deletes a Move Resource from the 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='moveResourceName'>
 /// The Move Resource Name.
 /// </param>
 public static OperationStatus BeginDelete(this IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, string moveResourceName)
 {
     return(operations.BeginDeleteAsync(resourceGroupName, moveCollectionName, moveResourceName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets the Move Resource.
 /// </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='moveResourceName'>
 /// The Move Resource Name.
 /// </param>
 public static MoveResource Get(this IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, string moveResourceName)
 {
     return(operations.GetAsync(resourceGroupName, moveCollectionName, moveResourceName).GetAwaiter().GetResult());
 }