简体   繁体   中英

Azure custom resource provider long running resource creation

I need to create a custom resource provider with an Azure function in the backend. So my ARM template would look something like this - https://github.com/Azure/azure-quickstart-templates/blob/master/101-custom-rp-with-function/azuredeploy.json

I am confused about how I must design this Azure function. I want to understand how a resource of custom resource type is provisioned through ARM template.

When the custom resource is provisioned through ARM template, is a POST request made and response of the API would determine if the provisioning succeeded or failed?

If so how can I put a long running operation here? Can my POST call give a response after 1.5 hours of processing?

Or in custom resource provisioning through ARM template, would POST call be made followed by GET calls till the GET call returns 200 OK?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM