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

--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.

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

--apply-update-name

Name of apply update resource e.g. default.

--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.

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

--apply-update-name

Name of apply update resource e.g. default.

--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.