ComputeVmProperties Class

Properties of a virtual machine returned by the Microsoft.Compute API.

Constructor

ComputeVmProperties(*, statuses: list['_models.ComputeVmInstanceViewStatus'] | None = None, os_type: str | None = None, vm_size: str | None = None, network_interface_id: str | None = None, os_disk_id: str | None = None, data_disk_ids: list[str] | None = None, data_disks: list['_models.ComputeDataDisk'] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
statuses

Gets the statuses of the virtual machine.

Default value: None
os_type
str

Gets the OS type of the virtual machine.

Default value: None
vm_size
str

Gets the size of the virtual machine.

Default value: None
network_interface_id
str

Gets the network interface ID of the virtual machine.

Default value: None
os_disk_id
str

Gets OS disk blob uri for the virtual machine.

Default value: None
data_disk_ids

Gets data disks blob uri for the virtual machine.

Default value: None
data_disks

Gets all data disks attached to the virtual machine.

Default value: None

Variables

Name Description
statuses

Gets the statuses of the virtual machine.

os_type
str

Gets the OS type of the virtual machine.

vm_size
str

Gets the size of the virtual machine.

network_interface_id
str

Gets the network interface ID of the virtual machine.

os_disk_id
str

Gets OS disk blob uri for the virtual machine.

data_disk_ids

Gets data disks blob uri for the virtual machine.

data_disks

Gets all data disks attached to the virtual machine.