共用方式為


VirtualMachineInventoryItem Class

Definition

The Virtual machine inventory item.

public class VirtualMachineInventoryItem : Azure.ResourceManager.ScVmm.Models.ScVmmInventoryItemProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ScVmm.Models.VirtualMachineInventoryItem>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ScVmm.Models.VirtualMachineInventoryItem>
type VirtualMachineInventoryItem = class
    inherit ScVmmInventoryItemProperties
    interface IJsonModel<VirtualMachineInventoryItem>
    interface IPersistableModel<VirtualMachineInventoryItem>
Public Class VirtualMachineInventoryItem
Inherits ScVmmInventoryItemProperties
Implements IJsonModel(Of VirtualMachineInventoryItem), IPersistableModel(Of VirtualMachineInventoryItem)
Inheritance
VirtualMachineInventoryItem
Implements

Constructors

VirtualMachineInventoryItem()

Initializes a new instance of VirtualMachineInventoryItem.

Properties

BiosGuid

Gets the bios guid.

Cloud

Cloud inventory resource details where the VM is present.

InventoryItemName

Gets the Managed Object name in VMM for the inventory item.

(Inherited from ScVmmInventoryItemProperties)
IPAddresses

Gets or sets the nic ip addresses.

ManagedMachineResourceId

Gets the tracked resource id corresponding to the inventory resource.

ManagedResourceId

Gets the tracked resource id corresponding to the inventory resource.

(Inherited from ScVmmInventoryItemProperties)
OSName

Gets os name.

OSType

Gets the type of the os.

OSVersion

Gets os version.

PowerState

Gets the power state of the virtual machine.

ProvisioningState

Provisioning state of the resource.

(Inherited from ScVmmInventoryItemProperties)
Uuid

Gets the UUID (which is assigned by VMM) for the inventory item.

(Inherited from ScVmmInventoryItemProperties)

Explicit Interface Implementations

IJsonModel<ScVmmInventoryItemProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ScVmmInventoryItemProperties)
IJsonModel<ScVmmInventoryItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ScVmmInventoryItemProperties)
IJsonModel<VirtualMachineInventoryItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualMachineInventoryItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmInventoryItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ScVmmInventoryItemProperties)
IPersistableModel<ScVmmInventoryItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ScVmmInventoryItemProperties)
IPersistableModel<ScVmmInventoryItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ScVmmInventoryItemProperties)
IPersistableModel<VirtualMachineInventoryItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineInventoryItem>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualMachineInventoryItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to