Share via


DiskOutput interface

Disk resource.

Extends

Properties

extendedLocation

The extended location where the disk will be created. Extended location cannot be changed.

managedBy

A relative URI containing the ID of the VM that has the disk attached.

managedByExtended

List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.

properties

Disk resource properties.

sku

The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.

zones

The Logical zone list for Disk.

Inherited Properties

id

Resource Id

location

Resource location

name

Resource name

tags

Resource tags

type

Resource type

Property Details

extendedLocation

The extended location where the disk will be created. Extended location cannot be changed.

extendedLocation?: ExtendedLocationOutput

Property Value

managedBy

A relative URI containing the ID of the VM that has the disk attached.

managedBy?: string

Property Value

string

managedByExtended

List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.

managedByExtended?: string[]

Property Value

string[]

properties

Disk resource properties.

properties?: DiskPropertiesOutput

Property Value

sku

The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.

sku?: DiskSkuOutput

Property Value

zones

The Logical zone list for Disk.

zones?: string[]

Property Value

string[]

Inherited Property Details

id

Resource Id

id?: string

Property Value

string

Inherited From ResourceOutput.id

location

Resource location

location: string

Property Value

string

Inherited From ResourceOutput.location

name

Resource name

name?: string

Property Value

string

Inherited From ResourceOutput.name

tags

Resource tags

tags?: Record<string, string>

Property Value

Record<string, string>

Inherited From ResourceOutput.tags

type

Resource type

type?: string

Property Value

string

Inherited From ResourceOutput.type