Delen via


ProximityPlacementGroup Constructors

Definition

Overloads

ProximityPlacementGroup()

Initializes a new instance of the ProximityPlacementGroup class.

ProximityPlacementGroup(String, String, String, String, IDictionary<String, String>, String, IList<SubResourceWithColocationStatus>, IList<SubResourceWithColocationStatus>, IList<SubResourceWithColocationStatus>, InstanceViewStatus, ProximityPlacementGroupPropertiesIntent, IList<String>)

Initializes a new instance of the ProximityPlacementGroup class.

ProximityPlacementGroup()

Initializes a new instance of the ProximityPlacementGroup class.

public ProximityPlacementGroup ();
Public Sub New ()

Applies to

ProximityPlacementGroup(String, String, String, String, IDictionary<String, String>, String, IList<SubResourceWithColocationStatus>, IList<SubResourceWithColocationStatus>, IList<SubResourceWithColocationStatus>, InstanceViewStatus, ProximityPlacementGroupPropertiesIntent, IList<String>)

Initializes a new instance of the ProximityPlacementGroup class.

public ProximityPlacementGroup (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string proximityPlacementGroupType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus> virtualMachines = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus> virtualMachineScaleSets = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus> availabilitySets = default, Microsoft.Azure.Management.Compute.Models.InstanceViewStatus colocationStatus = default, Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroupPropertiesIntent intent = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus> * Microsoft.Azure.Management.Compute.Models.InstanceViewStatus * Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroupPropertiesIntent * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional proximityPlacementGroupType As String = Nothing, Optional virtualMachines As IList(Of SubResourceWithColocationStatus) = Nothing, Optional virtualMachineScaleSets As IList(Of SubResourceWithColocationStatus) = Nothing, Optional availabilitySets As IList(Of SubResourceWithColocationStatus) = Nothing, Optional colocationStatus As InstanceViewStatus = Nothing, Optional intent As ProximityPlacementGroupPropertiesIntent = Nothing, Optional zones As IList(Of String) = Nothing)

Parameters

location
String

Resource location

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

proximityPlacementGroupType
String

Specifies the type of the proximity placement group. Possible values are: Standard : Co-locate resources within an Azure region or Availability Zone. Ultra : For future use. Possible values include: 'Standard', 'Ultra'

virtualMachines
IList<SubResourceWithColocationStatus>

A list of references to all virtual machines in the proximity placement group.

virtualMachineScaleSets
IList<SubResourceWithColocationStatus>

A list of references to all virtual machine scale sets in the proximity placement group.

availabilitySets
IList<SubResourceWithColocationStatus>

A list of references to all availability sets in the proximity placement group.

colocationStatus
InstanceViewStatus

Describes colocation status of the Proximity Placement Group.

intent
ProximityPlacementGroupPropertiesIntent

Specifies the user intent of the proximity placement group.

zones
IList<String>

Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created.

Applies to