你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az postgres server-arc endpoint

Note

This reference is part of the arcdata extension for the Azure CLI (version 2.3.1 or higher). The extension will automatically install the first time you run an az postgres server-arc endpoint command. Learn more about extensions.

Command group 'postgres server-arc' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage Azure Arc enabled PostgreSQL server endpoints.

Commands

Name Description Type Status
az postgres server-arc endpoint list

List Azure Arc enabled PostgreSQL server endpoints.

Extension Preview

az postgres server-arc endpoint list

Preview

Command group 'postgres server-arc' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List Azure Arc enabled PostgreSQL server endpoints.

az postgres server-arc endpoint list [--k8s-namespace]
                                     [--name]
                                     [--use-k8s]

Examples

List Azure Arc enabled PostgreSQL server endpoints.

az postgres server-arc endpoint list --name postgres01  --k8s-namespace namespace --use-k8s

Optional Parameters

--k8s-namespace -k

The Kubernetes namespace where the Azure Arc enabled PostgreSQL server is deployed. If no namespace is specified, then the namespace defined in the kubeconfig will be used.

--name -n

Name of the Azure Arc enabled PostgreSQL server.

--use-k8s

Use local Kubernetes APIs to perform this action.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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