Class ProximityPlacementGroup
Specifies information about the proximity placement group.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class ProximityPlacementGroup : Microsoft.Azure.Management.Compute.Models.Resource
Constructors
ProximityPlacementGroup()
Initializes a new instance of the ProximityPlacementGroup class.
Declaration
public ProximityPlacementGroup ();
ProximityPlacementGroup(String, String, String, String, IDictionary<String,String>, String, IList<SubResource>, IList<SubResource>, IList<SubResource>)
Initializes a new instance of the ProximityPlacementGroup class.
Declaration
public ProximityPlacementGroup (string location, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, string proximityPlacementGroupType = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> virtualMachines = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> virtualMachineScaleSets = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> availabilitySets = null);
Parameters
|
String
location
Resource location |
|
String
id
Resource Id |
|
String
name
Resource name |
|
String
type
Resource type |
|
IDictionary<String,String>
tags
Resource tags |
|
String
proximityPlacementGroupType
Specifies the type of the proximity placement group. <br><br> Possible values are: <br><br> Standard : Co-locate resources within an Azure region or Availability Zone. <br><br> Ultra : For future use. Possible values include: 'Standard', 'Ultra' |
|
IList<SubResource>
virtualMachines
A list of references to all virtual machines in the proximity placement group. |
|
IList<SubResource>
virtualMachineScaleSets
A list of references to all virtual machine scale sets in the proximity placement group. |
|
IList<SubResource>
availabilitySets
A list of references to all availability sets in the proximity placement group. |
Properties
AvailabilitySets
Gets a list of references to all availability sets in the proximity placement group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.availabilitySets")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> AvailabilitySets { get; }
Property Value
|
IList<SubResource>
|
ProximityPlacementGroupType
Gets or sets specifies the type of the proximity placement group. <br><br> Possible values are: <br><br> Standard : Co-locate resources within an Azure region or Availability Zone. <br><br> Ultra : For future use. Possible values include: 'Standard', 'Ultra'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.proximityPlacementGroupType")]
public string ProximityPlacementGroupType { get; set; }
Property Value
|
String
|
VirtualMachines
Gets a list of references to all virtual machines in the proximity placement group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.virtualMachines")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> VirtualMachines { get; }
Property Value
|
IList<SubResource>
|
VirtualMachineScaleSets
Gets a list of references to all virtual machine scale sets in the proximity placement group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.virtualMachineScaleSets")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> VirtualMachineScaleSets { get; }
Property Value
|
IList<SubResource>
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |