Share via


InventoryItemProperties Class

Definition

Describes the properties of an Inventory Item.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.InventoryItemPropertiesTypeConverter))]
public class InventoryItemProperties : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IInventoryItemProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.InventoryItemPropertiesTypeConverter))>]
type InventoryItemProperties = class
    interface IInventoryItemProperties
    interface IJsonSerializable
Public Class InventoryItemProperties
Implements IInventoryItemProperties
Inheritance
InventoryItemProperties
Attributes
Implements

Constructors

InventoryItemProperties()

Creates an new InventoryItemProperties 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.

ProvisioningState

Gets the provisioning state.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of InventoryItemProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of InventoryItemProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IInventoryItemProperties. Note: the Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IInventoryItemProperties interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of InventoryItemProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to