Share via


az tsi event-source

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 event-source command. Learn more about extensions.

Manage event source with timeseriesinsights.

Commands

Name Description Type Status
az tsi event-source delete

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

Extension GA
az tsi event-source eventhub

Manage event source with timeseriesinsights sub group event-hub.

Extension GA
az tsi event-source eventhub create

Create an event source under the specified environment.

Extension GA
az tsi event-source eventhub update

Update an event source under the specified environment.

Extension GA
az tsi event-source iothub

Manage event source with timeseriesinsights sub group iot-hub.

Extension GA
az tsi event-source iothub create

Create an event source under the specified environment.

Extension GA
az tsi event-source iothub update

Update an event source under the specified environment.

Extension GA
az tsi event-source list

List all the available event sources associated with the subscription and within the specified resource group and environment.

Extension GA
az tsi event-source show

Show the event source with the specified name in the specified environment.

Extension GA

az tsi event-source delete

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

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

Examples

DeleteEventSource

az tsi event-source delete --environment-name "env1" --name "es1" --resource-group "rg1"

Optional Parameters

--environment-name

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

--event-source-name --name -n

The name of the Time Series Insights event source associated with the specified environment.

--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 of environment. 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 event-source list

List all the available event sources associated with the subscription and within the specified resource group and environment.

az tsi event-source list --environment-name
                         --resource-group

Examples

ListEventSourcesByEnvironment

az tsi event-source list --environment-name "env1" --resource-group "rg1"

Required Parameters

--environment-name

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

--resource-group -g

Name of resource group of environment. 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 event-source show

Show the event source with the specified name in the specified environment.

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

Examples

GetEventHubEventSource

az tsi event-source show --environment-name "env1" --name "es1" --resource-group "rg1"

Optional Parameters

--environment-name

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

--event-source-name --name -n

The name of the Time Series Insights event source associated with the specified environment.

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