Κοινή χρήση μέσω


az sql mi ad-only-auth

Manage a Managed Instance's Azure Active Directory only settings.

Commands

Name Description Type Status
az sql mi ad-only-auth disable

Disable Azure Active Directory only Authentication for this Managed Instance.

Core GA
az sql mi ad-only-auth enable

Enable Azure Active Directory only Authentication for this Managed Instance.

Core GA
az sql mi ad-only-auth get

Get a specific Azure Active Directory only Authentication property.

Core GA

az sql mi ad-only-auth disable

Disable Azure Active Directory only Authentication for this Managed Instance.

az sql mi ad-only-auth disable [--ids]
                               [--name]
                               [--resource-group]
                               [--subscription]

Examples

Disable Active Directory only authentication for a managed instance

az sql mi ad-only-auth disable --resource-group mygroup --name myMI

Optional Parameters

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

--name -n

The managed instance name.

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

az sql mi ad-only-auth enable

Enable Azure Active Directory only Authentication for this Managed Instance.

az sql mi ad-only-auth enable [--ids]
                              [--name]
                              [--resource-group]
                              [--subscription]

Examples

Enable Active Directory only authentication for a managed instance

az sql mi ad-only-auth enable --resource-group mygroup --name myMI

Optional Parameters

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

--name -n

The managed instance name.

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

az sql mi ad-only-auth get

Get a specific Azure Active Directory only Authentication property.

az sql mi ad-only-auth get [--ids]
                           [--name]
                           [--resource-group]
                           [--subscription]

Examples

Get Active Directory only authentication status for a managed instance

az sql mi ad-only-auth get --resource-group mygroup --name myMI

Optional Parameters

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

--name -n

The managed instance name.

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