File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
articles/virtual-machines/linux Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: Learn how to create a Bicep file or ARM JSON template to use with A
4
4
author : kof-f
5
5
ms.author : kofiforson
6
6
ms.reviewer : erd
7
- ms.date : 05/08 /2023
7
+ ms.date : 05/17 /2023
8
8
ms.topic : reference
9
9
ms.service : virtual-machines
10
10
ms.subservice : image-builder
@@ -1110,6 +1110,11 @@ The following JSON distributes the image as a VHD to a custom storage account.
1110
1110
"distribute" : [
1111
1111
{
1112
1112
"type" : " VHD" ,
1113
+ "runOutputName" : " <VHD name>" ,
1114
+ "artifactTags" : {
1115
+ "<name>" : " <value>" ,
1116
+ "<name>" : " <value>"
1117
+ },
1113
1118
"uri" : " <replace with Azure storage URI>"
1114
1119
}
1115
1120
]
@@ -1118,12 +1123,17 @@ The following JSON distributes the image as a VHD to a custom storage account.
1118
1123
# [ Bicep] ( #tab/bicep )
1119
1124
1120
1125
``` bicep
1121
- distribute: [
1122
- {
1126
+ resource distribute 'Microsoft.Compute/galleries/images/runOutputs' = {
1127
+ name: '<VHD name>'
1128
+ properties: {
1123
1129
type: 'VHD'
1130
+ artifactTags: {
1131
+ '<name>': '<value>'
1132
+ '<name>': '<value>'
1133
+ }
1124
1134
uri: '<replace with Azure storage URI>'
1125
1135
}
1126
- ]
1136
+ }
1127
1137
```
1128
1138
1129
1139
---
You can’t perform that action at this time.
0 commit comments