az maintenance update

Azure Maintenance updates.

Commands

az maintenance update list

List pending a Maintenance Updates.

az maintenance update list

List pending a Maintenance Updates.

az maintenance update list --provider-name
                           --resource-group
                           --resource-name
                           --resource-type
                           [--resource-parent-name]
                           [--resource-parent-type]

Examples

List pending a Maintenance Updates.

az maintenance update list -g smdtest --resource-name smdVM --resource-type virtualMachines --provider-name Microsoft.Compute

Required Parameters

--provider-name

Maintenance resource provider - Microsoft.Maintenance.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--resource-name

Name of resource.

--resource-type

Type of the azure resource e.g. virtualmachines, hosts etc.

Optional Parameters

--resource-parent-name

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.

--resource-parent-type

Type of the parent resource e.g. for dedicated hosts this would be hostGroups, for VMSS VMs this would be virtualmachinescalesets.