EdgeMachineWorkloadInventoryItem interface

Represents a single workload (Hyper-V VM) inventory entry reported by the device management extension running on the edge machine.

Properties

memoryInBytes

Maximum memory the VM can consume, in bytes.

name

Hyper-V VM name.

resourceId

Optional ARM resource ID when the service can map the local VM to an ARM resource.

state

Hyper-V VM state reported by the node.

virtualProcessorCount

Configured virtual processor count from Hyper-V.

workloadId

Stable device-reported workload identifier, such as the Hyper-V VM ID when available.

workloadType

Workload type. For v1 this should be VirtualMachine.

Property Details

memoryInBytes

Maximum memory the VM can consume, in bytes.

memoryInBytes?: string

Property Value

string

name

Hyper-V VM name.

name?: string

Property Value

string

resourceId

Optional ARM resource ID when the service can map the local VM to an ARM resource.

resourceId?: string

Property Value

string

state

Hyper-V VM state reported by the node.

state?: string

Property Value

string

virtualProcessorCount

Configured virtual processor count from Hyper-V.

virtualProcessorCount?: string

Property Value

string

workloadId

Stable device-reported workload identifier, such as the Hyper-V VM ID when available.

workloadId?: string

Property Value

string

workloadType

Workload type. For v1 this should be VirtualMachine.

workloadType?: string

Property Value

string