az maintenance applyupdate
Note
This reference is part of the maintenance extension for the Azure CLI (version 2.67.0 or higher). The extension will automatically install the first time you run an az maintenance applyupdate command. Learn more about extensions.
Manage apply update with maintenance.
Commands
Name | Description | Type | Status |
---|---|---|---|
az maintenance applyupdate create |
Apply maintenance updates to resource. |
Extension | GA |
az maintenance applyupdate create-or-update |
Create maintenance updates to resource. |
Extension | GA |
az maintenance applyupdate create-or-update-parent |
Apply maintenance updates to resource with parent. |
Extension | GA |
az maintenance applyupdate list |
Get Configuration records within a subscription. |
Extension | GA |
az maintenance applyupdate show |
Track maintenance updates to resource. |
Extension | GA |
az maintenance applyupdate show-parent |
Track maintenance updates to resource with parent. |
Extension | GA |
az maintenance applyupdate update |
Update maintenance updates to resource. |
Extension | GA |
az maintenance applyupdate create
Apply maintenance updates to resource.
az maintenance applyupdate create --provider-name
--resource-group
--resource-name
--resource-type
Examples
ApplyUpdates_CreateOrUpdate
az maintenance applyupdate create --provider-name "Microsoft.Compute" --resource-group "examplerg" --resource-name "smdtest1" --resource-type "virtualMachineScaleSets"
Required Parameters
Resource provider name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Resource identifier.
Resource type.
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az maintenance applyupdate create-or-update
Create maintenance updates to resource.
az maintenance applyupdate create-or-update [--apply-update-name --name]
[--ids]
[--last-update-time]
[--provider-name]
[--resource-group]
[--resource-id]
[--resource-name]
[--resource-type]
[--status {Cancel, Cancelled, Completed, InProgress, NoUpdatesPending, Pending, RetryLater, RetryNow}]
[--subscription]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ApplyUpdate name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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 |
Last Update time.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Resource provider name.
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 |
The resourceId.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Resource identifier.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource type.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The status.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Cancel, Cancelled, Completed, InProgress, NoUpdatesPending, Pending, RetryLater, RetryNow |
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 maintenance applyupdate create-or-update-parent
Apply maintenance updates to resource with parent.
az maintenance applyupdate create-or-update-parent [--ids]
[--provider-name]
[--resource-group]
[--resource-name]
[--resource-parent-name]
[--resource-parent-type]
[--resource-type]
[--subscription]
Examples
ApplyUpdates_CreateOrUpdateParent
az maintenance applyupdate create-or-update-parent --provider-name "Microsoft.Compute" --resource-group "examplerg" --resource-name "smdvm1" --resource-parent-name "smdtest1" --resource-parent-type "virtualMachineScaleSets" --resource-type "virtualMachines"
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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 |
Resource provider name.
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 |
Resource identifier.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource parent identifier.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource parent type.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource type.
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 maintenance applyupdate list
Get Configuration records within a subscription.
az maintenance applyupdate list
Examples
ApplyUpdates_List
az maintenance applyupdate list
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az maintenance applyupdate show
Track maintenance updates to resource.
az maintenance applyupdate show [--apply-update-name --name]
[--ids]
[--provider-name]
[--resource-group]
[--resource-name]
[--resource-type]
[--subscription]
Examples
ApplyUpdates_Get
az maintenance applyupdate show --name "e9b9685d-78e4-44c4-a81c-64a14f9b87b6" --provider-name "Microsoft.Compute" --resource-group "examplerg" --resource-name "smdtest1" --resource-type "virtualMachineScaleSets"
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ApplyUpdate Id.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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 |
Resource provider name.
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 |
Resource identifier.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource type.
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 maintenance applyupdate show-parent
Track maintenance updates to resource with parent.
az maintenance applyupdate show-parent [--apply-update-name --name]
[--ids]
[--provider-name]
[--resource-group]
[--resource-name]
[--resource-parent-name]
[--resource-parent-type]
[--resource-type]
[--subscription]
Examples
ApplyUpdates_GetParent
az maintenance applyupdate show-parent --name "e9b9685d-78e4-44c4-a81c-64a14f9b87b6" --provider-name "Microsoft.Compute" --resource-group "examplerg" --resource-name "smdvm1" --resource-parent-name "smdtest1" --resource-parent-type "virtualMachineScaleSets" --resource-type "virtualMachines"
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ApplyUpdate Id.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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 |
Resource provider name.
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 |
Resource identifier.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource parent identifier.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource parent type.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource type.
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 maintenance applyupdate update
Update maintenance updates to resource.
az maintenance applyupdate update [--add]
[--apply-update-name --name]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--last-update-time]
[--provider-name]
[--remove]
[--resource-group]
[--resource-id]
[--resource-name]
[--resource-type]
[--set]
[--status {Cancel, Cancelled, Completed, InProgress, NoUpdatesPending, Pending, RetryLater, RetryNow}]
[--subscription]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
ApplyUpdate Id.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 |
Last Update time.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Resource provider name.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The resourceId.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Resource identifier.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource type.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
The status.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Cancel, Cancelled, Completed, InProgress, NoUpdatesPending, Pending, RetryLater, RetryNow |
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 |