Share via


VirtualMachineDiskOperationsExtensions Members

Represents the extensions for disk management.

The following tables list the members exposed by the VirtualMachineDiskOperationsExtensions type.

Public Methods

  Name Description
BeginCreatingDataDisk The Create Data Disk operation adds a data disk to a virtual machine. There are three ways to create the data disk using the Add Data Disk operation. Option 1 - Attach an empty data disk to the role by specifying the disk label and location of the disk image. Do not include the DiskName and SourceMediaLink elements in the request body. Include the MediaLink element and reference a blob that is in the same geographical region as the role. You can also omit the MediaLink element. In this usage, Azure will create the data disk in the storage account configured as default for the role. Option 2 - Attach an existing data disk that is in the image repository. Do not include the DiskName and SourceMediaLink elements in the request body. Specify the data disk to use by including the DiskName element. Note: If included the in the response body, the MediaLink and LogicalDiskSizeInGB elements are ignored. Option 3 - Specify the location of a blob in your storage account that contain a disk image to use. Include the SourceMediaLink element. Note: If the MediaLink element isincluded, it is ignored. (see https://msdn.microsoft.com/library/windowsazure/jj157199.aspx for more information)
BeginCreatingDataDiskAsync The Create Data Disk operation adds a data disk to a virtual machine. There are three ways to create the data disk using the Add Data Disk operation. Option 1 - Attach an empty data disk to the role by specifying the disk label and location of the disk image. Do not include the DiskName and SourceMediaLink elements in the request body. Include the MediaLink element and reference a blob that is in the same geographical region as the role. You can also omit the MediaLink element. In this usage, Azure will create the data disk in the storage account configured as default for the role. Option 2 - Attach an existing data disk that is in the image repository. Do not include the DiskName and SourceMediaLink elements in the request body. Specify the data disk to use by including the DiskName element. Note: If included the in the response body, the MediaLink and LogicalDiskSizeInGB elements are ignored. Option 3 - Specify the location of a blob in your storage account that contain a disk image to use. Include the SourceMediaLink element. Note: If the MediaLink element isincluded, it is ignored. (see https://msdn.microsoft.com/library/windowsazure/jj157199.aspx for more information)
BeginDeletingDataDisk The Begin Deleting Data Disk operation removes the specified data disk from a virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157179.aspx for more information)
BeginDeletingDataDiskAsync The Begin Deleting Data Disk operation removes the specified data disk from a virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157179.aspx for more information)
CreateDataDisk The Create Data Disk operation adds a data disk to a virtual machine. There are three ways to create the data disk using the Add Data Disk operation. Option 1 - Attach an empty data disk to the role by specifying the disk label and location of the disk image. Do not include the DiskName and SourceMediaLink elements in the request body. Include the MediaLink element and reference a blob that is in the same geographical region as the role. You can also omit the MediaLink element. In this usage, Azure will create the data disk in the storage account configured as default for the role. Option 2 - Attach an existing data disk that is in the image repository. Do not include the DiskName and SourceMediaLink elements in the request body. Specify the data disk to use by including the DiskName element. Note: If included the in the response body, the MediaLink and LogicalDiskSizeInGB elements are ignored. Option 3 - Specify the location of a blob in your storage account that contain a disk image to use. Include the SourceMediaLink element. Note: If the MediaLink element isincluded, it is ignored. (see https://msdn.microsoft.com/library/windowsazure/jj157199.aspx for more information)
CreateDataDiskAsync The Create Data Disk operation adds a data disk to a virtual machine. There are three ways to create the data disk using the Add Data Disk operation. Option 1 - Attach an empty data disk to the role by specifying the disk label and location of the disk image. Do not include the DiskName and SourceMediaLink elements in the request body. Include the MediaLink element and reference a blob that is in the same geographical region as the role. You can also omit the MediaLink element. In this usage, Azure will create the data disk in the storage account configured as default for the role. Option 2 - Attach an existing data disk that is in the image repository. Do not include the DiskName and SourceMediaLink elements in the request body. Specify the data disk to use by including the DiskName element. Note: If included the in the response body, the MediaLink and LogicalDiskSizeInGB elements are ignored. Option 3 - Specify the location of a blob in your storage account that contain a disk image to use. Include the SourceMediaLink element. Note: If the MediaLink element isincluded, it is ignored. (see https://msdn.microsoft.com/library/windowsazure/jj157199.aspx for more information)
CreateDisk The Create Disk operation adds a disk to the user image repository. The disk can be an operating system disk or a data disk. (see https://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)
CreateDiskAsync The Create Disk operation adds a disk to the user image repository. The disk can be an operating system disk or a data disk. (see https://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)
DeleteDataDisk The Delete Data Disk operation removes the specified data disk from a virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157179.aspx for more information)
DeleteDataDiskAsync The Delete Data Disk operation removes the specified data disk from a virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157179.aspx for more information)
DeleteDisk Deletes the specified data or operating system disk from the user disk repository.
DeleteDiskAsync Asynchronously deletes the specified data or operating system disk from the user disk repository.
GetDataDisk Retrieves information about the specified data disk.
GetDataDiskAsync Asynchronously retrieves information about the specified data disk.
GetDisk Retrieves information about a disk in the user disk repository.
GetDiskAsync Asynchronously retrieves information about a disk in the user disk repository.
ListDisks Retrieves a list of disks from the user disk repository.
ListDisksAsync Asynchronously retrieves a list of disks from the user disk repository.
UpdateDataDisk The Update Data Disk operation updates the specified data disk attached to the specified virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157190.aspx for more information)
UpdateDataDiskAsync The Update Data Disk operation updates the specified data disk attached to the specified virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157190.aspx for more information)
UpdateDisk The Add Disk operation adds a disk to the user image repository. The disk can be an operating system disk or a data disk. (see https://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)
UpdateDiskAsync The Add Disk operation adds a disk to the user image repository. The disk can be an operating system disk or a data disk. (see https://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)

Top

See Also

Reference

VirtualMachineDiskOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace