Share via


VirtualMachineDiskCreateResponse Class

 

A virtual machine disk associated with your subscription.

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

Inheritance Hierarchy

System.Object
  Hyak.Common.HttpOperationResponse
    Microsoft.Azure.AzureOperationResponse
      Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineDiskCreateResponse

Syntax

public class VirtualMachineDiskCreateResponse : AzureOperationResponse
public ref class VirtualMachineDiskCreateResponse : AzureOperationResponse
type VirtualMachineDiskCreateResponse = 
    class
        inherit AzureOperationResponse
    end
Public Class VirtualMachineDiskCreateResponse
    Inherits AzureOperationResponse

Constructors

Name Description
VirtualMachineDiskCreateResponse()

Initializes a new instance of the VirtualMachineDiskCreateResponse class.

Properties

Name Description
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: https://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.

RequestId

(Inherited from AzureOperationResponse.)

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.

StatusCode

(Inherited from HttpOperationResponse.)

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.

Methods

Name Description
Equals(Object)

(Inherited from Object.)

Finalize()

(Inherited from Object.)

GetHashCode()

(Inherited from Object.)

GetType()

(Inherited from Object.)

MemberwiseClone()

(Inherited from Object.)

ToString()

(Inherited from Object.)

Thread Safety

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

See Also

Microsoft.WindowsAzure.Management.Compute.Models Namespace

Return to top