File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
articles/virtual-machines/windows Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,18 @@ Grant Azure image builder permissions to create images in the specified resource
195
195
196
196
1 . Create a VM Image Builder distributor object.
197
197
198
+ ``` azurepowershell-interactive
199
+ $disObjParams = @{
200
+ SharedImageDistributor = $true
201
+ ArtifactTag = @{tag='dis-share'}
202
+ GalleryImageId = "/subscriptions/$subscriptionID/resourceGroups/$imageResourceGroup/providers/Microsoft.Compute/galleries/$myGalleryName/images/$imageDefName"
203
+ ReplicationRegion = $location
204
+ RunOutputName = $runOutputName
205
+ ExcludeFromLatest = $false
206
+ }
207
+ $disSharedImg = New-AzImageBuilderDistributorObject @disObjParams
208
+ ```
209
+
198
210
1 . Create a VM Image Builder customization object.
199
211
200
212
``` azurepowershell-interactive
You can’t perform that action at this time.
0 commit comments