Skip to content

Commit c5e6585

Browse files
authored
Merge pull request #211163 from ShivapriyaGujjarlapudi/patch-9
Update proximity-placement-groups.md
2 parents 7ab08bb + 2c3414b commit c5e6585

File tree

1 file changed

+35
-5
lines changed

1 file changed

+35
-5
lines changed

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

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ A proximity placement group is a logical grouping used to make sure that Azure c
2424
Create a proximity placement group using [`az ppg create`](/cli/azure/ppg#az-ppg-create).
2525

2626
```azurecli-interactive
27-
az group create --name myPPGGroup --location westus
27+
az group create --name myPPGGroup --location eastus
2828
az ppg create \
2929
-n myPPG \
3030
-g myPPGGroup \
31-
-l westus \
31+
-l eastus \
3232
-t standard
33+
--intent-vm-sizes Standard_E64s_v4 Standard_M416ms_v2 \
34+
-z 1
3335
```
3436

3537
## List proximity placement groups
@@ -39,6 +41,34 @@ You can list all of your proximity placement groups using [az ppg list](/cli/azu
3941
```azurecli-interactive
4042
az ppg list -o table
4143
```
44+
## Show proximity placement group
45+
46+
You can see the proximity placement group details and resources using [az ppg show](/cli/azure/ppg#az-ppg-show)
47+
48+
```azurecli-interactive
49+
az ppg show --name myPPG --resource-group myPPGGroup
50+
{  "availabilitySets": [],  
51+
"colocationStatus": null,  
52+
"id": "/subscriptions/[subscriptionId]/resourceGroups/myPPGGroup/providers/Microsoft.Compute/proximityPlacementGroups/MyPPG",  
53+
"intent": {    
54+
"vmSizes": [      
55+
"Standard_E64s_v4",      
56+
"Standard_M416ms_v2"    
57+
]  
58+
},  
59+
"location": "eastus",  
60+
"name": "MyPPG",  
61+
"proximityPlacementGroupType": "Standard",  
62+
"resourceGroup": "myPPGGroup",  
63+
"tags": {},  
64+
"type": "Microsoft.Compute/proximityPlacementGroups",  
65+
"virtualMachineScaleSets": [],  
66+
"virtualMachines": [],  
67+
"zones": [    
68+
"1" 
69+
]
70+
}
71+
```
4272

4373
## Create a VM
4474

@@ -51,8 +81,8 @@ az vm create \
5181
--image UbuntuLTS \
5282
--ppg myPPG \
5383
--generate-ssh-keys \
54-
--size Standard_D1_v2 \
55-
-l westus
84+
--size Standard_E64s_v4 \
85+
-l eastus
5686
```
5787

5888
You can see the VM in the proximity placement group using [az ppg show](/cli/azure/ppg#az-ppg-show).
@@ -70,4 +100,4 @@ You can also create a scale set in your proximity placement group. Use the same
70100

71101
## Next steps
72102

73-
Learn more about the [Azure CLI](/cli/azure/ppg) commands for proximity placement groups.
103+
Learn more about the [Azure CLI](/cli/azure/ppg) commands for proximity placement groups.

0 commit comments

Comments
 (0)