VirtualMachineDiskOperationsExtensions.BeginDeletingDataDisk Method (IVirtualMachineDiskOperations, String, String, String, Int32, Boolean)

 

The Begin Deleting Data Disk operation removes the specified data disk from a virtual machine. (see http://msdn.microsoft.com/library/windowsazure/jj157179.aspx for more information)

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

<ExtensionAttribute>
Public Shared Function BeginDeletingDataDisk (
	operations As IVirtualMachineDiskOperations,
	serviceName As String,
	deploymentName As String,
	roleName As String,
	logicalUnitNumber As Integer,
	deleteFromStorage As Boolean
) As AzureOperationResponse

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineDiskOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineDiskOperations.

serviceName
Type: System.String

Required. The name of your service.

deploymentName
Type: System.String

Required. The name of the deployment.

roleName
Type: System.String

Required. The name of the role to delete the data disk from.

logicalUnitNumber
Type: System.Int32

Required. The logical unit number of the disk.

deleteFromStorage
Type: System.Boolean

Required. Specifies that the source blob for the disk should also be deleted from storage.

Return Value

Type: Microsoft.Azure.AzureOperationResponse

A standard service response including an HTTP status code and request ID.

Return to top
Show: