Partager via


ScVmmVirtualMachineTemplateData Class

Definition

A class representing the ScVmmVirtualMachineTemplate data model. The VirtualMachineTemplates resource definition.

public class ScVmmVirtualMachineTemplateData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateData>
type ScVmmVirtualMachineTemplateData = class
    inherit TrackedResourceData
    interface IJsonModel<ScVmmVirtualMachineTemplateData>
    interface IPersistableModel<ScVmmVirtualMachineTemplateData>
Public Class ScVmmVirtualMachineTemplateData
Inherits TrackedResourceData
Implements IJsonModel(Of ScVmmVirtualMachineTemplateData), IPersistableModel(Of ScVmmVirtualMachineTemplateData)
Inheritance
ScVmmVirtualMachineTemplateData
Implements

Constructors

ScVmmVirtualMachineTemplateData(AzureLocation, ExtendedLocation)

Initializes a new instance of ScVmmVirtualMachineTemplateData.

Properties

ComputerName

Gets computer name.

CpuCount

Gets the desired number of vCPUs for the vm.

Disks

Gets the disks of the template.

DynamicMemoryEnabled

Gets a value indicating whether to enable dynamic memory or not.

DynamicMemoryMaxMB

Gets the max dynamic memory for the vm.

DynamicMemoryMinMB

Gets the min dynamic memory for the vm.

ExtendedLocation

The extended location.

Generation

Gets the generation for the vm.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
InventoryItemId

Gets or sets the inventory Item ID for the resource.

IsCustomizable

Gets a value indicating whether the vm template is customizable or not.

IsHighlyAvailable

Gets highly available property.

LimitCpuForMigration

Gets a value indicating whether to enable processor compatibility mode for live migration of VMs.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MemoryMB

MemoryMB is the desired size of a virtual machine's memory, in MB.

Name

The name of the resource.

(Inherited from ResourceData)
NetworkInterfaces

Gets the network interfaces of the template.

OSName

Gets os name.

OSType

Gets the type of the os.

ProvisioningState

Provisioning state of the resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
Uuid

Unique ID of the virtual machine template.

VmmServerId

ARM Id of the vmmServer resource in which this resource resides.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ScVmmVirtualMachineTemplateData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ScVmmVirtualMachineTemplateData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmVirtualMachineTemplateData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScVmmVirtualMachineTemplateData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ScVmmVirtualMachineTemplateData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to