Skip to content

Commit 793695d

Browse files
Merge pull request #281139 from kof-f/patch-73
Updating autoRun property
2 parents 089516d + 419b4c2 commit 793695d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,22 +1751,23 @@ Size of the proxy virtual machine used to pass traffic to the build VM and valid
17511751

17521752
## Properties: autoRun
17531753

1754-
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:
1755-
- **Enabled** - Auto run is enabled, so your image template build process will automatically start when the template is created or updated.
1756-
- **Disabled** - Auto run is disabled, so you will have to manually start the image build process after the template is created or updated.
1754+
You can use the `autoRun` property to control whether the image template build process should automatically start when the template is created. It's an enum with two possible values:
1755+
- **Enabled** - Auto run is enabled, so your image template build process will automatically start when the template is created.
1756+
- **Disabled** - Auto run is disabled, so you will have to manually start the image build process after the template is created.
17571757

17581758
```json
17591759
"properties": {
1760-
"autoRun": "Enabled"
1761-
}
1760+
"autoRun": {
1761+
"state": "Enabled"
1762+
}
17621763
```
17631764

17641765
> [!NOTE]
1765-
> 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).
1766+
> When you set `autoRun` to "Enabled," the image build process runs **once** upon template creation. 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).
17661767
>
17671768
> 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.
17681769
>
1769-
> 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.
1770+
> Choose `autoRun` for immediate image builds upon template creation. 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.
17701771

17711772
## Properties: managedResourceTags
17721773

0 commit comments

Comments
 (0)