Azure / Azure/azure-rest-api-specs
Stream Analytics API 2020-03-01 is missing Function Output
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 6k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
In the 2017-04-01-preview API we have support ASA output to Azure Function as per https://docs.microsoft.com/en-us/azure/templates/microsoft.streamanalytics/2017-04-01-preview/streamingjobs/outputs?tabs=bicep

However in the 2020-03-01 GA API this is no longer there (https://docs.microsoft.com/en-us/azure/templates/microsoft.streamanalytics/2020-03-01/streamingjobs/outputs?tabs=bicep) and consequently bicep complains:
> Warning BCP036: The property "type" expected a value of type "'Microsoft.DataLake/Accounts' | 'Microsoft.EventHub/EventHub' | 'Microsoft.ServiceBus/EventHub' | 'Microsoft.ServiceBus/Queue' | 'Microsoft.ServiceBus/Topic' | 'Microsoft.Sql/Server/DataWarehouse' | 'Microsoft.Sql/Server/Database' | 'Microsoft.Storage/Blob' | 'Microsoft.Storage/DocumentDB' | 'Microsoft.Storage/Table' | 'PowerBI'" but the provided value is of type "'Microsoft.AzureFunction'"
Why was this removed? Has it just been forgotten, is this no longer supported, should something else be used?
Contributor guide
Research direction
Compare the linked 2017-04-01-preview and 2020-03-01 Stream Analytics streaming-job output definitions, focusing on the supported output type list and the Microsoft.AzureFunction case. Determine whether the omission is intentional or an API specification gap; done means the repository specification or issue guidance clearly reflects the supported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100