In order to help prevent confusion with the 2 api versions along with helping the user pick the right one the documentation should be updated to discuss how to get the api versions the azure service support.
az cli
az provider show --namespace Microsoft.KeyVault --query "resourceTypes[?resourceType=='vaults'].apiVersions | [0]" --out table
In order to help prevent confusion with the 2 api versions along with helping the user pick the right one the documentation should be updated to discuss how to get the api versions the azure service support.
az cli
azure powershell
Resources:
https://docs.microsoft.com/en-us/azure/key-vault/key-vault-versions
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service#service-availability
https://zimmergren.net/developing-with-azure-resource-manager-part-5-tip-get-the-available-api-version-for-the-arm-endpoints/