az image builder optimizer
Manage image builder template optimizer.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az image builder optimizer add |
Add optimizer to an existing image builder template. |
Core | GA |
| az image builder optimizer remove |
Remove optimizer from an existing image builder template. |
Core | GA |
| az image builder optimizer show |
Show optimizer of an existing image builder template. |
Core | GA |
| az image builder optimizer update |
Update an optimizer from an existing image builder template. |
Core | GA |
az image builder optimizer add
Add optimizer to an existing image builder template.
Must be used with --defer.
az image builder optimizer add [--defer]
[--enable-vm-boot {false, true}]
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Add optimizer for improving VM boot time by optimizing the final customized image output.
az image builder optimizer add -n myTemplate -g myGroup --enable-vm-boot true --defer
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Temporarily store the object in the local cache instead of sending to Azure. Use az cache commands to view/clear.
If this parameter is set to true, VM boot time will be improved by optimizing the final customized image output.
| Property | Value |
|---|---|
| Accepted values: | false, true |
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the image template.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az image builder optimizer remove
Remove optimizer from an existing image builder template.
Must be used with --defer.
az image builder optimizer remove [--defer]
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Remove optimizer from an existing image builder template.
az image builder optimizer remove -n myTemplate -g myGroup --defer
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Temporarily store the object in the local cache instead of sending to Azure. Use az cache commands to view/clear.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the image template.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az image builder optimizer show
Show optimizer of an existing image builder template.
Must be used with --defer.
az image builder optimizer show [--defer]
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Show optimizer of an existing image builder template.
az image builder optimizer show -n myTemplate -g myGroup --defer
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Temporarily store the object in the local cache instead of sending to Azure. Use az cache commands to view/clear.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the image template.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az image builder optimizer update
Update an optimizer from an existing image builder template.
Must be used with --defer.
az image builder optimizer update [--defer]
[--enable-vm-boot {false, true}]
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Update an optimizer from an existing image builder template.
az image builder optimizer update -n myTemplate -g myGroup --enable-vm-boot true --defer
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Temporarily store the object in the local cache instead of sending to Azure. Use az cache commands to view/clear.
If this parameter is set to true, VM boot time will be improved by optimizing the final customized image output.
| Property | Value |
|---|---|
| Accepted values: | false, true |
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the image template.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |