You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use list from ComputeManagementClient.virtual_machine_sizes, I see in the doctring that the method is deprecated and I should use "Resources Skus" instead, pointing to its REST API.
When I change the command to ComputeManagement.resource_skus.list, I see that its signature is different (i.e., virtual_machine_sizes.list expects location as the first parameter whereas resource_skus.list expects filter). I have two problems:
How can I use the new API to fetch the sizes in a given location? The new API returns an iterable with objects having a locations field that expects/spits out a list of strings, but I could not get the new API to work using filter.
I have the following environment:
When I try to use
listfromComputeManagementClient.virtual_machine_sizes, I see in the doctring that the method is deprecated and I should use "Resources Skus" instead, pointing to its REST API.When I change the command to
ComputeManagement.resource_skus.list, I see that its signature is different (i.e.,virtual_machine_sizes.listexpectslocationas the first parameter whereasresource_skus.listexpectsfilter). I have two problems:location? The new API returns an iterable with objects having alocationsfield that expects/spits out a list of strings, but I could not get the new API to work usingfilter.costsfield set toNone. Is there any way to get the costs (also related to VM size should contain pricing information. azure-cli#7356)?