az postgres server-arc endpoint
Note
此参考是 Azure CLI(版本 2.3.1 或更高版本)的 arcdata 扩展的一部分。 该扩展将在首次运行 az postgres server-arc endpoint 命令时自动安装。 了解更多关于扩展的信息。
命令组“postgres server-arc”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
管理已启用 Azure Arc 的 PostgreSQL 服务器终结点。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az postgres server-arc endpoint list |
列出已启用 Azure Arc 的 PostgreSQL 服务器终结点。 |
Extension | Preview |
az postgres server-arc endpoint list
命令组“postgres server-arc”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
列出已启用 Azure Arc 的 PostgreSQL 服务器终结点。
az postgres server-arc endpoint list [--k8s-namespace]
[--name]
[--use-k8s]
示例
列出已启用 Azure Arc 的 PostgreSQL 服务器终结点。
az postgres server-arc endpoint list --name postgres01 --k8s-namespace namespace --use-k8s
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
部署已启用 Azure Arc 的 PostgreSQL 服务器的 Kubernetes 命名空间。 若未指定命名空间,则将使用 kubeconfig 中定义的命名空间。
已启用 Azure Arc 的 PostgreSQL 服务器的名称。
使用本地 Kubernetes API 来执行此操作。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |