ComputeVmPropertiesFragment Class

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

Inheritance
ComputeVmPropertiesFragment

Constructor

ComputeVmPropertiesFragment(*, statuses: Optional[List[azure.mgmt.devtestlabs.models._models_py3.ComputeVmInstanceViewStatusFragment]] = None, os_type: Optional[str] = None, vm_size: Optional[str] = None, network_interface_id: Optional[str] = None, os_disk_id: Optional[str] = None, data_disk_ids: Optional[List[str]] = None, data_disks: Optional[List[azure.mgmt.devtestlabs.models._models_py3.ComputeDataDiskFragment]] = None, **kwargs)

Parameters

statuses
list[ComputeVmInstanceViewStatusFragment]
Required

Gets the statuses of the virtual machine.

os_type
str
Required

Gets the OS type of the virtual machine.

vm_size
str
Required

Gets the size of the virtual machine.

network_interface_id
str
Required

Gets the network interface ID of the virtual machine.

os_disk_id
str
Required

Gets OS disk blob uri for the virtual machine.

data_disk_ids
list[str]
Required

Gets data disks blob uri for the virtual machine.

data_disks
list[ComputeDataDiskFragment]
Required

Gets all data disks attached to the virtual machine.