Skip to content

Files

Latest commit

df3de93 · Dec 21, 2020

History

History

azure_streamanalytics_transformations

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 21, 2020
Feb 16, 2018
Dec 21, 2020
Dec 21, 2020

@datafire/azure_streamanalytics_transformations

Client library for StreamAnalyticsManagementClient

Installation and Usage

npm install --save @datafire/azure_streamanalytics_transformations
let azure_streamanalytics_transformations = require('@datafire/azure_streamanalytics_transformations').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

Transformations_Get

Gets details about the specified transformation.

azure_streamanalytics_transformations.Transformations_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "jobName": "",
  "transformationName": ""
}, context)

Input

  • input object
    • api-version required string: Client Api Version.
    • subscriptionId required string: GUID which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • jobName required string: The name of the streaming job.
    • transformationName required string: The name of the transformation.

Output

Transformations_Update

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

azure_streamanalytics_transformations.Transformations_Update({
  "transformation": null,
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "jobName": "",
  "transformationName": ""
}, context)

Input

  • input object
    • transformation required Transformation
    • If-Match string: 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.
    • api-version required string: Client Api Version.
    • subscriptionId required string: GUID which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • jobName required string: The name of the streaming job.
    • transformationName required string: The name of the transformation.

Output

Transformations_CreateOrReplace

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

azure_streamanalytics_transformations.Transformations_CreateOrReplace({
  "transformation": null,
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "jobName": "",
  "transformationName": ""
}, context)

Input

  • input object
    • transformation required Transformation
    • If-Match string: 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.
    • If-None-Match string: 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.
    • api-version required string: Client Api Version.
    • subscriptionId required string: GUID which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • jobName required string: The name of the streaming job.
    • transformationName required string: The name of the transformation.

Output

Definitions

SubResource

  • SubResource object: The base sub-resource model definition.
    • id string: Resource Id
    • name string: Resource name
    • type string: Resource type

Transformation

  • Transformation object: A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job.

TransformationProperties

  • TransformationProperties object: The properties that are associated with a transformation.
    • etag string: The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
    • query string: 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.
    • streamingUnits integer: Specifies the number of streaming units that the streaming job uses.