Azure/azure-resource-provider-sdk

Subscription API completely unclear

Dmitry-Me opened this issue · 0 comments

This thing https://github.com/WindowsAzure/azure-resource-provider-sdk/blob/master/docs/api-subscription.md is completely unclear.

Suppose the RP misses one event - what happens? Will the event be re-raised?

Especially the following scenario is unclear with regards to events. Suppose a user purchases some resource with per-month payment. Three months passed - how does the RP know the user hasn't cancelled his purchase? I mean when he buys stuff Azure raises "resource create" operation and when he cancels stuff Azure raises "resource delete" operation. What if there's some connectivity loss in the middle of event being raised? What if the RP fails to respond? Once dust has settled how does the RP know who survived and what the user is still willing to pay for?

I'm pretty sure this should be clarified in the documentation.

Thank you.