Azure Stream Analytics Inputs API

The Inputs API from Azure Stream Analytics — 6 operation(s) for inputs, served through Azure Resource Manager (api-version 2020-03-01).

GitHub OpenAPI

Operations 6

PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName} Inputs create or replace #
PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName} Inputs update #
DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName} Inputs delete #
GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName} Inputs get #
GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs Inputs list by streaming job #
POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}/test Inputs test #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-stream-analytics:microsoft-azure-stream-analytics-inputs-api"
All apis
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.

Get an API 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 Specification

microsoft-azure-stream-analytics-inputs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StreamAnalyticsManagementClient Inputs API
  version: '2020-03-01'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Inputs
paths:
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}
  : put:
      tags:
      - Inputs
      operationId: Inputs_CreateOrReplace
      description: Creates an input or replaces an already existing input under an existing streaming job.
      parameters:
      - name: If-Match
        in: header
        required: false
        x-ms-client-name: IfMatch
        description: The ETag of the input. Omit this value to always overwrite the current input. 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 input to be created, but to prevent updating an existing input. 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'
      - $ref: '#/components/parameters/InputNameParameter'
      responses:
        '200':
          description: The input was successfully created or replaced.
          headers:
            ETag:
              description: The current entity tag for the input. 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/Input'
        '201':
          description: The input was successfully created or replaced.
          headers:
            ETag:
              description: The current entity tag for the input. 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/Input'
        default:
          description: Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Input'
        description: The definition of the input that will be used to create a new input or replace the existing one under the streaming job.
        required: true
      summary: Inputs create or replace
      x-summary-source: derived
    patch:
      tags:
      - Inputs
      operationId: Inputs_Update
      description: Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition.
      parameters:
      - name: If-Match
        in: header
        required: false
        x-ms-client-name: IfMatch
        description: The ETag of the input. Omit this value to always overwrite the current input. 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'
      - $ref: '#/components/parameters/InputNameParameter'
      responses:
        '200':
          description: The input was successfully updated.
          headers:
            ETag:
              description: The current entity tag for the input. 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/Input'
        default:
          description: Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Input'
        description: An Input object. The properties specified here will overwrite the corresponding properties in the existing input (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: Inputs update
      x-summary-source: derived
    delete:
      tags:
      - Inputs
      operationId: Inputs_Delete
      description: Deletes an input from the streaming job.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/StreamingJobNameParameter'
      - $ref: '#/components/parameters/InputNameParameter'
      responses:
        '200':
          description: The input was successfully deleted.
        '204':
          description: The input does not exist.
        default:
          description: Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      summary: Inputs delete
      x-summary-source: derived
    get:
      tags:
      - Inputs
      operationId: Inputs_Get
      description: Gets details about the specified input.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/StreamingJobNameParameter'
      - $ref: '#/components/parameters/InputNameParameter'
      responses:
        '200':
          description: Successfully retrieved the specified input.
          headers:
            ETag:
              description: The current entity tag for the input. 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/Input'
        default:
          description: Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      summary: Inputs get
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs
  : get:
      tags:
      - Inputs
      operationId: Inputs_ListByStreamingJob
      description: Lists all of the inputs under the specified streaming job.
      parameters:
      - name: $select
        in: query
        required: false
        description: The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/StreamingJobNameParameter'
      responses:
        '200':
          description: Successfully listed the inputs under the specified streaming job.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InputListResult'
        default:
          description: Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Inputs list by streaming job
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}/test
  : post:
      tags:
      - Inputs
      operationId: Inputs_Test
      description: Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/StreamingJobNameParameter'
      - $ref: '#/components/parameters/InputNameParameter'
      responses:
        '200':
          description: The test operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceTestStatus'
        '202':
          description: The test 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/Input'
        description: If the input specified does not already exist, this parameter must contain the full input definition intended to be tested. If the input specified already exists, this parameter can be left null to test the existing input as is or if specified, the properties specified will overwrite the corresponding properties in the existing input (exactly like a PATCH operation) and the resulting input will be tested.
      summary: Inputs test
      x-summary-source: derived
