Share via


az containerapp env telemetry app-insights

Note

This reference is part of the containerapp extension for the Azure CLI (version 2.62.0 or higher). The extension will automatically install the first time you run an az containerapp env telemetry app-insights command. Learn more about extensions.

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

Commands to manage app insights settings for the container apps environment.

Commands

Name Description Type Status
az containerapp env telemetry app-insights delete

Delete container apps environment telemetry app insights settings.

Extension Preview
az containerapp env telemetry app-insights set

Create or update container apps environment telemetry app insights settings.

Extension Preview
az containerapp env telemetry app-insights show

Show container apps environment telemetry app insights settings.

Extension Preview

az containerapp env telemetry app-insights delete

Preview

Command group 'containerapp env telemetry app-insights' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Delete container apps environment telemetry app insights settings.

az containerapp env telemetry app-insights delete --name
                                                  --resource-group
                                                  [--no-wait]
                                                  [--yes]

Examples

Delete container apps environment telemetry app insights settings.

az containerapp env telemetry app-insights delete -n MyContainerappEnvironment -g MyResourceGroup

Required Parameters

--name -n

Name of the Container Apps environment.

--resource-group -g

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

Optional Parameters

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

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--yes -y

Do not prompt for confirmation.

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 containerapp env telemetry app-insights set

Preview

Command group 'containerapp env telemetry app-insights' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create or update container apps environment telemetry app insights settings.

az containerapp env telemetry app-insights set --name
                                               --resource-group
                                               [--connection-string]
                                               [--enable-open-telemetry-logs {false, true}]
                                               [--enable-open-telemetry-traces {false, true}]
                                               [--no-wait]

Examples

Create or update container apps environment telemetry app insights settings.

az containerapp env telemetry app-insights set -n MyContainerappEnvironment -g MyResourceGroup \
    --connection-string connectionString --enable-open-telemetry-traces true --enable-open-telemetry-logs true

Required Parameters

--name -n

Name of the Container Apps environment.

--resource-group -g

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

Optional Parameters

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

--connection-string

Application Insights connection string used by container apps environment.

--enable-open-telemetry-logs -l

Boolean indicating whether to enable application insights open telemetry logs.

Property Value
Accepted values: false, true
--enable-open-telemetry-traces -t

Boolean indicating whether to enable application insights open telemetry traces.

Property Value
Accepted values: false, true
--no-wait

Do not wait for the long-running operation to finish.

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 containerapp env telemetry app-insights show

Preview

Command group 'containerapp env telemetry app-insights' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Show container apps environment telemetry app insights settings.

az containerapp env telemetry app-insights show --name
                                                --resource-group

Examples

Show container apps environment telemetry app insights settings.

az containerapp env telemetry app-insights show -n MyContainerappEnvironment -g MyResourceGroup

Required Parameters

--name -n

Name of the Container Apps environment.

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

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