Azure-docs: Metering service API clarification

Created on 31 Oct 2019  Â·  8Comments  Â·  Source: MicrosoftDocs/azure-docs

In Azure Marketplace metering service APIs, , in the request body we pass resourceId, is this resourceId same as the subscriptionid? I think needs to be clarified to help understand devs building application around this api.


Document Details

âš  Do not edit this section. It is required for docs.microsoft.com âžź GitHub issue linking.

Pri3 assigned-to-author doc-enhancement marketplacsvc triaged

Most helpful comment

Yes, the resourceid is the subscription id of the customer.

All 8 comments

@santhoshbomma9 Thanks for the feedback. I am assigning the issue to the content owner to review and update as appropriate.

@qianw211 Can you please take a look at this ?

@qianw211 Any updates? Having the same question. Thanks.

@gbshr Hi, we're currently investigating, and I'll let you know once we find the answers to your question. Thanks for your patience!

Hello. Is there any update on the answer to this question? I have reached your Support specialist and have this answer:
"ResourceId means it’s a “Unique identifier of the Azure Resource Manager resource”.
Terms in Azure: https://docs.microsoft.com/en-us/azure/billing/billing-understand-your-usage
Resources : https://docs.microsoft.com/en-in/rest/api/resources/resources
"

But I do not understand how to get this ResourceId, if I know only the ID of customer's subscription to our offer, and also our offer's details. If I understand correctly, in this “resourceId” parameter we should send ID of customer’s Resource, from which the money will be taken for usage of the sent quantity of units. But the question still - how to get the "resourceId" from Azure Marketplace by some API or something else?
Please contact me via e-mail "a.[email protected]" once you will have an answer!

@ChiragMishra-MSFT
@qianw211

Yes, the resourceid is the subscription id of the customer.

Confirming that resourceId is subscriptionID of the SaaS purchase.

please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments