Freigeben über


ArmScVmmModelFactory.ScVmmVirtualMachineTemplateData Method

Definition

Initializes a new instance of ScVmmVirtualMachineTemplateData.

public static Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateData ScVmmVirtualMachineTemplateData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, string inventoryItemId = default, string uuid = default, Azure.Core.ResourceIdentifier vmmServerId = default, Azure.ResourceManager.ScVmm.Models.ScVmmOSType? osType = default, string osName = default, string computerName = default, int? memoryMB = default, int? cpuCount = default, Azure.ResourceManager.ScVmm.Models.LimitCpuForMigration? limitCpuForMigration = default, Azure.ResourceManager.ScVmm.Models.DynamicMemoryEnabled? dynamicMemoryEnabled = default, Azure.ResourceManager.ScVmm.Models.IsCustomizable? isCustomizable = default, int? dynamicMemoryMaxMB = default, int? dynamicMemoryMinMB = default, Azure.ResourceManager.ScVmm.Models.IsHighlyAvailable? isHighlyAvailable = default, int? generation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmNetworkInterface> networkInterfaces = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk> disks = default, Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState? provisioningState = default);
static member ScVmmVirtualMachineTemplateData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Resources.Models.ExtendedLocation * string * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmOSType> * string * string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ScVmm.Models.LimitCpuForMigration> * Nullable<Azure.ResourceManager.ScVmm.Models.DynamicMemoryEnabled> * Nullable<Azure.ResourceManager.ScVmm.Models.IsCustomizable> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ScVmm.Models.IsHighlyAvailable> * Nullable<int> * seq<Azure.ResourceManager.ScVmm.Models.ScVmmNetworkInterface> * seq<Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk> * Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> -> Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateData
Public Shared Function ScVmmVirtualMachineTemplateData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional inventoryItemId As String = Nothing, Optional uuid As String = Nothing, Optional vmmServerId As ResourceIdentifier = Nothing, Optional osType As Nullable(Of ScVmmOSType) = Nothing, Optional osName As String = Nothing, Optional computerName As String = Nothing, Optional memoryMB As Nullable(Of Integer) = Nothing, Optional cpuCount As Nullable(Of Integer) = Nothing, Optional limitCpuForMigration As Nullable(Of LimitCpuForMigration) = Nothing, Optional dynamicMemoryEnabled As Nullable(Of DynamicMemoryEnabled) = Nothing, Optional isCustomizable As Nullable(Of IsCustomizable) = Nothing, Optional dynamicMemoryMaxMB As Nullable(Of Integer) = Nothing, Optional dynamicMemoryMinMB As Nullable(Of Integer) = Nothing, Optional isHighlyAvailable As Nullable(Of IsHighlyAvailable) = Nothing, Optional generation As Nullable(Of Integer) = Nothing, Optional networkInterfaces As IEnumerable(Of ScVmmNetworkInterface) = Nothing, Optional disks As IEnumerable(Of ScVmmVirtualDisk) = Nothing, Optional provisioningState As Nullable(Of ScVmmProvisioningState) = Nothing) As ScVmmVirtualMachineTemplateData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

extendedLocation
ExtendedLocation

The extended location.

inventoryItemId
String

Gets or sets the inventory Item ID for the resource.

uuid
String

Unique ID of the virtual machine template.

vmmServerId
ResourceIdentifier

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

osType
Nullable<ScVmmOSType>

Gets the type of the os.

osName
String

Gets os name.

computerName
String

Gets computer name.

memoryMB
Nullable<Int32>

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

cpuCount
Nullable<Int32>

Gets the desired number of vCPUs for the vm.

limitCpuForMigration
Nullable<LimitCpuForMigration>

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

dynamicMemoryEnabled
Nullable<DynamicMemoryEnabled>

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

isCustomizable
Nullable<IsCustomizable>

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

dynamicMemoryMaxMB
Nullable<Int32>

Gets the max dynamic memory for the vm.

dynamicMemoryMinMB
Nullable<Int32>

Gets the min dynamic memory for the vm.

isHighlyAvailable
Nullable<IsHighlyAvailable>

Gets highly available property.

generation
Nullable<Int32>

Gets the generation for the vm.

networkInterfaces
IEnumerable<ScVmmNetworkInterface>

Gets the network interfaces of the template.

disks
IEnumerable<ScVmmVirtualDisk>

Gets the disks of the template.

provisioningState
Nullable<ScVmmProvisioningState>

Provisioning state of the resource.

Returns

A new ScVmmVirtualMachineTemplateData instance for mocking.

Applies to