VirtualMachineDiskGetResponse Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A virtual machine disk associated with your subscription.
public class VirtualMachineDiskGetResponse : Microsoft.Azure.AzureOperationResponse
type VirtualMachineDiskGetResponse = class
inherit AzureOperationResponse
Public Class VirtualMachineDiskGetResponse
Inherits AzureOperationResponse
- Inheritance
-
Microsoft.Azure.AzureOperationResponseVirtualMachineDiskGetResponse
Constructors
VirtualMachineDiskGetResponse() |
Initializes a new instance of the VirtualMachineDiskGetResponse class. |
Properties
AffinityGroup |
Optional. The affinity group in which the disk is located. The AffinityGroup value is derived from storage account that contains the blob in which the media is located. If the storage account does not belong to an affinity group the value is NULL. |
IOType |
Optional. Gets or sets the IO type. |
IsCorrupted |
Optional. Specifies whether the disk is known to be corrupt. |
IsPremium |
Optional. Specifies whether or not the disk contains a premium virtual machine image. |
Label |
Optional. The friendly name of the disk. |
Location |
Optional. The geo-location in which the disk is located. The Location value is derived from storage account that contains the blob in which the disk is located. If the storage account belongs to an affinity group the value is NULL. |
LogicalSizeInGB |
Optional. The size, in GB, of the disk. |
MediaLinkUri |
Optional. The location of the blob in the blob store in which the media for the disk is located. The blob location belongs to a storage account in the subscription specified by the SubscriptionId value in the operation call. Example: http://example.blob.core.windows.net/disks/mydisk.vhd. |
Name |
Optional. The name of the disk. This is the name that is used when creating one or more virtual machines using the disk. |
OperatingSystemType |
Optional. The operating system type of the OS image. Possible Values are: Linux, Windows, or NULL. |
SourceImageName |
Optional. The name of the OS Image from which the disk was created. This property is populated automatically when a disk is created from an OS image by calling the Add Role, Create Deployment, or Provision Disk operations. |
UsageDetails |
Optional. Contains properties that specify a virtual machine that is currently using the disk. A disk cannot be deleted as long as it is attached to a virtual machine. |