Share via


VirtualMachineTemplate Class

Definition

Define the virtualMachineTemplate.

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

Constructors

VirtualMachineTemplate()

Creates an new VirtualMachineTemplate instance.

Properties

CustomResourceName

Gets the name of the corresponding resource in Kubernetes.

Disk

Gets or sets the disks the template.

ExtendedLocationName

The extended location name.

ExtendedLocationType

The extended location type.

FirmwareType

Firmware type

FolderPath

Gets or sets the folder path of the template.

Id

Gets or sets the Id.

InventoryItemId

Gets or sets the inventory Item ID for the virtual machine template.

Kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Location

Gets or sets the location.

MemorySizeMb

Gets or sets memory size in MBs for the template.

MoName

Gets or sets the vCenter Managed Object name for the virtual machine template.

MoRefId

Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template.

Name

Gets or sets the name.

NetworkInterface

Gets or sets the network interfaces of the template.

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.

ResourceGroupName

Gets the resource group name

Statuses

The resource status information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Gets or sets the Resource tags.

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.

Type

Gets or sets the type of the resource.

Uuid

Gets or sets a unique identifier for this resource.

VCenterId

Gets or sets the ARM Id of the vCenter resource in which this template resides.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineTemplate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineTemplate.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineTemplate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to