Del via


az maintenance scheduledevent

Note

This reference is part of the maintenance extension for the Azure CLI (version 2.56.0 or higher). The extension will automatically install the first time you run an az maintenance scheduledevent command. Learn more about extensions.

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Scheduled event actions.

Commands

Name Description Type Status
az maintenance scheduledevent acknowledge

Post Scheduled Event Acknowledgement.

Extension Preview

az maintenance scheduledevent acknowledge

Preview

Command group 'az maintenance scheduledevent' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Post Scheduled Event Acknowledgement.

az maintenance scheduledevent acknowledge [--ids]
                                          [--resource-group]
                                          [--resource-name]
                                          [--resource-type]
                                          [--scheduled-event-id]
                                          [--subscription]

Examples

Acknowledge scheduled event of a VM

az --resource-group {resourceGroup} --resource-name {VMname} --scheduled-event-id {GuidEventId} --subscription {subscriptionId}

Acknowledge scheduled event of a VMSS

az --resource-group {resourceGroup} --resource-name {VMSSname} --scheduled-event-id {GuidEventId} --subscription {subscriptionId}

Acknowledge scheduled event of a AvailabilitySet

az --resource-group {resourceGroup} --resource-name {AVSetname} --scheduled-event-id {GuidEventId} --subscription {subscriptionId}

Optional Parameters

--ids

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.

--resource-group -g

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

--resource-name

Resource Name.

--resource-type

Resource type.

--scheduled-event-id

Scheduled Event Id. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.