az stream-analytics transformation

Commands to manage stream-analytics transformation.

Commands

az stream-analytics transformation create

Create a transformation or replaces an already existing transformation under an existing streaming job.

az stream-analytics transformation show

Get details about the specified transformation.

az stream-analytics transformation update

Update transformation under an existing streaming job.

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
                                          [--streaming-units]
                                          [--transformation-query]

Examples

Create a transformation

az stream-analytics transformation create --resource-group MyResourceGroup --job-name MyJobName \
--name Transformation --streaming-units "6" --transformation-query "Select Id, Name from inputtest"

Required Parameters

--job-name

The name of the streaming job.

--name -n

The name of the transformation.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--streaming-units

The number of streaming units that the streaming job uses.

--transformation-query

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 .

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 --resource-group MyResourceGroup --job-name MyJobName \
--name Transformation

Required Parameters

--job-name

The name of the streaming job.

--name -n

The name of the transformation.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az stream-analytics transformation update

Update transformation under an existing streaming job.

az stream-analytics transformation update --job-name
                                          --name
                                          --resource-group
                                          [--streaming-units]
                                          [--transformation-query]

Examples

Update a transformation

az stream-analytics transformation update --resource-group MyResourceGroup --job-name MyJobName \
--name Transformation --transformation-query "New query"

Required Parameters

--job-name

The name of the streaming job.

--name -n

The name of the transformation.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--streaming-units

The number of streaming units that the streaming job uses.

--transformation-query

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 .