az tsi environment gen1
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 gen1 command. Learn more about extensions.
Manage a gen1 environment in the specified subscription and resource group.
Commands
Name | Description | Type | Status |
---|---|---|---|
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 gen1 create
Create a gen1 environment in the specified subscription and resource group.
az tsi environment gen1 create --data-retention-time
--environment-name
--location
--resource-group
--sku
[--exceeded-behavior {PauseIngress, PurgeOldData}]
[--key-properties]
[--no-wait]
[--tags]
Examples
EnvironmentsGen1Create
az tsi environment gen1 create --name "env1" --location westus --data-retention-time "P31D" --partition-key-properties name="DeviceId1" type="String" --sku name="S1" capacity=1 --resource-group "rg1"
Required Parameters
ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
Name of the environment.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The sku determines the type of environment, either S1 or S2. For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.
Usage: --sku name=XX capacity=XX
name: Required. The name of this SKU. capacity: Required. The capacity of the sku. This value can be changed to support scale out of environments after they have been created.
Optional Parameters
The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.
The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported.
Usage: --partition-key-properties name=XX type=XX
name: The name of the property. type: The type of the property.
Multiple actions can be specified by using more than one --partition-key-properties argument.
Do not wait for the long-running operation to finish.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az tsi environment gen1 update
Update a gen1 environment in the specified subscription and resource group.
az tsi environment gen1 update [--data-retention-time]
[--environment-name]
[--exceeded-behavior {PauseIngress, PurgeOldData}]
[--ids]
[--no-wait]
[--resource-group]
[--sku]
[--subscription]
[--tags]
Examples
EnvironmentsGen1Update
az tsi environment gen1 update --name "env1" --sku name="S1" capacity=2 --resource-group "rg1" --data-retention-time "P30D" --storage-limit-exceeded-behavior PurgeOldData
Optional Parameters
ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
Name of the environment.
The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.
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.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The sku determines the type of environment, either S1 or S2. For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.
Usage: --sku name=XX capacity=XX
name: Required. The name of this SKU. capacity: Required. The capacity of the sku. This value can be changed to support scale out of environments after they have been created.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.