az spring private-dns-zone
Note
This reference is part of the spring extension for the Azure CLI (version 2.56.0 or higher). 该扩展将在首次运行 az spring private-dns-zone 命令时自动安装。 Learn more about extensions.
使用 Azure Spring Apps 配置 constumer 专用 DNS 区域的命令。
命令
名称 | 说明 | 类型 | Status |
---|---|---|---|
az spring private-dns-zone add |
用于使用 Azure Spring Apps 添加 constumer 专用 DNS 区域的命令。 |
Extension | GA |
az spring private-dns-zone clean |
用于清理 Azure Spring Apps 中的 constumer 专用 DNS 区域的命令。 |
Extension | GA |
az spring private-dns-zone update |
用于更新 Azure Spring Apps 中的 constumer 专用 DNS 区域的命令。 |
Extension | GA |
az spring private-dns-zone add
用于使用 Azure Spring Apps 添加 constumer 专用 DNS 区域的命令。
az spring private-dns-zone add --resource-group
--service
--zone-id
[--no-wait]
示例
将专用 DNS 区域添加到 Azure Spring Apps。
az spring private-dns-zone add --service MyAzureSpringAppsInstance --resource-group MyResourceGroup --zone-id MyPrivateDNSZoneId
必需参数
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
Azure Spring Apps 实例的名称,可以使用 az configure --defaults spring=<name>
配置默认服务。
要配置服务实例的专用 DNS 区域的资源 ID。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | 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 spring private-dns-zone clean
用于清理 Azure Spring Apps 中的 constumer 专用 DNS 区域的命令。
az spring private-dns-zone clean --resource-group
--service
[--no-wait]
示例
使用 Azure Spring Apps 清理专用 DNS 区域。
az spring private-dns-zone clean --service MyAzureSpringAppsInstance --resource-group MyResourceGroup
必需参数
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
Azure Spring Apps 实例的名称,可以使用 az configure --defaults spring=<name>
配置默认服务。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | 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 spring private-dns-zone update
用于更新 Azure Spring Apps 中的 constumer 专用 DNS 区域的命令。
az spring private-dns-zone update --resource-group
--service
--zone-id
[--no-wait]
示例
更新 Azure Spring Apps 中的专用 DNS 区域。
az spring private-dns-zone update --service MyAzureSpringAppsInstance --resource-group MyResourceGroup --zone-id MyPrivateDNSZoneId
必需参数
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
Azure Spring Apps 实例的名称,可以使用 az configure --defaults spring=<name>
配置默认服务。
要配置服务实例的专用 DNS 区域的资源 ID。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | 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 |