Skip to content

Commit 7259d0f

Browse files
revising targetRegions json block
1 parent 2c1582f commit 7259d0f

File tree

1 file changed

+23
-12
lines changed

1 file changed

+23
-12
lines changed

articles/virtual-machines/linux/image-builder-json.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -952,18 +952,29 @@ The following JSON is an example of how to use the targetRegions field to distri
952952

953953
# [JSON](#tab/json)
954954
```json
955-
"targetRegions": [
956-
{
957-
"name": "eastus",
958-
"replicaCount": 2,
959-
"storageAccountType": "Standard_ZRS"
960-
},
961-
{
962-
"name": "eastus2",
963-
"replicaCount": 3,
964-
"storageAccountType": "Premium_LRS"
965-
}
966-
]
955+
"distribute": [
956+
{
957+
"type": "SharedImage",
958+
"galleryImageId": "<resource ID>",
959+
"runOutputName": "<name>",
960+
"artifactTags": {
961+
"<name>": "<value>",
962+
"<name>": "<value>"
963+
},
964+
"targetRegions": [
965+
{
966+
"name": "eastus",
967+
"replicaCount": 2,
968+
"storageAccountType": "Standard_ZRS"
969+
},
970+
{
971+
"name": "eastus2",
972+
"replicaCount": 3,
973+
"storageAccountType": "Premium_LRS"
974+
}
975+
]
976+
},
977+
]
967978
```
968979
# [Bicep](#tab/bicep)
969980
```bicep

0 commit comments

Comments
 (0)