Azure / typespec-azure

About TypeSpec Azure Libraries
https://azure.github.io/typespec-azure/
MIT License
15 stars 42 forks source link

add standard Skus_List API support #1782

Open cataggar opened 4 weeks ago

cataggar commented 4 weeks ago

Clear and concise description of the problem

It is documented internally at ARM SKU API Contract with Customer.. The Azure VMware Solution already supports the API, but I'm having a bit of trouble putting together the TypeSpec for it in https://github.com/Azure/azure-rest-api-specs-pr/pull/20131 . Like the Operations API, I would prefer not to use a common definition.

Checklist

cataggar commented 4 weeks ago

You can use az rest to use the API for different resource providers that support it. Here are two examples.

az rest --method get --uri $'/subscriptions/($subscription)/providers/Microsoft.AVS/skus?api-version=2023-03-01'
az rest --method get --uri $'/subscriptions/($subscription)/providers/Microsoft.Compute/skus?api-version=2023-10-02'