你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineScaleSetVMProfile interface

描述虚拟机规模集虚拟机配置文件。

属性

applicationProfile

指定应提供给 VM/VMSS 的库应用程序

billingProfile

指定 Azure 现成 VMSS 的计费相关详细信息。 最低 API 版本:2019-03-01。

capacityReservation

指定规模集的容量预留相关详细信息。 最低 API 版本:2021-04-01。

diagnosticsProfile

指定启动诊断设置状态。 最低 API 版本:2015-06-15。

evictionPolicy

指定 Azure 现成虚拟机和 Azure Spot 规模集的逐出策略。 对于 Azure 现成虚拟机,支持“解除分配”和“删除”,最低 API 版本为 2019-03-01。 对于 Azure Spot 规模集,支持“Deallocate”和“Delete”,最低 API 版本为 2017-10-30-preview。

extensionProfile

指定规模集中虚拟机上安装的扩展的设置集合。

hardwareProfile

指定规模集的硬件配置文件相关详细信息。 最低 api 版本:2021-11-01。

licenseType

指定正在使用的映像或磁盘在本地获得许可。

Windows Server 操作系统的可能值为:

Windows_Client

Windows_Server

Linux Server 操作系统的可能值为:

RHEL_BYOS(适用于 RHEL)

SLES_BYOS(对于 SUSE)

有关详细信息,请参阅 Windows Server 的 Azure 混合使用权益

Linux Server 的 Azure 混合使用权益

最低 API 版本:2015-06-15

networkProfile

指定规模集中虚拟机网络接口的属性。

osProfile

指定规模集中虚拟机的操作系统设置。

priority

指定规模集中虚拟机的优先级。 最低 api 版本:2017-10-30-preview。

scheduledEventsProfile

指定与计划事件相关的配置。

securityPostureReference

指定要在规模集中使用的安全状况。 最低 API 版本:2023-03-01

securityProfile

指定规模集中虚拟机的安全相关配置文件设置。

serviceArtifactReference

指定使用“latest”映像版本时,用于为规模集中的所有虚拟机设置相同映像版本的服务项目引用 ID。 最低 API 版本:2022-11-01

storageProfile

指定虚拟机磁盘的存储设置。

timeCreated

指定创建虚拟机规模集的此 VM 配置文件的时间。 此属性的最低 API 版本为 2024-03-01。 在创建/更新具有最低 API 版本 2024-03-01 的 VMSS VM 配置文件时,此值将添加到 VMSS Flex VM 标记。 注意:此属性不会序列化。 它只能由服务器填充。

userData

规模集中虚拟机的 UserData,必须进行 base-64 编码。 客户不应在此处传递任何机密。 最低 API 版本:2021-03-01。

属性详细信息

applicationProfile

指定应提供给 VM/VMSS 的库应用程序

applicationProfile?: ApplicationProfile

属性值

billingProfile

指定 Azure 现成 VMSS 的计费相关详细信息。 最低 API 版本:2019-03-01。

billingProfile?: BillingProfile

属性值

capacityReservation

指定规模集的容量预留相关详细信息。 最低 API 版本:2021-04-01。

capacityReservation?: CapacityReservationProfile

属性值

diagnosticsProfile

指定启动诊断设置状态。 最低 API 版本:2015-06-15。

diagnosticsProfile?: DiagnosticsProfile

属性值

evictionPolicy

指定 Azure 现成虚拟机和 Azure Spot 规模集的逐出策略。 对于 Azure 现成虚拟机,支持“解除分配”和“删除”,最低 API 版本为 2019-03-01。 对于 Azure Spot 规模集,支持“Deallocate”和“Delete”,最低 API 版本为 2017-10-30-preview。

evictionPolicy?: string

属性值

string

extensionProfile

指定规模集中虚拟机上安装的扩展的设置集合。

extensionProfile?: VirtualMachineScaleSetExtensionProfile

属性值

hardwareProfile

指定规模集的硬件配置文件相关详细信息。 最低 api 版本:2021-11-01。

hardwareProfile?: VirtualMachineScaleSetHardwareProfile

属性值

licenseType

指定正在使用的映像或磁盘在本地获得许可。

Windows Server 操作系统的可能值为:

Windows_Client

Windows_Server

Linux Server 操作系统的可能值为:

RHEL_BYOS(适用于 RHEL)

SLES_BYOS(对于 SUSE)

有关详细信息,请参阅 Windows Server 的 Azure 混合使用权益

Linux Server 的 Azure 混合使用权益

最低 API 版本:2015-06-15

licenseType?: string

属性值

string

networkProfile

指定规模集中虚拟机网络接口的属性。

networkProfile?: VirtualMachineScaleSetNetworkProfile

属性值

osProfile

指定规模集中虚拟机的操作系统设置。

osProfile?: VirtualMachineScaleSetOSProfile

属性值

priority

指定规模集中虚拟机的优先级。 最低 api 版本:2017-10-30-preview。

priority?: string

属性值

string

scheduledEventsProfile

指定与计划事件相关的配置。

scheduledEventsProfile?: ScheduledEventsProfile

属性值

securityPostureReference

指定要在规模集中使用的安全状况。 最低 API 版本:2023-03-01

securityPostureReference?: SecurityPostureReference

属性值

securityProfile

指定规模集中虚拟机的安全相关配置文件设置。

securityProfile?: SecurityProfile

属性值

serviceArtifactReference

指定使用“latest”映像版本时,用于为规模集中的所有虚拟机设置相同映像版本的服务项目引用 ID。 最低 API 版本:2022-11-01

serviceArtifactReference?: ServiceArtifactReference

属性值

storageProfile

指定虚拟机磁盘的存储设置。

storageProfile?: VirtualMachineScaleSetStorageProfile

属性值

timeCreated

指定创建虚拟机规模集的此 VM 配置文件的时间。 此属性的最低 API 版本为 2024-03-01。 在创建/更新具有最低 API 版本 2024-03-01 的 VMSS VM 配置文件时,此值将添加到 VMSS Flex VM 标记。 注意:此属性不会序列化。 它只能由服务器填充。

timeCreated?: Date

属性值

Date

userData

规模集中虚拟机的 UserData,必须进行 base-64 编码。 客户不应在此处传递任何机密。 最低 API 版本:2021-03-01。

userData?: string

属性值

string