/// <summary>
 /// Commit storage account migration api validates and commits the
 /// given storage account for IaaS Classic to ARM migration.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations.
 /// </param>
 /// <param name='storageAccountName'>
 /// Required. Name of storage account to be migrated.
 /// </param>
 /// <returns>
 /// The response body contains the status of the specified asynchronous
 /// operation, indicating whether it has succeeded, is inprogress, or
 /// has failed. Note that this status is distinct from the HTTP status
 /// code returned for the Get Operation Status operation itself. If
 /// the asynchronous operation succeeded, the response body includes
 /// the HTTP status code for the successful request. If the
 /// asynchronous operation failed, the response body includes the HTTP
 /// status code for the failed request and error information regarding
 /// the failure.
 /// </returns>
 public static Task<OperationStatusResponse> CommitMigrationAsync(this IStorageAccountOperations operations, string storageAccountName)
 {
     return operations.CommitMigrationAsync(storageAccountName, CancellationToken.None);
 }
 /// <summary>
 /// Commit Virtual Network migration api validates and commits the
 /// given virtual network for IaaS Classic to ARM migration.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Network.INetworkOperations.
 /// </param>
 /// <param name='virtualNetworkName'>
 /// Required. Name of the Virtual Network to be migrated.
 /// </param>
 /// <returns>
 /// The response body contains the status of the specified asynchronous
 /// operation, indicating whether it has succeeded, is inprogress, or
 /// has failed. Note that this status is distinct from the HTTP status
 /// code returned for the Get Operation Status operation itself. If
 /// the asynchronous operation succeeded, the response body includes
 /// the HTTP status code for the successful request. If the
 /// asynchronous operation failed, the response body includes the HTTP
 /// status code for the failed request, and also includes error
 /// information regarding the failure.
 /// </returns>
 public static Task<OperationStatusResponse> CommitMigrationAsync(this INetworkOperations operations, string virtualNetworkName)
 {
     return operations.CommitMigrationAsync(virtualNetworkName, CancellationToken.None);
 }
 /// <summary>
 /// The Commit Deployment Operation validates and commits your
 /// deployment for IaaS Classic to ARM migration.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations.
 /// </param>
 /// <param name='serviceName'>
 /// Required. Name of the cloud service.
 /// </param>
 /// <param name='deploymentName'>
 /// Required. Name of the deployment to be migrated.
 /// </param>
 /// <returns>
 /// The response body contains the status of the specified asynchronous
 /// operation, indicating whether it has succeeded, is inprogress, or
 /// has failed. Note that this status is distinct from the HTTP status
 /// code returned for the Get Operation Status operation itself. If
 /// the asynchronous operation succeeded, the response body includes
 /// the HTTP status code for the successful request. If the
 /// asynchronous operation failed, the response body includes the HTTP
 /// status code for the failed request and error information regarding
 /// the failure.
 /// </returns>
 public static Task<OperationStatusResponse> CommitMigrationAsync(this IDeploymentOperations operations, string serviceName, string deploymentName)
 {
     return operations.CommitMigrationAsync(serviceName, deploymentName, CancellationToken.None);
 }
 /// <summary>
 /// Commit routetable migration api validates and commits the given
 /// routetable for IaaS Classic to ARM migration.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Network.IRouteOperations.
 /// </param>
 /// <param name='routeTableName'>
 /// Required. Name of the routetable to be migrated.
 /// </param>
 /// <returns>
 /// The response body contains the status of the specified asynchronous
 /// operation, indicating whether it has succeeded, is inprogress, or
 /// has failed. Note that this status is distinct from the HTTP status
 /// code returned for the Get Operation Status operation itself. If
 /// the asynchronous operation succeeded, the response body includes
 /// the HTTP status code for the successful request. If the
 /// asynchronous operation failed, the response body includes the HTTP
 /// status code for the failed request, and also includes error
 /// information regarding the failure.
 /// </returns>
 public static Task<OperationStatusResponse> CommitMigrationAsync(this IRouteOperations operations, string routeTableName)
 {
     return operations.CommitMigrationAsync(routeTableName, CancellationToken.None);
 }
 /// <summary>
 /// Commit resservedIP migration api validates and commits the given
 /// reservedIP for IaaS Classic to ARM migration.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Network.IReservedIPOperations.
 /// </param>
 /// <param name='ipName'>
 /// Required. Name of the reservedIP to be migrated.
 /// </param>
 /// <returns>
 /// The response body contains the status of the specified asynchronous
 /// operation, indicating whether it has succeeded, is inprogress, or
 /// has failed. Note that this status is distinct from the HTTP status
 /// code returned for the Get Operation Status operation itself. If
 /// the asynchronous operation succeeded, the response body includes
 /// the HTTP status code for the successful request. If the
 /// asynchronous operation failed, the response body includes the HTTP
 /// status code for the failed request, and also includes error
 /// information regarding the failure.
 /// </returns>
 public static Task<OperationStatusResponse> CommitMigrationAsync(this IReservedIPOperations operations, string ipName)
 {
     return operations.CommitMigrationAsync(ipName, CancellationToken.None);
 }
 /// <summary>
 /// Commit resservedIP migration api validates and commits the given
 /// network security group for IaaS Classic to ARM migration.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations.
 /// </param>
 /// <param name='networkSecurityGroupName'>
 /// Required. Name of the network security group to be migrated.
 /// </param>
 /// <returns>
 /// The response body contains the status of the specified asynchronous
 /// operation, indicating whether it has succeeded, is inprogress, or
 /// has failed. Note that this status is distinct from the HTTP status
 /// code returned for the Get Operation Status operation itself. If
 /// the asynchronous operation succeeded, the response body includes
 /// the HTTP status code for the successful request. If the
 /// asynchronous operation failed, the response body includes the HTTP
 /// status code for the failed request, and also includes error
 /// information regarding the failure.
 /// </returns>
 public static Task<OperationStatusResponse> CommitMigrationAsync(this INetworkSecurityGroupOperations operations, string networkSecurityGroupName)
 {
     return operations.CommitMigrationAsync(networkSecurityGroupName, CancellationToken.None);
 }