az tsi environment

Note

This reference is part of the timeseriesinsights extension for the Azure CLI (version 2.50.0 or higher). The extension will automatically install the first time you run an az tsi environment command. Learn more about extensions.

Manage environment with Azure Time Series Insights.

Commands

Name Description Type Status
az tsi environment delete

Delete the environment with the specified name in the specified subscription and resource group.

Extension GA
az tsi environment gen1

Manage a gen1 environment in the specified subscription and resource group.

Extension GA
az tsi environment gen1 create

Create a gen1 environment in the specified subscription and resource group.

Extension GA
az tsi environment gen1 update

Update a gen1 environment in the specified subscription and resource group.

Extension GA
az tsi environment gen2

Manage a gen2 environment in the specified subscription and resource group.

Extension GA
az tsi environment gen2 create

Create a gen2 environment in the specified subscription and resource group.

Extension GA
az tsi environment gen2 update

Update a gen2 environment in the specified subscription and resource group.

Extension GA
az tsi environment list

List all the available environments within a subscription, irrespective of the resource groups.

Extension GA
az tsi environment show

Get the environment with the specified name in the specified subscription and resource group.

Extension GA

az tsi environment delete

Delete the environment with the specified name in the specified subscription and resource group.

az tsi environment delete [--environment-name]
                          [--ids]
                          [--resource-group]
                          [--subscription]
                          [--yes]

Examples

EnvironmentsDelete

az tsi environment delete --name "env1" --resource-group "rg1"

Optional Parameters

--environment-name --name -n

The name of the Time Series Insights environment associated with the specified resource group.

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

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

--yes -y

Do not prompt for confirmation.

default value: False
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 tsi environment list

List all the available environments within a subscription, irrespective of the resource groups.

az tsi environment list [--resource-group]

Examples

EnvironmentsByResourceGroup

az tsi environment list --resource-group "rg1"

EnvironmentsBySubscription

az tsi environment list

Optional Parameters

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

--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 tsi environment show

Get the environment with the specified name in the specified subscription and resource group.

az tsi environment show [--environment-name]
                        [--expand]
                        [--ids]
                        [--resource-group]
                        [--subscription]

Examples

EnvironmentsGet

az tsi environment show --name "env1" --resource-group "rg1"

Optional Parameters

--environment-name --name -n

The name of the Time Series Insights environment associated with the specified resource group.

--expand

Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.

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

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