CostManagementClient does not return tags associated with resource groups #36366
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Describe the bug
CostManagementClient does not return tags associated with resource groups
To Reproduce
Steps to reproduce the behavior:
The type column output I get
'columns': [<azure.mgmt.costmanagement.models._models_py3.QueryColumn object at 0x7f757ca238d0>, <azure.mgmt.costmanagement.models._models_py3.QueryColumn object at 0x7f757ca23950>, <azure.mgmt.costmanagement.models._models_py3.QueryColumn object at 0x7f757ca23990>, <azure.mgmt.costmanagement.models._models_py3.QueryColumn object at 0x7f757ca239d0>, <azure.mgmt.costmanagement.models._models_py3.QueryColumn object at 0x7f757ca23a10>]
Expected behavior
The column output should be as per below (which can be validated from API play ground in Azure portal by running the same query with latest API version i.e. "2023-11-01"). the scope
/subscriptions/{subscription_id}/providers/Microsoft.CostManagement/query?api-version=2023-11-01
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Tried to run the cost management client by specifying the latest version of API, but still does not work.
cost_management_client = CostManagementClient(credential=cost_credential, api_version="2023-11-01")
The text was updated successfully, but these errors were encountered: