az stream-analytics transformation
Note
This reference is part of the stream-analytics extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az stream-analytics transformation command. Learn more about extensions.
Manage transformation with stream analytics.
Commands
Name | Description | Type | Status |
---|---|---|---|
az stream-analytics transformation create |
Create a transformation or replaces an already existing transformation under an existing streaming job. |
Extension | GA |
az stream-analytics transformation show |
Get details about the specified transformation. |
Extension | GA |
az stream-analytics transformation update |
Update an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition. |
Extension | GA |
az stream-analytics transformation create
Create a transformation or replaces an already existing transformation under an existing streaming job.
az stream-analytics transformation create --job-name
--name
--resource-group
[--if-match]
[--if-none-match]
[--saql]
[--streaming-units]
[--valid-streaming-units]
Examples
Create a transformation
az stream-analytics transformation create --job-name "sj8374" --resource-group "sjrg4423" --saql "Select Id, Name from inputtest" --streaming-units 6 --transformation-name "transformation952"
Required Parameters
The name of the streaming job.
The name of the transformation.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
Set to '*' to allow a new transformation to be created, but to prevent updating an existing transformation. Other values will result in a 412 Pre-condition Failed response.
Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests.
Specifies the number of streaming units that the streaming job uses.
Specifies the valid streaming units a streaming job can scale to.
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 stream-analytics transformation show
Get details about the specified transformation.
az stream-analytics transformation show --job-name
--name
--resource-group
Examples
Get a transformation
az stream-analytics transformation show --job-name "sj8374" --resource-group "sjrg4423" --name "transformation952"
Required Parameters
The name of the streaming job.
The name of the transformation.
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.
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 stream-analytics transformation update
Update an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition.
az stream-analytics transformation update --job-name
--name
--resource-group
[--if-match]
[--saql]
[--streaming-units]
[--valid-streaming-units]
Examples
Update a transformation
az stream-analytics transformation update --job-name "sj8374" --resource-group "sjrg4423" --saql "New query" --transformation-name "transformation952"
Required Parameters
The name of the streaming job.
The name of the transformation.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests.
Specifies the number of streaming units that the streaming job uses.
Specifies the valid streaming units a streaming job can scale to.
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.