Azure / connectthedots

Connect tiny devices to Microsoft Azure services to build IoT solutions
http://connectthedots.io
MIT License
399 stars 274 forks source link

New preview API version broke template #273

Closed wxwr closed 6 years ago

wxwr commented 6 years ago

There is a new preview API version for Event Hub that is not available for all resource types that is breaking this ARM template. Azure PowerShell ((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.eventhub).ResourceTypes | Where-Object ResourceTypeName -eq namespaces).ApiVersions 2018-01-01-preview 2017-04-01 2015-08-01 2014-09-01 ((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.eventhub).ResourceTypes | Where-Object Re sourceTypeName -eq namespaces/authorizationrules).ApiVersions 2017-04-01 2015-08-01 2014-09-01

You can also hardcode the "2017-04-01" if you prefer, so if there is a new API available it won't break you template again.