Share via


az sql mi endpoint-cert

Endpoint certificates management commands.

Commands

Name Description Type Status
az sql mi endpoint-cert list

List certificates used on endpoints on the target instance.

Core GA
az sql mi endpoint-cert show

Get a certificate used on the endpoint with the given id.

Core GA

az sql mi endpoint-cert list

List certificates used on endpoints on the target instance.

az sql mi endpoint-cert list --instance-name
                             --resource-group

Required Parameters

--instance-name --managed-instance --managed-instance-name --mi

Name of the managed instance.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

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.

az sql mi endpoint-cert show

Get a certificate used on the endpoint with the given id.

az sql mi endpoint-cert show [--endpoint-type]
                             [--ids]
                             [--instance-name]
                             [--resource-group]
                             [--subscription]

Optional Parameters

--endpoint-type --name -n

Type of the endpoint whose certificate the customer is looking for.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--instance-name --managed-instance --managed-instance-name --mi

Name of the managed instance.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

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.