Share via


HostInventoryItem Class

Definition

The host inventory item.

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

Constructors

HostInventoryItem()

Creates an new HostInventoryItem instance.

Properties

InventoryType

They inventory type.

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.

ParentInventoryItemId

Gets or sets the inventory Item ID for the resource.

ParentInventoryType

The inventory type.

ParentMoName

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

ProvisioningState

Gets the provisioning state.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HostInventoryItem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HostInventoryItem.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HostInventoryItem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to