Azure Stream Analytics StreamingJobs API
The StreamingJobs API from Azure Stream Analytics — 10 operation(s) for streamingjobs, served through Azure Resource Manager (api-version 2020-03-01).
The StreamingJobs API from Azure Stream Analytics — 10 operation(s) for streamingjobs, served through Azure Resource Manager (api-version 2020-03-01).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/microsoft-azure-stream-analytics:microsoft-azure-stream-analytics-streamingjobs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: StreamAnalyticsManagementClient Streaming Jobs API
version: '2020-03-01'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: StreamingJobs
paths:
? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}
: put:
tags:
- StreamingJobs
operationId: StreamingJobs_CreateOrReplace
description: Creates a streaming job or replaces an already existing streaming job.
parameters:
- name: If-Match
in: header
required: false
x-ms-client-name: IfMatch
description: The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
schema:
type: string
- name: If-None-Match
in: header
required: false
x-ms-client-name: IfNoneMatch
description: Set to '*' to allow a new streaming job to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response.
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/StreamingJobNameParameter'
responses:
'200':
description: The streaming job was successfully created or replaced.
headers:
ETag:
description: The current entity tag for the streaming job. 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.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/StreamingJob'
'201':
description: The streaming job was successfully created or replaced.
headers:
ETag:
description: The current entity tag for the streaming job. 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.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/StreamingJob'
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StreamingJob'
description: The definition of the streaming job that will be used to create a new streaming job or replace the existing one.
required: true
summary: Streaming jobs create or replace
x-summary-source: derived
patch:
tags:
- StreamingJobs
operationId: StreamingJobs_Update
description: Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition.
parameters:
- name: If-Match
in: header
required: false
x-ms-client-name: IfMatch
description: The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/StreamingJobNameParameter'
responses:
'200':
description: The streaming job was successfully updated.
headers:
ETag:
description: The current entity tag for the streaming job. 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.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/StreamingJob'
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StreamingJob'
description: A streaming job object. The properties specified here will overwrite the corresponding properties in the existing streaming job (ie. Those properties will be updated). Any properties that are set to null here will mean that the corresponding property in the existing input will remain the same and not change as a result of this PATCH operation.
required: true
summary: Streaming jobs update
x-summary-source: derived
delete:
tags:
- StreamingJobs
operationId: StreamingJobs_Delete
description: Deletes a streaming job.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/StreamingJobNameParameter'
responses:
'200':
description: The streaming job was successfully deleted.
'202':
description: The delete request was successfully initiated.
'204':
description: The streaming job does not exist.
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-ms-long-running-operation: true
summary: Streaming jobs delete
x-summary-source: derived
get:
tags:
- StreamingJobs
operationId: StreamingJobs_Get
description: Gets details about the specified streaming job.
parameters:
- name: $expand
in: query
required: false
description: The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'.
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/StreamingJobNameParameter'
responses:
'200':
description: Successfully retrieved the specified streaming job.
headers:
ETag:
description: The current entity tag for the streaming job. 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.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/StreamingJob'
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Streaming jobs get
x-summary-source: derived
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs:
get:
tags:
- StreamingJobs
operationId: StreamingJobs_ListByResourceGroup
description: Lists all of the streaming jobs in the specified resource group.
parameters:
- name: $expand
in: query
required: false
description: The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'.
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
responses:
'200':
description: Successfully listed the streaming jobs under the specified resource group.
content:
application/json:
schema:
$ref: '#/components/schemas/StreamingJobListResult'
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-ms-pageable:
nextLinkName: nextLink
summary: Streaming jobs list by resource group
x-summary-source: derived
/subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/streamingjobs:
get:
tags:
- StreamingJobs
operationId: StreamingJobs_List
description: Lists all of the streaming jobs in the given subscription.
parameters:
- name: $expand
in: query
required: false
description: The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'.
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
responses:
'200':
description: Successfully listed the streaming jobs under the given subscription.
content:
application/json:
schema:
$ref: '#/components/schemas/StreamingJobListResult'
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-ms-pageable:
nextLinkName: nextLink
summary: Streaming jobs list
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/start
: post:
tags:
- StreamingJobs
operationId: StreamingJobs_Start
description: Starts a streaming job. Once a job is started it will start processing input events and produce output.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/StreamingJobNameParameter'
responses:
'200':
description: The streaming job was successfully started.
'202':
description: The start streaming job request was successfully initiated.
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StartStreamingJobParameters'
description: Parameters applicable to a start streaming job operation.
summary: Streaming jobs start
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/stop
: post:
tags:
- StreamingJobs
operationId: StreamingJobs_Stop
description: Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/StreamingJobNameParameter'
responses:
'200':
description: The streaming job was successfully stopped.
'202':
description: The stop streaming job request was successfully initiated.
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-ms-long-running-operation: true
summary: Streaming jobs stop
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/scale
: post:
tags:
- StreamingJobs
operationId: StreamingJobs_Scale
description: Scales a streaming job when the job is running.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/StreamingJobNameParameter'
responses:
'200':
description: The scale streaming job request succeeded.
'202':
description: The scale streaming job request was successfully initiated.
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ScaleStreamingJobParameters'
description: Parameters applicable to a scale streaming job operation.
summary: Streaming jobs scale
x-summary-source: derived
components:
schemas:
OutputStartMode:
type: string
description: Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time.
enum:
- JobStartTime
- CustomTime
- LastOutputEventTime
x-ms-enum:
name: OutputStartMode
modelAsString: true
Sku:
type: object
description: The properties that are associated with a SKU.
properties:
name:
type: string
description: The name of the SKU. Required on PUT (CreateOrReplace) requests.
enum:
- Standard
x-ms-enum:
name: SkuName
modelAsString: true
ClusterInfo:
type: object
description: The properties associated with a Stream Analytics cluster.
properties:
id:
description: The resource id of cluster.
type: string
Output:
type: object
description: An output object, containing all information associated with the named output. All outputs are contained under a streaming job.
allOf:
- $ref: '#/components/schemas/SubResource'
properties:
properties:
$ref: '#/components/schemas/OutputProperties'
description: The properties that are associated with an output. Required on PUT (CreateOrReplace) requests.
x-ms-client-flatten: true
OutputErrorPolicy:
type: string
description: Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size).
enum:
- Stop
- Drop
x-ms-enum:
name: OutputErrorPolicy
modelAsString: true
StreamingJobProperties:
type: object
description: The properties that are associated with a streaming job.
properties:
sku:
description: Describes the SKU of the streaming job. Required on PUT (CreateOrReplace) requests.
$ref: '#/components/schemas/Sku'
jobId:
readOnly: true
type: string
description: A GUID uniquely identifying the streaming job. This GUID is generated upon creation of the streaming job.
provisioningState:
readOnly: true
type: string
description: Describes the provisioning status of the streaming job.
jobState:
readOnly: true
type: string
description: Describes the state of the streaming job.
jobType:
type: string
description: Describes the type of the job. Valid modes are `Cloud` and 'Edge'.
enum:
- Cloud
- Edge
x-ms-enum:
name: JobType
modelAsString: true
outputStartMode:
$ref: '#/components/schemas/OutputStartMode'
description: This property should only be utilized when it is desired that the job be started immediately upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time.
outputStartTime:
type: string
format: date-time
description: Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime.
lastOutputEventTime:
readOnly: true
type: string
format: date-time
description: Value is either an ISO-8601 formatted timestamp indicating the last output event time of the streaming job or null indicating that output has not yet been produced. In case of multiple outputs or multiple streams, this shows the latest value in that set.
eventsOutOfOrderPolicy:
$ref: '#/components/schemas/EventsOutOfOrderPolicy'
description: Indicates the policy to apply to events that arrive out of order in the input event stream.
outputErrorPolicy:
$ref: '#/components/schemas/OutputErrorPolicy'
description: Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size).
eventsOutOfOrderMaxDelayInSeconds:
type: integer
format: int32
description: The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order.
eventsLateArrivalMaxDelayInSeconds:
type: integer
format: int32
description: The maximum tolerable delay in seconds where events arriving late could be included. Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait indefinitely. If the property is absent, it is interpreted to have a value of -1.
dataLocale:
type: string
description: The data locale of the stream analytics job. Value should be the name of a supported .NET Culture from the set https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx. Defaults to 'en-US' if none specified.
compatibilityLevel:
$ref: '#/components/schemas/CompatibilityLevel'
description: Controls certain runtime behaviors of the streaming job.
createdDate:
readOnly: true
type: string
format: date-time
description: Value is an ISO-8601 formatted UTC timestamp indicating when the streaming job was created.
inputs:
type: array
items:
$ref: '#/components/schemas/Input'
description: A list of one or more inputs to the streaming job. The name property for each input is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual input.
transformation:
$ref: '#/components/schemas/Transformation'
description: Indicates the query and the number of streaming units to use for the streaming job. The name property of the transformation is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation.
outputs:
type: array
items:
$ref: '#/components/schemas/Output'
description: A list of one or more outputs for the streaming job. The name property for each output is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual output.
functions:
type: array
items:
$ref: '#/components/schemas/Function'
description: A list of one or more functions for the streaming job. The name property for each function is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation.
etag:
readOnly: true
type: string
description: The current entity tag for the streaming job. 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.
jobStorageAccount:
description: The properties that are associated with an Azure Storage account with MSI
$ref: '#/components/schemas/JobStorageAccount'
contentStoragePolicy:
readOnly: false
type: string
description: Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this requires the user to also specify jobStorageAccount property. .
enum:
- SystemAccount
- JobStorageAccount
x-ms-enum:
name: ContentStoragePolicy
modelAsString: true
cluster:
$ref: '#/components/schemas/ClusterInfo'
description: The cluster which streaming jobs will run on.
EventsOutOfOrderPolicy:
type: string
description: Indicates the policy to apply to events that arrive out of order in the input event stream.
enum:
- Adjust
- Drop
x-ms-enum:
name: EventsOutOfOrderPolicy
modelAsString: true
JobStorageAccount:
type: object
description: The properties that are associated with an Azure Storage account with MSI
allOf:
- $ref: '#/components/schemas/StorageAccount'
properties:
authenticationMode:
$ref: '#/components/schemas/AuthenticationMode'
description: Authentication Mode.
Function:
type: object
description: A function object, containing all information associated with the named function. All functions are contained under a streaming job.
allOf:
- $ref: '#/components/schemas/SubResource'
properties:
properties:
$ref: '#/components/schemas/FunctionProperties'
description: The properties that are associated with a function.
Transformation:
type: object
description: A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job.
allOf:
- $ref: '#/components/schemas/SubResource'
properties:
properties:
$ref: '#/components/schemas/TransformationProperties'
description: The properties that are associated with a transformation. Required on PUT (CreateOrReplace) requests.
x-ms-client-flatten: true
Identity:
type: object
description: Describes how identity is verified
properties:
tenantId:
type: string
description: The identity tenantId
readOnly: true
principalId:
type: string
description: The identity principal ID
readOnly: true
type:
type: string
description: The identity type
CompatibilityLevel:
type: string
description: Controls certain runtime behaviors of the streaming job.
enum:
- '1.0'
- '1.2'
x-ms-enum:
name: CompatibilityLevel
modelAsString: true
TrackedResource:
type: object
description: The resource model definition for a ARM tracked top level resource
properties:
tags:
type: object
additionalProperties:
type: string
x-ms-mutability:
- read
- create
- update
description: Resource tags.
location:
type: string
x-ms-mutability:
- read
- create
description: The geo-location where the resource lives
allOf:
- $ref: '#/components/schemas/Resource'
ScaleStreamingJobParameters:
type: object
description: Parameters supplied to the Scale Streaming Job operation.
properties:
streamingUnits:
type: integer
format: int32
description: Specifies the number of streaming units that the streaming job will scale to.
StreamingJobListResult:
type: object
properties:
value:
type: array
items:
$ref: '#/components/schemas/StreamingJob'
readOnly: true
description: A list of streaming jobs. Populated by a 'List' operation.
nextLink:
type: string
readOnly: true
description: The link (url) to the next page of results.
description: Object containing a list of streaming jobs.
StorageAccount:
type: object
description: The properties that are associated with an Azure Storage account
properties:
accountName:
type: string
description: The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
accountKey:
type: string
description: The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
StartStreamingJobParameters:
type: object
description: Parameters supplied to the Start Streaming Job operation.
properties:
outputStartMode:
$ref: '#/components/schemas/OutputStartMode'
description: Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time.
outputStartTime:
type: string
format: date-time
description: Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime.
Input:
type: object
description: An input object, containing all information associated with the named input. All inputs are contained under a streaming job.
allOf:
- $ref: '#/components/schemas/SubResource'
properties:
properties:
$ref: '#/components/schemas/InputProperties'
description: The properties that are associated with an input. Required on PUT (CreateOrReplace) requests.
AuthenticationMode:
type: string
description: Authentication Mode. Valid modes are `ConnectionString`, `Msi` and 'UserToken'.
enum:
- Msi
- UserToken
- ConnectionString
x-ms-enum:
name: AuthenticationMode
modelAsString: true
default: ConnectionString
StreamingJob:
type: object
description: A streaming job object, containing all information associated with the named streaming job.
allOf:
- $ref: '#/components/schemas/TrackedResource'
properties:
properties:
$ref: '#/components/schemas/StreamingJobProperties'
description: The properties that are associated with a streaming job. Required on PUT (CreateOrReplace) requests.
x-ms-client-flatten: true
identity:
$ref: '#/components/schemas/Identity'
description: Describes the system-assigned managed identity assigned to this job that can be used to authenticate with inputs and outputs.
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Error code.
message:
type: string
description: Error message.
target:
type: string
description: Error target.
details:
type: array
items:
$ref: '#/components/schemas/ErrorDetails'
x-ms-identifiers: []
description: Error details.
description: Error definition properties.
description: Common error representation.
parameters:
ResourceGroupNameParameter:
name: resourceGroupName
in: path
required: true
description: The name of the resource group. The name is case insensitive.
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
pattern: ^[-\w\._\(\)]+$
SubscriptionIdParameter:
name: subscriptionId
in: path
required: true
description: The ID of the target subscription.
schema:
type: string
minLength: 1
ApiVersionParameter:
name: api-version
in: query
required: true
description: The API version to use for this operation.
schema:
type: string
minLength: 1
StreamingJobNameParameter:
name: jobName
in: path
required: true
description: The name of the streaming job.
x-ms-parameter-location: method
schema:
type: string
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow