VirtualMachineDiskOperationsExtensions Class

 

Represents the extensions for disk management.

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

System.Object
  Microsoft.WindowsAzure.Management.Compute.VirtualMachineDiskOperationsExtensions

public static class VirtualMachineDiskOperationsExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticBeginCreatingDataDisk(IVirtualMachineDiskOperations, String, String, String, VirtualMachineDataDiskCreateParameters)

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 http://msdn.microsoft.com/library/windowsazure/jj157199.aspx for more information)

System_CAPS_pubmethodSystem_CAPS_staticBeginCreatingDataDiskAsync(IVirtualMachineDiskOperations, String, String, String, VirtualMachineDataDiskCreateParameters)

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 http://msdn.microsoft.com/library/windowsazure/jj157199.aspx for more information)

System_CAPS_pubmethodSystem_CAPS_staticBeginDeletingDataDisk(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)

System_CAPS_pubmethodSystem_CAPS_staticBeginDeletingDataDiskAsync(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)

System_CAPS_pubmethodSystem_CAPS_staticCreateDataDisk(IVirtualMachineDiskOperations, String, String, String, VirtualMachineDataDiskCreateParameters)

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 http://msdn.microsoft.com/library/windowsazure/jj157199.aspx for more information)

System_CAPS_pubmethodSystem_CAPS_staticCreateDataDiskAsync(IVirtualMachineDiskOperations, String, String, String, VirtualMachineDataDiskCreateParameters)

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 http://msdn.microsoft.com/library/windowsazure/jj157199.aspx for more information)

System_CAPS_pubmethodSystem_CAPS_staticCreateDisk(IVirtualMachineDiskOperations, VirtualMachineDiskCreateParameters)

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 http://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)

System_CAPS_pubmethodSystem_CAPS_staticCreateDiskAsync(IVirtualMachineDiskOperations, VirtualMachineDiskCreateParameters)

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 http://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)

System_CAPS_pubmethodSystem_CAPS_staticDeleteDataDisk(IVirtualMachineDiskOperations, String, String, String, Int32, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticDeleteDataDiskAsync(IVirtualMachineDiskOperations, String, String, String, Int32, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticDeleteDisk(IVirtualMachineDiskOperations, String, Boolean)

Deletes the specified data or operating system disk from the user disk repository.

System_CAPS_pubmethodSystem_CAPS_staticDeleteDiskAsync(IVirtualMachineDiskOperations, String, Boolean)

Asynchronously deletes the specified data or operating system disk from the user disk repository.

System_CAPS_pubmethodSystem_CAPS_staticGetDataDisk(IVirtualMachineDiskOperations, String, String, String, Int32)

Retrieves information about the specified data disk.

System_CAPS_pubmethodSystem_CAPS_staticGetDataDiskAsync(IVirtualMachineDiskOperations, String, String, String, Int32)

Asynchronously retrieves information about the specified data disk.

System_CAPS_pubmethodSystem_CAPS_staticGetDisk(IVirtualMachineDiskOperations, String)

Retrieves information about a disk in the user disk repository.

System_CAPS_pubmethodSystem_CAPS_staticGetDiskAsync(IVirtualMachineDiskOperations, String)

Asynchronously retrieves information about a disk in the user disk repository.

System_CAPS_pubmethodSystem_CAPS_staticListDisks(IVirtualMachineDiskOperations)

Retrieves a list of disks from the user disk repository.

System_CAPS_pubmethodSystem_CAPS_staticListDisksAsync(IVirtualMachineDiskOperations)

Asynchronously retrieves a list of disks from the user disk repository.

System_CAPS_pubmethodSystem_CAPS_staticUpdateDataDisk(IVirtualMachineDiskOperations, String, String, String, Int32, VirtualMachineDataDiskUpdateParameters)

The Update Data Disk operation updates the specified data disk attached to the specified virtual machine. (see http://msdn.microsoft.com/library/windowsazure/jj157190.aspx for more information)

System_CAPS_pubmethodSystem_CAPS_staticUpdateDataDiskAsync(IVirtualMachineDiskOperations, String, String, String, Int32, VirtualMachineDataDiskUpdateParameters)

The Update Data Disk operation updates the specified data disk attached to the specified virtual machine. (see http://msdn.microsoft.com/library/windowsazure/jj157190.aspx for more information)

System_CAPS_pubmethodSystem_CAPS_staticUpdateDisk(IVirtualMachineDiskOperations, String, VirtualMachineDiskUpdateParameters)

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 http://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)

System_CAPS_pubmethodSystem_CAPS_staticUpdateDiskAsync(IVirtualMachineDiskOperations, String, VirtualMachineDiskUpdateParameters)

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 http://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: