How to find out the latest ARM api version for given resource type

If you’d like to find this out, for instance, for Service Fabric applications, then use this query:

((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.ServiceFabric).ResourceTypes | where { $_.ResourceTypeName -eq "clusters/applications" }).ApiVersions

which would yield this result:

2017-07-01-preview
2016-09-01
2016-03-01

what means that you now can go to the GitHub repo with all ARM schemas and find the one you need.

Happy deployments!

This entry was posted in Infrastructure and tagged , , . Bookmark the permalink.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.