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

DedicatedHostGroupUpdate 构造函数

定义

重载

DedicatedHostGroupUpdate()

初始化 DedicatedHostGroupUpdate 类的新实例。

DedicatedHostGroupUpdate(Int32, IDictionary<String,String>, IList<SubResourceReadOnly>, DedicatedHostGroupInstanceView, Nullable<Boolean>, IList<String>)

初始化 DedicatedHostGroupUpdate 类的新实例。

DedicatedHostGroupUpdate()

初始化 DedicatedHostGroupUpdate 类的新实例。

public DedicatedHostGroupUpdate ();
Public Sub New ()

适用于

DedicatedHostGroupUpdate(Int32, IDictionary<String,String>, IList<SubResourceReadOnly>, DedicatedHostGroupInstanceView, Nullable<Boolean>, IList<String>)

初始化 DedicatedHostGroupUpdate 类的新实例。

public DedicatedHostGroupUpdate (int platformFaultDomainCount, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.SubResourceReadOnly> hosts = default, Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInstanceView instanceView = default, bool? supportAutomaticPlacement = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupUpdate : int * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.SubResourceReadOnly> * Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInstanceView * Nullable<bool> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupUpdate
Public Sub New (platformFaultDomainCount As Integer, Optional tags As IDictionary(Of String, String) = Nothing, Optional hosts As IList(Of SubResourceReadOnly) = Nothing, Optional instanceView As DedicatedHostGroupInstanceView = Nothing, Optional supportAutomaticPlacement As Nullable(Of Boolean) = Nothing, Optional zones As IList(Of String) = Nothing)

参数

platformFaultDomainCount
Int32

主机组可以跨越的容错域数。

tags
IDictionary<String,String>

资源标记

hosts
IList<SubResourceReadOnly>

对专用主机组中所有专用主机的引用列表。

instanceView
DedicatedHostGroupInstanceView

专用主机组实例视图,其中包含专用主机组下专用主机的实例视图列表。

supportAutomaticPlacement
Nullable<Boolean>

指定是否可以自动将虚拟机或虚拟机规模集放置在专用主机组上。 自动放置意味着在专用主机组下由 Azure 选择的专用主机上分配资源。 如果未提供该值,该值默认为“true”。 <br><br>最低 api-version:2020-06-01。

zones
IList<String>

要用于此主机组的可用性区域。 仅支持单个区域。 只能在创建期间分配区域。 如果未提供,则组支持该区域中的所有区域。 如果提供,则强制组中的每个主机位于同一区域。

适用于