Dela via


VirtualMachineDiskCreateResponse Class

Definition

A virtual machine disk associated with your subscription.

public class VirtualMachineDiskCreateResponse : Microsoft.Azure.AzureOperationResponse
type VirtualMachineDiskCreateResponse = class
    inherit AzureOperationResponse
Public Class VirtualMachineDiskCreateResponse
Inherits AzureOperationResponse
Inheritance
Microsoft.Azure.AzureOperationResponse
VirtualMachineDiskCreateResponse

Constructors

VirtualMachineDiskCreateResponse()

Initializes a new instance of the VirtualMachineDiskCreateResponse 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.

IsPremium

Optional. Specifies whether the comtained image is a premium 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.

OperatingSystem

Optional. The Operating System type for the disk.

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.

Applies to