Class DedicatedHostGroup
Specifies information about the dedicated host group that the dedicated hosts should be assigned to. <br><br> Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class DedicatedHostGroup : Microsoft.Azure.Management.Compute.Models.Resource
Constructors
DedicatedHostGroup()
Initializes a new instance of the DedicatedHostGroup class.
Declaration
public DedicatedHostGroup ();
DedicatedHostGroup(String, Int32, String, String, String, IDictionary<String,String>, IList<SubResourceReadOnly>, IList<String>)
Initializes a new instance of the DedicatedHostGroup class.
Declaration
public DedicatedHostGroup (string location, int platformFaultDomainCount, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> hosts = null, System.Collections.Generic.IList<string> zones = null);
Parameters
|
String
location
Resource location |
|
Int32
platformFaultDomainCount
Number of fault domains that the host group can span. |
|
String
id
Resource Id |
|
String
name
Resource name |
|
String
type
Resource type |
|
IDictionary<String,String>
tags
Resource tags |
|
IList<SubResourceReadOnly>
hosts
A list of references to all dedicated hosts in the dedicated host group. |
|
IList<String>
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. |
Properties
Hosts
Gets a list of references to all dedicated hosts in the dedicated host group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.hosts")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> Hosts { get; }
Property Value
|
IList<SubResourceReadOnly>
|
PlatformFaultDomainCount
Gets or sets number of fault domains that the host group can span.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.platformFaultDomainCount")]
public int PlatformFaultDomainCount { get; set; }
Property Value
|
Int32
|
Zones
Gets or sets 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.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="zones")]
public System.Collections.Generic.IList<string> Zones { get; set; }
Property Value
|
IList<String>
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |