-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
azure-mgmt-costmanagement CostManagementClient does not handle api_version #18957
Comments
@jazelenk Thanks for your question! Directing it to the people who can answer it. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ms-premp, @ramaganesan-rg. Issue Details
Describe the bug To Reproduce
Expected behavior
|
Hi @service team, 'azure-mgmt-costmanagement'==1.0.0 according to tag (https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cost-management/resource-manager#tag-package-2020-06). However, in issue '#16102', customer gets the following error which indicates that '2020-06-01' is not supported. Could you help to check it?
|
This is not the same issue as #16102. That issue is about the default api_version being incorrect. This issue is about CostManagementClient ignoring the api_version kwarg. |
(1) 'azure-mgmt-costmanagement' is single-api package. Its api version is hardcoded and can't be changed anyway. |
@jazelenk It may take long time to wait for service deployment. How about that : we publish a new package with older api-version '2019-11-01'. |
This issue is not about the problem API version; the issue for that is #16102. This issue is about the fact that CostMangaementClient silently ignores the api_version kwarg. Neither updating the CostManagement RP nor updating the swagger fixes this issue. |
please pay attention to my comment before: Anyway, we have merged the PR (Azure/azure-rest-api-specs#14584) to revert to older API. If https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/14584/azure-sdk-for-python-track2/track2_azure-mgmt-costmanagement/azure_mgmt_costmanagement-1.0.0b1-py2.py3-none-any.whl works well, we could publish new package for you. |
new package for '2019-11' : https://pypi.org/project/azure-mgmt-costmanagement/2.0.0/ |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ms-premp, @ramaganesan-rg. Issue Details
Describe the bug To Reproduce
Expected behavior
|
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @mrlepat. Issue Details
Describe the bug To Reproduce
Expected behavior
|
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Sorry! I missed the previous messages back in May. :-( I tested with that package, and unfortunately the api_version argument is still silently ignored. |
Hi @jazelenk. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “ |
Hi @jazelenk, since you haven’t asked that we “ |
Describe the bug
The default api_version used by CostManagementClient is incorrect (#16102, #17351). When I specify the correct API version explicitly while constructing CostManagementClient , it is ignored.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect that when I specify an api_version string when constructing CostManagementClient , that API version is used.
The text was updated successfully, but these errors were encountered: