How to create an output in stream analytics of SQL Database with powershell

Javier Familiar Gijón 20 Reputation points
2023-03-01T15:59:29.6933333+00:00

I want to know how to create an azure SQL Database and an output SQL Database in Stream Analytics using powershell

Thanks

Azure SQL Database
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
329 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,961 questions
0 comments No comments
{count} votes

Accepted answer
  1. Oury Ba-MSFT 15,821 Reputation points Microsoft Employee
    2023-03-02T01:16:16.72+00:00

    Hi, Javier Familiar Gijón Thank you for reaching out.

    My understanding is that you want to create an azure SQL Database and an output SQL Database in Stream Analytics using PowerShell.

    Quickstart - Create a Stream Analytics job using Azure PowerShell (https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/stream-analytics/stream-analytics-quick-create-powershell.md)

    You can use the following code to create an output SQL Database in Stream Analytics:

    $jobOutputName = "BlobOutput" $jobOutputDefinitionFile = "C:\JobOutputDefinition.json" New-AzStreamAnalyticsOutput -ResourceGroupName $resourceGroup -JobName $jobName -File $jobOutputDefinitionFile -Name $jobOutputName -Force

    Please let me know if this is helpful.

    Regards,

    Oury


0 additional answers

Sort by: Most helpful