I've been going through the documentation for "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-07-01/compute"
But can't seem to figure out how I'd go about listing vm sizes for a specific region. If somebody has any degree of experience doing this, your input would be greatly appreciated.
Thanks
CodePudding user response:
You might need to call two methods,
- List the VMs in a resource group
- Get VM information including the location