Skip to content

Commit 79c833b

Browse files
committed
acrolyns
1 parent 3311edf commit 79c833b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 09/06/2022
88
ms.topic: reference
99
ms.service: virtual-machines
1010
ms.subservice: image-builder
11-
ms.custom: devx-track-azurepowershell
11+
ms.custom: devx-track-azurepowershell,references_regions
1212
---
1313

1414
# Create an Azure Image Builder Bicep or ARM JSON template
@@ -200,7 +200,7 @@ There are two ways to add user assigned identities explained below.
200200

201201
### User-assigned identity for Azure Image Builder image template resource
202202

203-
Required - For Image Builder to have permissions to read/write images, and read in scripts from Azure Storage, you must create an Azure user-assigned identity, that has permissions to the individual resources. For details on how Image Builder permissions work, and relevant steps, see [Create an image and use a user-assigned managed identity to access files in an Azure storage account](image-builder-user-assigned-identity.md).
203+
Required - For Image Builder to have permissions to read/write images, and read in scripts from Azure Storage, you must create an Azure user-assigned identity that has permissions to the individual resources. For details on how Image Builder permissions work, and relevant steps, see [Create an image and use a user-assigned managed identity to access files in an Azure storage account](image-builder-user-assigned-identity.md).
204204

205205
# [JSON](#tab/json)
206206

@@ -303,7 +303,7 @@ When using `customize`:
303303
- Customizers execute in the order specified in the template.
304304
- If one customizer fails, then the whole customization component will fail and report back an error.
305305
- Test the scripts thoroughly before using them in a template. Debugging the scripts by themselves is easier.
306-
- Don't put sensitive data in the scripts. Inline commands can be viewed in the image template definition. If you have sensitive information (including passwords, SAS token, authentication tokens, etc), it should be moved into scripts in Azure Storage, where access requires authentication.
306+
- Don't put sensitive data in the scripts. Inline commands can be viewed in the image template definition. If you have sensitive information (including passwords, SAS token, authentication tokens, etc.), it should be moved into scripts in Azure Storage, where access requires authentication.
307307
- The script locations need to be publicly accessible, unless you're using [MSI](./image-builder-user-assigned-identity.md).
308308

309309
The `customize` section is an array. The supported customizer types are: File, PowerShell, Shell, WindowsRestart, and WindowsUpdate.
@@ -653,7 +653,7 @@ If there's an error trying to download the file, or put it in a specified direct
653653

654654
To generate the sha256Checksum, use the [Get-FileHash](/powershell/module/microsoft.powershell.utility/get-filehash) cmdlet in PowerShell.
655655

656-
### Windows Update Customizer
656+
### Windows update customizer
657657

658658
The `WindowsUpdate` customizer is built on the [community Windows Update Provisioner](https://packer.io/docs/provisioners/community-supported.html) for Packer, which is an open source project maintained by the Packer community. Microsoft tests and validate the provisioner with the Image Builder service, and will support investigating issues with it, and work to resolve issues, however the open source project isn't officially supported by Microsoft. For detailed documentation on and help with the Windows Update Provisioner, see the project repository.
659659

@@ -902,7 +902,7 @@ Before you can distribute to the gallery, you must create a gallery and an image
902902
Distribute properties for galleries:
903903

904904
- **type** - sharedImage
905-
- **galleryImageId** – ID of the Azure Compute Gallery, this property can specified in two formats:
905+
- **galleryImageId** – ID of the Azure Compute Gallery, this property can be specified in two formats:
906906

907907
- Automatic versioning - Image Builder will generate a monotonic version number for you, this property is useful for when you want to keep rebuilding images from the same template: The format is: `/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Compute/galleries/<sharedImageGalleryName>/images/<imageGalleryName>`.
908908
- Explicit versioning - You can pass in the version number you want image builder to use. The format is:
@@ -1021,7 +1021,7 @@ az vm image list -l westus -f UbuntuServer -p Canonical --output table --all
10211021

10221022
You can use `latest` in the version, the version is evaluated when the image build takes place, not when the template is submitted. If you use this functionality with the Azure Compute Gallery destination, you can avoid resubmitting the template, and rerun the image build at intervals, so your images are recreated from the most recent images.
10231023

1024-
#### Support for Market Place Plan Information
1024+
#### Support for market place plan information
10251025

10261026
You can also specify plan information, for example:
10271027

@@ -1141,7 +1141,7 @@ properties: {
11411141

11421142
---
11431143

1144-
### Template Creation Scenarios
1144+
### Template creation scenarios
11451145

11461146
- **The stagingResourceGroup property is left empty**
11471147

@@ -1155,7 +1155,7 @@ properties: {
11551155

11561156
If the `stagingResourceGroup` property is specified with a resource group that doesn't exist, then the Image Builder service will create a staging resource group with the name provided in the `stagingResourceGroup` property. There will be an error if the given name doesn't meet Azure naming requirements for resource groups. The staging resource group will have the default tags applied to it: `createdBy`, `imageTemplateName`, `imageTemplateResourceGroupName`. By default the identity assigned to the Azure Image Builder image template resource will have the "Contributor" RBAC applied to it in the resource group.
11571157

1158-
### Template Deletion
1158+
### Template deletion
11591159

11601160
Any staging resource group created by the Image Builder service will be deleted after the image template is deleted. The deletion includes staging resource groups that were specified in the `stagingResourceGroup` property, but didn't exist prior to the image build.
11611161

0 commit comments

Comments
 (0)