Disk interface
A Disk.
- Extends
Properties
created |
The creation date of the disk. NOTE: This property will not be serialized. It can only be populated by the server. |
disk |
When backed by a blob, the name of the VHD blob without extension. |
disk |
The size of the disk in Gibibytes. |
disk |
The storage type for the disk (i.e. Standard, Premium). |
disk |
When backed by a blob, the URI of underlying blob. |
host |
The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite). |
leased |
The resource ID of the VM to which this disk is leased. |
managed |
When backed by managed disk, this is the ID of the compute disk resource. |
provisioning |
The provisioning status of the resource. NOTE: This property will not be serialized. It can only be populated by the server. |
storage |
When backed by a blob, the storage account where the blob is. |
unique |
The unique immutable identifier of a resource (Guid). NOTE: This property will not be serialized. It can only be populated by the server. |
Inherited Properties
id | The identifier of the resource. NOTE: This property will not be serialized. It can only be populated by the server. |
location | The location of the resource. |
name | The name of the resource. NOTE: This property will not be serialized. It can only be populated by the server. |
tags | The tags of the resource. |
type | The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
createdDate
The creation date of the disk. NOTE: This property will not be serialized. It can only be populated by the server.
createdDate?: Date
Property Value
Date
diskBlobName
When backed by a blob, the name of the VHD blob without extension.
diskBlobName?: string
Property Value
string
diskSizeGiB
The size of the disk in Gibibytes.
diskSizeGiB?: number
Property Value
number
diskType
The storage type for the disk (i.e. Standard, Premium).
diskType?: string
Property Value
string
diskUri
When backed by a blob, the URI of underlying blob.
diskUri?: string
Property Value
string
hostCaching
The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite).
hostCaching?: string
Property Value
string
leasedByLabVmId
The resource ID of the VM to which this disk is leased.
leasedByLabVmId?: string
Property Value
string
managedDiskId
When backed by managed disk, this is the ID of the compute disk resource.
managedDiskId?: string
Property Value
string
provisioningState
The provisioning status of the resource. NOTE: This property will not be serialized. It can only be populated by the server.
provisioningState?: string
Property Value
string
storageAccountId
When backed by a blob, the storage account where the blob is.
storageAccountId?: string
Property Value
string
uniqueIdentifier
The unique immutable identifier of a resource (Guid). NOTE: This property will not be serialized. It can only be populated by the server.
uniqueIdentifier?: string
Property Value
string
Inherited Property Details
id
The identifier of the resource. NOTE: This property will not be serialized. It can only be populated by the server.
id?: string
Property Value
string
Inherited From Resource.id
location
The location of the resource.
location?: string
Property Value
string
Inherited From Resource.location
name
The name of the resource. NOTE: This property will not be serialized. It can only be populated by the server.
name?: string
Property Value
string
Inherited From Resource.name
tags
The tags of the resource.
tags?: {[propertyName: string]: string}
Property Value
{[propertyName: string]: string}
Inherited From Resource.tags
type
The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.
type?: string
Property Value
string
Inherited From Resource.type