ComputeDataDisk Class

A data disks attached to a virtual machine.

Inheritance
msrest.serialization.Model
ComputeDataDisk

Constructor

ComputeDataDisk(*, name: str | None = None, disk_uri: str | None = None, managed_disk_id: str | None = None, disk_size_gi_b: int | None = None, **kwargs)

Parameters

Name Description
name
Required
str

Gets data disk name.

disk_uri
Required
str

When backed by a blob, the URI of underlying blob.

managed_disk_id
Required
str

When backed by managed disk, this is the ID of the compute disk resource.

disk_size_gi_b
Required
int

Gets data disk size in GiB.

Keyword-Only Parameters

Name Description
name
Required
disk_uri
Required
managed_disk_id
Required
disk_size_gi_b
Required