Поделиться через


az mysql flexible-server maintenance

Manage maintenance on a flexible server.

Команды

Имя Описание Тип Состояние
az mysql flexible-server maintenance list

List all of the maintenances of a flexible server.

Ядро GA
az mysql flexible-server maintenance reschedule

Reschedule the ongoing planned maintenance of a flexible server.

Ядро GA
az mysql flexible-server maintenance show

Get the specific maintenance of a flexible server by maintenance name.

Ядро 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

Примеры

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

Обязательные параметры

--resource-group -g

Resource Group Name of the server.

--server-name -s

Имени сервера.

Глобальные параметры
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Отображать только ошибки, не показывая предупреждения.

--output -o

Output format.

Допустимые значения: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

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

--subscription

Имя или идентификатор подписки. Подписку по умолчанию можно настроить с помощью az account set -s NAME_OR_ID.

--verbose

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

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]

Примеры

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

Обязательные параметры

--maintenance-name -m

The name of the maintenance.

--start-time

The new start time of the rescheduled maintenance.

Default value: 2025-04-18T11:12:40+00:00

Необязательные параметры

--ids

Один или несколько идентификаторов ресурсов (разделенных пробелами). Это должен быть полный идентификатор ресурса, содержащий все сведения о аргументах Resource Id. You should provide either --ids or other 'Resource Id' arguments.

--resource-group -g

Resource Group Name of the server.

--server-name -s

Имени сервера.

--subscription

Имя или идентификатор подписки. Подписку по умолчанию можно настроить с помощью az account set -s NAME_OR_ID.

Глобальные параметры
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Отображать только ошибки, не показывая предупреждения.

--output -o

Output format.

Допустимые значения: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

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

--subscription

Имя или идентификатор подписки. Подписку по умолчанию можно настроить с помощью az account set -s NAME_OR_ID.

--verbose

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

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]

Примеры

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

Обязательные параметры

--maintenance-name -m

The name of the maintenance.

Необязательные параметры

--ids

Один или несколько идентификаторов ресурсов (разделенных пробелами). Это должен быть полный идентификатор ресурса, содержащий все сведения о аргументах Resource Id. You should provide either --ids or other 'Resource Id' arguments.

--resource-group -g

Resource Group Name of the server.

--server-name -s

Имени сервера.

--subscription

Имя или идентификатор подписки. Подписку по умолчанию можно настроить с помощью az account set -s NAME_OR_ID.

Глобальные параметры
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Отображать только ошибки, не показывая предупреждения.

--output -o

Output format.

Допустимые значения: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

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

--subscription

Имя или идентификатор подписки. Подписку по умолчанию можно настроить с помощью az account set -s NAME_OR_ID.

--verbose

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