You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Copy, back up and move your Azure Stream Analytics jobs between regions
3
3
description: This article describes how to move, copy, and back up an Azure Stream Analytics job.
4
-
author: su-jie
5
-
ms.author: sujie
6
-
4
+
author: alexlzx
5
+
ms.author: zhenxilin
7
6
ms.service: stream-analytics
8
7
ms.topic: how-to
9
8
ms.custom: subject-moving-resources
10
-
ms.date: 09/11/2019
9
+
ms.date: 12/27/2012
11
10
#Customer intent: As an Azure Stream Analytics job developer or admin, I want export my job so that I can reuse, move between Azure regions, or back up.
12
11
---
13
12
14
13
# Copy, back up and move your Azure Stream Analytics jobs between regions
15
14
16
-
When you want to move, copy or back up your deployed Azure Stream Analytics jobs, you can use the job exporting function in Stream Analytics extension for Visual Studio Code or Visual Studio to achieve. It will help you to export your job's definition to local, then you can backup it there or resubmit it to another region.
15
+
If you want to move, copy or back up your Azure Stream Analytics jobs in Azure, the Azure Stream Analytics extension for Visual Studio Code allows you to export an existing job in the cloud to your local computer. All the configurations of your Stream Analytics job will be saved locally and you can resubmit it to another region.
17
16
18
17
> [!NOTE]
19
-
> * We strongly recommend using [**Stream Analytics tools for Visual Studio Code**](./quick-create-visual-studio-code.md) for best local development experience. There are known feature gaps in Stream Analytics tools for Visual Studio 2019 (version 2.6.3000.0) and it won't be improved going forward.
20
18
> * Copying a job to another region does not copy the last output time. Therefore, you cannot use [**When last stopped**](./start-job.md#start-options) option when starting the copied job.
21
19
22
20
## Before you begin
23
21
* If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/).
24
22
25
23
* Sign in to the [Azure portal](https://portal.azure.com/).
26
24
27
-
* Install [Azure Stream Analytics extension for Visual Studio Code](quick-create-visual-studio-code.md#install-the-azure-stream-analytics-tools-extension) or [Azure Stream Analytics tools for Visual Studio](quick-create-visual-studio-code.md#install-the-azure-stream-analytics-tools-extension).
25
+
* Install [Azure Stream Analytics extension for Visual Studio Code](quick-create-visual-studio-code.md#install-the-azure-stream-analytics-tools-extension).
28
26
29
27
## Visual Studio Code
30
28
31
-
1.Click the **Azure** icon on the Visual Studio Code Activity Bar and then expand **Stream Analytics** node. Your jobs should appear under your subscriptions.
29
+
1.Select the **Azure** icon on the Visual Studio Code Activity Bar and then expand **Stream Analytics** node. Your jobs should appear under your subscriptions.
@@ -42,13 +40,6 @@ When you want to move, copy or back up your deployed Azure Stream Analytics jobs
42
40
43
41

44
42
45
-
## Visual Studio
46
-
47
-
1. Follow the [export a deployed Azure Stream Analytics job to a project instructions](./stream-analytics-vs-tools.md#export-jobs-to-a-project).
48
-
49
-
2. Open the \*.asaql file in the Query Editor, select **Submit To Azure** in the script editor and follow the instructions to publish the job to another region or backup using a new name.
50
-
51
43
## Next steps
52
44
53
-
*[Quickstart: Create a Stream Analytics job by using Visual Studio Code](quick-create-visual-studio-code.md)
54
-
*[Quickstart: Create a Stream Analytics job by using Visual Studio](stream-analytics-quick-create-vs.md)
45
+
*[Quickstart: Create a Stream Analytics job by using Visual Studio Code](quick-create-visual-studio-code.md)
Copy file name to clipboardExpand all lines: articles/stream-analytics/visual-studio-code-custom-deserializer.md
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,23 @@
1
1
---
2
2
title: Tutorial - Create custom .NET deserializers for Azure Stream Analytics cloud jobs using Visual Studio Code
3
3
description: This tutorial demonstrates how to create a custom .NET deserializer for an Azure Stream Analytics cloud job using Visual Studio Code.
4
-
author: su-jie
5
-
ms.author: sujie
4
+
author: alexlzx
5
+
ms.author: zhenxilin
6
6
ms.service: stream-analytics
7
7
ms.topic: how-to
8
-
ms.date: 12/22/2020
8
+
ms.date: 12/27/2022
9
9
---
10
10
11
11
12
12
# Tutorial: Custom .NET deserializers for Azure Stream Analytics in Visual Studio Code
13
13
14
-
Azure Stream Analytics has [built-in support for three data formats](stream-analytics-parsing-json.md): JSON, CSV, and Avro. With custom .NET deserializers, you can read data from other formats such as [Protocol Buffer](https://developers.google.com/protocol-buffers/), [Bond](https://github.com/Microsoft/bond) and other user defined formats for cloud jobs.
14
+
Azure Stream Analytics has built-in support for three data formats: JSON, CSV, and Avro as shown in this [doc](stream-analytics-parsing-json.md). With custom .NET deserializers, you can process data in other formats such as [Protocol Buffer](https://developers.google.com/protocol-buffers/), [Bond](https://github.com/Microsoft/bond) and other user defined formats for cloud jobs. This tutorial demonstrates how to create, test, and debug a custom .NET deserializer for an Azure Stream Analytics job using Visual Studio Code.
15
15
16
-
This tutorial demonstrates how to create, test, and debug a custom .NET deserializer for an Azure Stream Analytics cloud job using Visual Studio Code. To learn how to create .NET deserializers in Visual Studio, see [Create .NET deserializers for Azure Stream Analytics jobs in Visual Studio](custom-deserializer.md).
17
-
18
-
In this tutorial, you learn how to:
16
+
You'll learn how to:
19
17
20
18
> [!div class="checklist"]
21
19
> * Create a custom deserializer for protocol buffer.
22
-
> * Create an Azure Stream Analytics job in Visual Studio.
20
+
> * Create an Azure Stream Analytics job in Visual Studio Code.
23
21
> * Configure your Stream Analytics job to use the custom deserializer.
24
22
> * Run your Stream Analytics job locally to test and debug the custom deserializer.
25
23
@@ -92,17 +90,17 @@ Open Visual Studio Code and select **Ctrl+Shift+P** to open the command palette.
92
90
93
91
|Setting|Suggested Value|
94
92
|-------|---------------|
95
-
|Select local file path|Click CodeLens to select < The file path for the downloaded sample protobuf input file>|
93
+
|Select local file path|Select CodeLens to select < The file path for the downloaded sample protobuf input file>|
96
94
97
95
## Execute the Stream Analytics job
98
96
99
97
1. Open **ProtobufCloudDeserializer.asaql** and select **Run Locally** from CodeLens then choose **Use Local Input** from the dropdown list.
100
98
101
-
2.Observe the results in **Results** tab in job diagram view on the right. You can also click the steps in the job diagram to view intermediate result. More details please see [Debug locally using job diagram](debug-locally-using-job-diagram-vs-code.md).
99
+
2.Under the **Results** tab in the Job diagram, you can view the output results. You can also click on the steps in the job diagram to view intermediate result. For more details, please see [Debug locally using job diagram](debug-locally-using-job-diagram-vs-code.md).
102
100
103
101
:::image type="content" source="./media/custom-deserializer/check-local-run-result-vscode.png" alt-text="Check local run result.":::
104
102
105
-
You have successfully implemented a custom deserializer for your Stream Analytics job! In this tutorial, you tested the custom deserializer locally with local input data. You can also test it [using live data input in the cloud](visual-studio-code-local-run-live-input.md). For running the job in the cloud, you would properly configure the input and output. Then submit the job to Azure from Visual Studio Code to run your job in the cloud using the custom deserializer you just implemented.
103
+
You've successfully implemented a custom deserializer for your Stream Analytics job! In this tutorial, you tested the custom deserializer locally with local input data. You can also test it [using live data input in the cloud](visual-studio-code-local-run-live-input.md). For running the job in the cloud, you would properly configure the input and output. Then submit the job to Azure from Visual Studio Code to run your job in the cloud using the custom deserializer you implemented.
106
104
107
105
## Debug your deserializer
108
106
@@ -125,7 +123,7 @@ You can debug your .NET deserializer locally the same way you debug standard .NE
125
123
126
124
## Clean up resources
127
125
128
-
When no longer needed, delete the resource group, the streaming job, and all related resources. Deleting the job avoids billing the streaming units consumed by the job. If you're planning to use the job in future, you can stop it and restart it later when you need. If you are not going to continue to use this job, delete all resources created by this tutorial by using the following steps:
126
+
When no longer needed, delete the resource group, the streaming job, and all related resources. Deleting the job avoids billing the streaming units consumed by the job. If you're planning to use the job in future, you can stop it and restart it later when you need. If you aren't going to continue to use this job, delete all resources created by this tutorial by using the following steps:
129
127
130
128
1. From the left-hand menu in the Azure portal, select **Resource groups** and then select the name of the resource you created.
Copy file name to clipboardExpand all lines: articles/stream-analytics/visual-studio-code-explore-jobs.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,15 @@
2
2
title: Explore Azure Stream Analytics jobs in Visual Studio Code
3
3
description: This article shows you how to export an Azure Stream Analytics job to a local project, list jobs and view job entities.
4
4
ms.service: stream-analytics
5
-
author: su-jie
6
-
ms.author: sujie
7
-
ms.date: 07/21/2021
5
+
author: alexlzx
6
+
ms.author: zhenxilin
7
+
ms.date: 12/27/2022
8
8
ms.topic: how-to
9
9
---
10
10
11
-
# Explore Azure Stream Analytics with Visual Studio Code (Preview)
11
+
# Explore Azure Stream Analytics with Visual Studio Code
12
12
13
-
The Azure Stream Analytics for Visual Studio Code extension gives developers a lightweight experience for managing their Stream Analytics jobs. It can be used on Windows, Mac and Linux. With the Azure Stream Analytics extension, you can:
13
+
The Azure Stream Analytics extension for Visual Studio Code gives you a seamless experience for managing Stream Analytics jobs in the cloud. It can be used on Windows, Mac and Linux. With the Azure Stream Analytics extension, you can:
14
14
15
15
-[Create](quick-create-visual-studio-code.md), start, and stop jobs
16
16
- Export existing jobs to a local project
@@ -83,4 +83,4 @@ You can view your job’s diagnostic logs and activity logs for troubleshooting.
83
83
84
84
## Next steps
85
85
86
-
*[Create an Azure Stream Analytics cloud job in Visual Studio Code (Preview)](quick-create-visual-studio-code.md)
86
+
*[Create an Azure Stream Analytics cloud job in Visual Studio Code](quick-create-visual-studio-code.md)
0 commit comments