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

az sql mi-arc endpoint list

List the SQL endpoints.

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.