-
Notifications
You must be signed in to change notification settings - Fork 283
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
resource name not getting cost analysis (Usageapi cllent) #637
Comments
UsageAPI aggregate the data based on grouping, those fields only be populated if you group by them, please read the documentation for the usage_api |
If you want the resource_name, try to use group_by the resource_name |
@adizohar Okay but I am getting errors like unsupported key
|
Indeed, resource_name is not supported key, it is not in the documentation, it was added for future functionality |
Currently Supported - “compartmentName”, “compartmentPath”, “compartmentId”, “platform”, “region”, “logicalAd”, “resourceId”, “tenantId”, “tenantName”]` |
Okay thankyou for confirming @adizohar, when we able to get resource_name in usageapi. |
It was requested by many customers, metering team is working on it., I don't have any timeline or info, but will let you know once I have |
Hi, @adizohar , how can I get the resource name other than the usage API call is there any other API call available or any other search options available |
The easiest way is to use the search api:
|
Thanks @adizohar in the above api call I need to do an individual search for every resource I need. |
For now, Search is the best option |
hi, @adizohar does we have any limitations to the api call we made using search api, like the number of api calls can be made to that particular tenancy. as per my knowledge we can made only 1000 api calls for a particular tenancy. is it correct? |
I am not aware of any API limitation, if you call too quickly, the service limits you and the retry option will work |
In the usage API call, many values return as "none". In the JSON response, the "resource name" key is present but its value is null. Could you assist me in making the correct API call to retrieve these values? @adizohar, for your help
The text was updated successfully, but these errors were encountered: