New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compute: costs
values is not returned for ResourceSKU
#6574
Comments
Hey thanks for reporting this issue. We are sending this to the correct team to do some additional research. @hyonholee - Spoke to @Drewm3 and he will be looking into this issue. |
This is by design. There are a set of standard SKU definitions in the swagger, but only though documented here for compute are supported today: [https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list] |
Just wonder should the swagger spec need change to reflect this design? |
I see different version in API: but Isn't this the root cause? |
Why this desing? azure-libraries-for-net team does not want to add support for Cost API without having it in swagger. So what is the correct approach to accessing the Costs? |
The reason for the current design is the fact that there is not a commerce provided API to get the cost of a specific type of resource that is available consistently through all channels of Azure customers. For example there is an API that works for Azure customers who have signed up through the Azure Portal, but that API does not work for Azure customers who are paying through a mechanism called an Enterprise Agreement. Within Azure VMs we are willing to change this design if/when there is a consistent way for us to provide a reference which all customers can use to get the price of the VM size, but we are unable to provide multiple configuration details for the multiple different methods required to get the price of a resource today. |
ok, thanks for explaining. |
…6572) * Adds base for updating Microsoft.Confluent from version stable/2021-12-01 to version 2022-03-01 * Updates readme * Updates API version in new specs and examples * Removing maxLength + fixing linting issues (Azure#6574) * Removing maxLength + fixing linting issue * Updating confluent.json for Swagger Linting fix https://portal.azure-devex-tools.com/amekpis/linting/detail?errorId=9DA38F21-FFDA-4909-A86F-189CC09155D7 * Update confluent.json * LintDiff, changing api-version type * Update confluent.json (Azure#6674)
There is field defined in the swagger spec for sku's costs: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json, but can not find this values from the service return responses.
Related issue:
Azure/azure-libraries-for-net#718
The text was updated successfully, but these errors were encountered: