共用方式為


InventoryItemProperties interface

Describes the properties of an Inventory Item.

Properties

inventoryType

Polymorphic discriminator, which specifies the different types this object can be

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. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

inventoryType

Polymorphic discriminator, which specifies the different types this object can be

inventoryType: "Cluster" | "Datastore" | "Host" | "ResourcePool" | "VirtualMachine" | "VirtualMachineTemplate" | "VirtualNetwork"

Property Value

"Cluster" | "Datastore" | "Host" | "ResourcePool" | "VirtualMachine" | "VirtualMachineTemplate" | "VirtualNetwork"

managedResourceId

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

managedResourceId?: string

Property Value

string

moName

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

moName?: string

Property Value

string

moRefId

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

moRefId?: string

Property Value

string

provisioningState

Gets the provisioning state. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string