Get the current Api Version of the Azure resources programmatically.

Dubey, Abhishekkumar 41 Reputation points
2023-02-10T15:09:50.1466667+00:00

Hello team, I am trying to find out ways to get the current API Version of the Azure resources programmatically either via Azure PowerShell or Azure CLI.
I tried using the below commands but none seem to be returning the API Version data:
`az resource show --ids

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
43,286 questions
0 comments No comments
{count} votes

Accepted answer
  1. Stanislav Zhelyazkov 27,321 Reputation points MVP
    2023-02-13T12:30:54.38+00:00

    Hi,

    Resources itself does not have API version. Resource types have API version. How to get the API versions available for different resource types you can check here.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.