Dela via


VirtualMachineDiskOperationsExtensions Class

Definition

The Service Management API provides programmatic access to much of the functionality available through the Management Portal. The Service Management API is a REST API. All API operations are performed over SSL, and are mutually authenticated using X.509 v3 certificates. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460799.aspx for more information)

public static class VirtualMachineDiskOperationsExtensions
type VirtualMachineDiskOperationsExtensions = class
Public Module VirtualMachineDiskOperationsExtensions
Inheritance
VirtualMachineDiskOperationsExtensions

Methods

BeginCreatingDataDisk(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/en-us/library/windowsazure/jj157199.aspx for more information)

BeginCreatingDataDiskAsync(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/en-us/library/windowsazure/jj157199.aspx for more information)

BeginDeletingDataDisk(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/en-us/library/windowsazure/jj157179.aspx for more information)

BeginDeletingDataDiskAsync(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/en-us/library/windowsazure/jj157179.aspx for more information)

BeginUpdatingDisk(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/en-us/library/windowsazure/jj157178.aspx for more information)

BeginUpdatingDiskAsync(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/en-us/library/windowsazure/jj157178.aspx for more information)

CreateDataDisk(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/en-us/library/windowsazure/jj157199.aspx for more information)

CreateDataDiskAsync(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/en-us/library/windowsazure/jj157199.aspx for more information)

CreateDisk(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/en-us/library/windowsazure/jj157178.aspx for more information)

CreateDiskAsync(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/en-us/library/windowsazure/jj157178.aspx for more information)

DeleteDataDisk(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/en-us/library/windowsazure/jj157179.aspx for more information)

DeleteDataDiskAsync(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/en-us/library/windowsazure/jj157179.aspx for more information)

DeleteDisk(IVirtualMachineDiskOperations, String, Boolean)

The Delete Disk operation deletes the specified data or operating system disk from your image repository. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157200.aspx for more information)

DeleteDiskAsync(IVirtualMachineDiskOperations, String, Boolean)

The Delete Disk operation deletes the specified data or operating system disk from your image repository. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157200.aspx for more information)

GetDataDisk(IVirtualMachineDiskOperations, String, String, String, Int32)

The Get Data Disk operation retrieves the specified data disk from a virtual machine. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157180.aspx for more information)

GetDataDiskAsync(IVirtualMachineDiskOperations, String, String, String, Int32)

The Get Data Disk operation retrieves the specified data disk from a virtual machine. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157180.aspx for more information)

GetDisk(IVirtualMachineDiskOperations, String)

The Get Disk operation retrieves a disk from the user image repository. The disk can be an operating system disk or a data disk. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157178.aspx for more information)

GetDiskAsync(IVirtualMachineDiskOperations, String)

The Get Disk operation retrieves a disk from the user image repository. The disk can be an operating system disk or a data disk. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157178.aspx for more information)

ListDisks(IVirtualMachineDiskOperations)

The List Disks operation retrieves a list of the disks in your image repository. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157176.aspx for more information)

ListDisksAsync(IVirtualMachineDiskOperations)

The List Disks operation retrieves a list of the disks in your image repository. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157176.aspx for more information)

UpdateDataDisk(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/en-us/library/windowsazure/jj157190.aspx for more information)

UpdateDataDiskAsync(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/en-us/library/windowsazure/jj157190.aspx for more information)

UpdateDisk(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/en-us/library/windowsazure/jj157178.aspx for more information)

UpdateDiskAsync(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/en-us/library/windowsazure/jj157178.aspx for more information)

UpdateDiskSize(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/en-us/library/windowsazure/jj157178.aspx for more information)

UpdateDiskSizeAsync(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/en-us/library/windowsazure/jj157178.aspx for more information)

Applies to