你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineTemplate interface
虚拟机模板模型
属性
amount |
内存量 |
controllers | 虚拟磁盘控制器列表 |
description | 虚拟机模板的说明 |
disks | 虚拟磁盘列表 |
expose |
是否公开来宾 OS |
guestOS | 来宾 OS 注意:此属性不会序列化。 它只能由服务器填充。 |
guest |
来宾 OS 类型 注意:此属性不会序列化。 它只能由服务器填充。 |
id | 虚拟机模板 ID (privateCloudId:vsphereId) 注意:此属性不会序列化。 它只能由服务器填充。 |
location | Azure 区域 |
name | {virtualMachineTemplateName}注意:此属性不会序列化。 它只能由服务器填充。 |
nics | 虚拟 NIC 列表 |
number |
CPU 核心数 |
path | 文件夹的路径 |
private |
私有云 ID |
type | {resourceProviderNamespace}/{resourceType} 注意:此属性不会序列化。 它只能由服务器填充。 |
vmwaretools | VMware 工具版本 注意:此属性不会序列化。 它只能由服务器填充。 |
v |
VSphere 网络列表 |
v |
来自 VSphere 的标记 |
属性详细信息
amountOfRam
内存量
amountOfRam?: number
属性值
number
controllers
description
虚拟机模板的说明
description?: string
属性值
string
disks
exposeToGuestVM
是否公开来宾 OS
exposeToGuestVM?: boolean
属性值
boolean
guestOS
来宾 OS 注意:此属性不会序列化。 它只能由服务器填充。
guestOS?: string
属性值
string
guestOSType
来宾 OS 类型 注意:此属性不会序列化。 它只能由服务器填充。
guestOSType?: string
属性值
string
id
虚拟机模板 ID (privateCloudId:vsphereId) 注意:此属性不会序列化。 它只能由服务器填充。
id?: string
属性值
string
location
Azure 区域
location?: string
属性值
string
name
{virtualMachineTemplateName}注意:此属性不会序列化。 它只能由服务器填充。
name?: string
属性值
string
nics
numberOfCores
CPU 核心数
numberOfCores?: number
属性值
number
path
文件夹的路径
path?: string
属性值
string
privateCloudId
私有云 ID
privateCloudId?: string
属性值
string
type
{resourceProviderNamespace}/{resourceType} 注意:此属性不会序列化。 它只能由服务器填充。
type?: string
属性值
string
vmwaretools
VMware 工具版本 注意:此属性不会序列化。 它只能由服务器填充。
vmwaretools?: string
属性值
string
vSphereNetworks
VSphere 网络列表
vSphereNetworks?: string[]
属性值
string[]
vSphereTags
来自 VSphere 的标记
vSphereTags?: string[]
属性值
string[]