Skip to content
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

FOCUS specification Cost and Usage Report for all subscription types #36413

Open
lokesh-heeddata opened this issue Jul 10, 2024 · 7 comments
Open
Assignees
Labels
Consumption - UsageDetailsAndExport All issues in consumption for usage details API and exports API. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-author-feedback More information is needed from author to address the issue. 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.

Comments

@lokesh-heeddata
Copy link

I checked the consumption usage details API to get the FOCUS specification keys and values. I am not able to find the suitable api call with required parameters.
Is their any new API is introduced to get that data?
How can we get the complete FOCUS specification data through an API call? Please, provide the suitable api call to move further steps.
@shanselman @osake @archerzz

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 10, 2024
@mccoyp
Copy link
Member

mccoyp commented Jul 10, 2024

Hi @lokesh-heeddata, thank you for opening an issue. Would you be able to share more information for us to triage this issue? Which Azure SDK library are you using? Are you able to share any service documentation that you're referring to so we can better understand your scenario?

@mccoyp mccoyp added the needs-author-feedback More information is needed from author to address the issue. label Jul 10, 2024
@github-actions github-actions bot removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jul 10, 2024
Copy link

Hi @lokesh-heeddata. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

Copy link

Hi @lokesh-heeddata, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

@github-actions github-actions bot added the no-recent-activity There has been no recent activity on this issue. label Jul 17, 2024
@lokesh-heeddata
Copy link
Author

lokesh-heeddata commented Jul 23, 2024

Hi @lokesh-heeddata, thank you for opening an issue. Would you be able to share more information for us to triage this issue? Which Azure SDK library are you using? Are you able to share any service documentation that you're referring to so we can better understand your scenario?

Hi @mccoyp , I am using [azure-mgmt-consumption==10.0.0] library to get the cost details of the resources.We need an API call to get the data with FOCUS format naming conventions which was released by the FinOps FOCUS organization[https://focus.finops.org/]. Please help me to find any public api call to get the required data.
Ref:
https://learn.microsoft.com/en-us/rest/api/consumption/
LegacyUsageDetail[] : https://learn.microsoft.com/en-us/rest/api/consumption/usage-details/list?view=rest-consumption-2023-05-01&tabs=HTTP#legacyusagedetail
ModernUsageDetail[]: https://learn.microsoft.com/en-us/rest/api/consumption/usage-details/list?view=rest-consumption-2023-05-01&tabs=HTTP#modernusagedetail

@github-actions github-actions bot added needs-team-attention This issue needs attention from Azure service team or SDK team and removed needs-author-feedback More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue. labels Jul 23, 2024
@mccoyp
Copy link
Member

mccoyp commented Jul 23, 2024

Hi @lokesh-heeddata, thank you for the information. I'll tag the library owner on this issue so we can get back to you as soon as possible.

@mccoyp mccoyp added Mgmt This issue is related to a management-plane library. Consumption - UsageDetailsAndExport All issues in consumption for usage details API and exports API. Service Attention This issue is responsible by Azure service team. labels Jul 23, 2024
@ChenxiJiang333
Copy link
Member

ChenxiJiang333 commented Jul 29, 2024

Hi @lokesh-heeddata, I have checked the swagger definitions. It seems there's no such API among the consumption usage details APIs and they are possibly going to be replaced by generate cost details APIs.
For now, you could take a try on this sample. Not sure about the data format of the report for we now actually don't have the required account to run it.

@xiangyan99 xiangyan99 added the needs-author-feedback More information is needed from author to address the issue. label Aug 1, 2024
Copy link

github-actions bot commented Aug 1, 2024

Hi @lokesh-heeddata. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

@github-actions github-actions bot removed the needs-team-attention This issue needs attention from Azure service team or SDK team label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Consumption - UsageDetailsAndExport All issues in consumption for usage details API and exports API. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-author-feedback More information is needed from author to address the issue. 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.
Projects
None yet
Development

No branches or pull requests

5 participants