/// <summary>
 /// Initializes a new instance of the DedicatedHostGroupUpdate class.
 /// </summary>
 /// <param name="platformFaultDomainCount">Number of fault domains that
 /// the host group can span.</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="hosts">A list of references to all dedicated hosts in
 /// the dedicated host group.</param>
 /// <param name="instanceView">The dedicated host group instance view,
 /// which has the list of instance view of the dedicated hosts under
 /// the dedicated host group.</param>
 /// <param name="supportAutomaticPlacement">Specifies whether virtual
 /// machines or virtual machine scale sets can be placed automatically
 /// on the dedicated host group. Automatic placement means resources
 /// are allocated on dedicated hosts, that are chosen by Azure, under
 /// the dedicated host group. The value is defaulted to 'true' when not
 /// provided. &lt;br&gt;&lt;br&gt;Minimum api-version:
 /// 2020-06-01.</param>
 /// <param name="zones">Availability Zone to use for this host group.
 /// Only single zone is supported. The zone can be assigned only during
 /// creation. If not provided, the group supports all zones in the
 /// region. If provided, enforces each host in the group to be in the
 /// same zone.</param>
 public DedicatedHostGroupUpdate(int platformFaultDomainCount, IDictionary <string, string> tags = default(IDictionary <string, string>), IList <SubResourceReadOnly> hosts = default(IList <SubResourceReadOnly>), DedicatedHostGroupInstanceView instanceView = default(DedicatedHostGroupInstanceView), bool?supportAutomaticPlacement = default(bool?), IList <string> zones = default(IList <string>))
     : base(tags)
 {
     PlatformFaultDomainCount = platformFaultDomainCount;
     Hosts        = hosts;
     InstanceView = instanceView;
     SupportAutomaticPlacement = supportAutomaticPlacement;
     Zones = zones;
     CustomInit();
 }
 public DedicatedHostGroup(string location, int platformFaultDomainCount, string id, string name, string type, IDictionary <string, string> tags, IList <SubResourceReadOnly> hosts, DedicatedHostGroupInstanceView instanceView, bool?supportAutomaticPlacement, IList <string> zones)
     : base(location, id, name, type, tags)
 {
     PlatformFaultDomainCount = platformFaultDomainCount;
     Hosts        = hosts;
     InstanceView = instanceView;
     SupportAutomaticPlacement = supportAutomaticPlacement;
     Zones = zones;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DedicatedHostGroup class.
 /// </summary>
 /// <param name="location">Resource location</param>
 /// <param name="platformFaultDomainCount">Number of fault domains that
 /// the host group can span.</param>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="hosts">A list of references to all dedicated hosts in
 /// the dedicated host group.</param>
 /// <param name="instanceView">The dedicated host group instance view,
 /// which has the list of instance view of the dedicated hosts under
 /// the dedicated host group.</param>
 /// <param name="supportAutomaticPlacement">Specifies whether virtual
 /// machines or virtual machine scale sets can be placed automatically
 /// on the dedicated host group. Automatic placement means resources
 /// are allocated on dedicated hosts, that are chosen by Azure, under
 /// the dedicated host group. The value is defaulted to 'false' when
 /// not provided. &lt;br&gt;&lt;br&gt;Minimum api-version:
 /// 2020-06-01.</param>
 /// <param name="additionalCapabilities">Enables or disables a
 /// capability on the dedicated host group.&lt;br&gt;&lt;br&gt;Minimum
 /// api-version: 2022-03-01.</param>
 /// <param name="zones">Availability Zone to use for this host group.
 /// Only single zone is supported. The zone can be assigned only during
 /// creation. If not provided, the group supports all zones in the
 /// region. If provided, enforces each host in the group to be in the
 /// same zone.</param>
 public DedicatedHostGroup(string location, int platformFaultDomainCount, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <SubResourceReadOnly> hosts = default(IList <SubResourceReadOnly>), DedicatedHostGroupInstanceView instanceView = default(DedicatedHostGroupInstanceView), bool?supportAutomaticPlacement = default(bool?), DedicatedHostGroupPropertiesAdditionalCapabilities additionalCapabilities = default(DedicatedHostGroupPropertiesAdditionalCapabilities), IList <string> zones = default(IList <string>))
     : base(location, id, name, type, tags)
 {
     PlatformFaultDomainCount = platformFaultDomainCount;
     Hosts        = hosts;
     InstanceView = instanceView;
     SupportAutomaticPlacement = supportAutomaticPlacement;
     AdditionalCapabilities    = additionalCapabilities;
     Zones = zones;
     CustomInit();
 }