Share via


VirtualMachineInventoryItem Class

Definition

The VM inventory item.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.VirtualMachineInventoryItemTypeConverter))]
public class VirtualMachineInventoryItem : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IVirtualMachineInventoryItem, Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.VirtualMachineInventoryItemTypeConverter))>]
type VirtualMachineInventoryItem = class
    interface IVirtualMachineInventoryItem
    interface IJsonSerializable
    interface IInventoryItemProperties
    interface IValidates
Public Class VirtualMachineInventoryItem
Implements IValidates, IVirtualMachineInventoryItem
Inheritance
VirtualMachineInventoryItem
Attributes
Implements

Constructors

VirtualMachineInventoryItem()

Creates an new VirtualMachineInventoryItem instance.

Properties

ClusterInventoryItemId

Gets or sets the inventory Item ID for the resource.

ClusterInventoryType

The inventory type.

ClusterMoName

Gets or sets the vCenter Managed Object name for the resource.

FolderPath

Gets or sets the folder path of the vm.

HostInventoryItemId

Gets or sets the inventory Item ID for the resource.

HostInventoryType

The inventory type.

HostMoName

Gets or sets the vCenter Managed Object name for the resource.

InstanceUuid

Gets or sets the instance uuid of the vm.

InventoryType

They inventory type.

IPAddress

Gets or sets the nic ip addresses.

ManagedResourceId

Gets or sets the tracked resource id corresponding to the inventory resource.

MoName

Gets or sets the vCenter Managed Object name for the inventory item.

MoRefId

Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.

OSName

Gets or sets os name.

OSType

Gets or sets the type of the os.

PowerState

Gets the power state of the virtual machine.

ProvisioningState

Gets the provisioning state.

ResourcePoolInventoryItemId

Gets or sets the inventory Item ID for the resource.

ResourcePoolInventoryType

The inventory type.

ResourcePoolMoName

Gets or sets the vCenter Managed Object name for the resource.

SmbiosUuid

Gets or sets the SMBIOS UUID of the vm.

ToolsRunningStatus

Gets or sets the current running status of VMware Tools running in the guest operating system.

ToolsVersion

Gets or sets the current version of VMware Tools.

ToolsVersionStatus

Gets or sets the current version status of VMware Tools installed in the guest operating system.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineInventoryItem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineInventoryItem.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IVirtualMachineInventoryItem.

FromJsonString(String)

Creates a new instance of VirtualMachineInventoryItem, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineInventoryItem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to