你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DedicatedHostGroupInner 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DedicatedHostGroupInner() |
初始化 DedicatedHostGroupInner 类的新实例。 |
DedicatedHostGroupInner(String, Int32, String, String, String, IDictionary<String,String>, IList<SubResourceReadOnly>, DedicatedHostGroupInstanceView, Nullable<Boolean>, IList<String>) |
初始化 DedicatedHostGroupInner 类的新实例。 |
DedicatedHostGroupInner()
初始化 DedicatedHostGroupInner 类的新实例。
public DedicatedHostGroupInner ();
Public Sub New ()
适用于
DedicatedHostGroupInner(String, Int32, String, String, String, IDictionary<String,String>, IList<SubResourceReadOnly>, DedicatedHostGroupInstanceView, Nullable<Boolean>, IList<String>)
初始化 DedicatedHostGroupInner 类的新实例。
public DedicatedHostGroupInner (string location, int platformFaultDomainCount, string id = default, string name = default, string type = default, 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.DedicatedHostGroupInner : string * int * string * string * string * 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.DedicatedHostGroupInner
Public Sub New (location As String, platformFaultDomainCount As Integer, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, 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)
参数
- location
- String
- platformFaultDomainCount
- Int32
主机组可以跨越的容错域数。
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- hosts
- IList<SubResourceReadOnly>
对专用主机组中所有专用主机的引用列表。
- instanceView
- DedicatedHostGroupInstanceView
专用主机组实例视图,其中包含专用主机组下专用主机的实例视图列表。
指定虚拟机或虚拟机规模集是否可以自动放置在专用主机组上。 自动放置意味着资源在专用主机组下由 Azure 选择的专用主机上分配。 如果未提供该值,则该值默认为“true”。 <br><br>最低 api 版本:2020-06-01。
要用于此主机组的可用性区域。 仅支持单个区域。 只能在创建期间分配区域。 如果未提供,则组支持该区域中的所有区域。 如果提供,则强制组中的每个主机位于同一区域中。