共用方式為


ArmArcScVmmModelFactory.ScVmmVirtualMachineTemplateData Method

Definition

Initializes a new instance of ScVmmVirtualMachineTemplateData.

public static Azure.ResourceManager.ArcScVmm.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, string vmmServerId = default, Azure.ResourceManager.ArcScVmm.Models.OSType? osType = default, string osName = default, string computerName = default, int? memoryMB = default, int? cpuCount = default, Azure.ResourceManager.ArcScVmm.Models.LimitCpuForMigration? limitCpuForMigration = default, Azure.ResourceManager.ArcScVmm.Models.DynamicMemoryEnabled? dynamicMemoryEnabled = default, Azure.ResourceManager.ArcScVmm.Models.IsCustomizable? isCustomizable = default, int? dynamicMemoryMaxMB = default, int? dynamicMemoryMinMB = default, string isHighlyAvailable = default, int? generation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ArcScVmm.Models.NetworkInterfaces> networkInterfaces = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ArcScVmm.Models.VirtualDisk> disks = default, string 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 * string * Nullable<Azure.ResourceManager.ArcScVmm.Models.OSType> * string * string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ArcScVmm.Models.LimitCpuForMigration> * Nullable<Azure.ResourceManager.ArcScVmm.Models.DynamicMemoryEnabled> * Nullable<Azure.ResourceManager.ArcScVmm.Models.IsCustomizable> * Nullable<int> * Nullable<int> * string * Nullable<int> * seq<Azure.ResourceManager.ArcScVmm.Models.NetworkInterfaces> * seq<Azure.ResourceManager.ArcScVmm.Models.VirtualDisk> * string -> Azure.ResourceManager.ArcScVmm.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 String = Nothing, Optional osType As Nullable(Of OSType) = 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 String = Nothing, Optional generation As Nullable(Of Integer) = Nothing, Optional networkInterfaces As IEnumerable(Of NetworkInterfaces) = Nothing, Optional disks As IEnumerable(Of VirtualDisk) = Nothing, Optional provisioningState As String = 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
String

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

osType
Nullable<OSType>

Gets or sets the type of the os.

osName
String

Gets or sets os name.

computerName
String

Gets or sets computer name.

memoryMB
Nullable<Int32>

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

cpuCount
Nullable<Int32>

Gets or sets the desired number of vCPUs for the vm.

limitCpuForMigration
Nullable<LimitCpuForMigration>

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

dynamicMemoryEnabled
Nullable<DynamicMemoryEnabled>

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

isCustomizable
Nullable<IsCustomizable>

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

dynamicMemoryMaxMB
Nullable<Int32>

Gets or sets the max dynamic memory for the vm.

dynamicMemoryMinMB
Nullable<Int32>

Gets or sets the min dynamic memory for the vm.

isHighlyAvailable
String

Gets highly available property.

generation
Nullable<Int32>

Gets or sets the generation for the vm.

networkInterfaces
IEnumerable<NetworkInterfaces>

Gets or sets the network interfaces of the template.

disks
IEnumerable<VirtualDisk>

Gets or sets the disks of the template.

provisioningState
String

Gets or sets the provisioning state.

Returns

A new ScVmmVirtualMachineTemplateData instance for mocking.

Applies to