Skip to content

Commit ae25673

Browse files
authored
Resolving merge conflicts
1 parent 99edc51 commit ae25673

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,6 +1747,38 @@ This field can be specified only if `subnetId` is also specified and must meet t
17471747
#### proxyVmSize (optional)
17481748
Size of the proxy virtual machine used to pass traffic to the build VM and validation VM. This field must not be specified if `containerInstanceSubnetId` is specified because no proxy virtual machine is deployed in that case. Omit or specify empty string to use the default (Standard_A1_v2).
17491749

1750+
## Properties: autoRun
1751+
1752+
You can use the `autoRun` property to control whether the image template build process should automatically start when the template is created or updated. It's an enum with two possible values:
1753+
- **Enabled** - Auto run is enabled, so your image template build process will automatically start when the template is created or updated.
1754+
- **Disabled** - Auto run is disabled, so you will have to manually start the image build process after the template is created or updated.
1755+
1756+
```json
1757+
"properties": {
1758+
"autoRun": "Enabled"
1759+
}
1760+
```
1761+
1762+
> [!NOTE]
1763+
> When you set `autoRun` to "Enabled," the image build process runs **once** upon template creation or update. It ensures that the initial image build occurs seamlessly. However, it does not provide consistent and ongoing image builds. For consistent and ongoing image builds that run once an image template is updated, see [How to use Azure Image Builder triggers to set up an automatic image build](../image-builder-triggers-how-to.md).
1764+
>
1765+
> Unlike `autoRun`, automatic image creation via the Azure Image Builder trigger resource ensures that image builds occur consistently. Whenever there are changes to the template, the Azure Image Builder service will automatically trigger the image build process.
1766+
>
1767+
> Choose `autoRun` for immediate image builds upon template creation or update. Opt for automatic image creation when you need ongoing consistency in image builds. Consider your specific requirements and use the appropriate option based on your workflow.
1768+
1769+
## Properties: managedResourceTags
1770+
1771+
You can use the `managedResourceTags` property to apply tags to the resources that the Azure Image Builder service creates in the staging resource group during the image build. For more information on the staging resource group, see [Azure Image Builder Overview](../image-builder-overview.md#how-it-works)
1772+
1773+
```json
1774+
"properties": {
1775+
"managedResourceTags": {
1776+
"tag1": "value1",
1777+
"tag2": "value2"
1778+
}
1779+
}
1780+
```
1781+
17501782
## Image Template Operations
17511783

17521784
### Starting an Image Build

0 commit comments

Comments
 (0)