/// <summary> /// Abort storage account migration api validates and aborts 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> AbortMigrationAsync(this IStorageAccountOperations operations, string storageAccountName) { return operations.AbortMigrationAsync(storageAccountName, CancellationToken.None); }
/// <summary> /// Abort Virtual Network migration api validates and aborts 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> AbortMigrationAsync(this INetworkOperations operations, string virtualNetworkName) { return operations.AbortMigrationAsync(virtualNetworkName, CancellationToken.None); }
/// <summary> /// The Abort Deployment Operation validates and aborts 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> AbortMigrationAsync(this IDeploymentOperations operations, string serviceName, string deploymentName) { return operations.AbortMigrationAsync(serviceName, deploymentName, CancellationToken.None); }
/// <summary> /// Abort routetable migration api validates and aborts 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> AbortMigrationAsync(this IRouteOperations operations, string routeTableName) { return operations.AbortMigrationAsync(routeTableName, CancellationToken.None); }
/// <summary> /// Abort resservedIP migration api validates and aborts 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> AbortMigrationAsync(this IReservedIPOperations operations, string ipName) { return operations.AbortMigrationAsync(ipName, CancellationToken.None); }
/// <summary> /// Abort resservedIP migration api validates and aborts 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> AbortMigrationAsync(this INetworkSecurityGroupOperations operations, string networkSecurityGroupName) { return operations.AbortMigrationAsync(networkSecurityGroupName, CancellationToken.None); }