Share via


VirtualMachineTemplateInventoryItem Class

Definition

The VM Template inventory item.

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

Constructors

VirtualMachineTemplateInventoryItem()

Creates an new VirtualMachineTemplateInventoryItem instance.

Properties

FolderPath

Gets or sets the folder path of the template.

InventoryType

They inventory type.

ManagedResourceId

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

MemorySizeMb

Gets or sets memory size in MBs for the template.

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.

NumCoresPerSocket

Gets or sets the number of cores per socket for the template. Defaults to 1 if unspecified.

NumCpUs

Gets or sets the number of vCPUs for the template.

OSName

Gets or sets os name.

OSType

Gets or sets the type of the os.

ProvisioningState

Gets the provisioning state.

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 VirtualMachineTemplateInventoryItem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineTemplateInventoryItem.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineTemplateInventoryItem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to