Partilhar via


az sql mi-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 sql mi-arc endpoint command. Learn more about extensions.

View and manage SQL endpoints.

Commands

Name Description Type Status
az sql mi-arc endpoint list

List the SQL endpoints.

Extension GA

az sql mi-arc endpoint list

List the SQL endpoints.

az sql mi-arc endpoint list [--k8s-namespace]
                            [--name]
                            [--use-k8s]

Examples

List the endpoints for a SQL managed instance.

az sql mi-arc endpoint list -n sqlmi1

Optional Parameters

--k8s-namespace -k

Namespace where the SQL managed instances exist. If no namespace is specified, then the namespace defined in the kubeconfig will be used.

--name -n

The name of the SQL instance to be shown. If omitted, all endpoints for all instances will be shown.

--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.