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
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 of the Container Apps environment.
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.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az containerapp env telemetry app-insights set
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 of the Container Apps environment.
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.
Application Insights connection string used by container apps environment.
Boolean indicating whether to enable application insights open telemetry logs.
Property | Value |
---|---|
Accepted values: | false, true |
Boolean indicating whether to enable application insights open telemetry traces.
Property | Value |
---|---|
Accepted values: | false, true |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az containerapp env telemetry app-insights show
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 of the Container Apps environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |