az mysql flexible-server maintenance
Manage maintenance on a flexible server.
Commands
Name | Description | Type | Status |
---|---|---|---|
az mysql flexible-server maintenance list |
List all of the maintenances of a flexible server. |
Core | GA |
az mysql flexible-server maintenance reschedule |
Reschedule the ongoing planned maintenance of a flexible server. |
Core | GA |
az mysql flexible-server maintenance show |
Get the specific maintenance of a flexible server by maintenance name. |
Core | GA |
az mysql flexible-server maintenance list
List all of the maintenances of a flexible server.
az mysql flexible-server maintenance list --resource-group
--server-name
Examples
List all of the maintenances of mysql flexible server 'testserver' under resource group 'testgroup'.
az mysql flexible-server maintenance list --resource-group testgroup --server-name testserver
Required Parameters
Resource Group Name of the server.
The name of the server.
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 mysql flexible-server maintenance reschedule
Reschedule the ongoing planned maintenance of a flexible server.
az mysql flexible-server maintenance reschedule --maintenance-name
--start-time
[--ids]
[--resource-group]
[--server-name]
[--subscription]
Examples
reschedule a existing maintenance '_T9Q-TS8' of the server 'testserver' under resource gruop 'testgroup' to a new start time 'UTC 20240601 09:00:00'
az mysql flexible-server maintenance reschedule --resource-group testgroup --server-name testserver --maintenance-name _T9Q-TS8 --start-time 2024-06-01T09:00:00Z
Required Parameters
The name of the maintenance.
The new start time of the rescheduled maintenance.
Property | Value |
---|---|
Default value: | 2025-08-07T11:11:51+00:00 |
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 Group Name of the server.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the server.
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 mysql flexible-server maintenance show
Get the specific maintenance of a flexible server by maintenance name.
az mysql flexible-server maintenance show --maintenance-name
[--ids]
[--resource-group]
[--server-name]
[--subscription]
Examples
Get a maintenance of mysql flexible server 'testserver' under resource group 'testgroup', with maintenance name '_T9Q-TS8'
az mysql flexible-server maintenance show --resource-group testgroup --server-name testserver --maintenance-name _T9Q-TS8
Required Parameters
The name of the maintenance.
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 Group Name of the server.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the server.
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 |