I'm trying to write my own resource provider to create a new add-on on the Azure MarketPlace, but I have some vague concepts about the provider.
If the user wants information about a resource, Azure will perform a GET for that specific resource.
<provisioning_endpoint>/subscriptions/<subscription_id>/cloudservices/<cloud_service_name>/resources/<resource_type>/<resourceName>
I know that I can configure the resource type on the publisher portal in application services // Resource Provider. But what about the restoration? If I want to create a new service (for example, SendGrid), I do not want to create a virtual machine or add-in, I want to create an ex Subscription on my site. Azure will issue a GET request to my provider, and this request will contain the name of the resource. But where / how can I configure the resource name?
I think Resource is a string that a user can enter in Portal from Buying from Marketplace
I read that resources are nested under a named object called CloudService. Where can I set the name of CloudService? What could be the possible name of CloudService in my case? Or did I miss an understanding of the entire Resource Provider?
source
share