Share via


az devcenter admin check-name-availability

Note

This reference is part of the devcenter extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az devcenter admin check-name-availability command. Learn more about extensions.

Manage check name availability.

Commands

Name Description Type Status
az devcenter admin check-name-availability execute

Check the availability of name for resource.

Extension GA

az devcenter admin check-name-availability execute

Check the availability of name for resource.

az devcenter admin check-name-availability execute --name
                                                   --type

Examples

Check name availability

az devcenter admin check-name-availability execute --name "name1" --type "Microsoft.DevCenter/devcenters"

Required Parameters

--name

The name of the resource for which availability needs to be checked.

--type

The resource type.

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.