Compartir a través de


ArmConnectedVMwarevSphereModelFactory.VMwareVmTemplateData Method

Definition

Initializes a new instance of VMwareVmTemplateData.

public static Azure.ResourceManager.ConnectedVMwarevSphere.VMwareVmTemplateData VMwareVmTemplateData (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 kind = default, string uuid = default, string vCenterId = default, string moRefId = default, string inventoryItemId = default, string moName = default, int? memorySizeMB = default, int? numCpus = default, int? numCoresPerSocket = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareOSType? osType = default, string osName = default, string folderPath = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareNetworkInterface> networkInterfaces = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareVirtualDisk> disks = default, string customResourceName = default, string toolsVersionStatus = default, string toolsVersion = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareFirmwareType? firmwareType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareResourceStatus> statuses = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareResourceProvisioningState? provisioningState = default);
static member VMwareVmTemplateData : 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 * string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareOSType> * string * string * seq<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareNetworkInterface> * seq<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareVirtualDisk> * string * string * string * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareFirmwareType> * seq<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareResourceStatus> * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareResourceProvisioningState> -> Azure.ResourceManager.ConnectedVMwarevSphere.VMwareVmTemplateData
Public Shared Function VMwareVmTemplateData (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 kind As String = Nothing, Optional uuid As String = Nothing, Optional vCenterId As String = Nothing, Optional moRefId As String = Nothing, Optional inventoryItemId As String = Nothing, Optional moName As String = Nothing, Optional memorySizeMB As Nullable(Of Integer) = Nothing, Optional numCpus As Nullable(Of Integer) = Nothing, Optional numCoresPerSocket As Nullable(Of Integer) = Nothing, Optional osType As Nullable(Of VMwareOSType) = Nothing, Optional osName As String = Nothing, Optional folderPath As String = Nothing, Optional networkInterfaces As IEnumerable(Of VMwareNetworkInterface) = Nothing, Optional disks As IEnumerable(Of VMwareVirtualDisk) = Nothing, Optional customResourceName As String = Nothing, Optional toolsVersionStatus As String = Nothing, Optional toolsVersion As String = Nothing, Optional firmwareType As Nullable(Of VMwareFirmwareType) = Nothing, Optional statuses As IEnumerable(Of VMwareResourceStatus) = Nothing, Optional provisioningState As Nullable(Of VMwareResourceProvisioningState) = Nothing) As VMwareVmTemplateData

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

Gets or sets the extended location.

kind
String

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.

uuid
String

Gets or sets a unique identifier for this resource.

vCenterId
String

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

moRefId
String

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

inventoryItemId
String

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

moName
String

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

memorySizeMB
Nullable<Int32>

Gets or sets memory size in MBs for the template.

numCpus
Nullable<Int32>

Gets or sets the number of vCPUs for the template.

numCoresPerSocket
Nullable<Int32>

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

osType
Nullable<VMwareOSType>

Gets or sets the type of the os.

osName
String

Gets or sets os name.

folderPath
String

Gets or sets the folder path of the template.

networkInterfaces
IEnumerable<VMwareNetworkInterface>

Gets or sets the network interfaces of the template.

disks
IEnumerable<VMwareVirtualDisk>

Gets or sets the disks the template.

customResourceName
String

Gets the name of the corresponding resource in Kubernetes.

toolsVersionStatus
String

Gets or sets the current version status of VMware Tools installed in the guest operating system.

toolsVersion
String

Gets or sets the current version of VMware Tools.

firmwareType
Nullable<VMwareFirmwareType>

Firmware type.

statuses
IEnumerable<VMwareResourceStatus>

The resource status information.

provisioningState
Nullable<VMwareResourceProvisioningState>

Gets the provisioning state.

Returns

A new VMwareVmTemplateData instance for mocking.

Applies to