ArmComputeModelFactory.ProximityPlacementGroupData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, 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, System.Collections.Generic.IEnumerable<string> zones = default);
static member ProximityPlacementGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * 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> * 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 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, Optional zones As IEnumerable(Of String) = Nothing) As ProximityPlacementGroupData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
- location
- AzureLocation
The geo-location where the resource lives.
- 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 possible sizes of virtual machines that can be created in the proximity placement group.
- zones
- IEnumerable<String>
The availability zones.
Returns
A new ProximityPlacementGroupData instance for mocking.