components:
  schemas:
    Diagnostics:
      type: object
      description: Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
      properties:
        conditions:
          readOnly: true
          type: array
          items:
            $ref: '#/components/schemas/DiagnosticCondition'
          x-ms-identifiers: []
          description: A collection of zero or more conditions applicable to the resource, or to the job overall, that warrant customer attention.
    SubResource:
      type: object
      description: The base sub-resource model definition.
      properties:
        id:
          readOnly: true
          type: string
          description: Resource Id
        name:
          type: string
          description: Resource name
        type:
          readOnly: true
          type: string
          description: Resource type
      x-ms-azure-resource: true
    ResourceTestStatus:
      type: object
      description: Describes the status of the test operation along with error information, if applicable.
      properties:
        status:
          readOnly: true
          type: string
          description: The status of the test operation.
        error:
          readOnly: true
          $ref: '#/components/schemas/ErrorResponse'
          description: Describes the error that occurred.
    Serialization:
      type: object
      description: Describes how data from an input is serialized or how data is serialized when written to an output.
      discriminator:
        propertyName: type
      properties:
        type:
          description: Indicates the type of serialization that the input or output uses. Required on PUT (CreateOrReplace) requests.
          $ref: '#/components/schemas/EventSerializationType'
      required:
      - type
    CompressionType:
      type: string
      description: Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests.
      enum:
      - None
      - GZip
      - Deflate
      x-ms-enum:
        name: CompressionType
        modelAsString: true
      default: None
    ErrorResponse:
      type: object
      description: Describes the error that occurred.
      properties:
        code:
          readOnly: true
          type: string
          description: Error code associated with the error that occurred.
        message:
          readOnly: true
          type: string
          description: Describes the error in detail.
    Compression:
      type: object
      description: Describes how input data is compressed
      properties:
        type:
          description: Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests.
          $ref: '#/components/schemas/CompressionType'
      required:
      - type
    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.
    InputProperties:
      type: object
      description: The properties that are associated with an input.
      discriminator:
        propertyName: type
      properties:
        type:
          type: string
          description: Indicates whether the input is a source of reference data or stream data. Required on PUT (CreateOrReplace) requests.
        serialization:
          $ref: '#/components/schemas/Serialization'
          description: Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests.
        diagnostics:
          readOnly: true
          $ref: '#/components/schemas/Diagnostics'
          description: Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
        etag:
          readOnly: true
          type: string
          description: The current entity tag for the input. 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.
        compression:
          $ref: '#/components/schemas/Compression'
          description: Describes how input data is compressed
        partitionKey:
          type: string
          description: partitionKey Describes a key in the input data which is used for partitioning the input data
      required:
      - type
    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.
    InputListResult:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/Input'
          readOnly: true
          description: A list of inputs under a streaming job. 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 inputs under a streaming job.
    EventSerializationType:
      type: string
      description: Indicates the type of serialization that the input or output uses. Required on PUT (CreateOrReplace) requests.
      enum:
      - Csv
      - Avro
      - Json
      - Parquet
      x-ms-enum:
        name: EventSerializationType
        modelAsString: true
    DiagnosticCondition:
      type: object
      description: Condition applicable to the resource, or to the job overall, that warrant customer attention.
      properties:
        since:
          readOnly: true
          type: string
          description: The UTC timestamp of when the condition started. Customers should be able to find a corresponding event in the ops log around this time.
        code:
          readOnly: true
          type: string
          description: The opaque diagnostic code.
        message:
          readOnly: true
          type: string
          description: The human-readable message describing the condition in detail. Localized in the Accept-Language of the client request.
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: The ID of the target subscription.
      schema:
        type: string
        minLength: 1
    InputNameParameter:
      name: inputName
      in: path
      required: true
      description: The name of the input.
      x-ms-parameter-location: method
      schema:
        type: string
    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\._\(\)]+$
    StreamingJobNameParameter:
      name: jobName
      in: path
      required: true
      description: The name of the streaming job.
      x-ms-parameter-location: method
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to use for this operation.
      schema:
        type: string
        minLength: 1
  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