---
title: "PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}"
method: PUT
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}"
tags: ["StreamingJobs"]
---

# PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}

`PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}`

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

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `jobName` string, required

## Query parameters

- `api-version` string, required

## Headers

- `If-Match` string
- `If-None-Match` string

## Request body

- StreamingJob — The base resource definition
  - `id` string — Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
  - `name` string — The name of the resource
  - `type` string — The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

## Response `200`

The streaming job was successfully created or replaced.

- StreamingJob — The base resource definition
  - `id` string — Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
  - `name` string — The name of the resource
  - `type` string — The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

## Other responses

- `201` — The streaming job was successfully created or replaced.
- `default` — Error.

---

[API](https://skmtc.dev/azure/apis/streamanalyticsmanagementclient-4.md) · [All operations](https://skmtc.dev/azure/apis/streamanalyticsmanagementclient-4/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/streamanalyticsmanagementclient-4/revisions/553ecb8aa4ad?raw)
