az maintenance applyupdate
Manage Azure Maintenance update applications.
Commands
az maintenance applyupdate create |
Creates a ApplyUpdate request. |
az maintenance applyupdate get |
Gets the state of a ApplyUpdate request. |
az maintenance applyupdate show |
Shows the state of a ApplyUpdate request. |
az maintenance applyupdate create
Creates a ApplyUpdate request.
az maintenance applyupdate create --provider-name
--resource-group
--resource-name
--resource-type
[--resource-parent-name]
[--resource-parent-type]
Examples
Creates a ApplyUpdate request.
az maintenance applyupdate create -g smdtest --resource-name smdVM --resource-type virtualMachines --provider-name Microsoft.Compute
Required Parameters
Maintenance resource provider - Microsoft.Maintenance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of resource.
Type of the azure resource e.g. virtualmachines, hosts etc.
Optional Parameters
Name of the parent resource e.g. for dedicated hosts this would be the name of the dedicated host group, for VMSS VMs this would be the VMSS name.
Type of the parent resource e.g. for dedicated hosts this would be hostGroups, for VMSS VMs this would be virtualmachinescalesets.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az maintenance applyupdate get
Gets the state of a ApplyUpdate request.
az maintenance applyupdate get --apply-update-name
--provider-name
--resource-group
--resource-name
--resource-type
[--resource-parent-name]
[--resource-parent-type]
Examples
Gets the state of a ApplyUpdate request.
az maintenance applyupdate get -g smdtest --resource-name smdVM --resource-type virtualMachines --provider-name Microsoft.Compute --apply-update-name 7b1b66dc-e93a-4183-81ff-591f1b2d4f07
Required Parameters
Name of apply update resource e.g. default.
Maintenance resource provider - Microsoft.Maintenance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of resource.
Type of the azure resource e.g. virtualmachines, hosts etc.
Optional Parameters
Name of the parent resource e.g. for dedicated hosts this would be the name of the dedicated host group, for VMSS VMs this would be the VMSS name.
Type of the parent resource e.g. for dedicated hosts this would be hostGroups, for VMSS VMs this would be virtualmachinescalesets.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az maintenance applyupdate show
Shows the state of a ApplyUpdate request.
az maintenance applyupdate show --apply-update-name
--provider-name
--resource-group
--resource-name
--resource-type
[--resource-parent-name]
[--resource-parent-type]
Examples
Shows the state of a ApplyUpdate request.
az maintenance applyupdate show -g smdtest --resource-name smdVM --resource-type virtualMachines --provider-name Microsoft.Compute --apply-update-name 7b1b66dc-e93a-4183-81ff-591f1b2d4f07
Required Parameters
Name of apply update resource e.g. default.
Maintenance resource provider - Microsoft.Maintenance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of resource.
Type of the azure resource e.g. virtualmachines, hosts etc.
Optional Parameters
Name of the parent resource e.g. for dedicated hosts this would be the name of the dedicated host group, for VMSS VMs this would be the VMSS name.
Type of the parent resource e.g. for dedicated hosts this would be hostGroups, for VMSS VMs this would be virtualmachinescalesets.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.