ComputeVmProperties Class

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

Inheritance
msrest.serialization.Model
ComputeVmProperties

Constructor

ComputeVmProperties(*, statuses: List[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[ComputeDataDisk] | None = None, **kwargs)

Parameters

Name Description
statuses
Required

Gets the statuses of the virtual machine.

os_type
Required
str

Gets the OS type of the virtual machine.

vm_size
Required
str

Gets the size of the virtual machine.

network_interface_id
Required
str

Gets the network interface ID of the virtual machine.

os_disk_id
Required
str

Gets OS disk blob uri for the virtual machine.

data_disk_ids
Required

Gets data disks blob uri for the virtual machine.

data_disks
Required

Gets all data disks attached to the virtual machine.

Keyword-Only Parameters

Name Description
statuses
Required
os_type
Required
vm_size
Required
network_interface_id
Required
os_disk_id
Required
data_disk_ids
Required
data_disks
Required