你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineScaleSetVMProfile 类
描述虚拟机规模集虚拟机配置文件。
- 继承
-
azure.mgmt.compute._serialization.ModelVirtualMachineScaleSetVMProfile
构造函数
VirtualMachineScaleSetVMProfile(*, os_profile: _models.VirtualMachineScaleSetOSProfile | None = None, storage_profile: _models.VirtualMachineScaleSetStorageProfile | None = None, network_profile: _models.VirtualMachineScaleSetNetworkProfile | None = None, diagnostics_profile: _models.DiagnosticsProfile | None = None, extension_profile: _models.VirtualMachineScaleSetExtensionProfile | None = None, license_type: str | None = None, priority: str | _models.VirtualMachinePriorityTypes | None = None, eviction_policy: str | _models.VirtualMachineEvictionPolicyTypes | None = None, billing_profile: _models.BillingProfile | None = None, scheduled_events_profile: _models.ScheduledEventsProfile | None = None, **kwargs: Any)
Keyword-Only Parameters
- os_profile
- VirtualMachineScaleSetOSProfile
指定规模集中虚拟机的操作系统设置。
- storage_profile
- VirtualMachineScaleSetStorageProfile
指定虚拟机磁盘的存储设置。
- network_profile
- VirtualMachineScaleSetNetworkProfile
指定规模集中虚拟机网络接口的属性。
- diagnostics_profile
- DiagnosticsProfile
指定启动诊断设置状态。
<br>
:code:>><<<br>
最低 api-version:2015-06-15。
- extension_profile
- VirtualMachineScaleSetExtensionProfile
为规模集中的虚拟机上安装的扩展指定设置的集合。
- license_type
- str
指定正在使用的映像或磁盘在本地获得许可。 此元素仅用于包含 Windows Server 操作系统的映像。 <br>``<br>
可能的值为: <br>``<br>
Windows_Client <br>``<br>
Windows_Server <br>``<br>
如果此元素包含在更新请求中,则该值必须与初始值匹配。 无法更新此值。
<br>``<br>
有关详细信息,请参阅适用于 Windows Server <br>``<br>
的 Azure 混合使用权益最低 API 版本:2015-06-15。
- priority
- str 或 VirtualMachinePriorityTypes
指定规模集中虚拟机的优先级。
<br>
:code:>><<<br>
最低 api-version:2017-10-30-preview。 已知值为:“Regular”、“Low”和“Spot”。
- eviction_policy
- str 或 VirtualMachineEvictionPolicyTypes
指定 Azure 现成虚拟机和 Azure 现成规模集的逐出策略。 <br>``<br>
对于 Azure 现成虚拟机,唯一受支持的值为“Deallocate”,最低 api 版本为 2019-03-01。
:code:<br>
:code:>><<<br>
对于 Azure 现成规模集,支持“Deallocate”和“Delete”,最低 api 版本为 2017-10-30-preview。 已知值为:“Deallocate”和“Delete”。
- billing_profile
- BillingProfile
指定 Azure 现成 VMSS 的计费相关详细信息。
<br>
:code:>><<<br>
Minimum api-version: 2019-03-01。
- scheduled_events_profile
- ScheduledEventsProfile
指定与计划事件相关的配置。
变量
- os_profile
- VirtualMachineScaleSetOSProfile
指定规模集中虚拟机的操作系统设置。
- storage_profile
- VirtualMachineScaleSetStorageProfile
指定虚拟机磁盘的存储设置。
- network_profile
- VirtualMachineScaleSetNetworkProfile
指定规模集中虚拟机网络接口的属性。
- diagnostics_profile
- DiagnosticsProfile
指定启动诊断设置状态。
<br>
:code:>><<<br>
最低 api-version:2015-06-15。
- extension_profile
- VirtualMachineScaleSetExtensionProfile
为规模集中的虚拟机上安装的扩展指定设置的集合。
- license_type
- str
指定正在使用的映像或磁盘在本地获得许可。 此元素仅用于包含 Windows Server 操作系统的映像。 <br>``<br>
可能的值为: <br>``<br>
Windows_Client <br>``<br>
Windows_Server <br>``<br>
如果此元素包含在更新请求中,则该值必须与初始值匹配。 无法更新此值。
<br>``<br>
有关详细信息,请参阅适用于 Windows Server <br>``<br>
的 Azure 混合使用权益最低 API 版本:2015-06-15。
- priority
- str 或 VirtualMachinePriorityTypes
指定规模集中虚拟机的优先级。
<br>
:code:>><<<br>
最低 api-version:2017-10-30-preview。 已知值为:“Regular”、“Low”和“Spot”。
- eviction_policy
- str 或 VirtualMachineEvictionPolicyTypes
指定 Azure 现成虚拟机和 Azure 现成规模集的逐出策略。 <br>``<br>
对于 Azure 现成虚拟机,唯一受支持的值为“Deallocate”,最低 api 版本为 2019-03-01。
:code:<br>
:code:>><<<br>
对于 Azure 现成规模集,支持“Deallocate”和“Delete”,最低 api 版本为 2017-10-30-preview。 已知值为:“Deallocate”和“Delete”。
- billing_profile
- BillingProfile
指定 Azure 现成 VMSS 的计费相关详细信息。
<br>
:code:>><<<br>
Minimum api-version: 2019-03-01。
- scheduled_events_profile
- ScheduledEventsProfile
指定与计划事件相关的配置。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