Уреди

Делите путем


Copy, back up and move your Azure Stream Analytics jobs between regions

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 Azure cloud to your local computer. All the configurations of your Stream Analytics job will be saved locally and you can resubmit it to another cloud region.

Note

  • Copying a job to another region does not copy the last output time. Therefore, you cannot use When last stopped option when starting the copied job.

Before you begin

Visual Studio Code

  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.

    Open Stream Analytics Explorer

  2. To export a job to a local project, locate the job you wish to export in the Stream Analytics Explorer in Visual Studio Code. Then select a folder for your project.

    Locate ASA job in Visual Studio Code

    The project is exported to the folder you select and added to your current workspace.

  3. To publish the job to another region or backup using another name, select Select from your subscriptions to publish in the query editor (*.asaql) and follow the instructions.

    Publish to Azure in Visual Studio Code

Next steps