You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/image-builder-json.md
+2-33Lines changed: 2 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1721,6 +1721,8 @@ vnetConfig: {
1721
1721
}
1722
1722
```
1723
1723
1724
+
---
1725
+
1724
1726
#### subnetId
1725
1727
Resource ID of a pre-existing subnet on which the build VM and validation VM is deployed.
1726
1728
@@ -1745,39 +1747,6 @@ This field can be specified only if `subnetId` is also specified and must meet t
1745
1747
#### proxyVmSize (optional)
1746
1748
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).
1747
1749
1748
-
## Properties: autoRun
1749
-
1750
-
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:
1751
-
-**Enabled** - Auto run is enabled, so your image template build process will automatically start when the template is created or updated.
1752
-
-**Disabled** - Auto run is disabled, so you will have to manually start the image build process after the template is created or updated.
1753
-
1754
-
```json
1755
-
"properties": {
1756
-
"autoRun": "Enabled"
1757
-
}
1758
-
```
1759
-
1760
-
> [!NOTE]
1761
-
> 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).
1762
-
>
1763
-
> 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.
1764
-
>
1765
-
> 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.
1766
-
1767
-
## Properties: managedResourceTags
1768
-
1769
-
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)
0 commit comments