ArmComputeModelFactory.ProximityPlacementGroupData Method

Definition

Initializes a new instance of ProximityPlacementGroupData.

public static Azure.ResourceManager.Compute.ProximityPlacementGroupData ProximityPlacementGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.Compute.Models.ProximityPlacementGroupType? proximityPlacementGroupType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeSubResourceDataWithColocationStatus> virtualMachines = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeSubResourceDataWithColocationStatus> virtualMachineScaleSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeSubResourceDataWithColocationStatus> availabilitySets = default, Azure.ResourceManager.Compute.Models.InstanceViewStatus colocationStatus = default, System.Collections.Generic.IEnumerable<string> intentVmSizes = default);
static member ProximityPlacementGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<string> * Nullable<Azure.ResourceManager.Compute.Models.ProximityPlacementGroupType> * seq<Azure.ResourceManager.Compute.Models.ComputeSubResourceDataWithColocationStatus> * seq<Azure.ResourceManager.Compute.Models.ComputeSubResourceDataWithColocationStatus> * seq<Azure.ResourceManager.Compute.Models.ComputeSubResourceDataWithColocationStatus> * Azure.ResourceManager.Compute.Models.InstanceViewStatus * seq<string> -> Azure.ResourceManager.Compute.ProximityPlacementGroupData
Public Shared Function ProximityPlacementGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional proximityPlacementGroupType As Nullable(Of ProximityPlacementGroupType) = Nothing, Optional virtualMachines As IEnumerable(Of ComputeSubResourceDataWithColocationStatus) = Nothing, Optional virtualMachineScaleSets As IEnumerable(Of ComputeSubResourceDataWithColocationStatus) = Nothing, Optional availabilitySets As IEnumerable(Of ComputeSubResourceDataWithColocationStatus) = Nothing, Optional colocationStatus As InstanceViewStatus = Nothing, Optional intentVmSizes As IEnumerable(Of String) = Nothing) As ProximityPlacementGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

zones
IEnumerable<String>

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

proximityPlacementGroupType
Nullable<ProximityPlacementGroupType>

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.

virtualMachines
IEnumerable<ComputeSubResourceDataWithColocationStatus>

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

virtualMachineScaleSets
IEnumerable<ComputeSubResourceDataWithColocationStatus>

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

availabilitySets
IEnumerable<ComputeSubResourceDataWithColocationStatus>

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

colocationStatus
InstanceViewStatus

Describes colocation status of the Proximity Placement Group.

intentVmSizes
IEnumerable<String>

Specifies the user intent of the proximity placement group.

Returns

A new ProximityPlacementGroupData instance for mocking.

Applies to