az cu defaults

Note

This reference is part of the content-understanding extension for the Azure CLI (version 2.75.0 or higher). The extension will automatically install the first time you run an az cu defaults command. Learn more about extensions.

Command group 'cu' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage Content Understanding model-deployment defaults.

Commands

Name Description Type Status
az cu defaults set

Configure Content Understanding defaults that map models to deployments.

Extension Preview
az cu defaults show

Show Content Understanding defaults that map models to deployments.

Extension Preview

az cu defaults set

Preview

Command group 'cu defaults' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Configure Content Understanding defaults that map models to deployments.

az cu defaults set [--acquire-policy-token]
                   [--api-key]
                   [--api-version]
                   [--auth-mode {key, login}]
                   [--change-reference]
                   [--endpoint]
                   [--model]
                   [--profile]
                   [--replace]

Examples

Add or update model deployment mappings.

az cu defaults set --model gpt-5.2=gpt52 --model text-embedding-3-large=embedding3

Replace all model deployment mappings.

az cu defaults set --model gpt-5.2=gpt52 --replace

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--api-key

Microsoft Foundry resource API key.

--api-version

Content Understanding service API version.

--auth-mode

Authentication mode.

Property Value
Accepted values: key, login
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--endpoint

Microsoft Foundry resource endpoint for Content Understanding.

--model

Model deployment mapping in MODEL=DEPLOYMENT form.

--profile

CU CLI profile used to resolve endpoint and API-version defaults.

--replace

Replace defaults instead of merging.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az cu defaults show

Preview

Command group 'cu defaults' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Show Content Understanding defaults that map models to deployments.

az cu defaults show [--api-key]
                    [--api-version]
                    [--auth-mode {key, login}]
                    [--endpoint]
                    [--profile]

Examples

Show defaults as JSON.

az cu defaults show --endpoint https://contoso.services.ai.azure.com/

Show defaults as a table.

az cu defaults show --output table

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--api-key

Microsoft Foundry resource API key.

--api-version

Content Understanding service API version.

--auth-mode

Authentication mode.

Property Value
Accepted values: key, login
--endpoint

Microsoft Foundry resource endpoint for Content Understanding.

--profile

CU CLI profile used to resolve endpoint and API-version defaults.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False