Skip to content

Commit cb78f10

Browse files
Merge pull request #211165 from ShivapriyaGujjarlapudi/patch-10
Update proximity-placement-groups.md
2 parents a787828 + b5924cc commit cb78f10

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

articles/virtual-machines/windows/proximity-placement-groups.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,37 @@ Create a proximity placement group using the [New-AzProximityPlacementGroup](/po
2828
$resourceGroup = "myPPGResourceGroup"
2929
$location = "East US"
3030
$ppgName = "myPPG"
31+
$zone = "1"
32+
$vmSize1 = "Standard_E64s_v4"
33+
$vmSize2 = "Standard_M416ms_v2"
3134
New-AzResourceGroup -Name $resourceGroup -Location $location
3235
$ppg = New-AzProximityPlacementGroup `
3336
-Location $location `
3437
-Name $ppgName `
3538
-ResourceGroupName $resourceGroup `
3639
-ProximityPlacementGroupType Standard
40+
-Zone $zone
41+
-IntentVMSizeList $vmSize1, $vmSize2
3742
```
3843

3944
## List proximity placement groups
4045

4146
You can list all of the proximity placement groups using the [Get-AzProximityPlacementGroup](/powershell/module/az.compute/get-azproximityplacementgroup) cmdlet.
4247

4348
```azurepowershell-interactive
44-
Get-AzProximityPlacementGroup
49+
Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroup -Name $ppgName
50+
51+
ResourceGroupName : myPPGResourceGroup
52+
ProximityPlacementGroupType : Standard
53+
Id : /subscriptions/[subscriptionId]/resourceGroups/myPPGResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myPPG
54+
Name : myPPG
55+
Type : Microsoft.Compute/proximityPlacementGroups
56+
Location : eastus
57+
Tags : {}
58+
Intent :
59+
VmSizes[0] : Standard_E64s_v4
60+
VmSizes[1] : Standard_M416ms_v2
61+
Zones[0] : 1
4562
```
4663

4764

0 commit comments

Comments
 (0)