az mysql flexible-server parameter
用于管理灵活服务器的服务器参数值的命令。
命令
名称 | 说明 | 类型 | Status |
---|---|---|---|
az mysql flexible-server parameter list |
列出灵活服务器的参数值。 |
Core | GA |
az mysql flexible-server parameter set |
更新灵活服务器的参数。 |
Core | GA |
az mysql flexible-server parameter set-batch |
灵活服务器的批处理更新参数。 |
Core | GA |
az mysql flexible-server parameter show |
获取灵活服务器的参数。” |
Core | GA |
az mysql flexible-server parameter list
列出灵活服务器的参数值。
az mysql flexible-server parameter list --resource-group
--server-name
[--keyword]
[--page]
[--page-size]
[--tags]
示例
列出灵活服务器的参数值。
az mysql flexible-server parameter list --resource-group testGroup --server-name testserver
以表格式列出灵活服务器的参数值。
az mysql flexible-server parameter list --resource-group testGroup --server-name testserver --output table
必需参数
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
服务器的名称。 名称只能包含小写字母、数字和连字符 (-)。 最少 3 个字符,最多 63 个字符。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
服务器配置的关键字。 默认值为无。
服务器配置的页。 默认值为无。
服务器配置的 pageSize。 默认值为无。
服务器配置的标记。 默认值为无。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az mysql flexible-server parameter set
更新灵活服务器的参数。
az mysql flexible-server parameter set [--ids]
[--name]
[--resource-group]
[--server-name]
[--source]
[--subscription]
[--value]
示例
设置新的参数值。
az mysql flexible-server parameter set --resource-group testGroup --server-name testserver --name parameterName --value parameterValue
将参数值设置为其默认值。
az mysql flexible-server parameter set --resource-group testGroup --server-name testserver --name parameterName
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
服务器配置的名称。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
服务器的名称。 名称只能包含小写字母、数字和连字符 (-)。 最少 3 个字符,最多 63 个字符。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
配置的源。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
配置的值。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az mysql flexible-server parameter set-batch
灵活服务器的批处理更新参数。
az mysql flexible-server parameter set-batch --args
[--ids]
[--resource-group]
[--server-name]
[--source]
[--subscription]
示例
批处理集参数。
az mysql flexible-server parameter set-batch --resource-group testGroup --server-name testserver --source "user-override" --args key1="value1" key2="value2"
必需参数
配置键值对的列表。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
服务器的名称。 名称只能包含小写字母、数字和连字符 (-)。 最少 3 个字符,最多 63 个字符。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
配置的源。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az mysql flexible-server parameter show
获取灵活服务器的参数。”
az mysql flexible-server parameter show [--ids]
[--name]
[--resource-group]
[--server-name]
[--subscription]
示例
获取服务器的参数。
az mysql flexible-server parameter show --resource-group testGroup --server-name testserver --name parameterName
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
服务器配置的名称。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
服务器的名称。 名称只能包含小写字母、数字和连字符 (-)。 最少 3 个字符,最多 63 个字符。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |