How Custom Resource Provider Achieve Async Deployment

Published Jan 21 2022 12:18 AM 1,375 Views
Microsoft

Part 1: Introduction of Custom Resource Provider

 

Azure Custom Resource Provider (CRP) is an extensibility platform to Azure. It extends Azure Resource Manager (ARM) REST API to not only include internal services, but also external services. It enables custom scenarios on top of existing Azure workflows. Also, with the CRP, you can customize ARM template control and effect.

 

CRP is a high-efficient option to manage your resources because there is no need to switch tools back and forth. You can use ARM to manage both internal and external resources at the same time. It does help save time in managing external resources since you can modify the existing ARM template in your hand to extend to external resources and modify the existing CLI/PowerShell script to easily create/read/update/delete external resources.

 

zoeylan_0-1642743093641.png

 

CRP is a contract between Azure and an endpoint, which defines a list of new resources and actions via a new resource type called “Microsoft.CustomProviders/resourceProviders”. This contract describes how Azure should interact with an endpoint. The CRP acts like a proxy and will forward requests and responses to and from the specified endpoint.

 

Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/custom-providers/overview

 

 

Part 2: Deploy Custom Resource Provider

 

Same as other resources, you can use the ARM template to deploy the CRP to your Azure subscription(s). The example ARM template below can be deployed through Azure CLI, PowerShell, or the Azure Portal.

Example template: https://github.com/Azure/azure-docs-json-samples/blob/master/custom-providers/customprovider.json

 

zoeylan_1-1642743125385.png

 

Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/custom-providers/create-custom-provide...

 

As you can see in the detailed ARM template below, the CRP contains two kinds of properties: resourceTypes and actions. These are enabled through endpoint definitions. An endpoint definition is comprised of three fields: name, routingType, and endpoint.

  • resourceTypes –describe new custom resources that are added to Azure. These expose basic RESTful CRUD methods. It handles GET, PUT, and DELETE.
  • Actions – describe new actions that are added to Azure. These can be exposed on top of the resource provider or nested under a resourceType. It handles POST.

zoeylan_2-1642743125395.png

 

After the ARM template deployment succeeds, the CRP can be found in Azure portal by selecting the “Show hidden types”.

 

zoeylan_3-1642743125403.png

 

 

Part 3: Synchronous Deployment vs. Asynchronous Deployment

 

Synchronous deployments are typically used when the client must wait to receive the response before processing continues on the client side. In this case, the deployment blocks the main thread until ARM responds and the client only receives one response indicating if the deployment is successful.

 

Asynchronous deployment is a good option for the operation that cannot be completed quickly. Some operations may take long time to complete, so asynchronous deployment can help you avoid this long procedure without no status of deployment. This kind of deployment does not block the main thread. The client keeps sending requests and receives multiple responses that indicating the status of deployment.

 

In our case, we can identify the Synchronous deployment and the Asynchronous deployment by checking the response code. When a PUT request returns 200 OK, it is considered as a Synchronous operation. When a PUT request returns 201 Created/Accepted, it can be recognized as an asynchronous operation. Client is expected to receive the provisioning state and Location header with the 201 response code.

 

 

Part 4: Use Function App to achieve the Asynchronous Deployment

 

We recommend using Function App as an endpoint. Any other Web Hook endpoint can be used as well. In this blog, we use the Function App as an example. You can download the sample project with the link below.

 

Example Function App code: Please check the attachment of this blog

 

Custom resources are a way to declare a resource type of your own. To achieve the asynchronous deployment of custom resources in the Azure, we use the CRP as a proxy to redirect requests to your Function App. In our sample Function App project, we have two HTTP triggers to achieve our goal.

 

You can follow the following guidance to publish the Function App and gain an experience of how asynchronous deployment works.  

 

Step 1: Create a new Function App.

Reference: https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-app-portal

 

Step 2: Open the project file (sample.sln) in the downloaded sample project with Microsoft Visual Studio.

zoeylan_4-1642743125419.png

 

 

Step 3: Open ResourceProvider.cs and modify the value of location header within the method Put().

zoeylan_5-1642743125435.png

$"https://yourfunctionappname.azurewebsites.net/api/operations/{id}"

In this case, we provide a URL pointing to another HTTP trigger for client to get the deployment status. Please note that this URL should point to a function rather than ARM endpoint.

 

Step 4: Right click the “sample” project in the Solution Explorer and click “Publish”.

zoeylan_6-1642743125452.png

 

zoeylan_7-1642743125466.png

 

zoeylan_8-1642743125488.png

 

Publish the HTTP triggers to the Function App created previously.

zoeylan_9-1642743125491.png

 

Once you see “Ready to publish” on your page, you are free to click the “Publish”.

zoeylan_10-1642743125504.png

 

Step 5: Find the HTTP triggers in the Function App on the Azure Portal.

 When the publish process is done, you can go to the Azure Portal to check the new added HTTP triggers.

zoeylan_11-1642743125514.png

 

Now, you have set up our Function App in your environment. Then, you are ready to deploy a custom resource in an asynchronous way.

 

Step 6: Use the ARM template to deploy a custom resource.

This is an example ARM template to create a custom resource. There are a few things that you need to modify accordingly.

{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"apiVersion": "2018-09-01-preview",
"type": "Microsoft.CustomProviders/resourceProviders/yourResourceTypeName",
"name": "yourCRPname/newNameforCustomResource ",
"location": "eastus"
}
],
"outputs": {
}
}

  • yourResourceTypeName: This is the name of Resource Type that you deploy in the first ARM template (Part 2 of this blog. e.g., users).
    • You can also find “yourResourceTypeName” on the CRP page by clicking the “View value as JSON”.

zoeylan_12-1642743125523.png

 

zoeylan_13-1642743125525.png

 

  • yourCRPname: This is the name you CRP that you create in the first ARM template (Part 2 of this blog).
  • newNameforCustomResource: This is the name for the new custom resource that you want to create. So, you can pick any name you want.
  • Location: You can pick a location that you want your new custom resource deployed in.

 

Once you have done with the modifications, please copy and paste the ARM template into the template editor on the Azure Portal and deploy it.

zoeylan_14-1642743125531.png

 

Step 7:  Double confirm the new custom resource is successfully created.

After you successfully deploy the ARM template, you can use the following commands to get the custom resource that you just create.

$subID = "your subscription id"

$rgName = "your resource group name"                                                                                                                                                                                                                                                                    

$CRPName = "your CRP name"

$CRType = “your custom resource type”

$CRName = “your new created custom resource name”

 

$addURI = "https://management.azure.com/subscriptions/$subID/resourceGroups/$rgName/providers/Microsoft.CustomP... ?api-version=2018-09-01-preview"

 

az rest --method get --url $addURI

 

You will receive a response like below, which confirms that the custom resource is existing.

zoeylan_15-1642743125539.png

 

Step 8: Confirm it’s an asynchronous deployment.

Go to the resource group where you deploy the ARM template and then click the “Related events”.

zoeylan_16-1642743125550.png

 

In the “Activity log”, you can find the “Accepted” records. Clicking in each record will give you more details.

zoeylan_17-1642743125562.png

 

 

Part 5: Conclusion

 

In this blog, we introduce you how Custom Resource Provider (CRP) achieve asynchronous deployment. We use the Function App as an endpoint. Then we deploy an ARM template to create a custom resource. The PUT request is redirected to the Function App. The whole custom resource deployment process is finished in an asynchronous way.

%3CLINGO-SUB%20id%3D%22lingo-sub-3067963%22%20slang%3D%22en-US%22%3EHow%20Custom%20Resource%20Provider%20Achieve%20Async%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3067963%22%20slang%3D%22en-US%22%3E%3CH2%20id%3D%22toc-hId-335670328%22%20id%3D%22toc-hId-338232421%22%3EPart%201%3A%20Introduction%20of%20Custom%20Resource%20Provider%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20Custom%20Resource%20Provider%20(CRP)%20is%20an%20extensibility%20platform%20to%20Azure.%20It%20extends%20Azure%20Resource%20Manager%20(ARM)%20REST%20API%20to%20not%20only%20include%20internal%20services%2C%20but%20also%20external%20services.%20It%20enables%20custom%20scenarios%20on%20top%20of%20existing%20Azure%20workflows.%20Also%2C%20with%20the%20CRP%2C%20you%20can%20customize%20ARM%20template%20control%20and%20effect.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECRP%20is%20a%20high-efficient%20option%20to%20manage%20your%20resources%20because%20there%20is%20no%20need%20to%20switch%20tools%20back%20and%20forth.%20You%20can%20%3CSTRONG%3Euse%20ARM%20to%20manage%20both%20internal%20and%20external%20resources%3C%2FSTRONG%3E%20at%20the%20same%20time.%20It%20does%20help%20save%20time%20in%20managing%20external%20resources%20since%20you%20can%20modify%20the%20existing%20ARM%20template%20in%20your%20hand%20to%20extend%20to%20external%20resources%20and%20modify%20the%20existing%20CLI%2FPowerShell%20script%20to%20easily%20create%2Fread%2Fupdate%2Fdelete%20external%20resources.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zoeylan_0-1642743093641.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341294iEF9274DCD211888D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_0-1642743093641.png%22%20alt%3D%22zoeylan_0-1642743093641.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECRP%20is%20a%20%3CSTRONG%3Econtract%3C%2FSTRONG%3E%20between%20Azure%20and%20an%20endpoint%2C%20which%20defines%20a%20list%20of%20new%20resources%20and%20actions%20via%20a%20new%20resource%20type%20called%20%E2%80%9CMicrosoft.CustomProviders%2FresourceProviders%E2%80%9D.%20This%20contract%20describes%20how%20Azure%20should%20interact%20with%20an%20endpoint.%20The%20CRP%20acts%20like%20a%20%3CSTRONG%3Eproxy%3C%2FSTRONG%3E%20and%20will%20forward%20requests%20and%20responses%20to%20and%20from%20the%20specified%20endpoint.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReference%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-resource-manager%2Fcustom-providers%2Foverview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-resource-manager%2Fcustom-providers%2Foverview%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1471784135%22%20id%3D%22toc-hId--1469222042%22%3EPart%202%3A%20Deploy%20Custom%20Resource%20Provider%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESame%20as%20other%20resources%2C%20you%20can%20use%20the%20ARM%20template%20to%20deploy%20the%20CRP%20to%20your%20Azure%20subscription(s).%20The%20example%20ARM%20template%20below%20can%20be%20deployed%20through%20Azure%20CLI%2C%20PowerShell%2C%20or%20the%20Azure%20Portal.%3C%2FP%3E%0A%3CP%3EExample%20template%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-docs-json-samples%2Fblob%2Fmaster%2Fcustom-providers%2Fcustomprovider.json%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-docs-json-samples%2Fblob%2Fmaster%2Fcustom-providers%2Fcustomprovider.json%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_1-1642743125385.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341296i89240D3B17197878%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_1-1642743125385.png%22%20alt%3D%22zoeylan_1-1642743125385.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReference%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-resource-manager%2Fcustom-providers%2Fcreate-custom-provider%3Ftabs%3Dazure-cli%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-resource-manager%2Fcustom-providers%2Fcreate-custom-provider%3Ftabs%3Dazure-cli%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20you%20can%20see%20in%20the%20detailed%20ARM%20template%20below%2C%20the%20CRP%20contains%20two%20kinds%20of%20properties%3A%20%3CSTRONG%3EresourceTypes%3C%2FSTRONG%3E%20and%20%3CSTRONG%3Eactions%3C%2FSTRONG%3E.%20These%20are%20enabled%20through%20endpoint%20definitions.%20An%20endpoint%20definition%20is%20comprised%20of%20three%20fields%3A%20name%2C%20routingType%2C%20and%20endpoint.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EresourceTypes%20%E2%80%93describe%20new%20custom%20resources%20that%20are%20added%20to%20Azure.%20These%20expose%20basic%20RESTful%20CRUD%20methods.%20It%20handles%20GET%2C%20PUT%2C%20and%20DELETE.%3C%2FLI%3E%0A%3CLI%3EActions%20%E2%80%93%20describe%20new%20actions%20that%20are%20added%20to%20Azure.%20These%20can%20be%20exposed%20on%20top%20of%20the%20resource%20provider%20or%20nested%20under%20a%20resourceType.%20It%20handles%20POST.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_2-1642743125395.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341297i64ADDA57138F48BB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_2-1642743125395.png%22%20alt%3D%22zoeylan_2-1642743125395.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20the%20ARM%20template%20deployment%20succeeds%2C%20the%20CRP%20can%20be%20found%20in%20Azure%20portal%20by%20selecting%20the%20%E2%80%9CShow%20hidden%20types%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_3-1642743125403.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341295i40F03EF09289649D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_3-1642743125403.png%22%20alt%3D%22zoeylan_3-1642743125403.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1015728698%22%20id%3D%22toc-hId-1018290791%22%3EPart%203%3A%20Synchronous%20Deployment%20vs.%20Asynchronous%20Deployment%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESynchronous%20deployments%3C%2FSTRONG%3E%20are%20typically%20used%20when%20the%20client%20must%20wait%20to%20receive%20the%20response%20before%20processing%20continues%20on%20the%20client%20side.%20In%20this%20case%2C%20the%20deployment%20blocks%20the%20main%20thread%20until%20ARM%20responds%20and%20the%20client%20only%20receives%20one%20response%20indicating%20if%20the%20deployment%20is%20successful.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAsynchronous%20deployment%3C%2FSTRONG%3E%20is%20a%20good%20option%20for%20the%20operation%20that%20cannot%20be%20completed%20quickly.%20Some%20operations%20may%20take%20long%20time%20to%20complete%2C%20so%20asynchronous%20deployment%20can%20help%20you%20avoid%20this%20long%20procedure%20without%20no%20status%20of%20deployment.%20This%20kind%20of%20deployment%20does%20not%20block%20the%20main%20thread.%20The%20client%20keeps%20sending%20requests%20and%20receives%20multiple%20responses%20that%20indicating%20the%20status%20of%20deployment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20our%20case%2C%20we%20can%20identify%20the%20Synchronous%20deployment%20and%20the%20Asynchronous%20deployment%20by%20checking%20the%20response%20code.%20When%20a%20PUT%20request%20returns%20%3CSTRONG%3E200%20OK%3C%2FSTRONG%3E%2C%20it%20is%20considered%20as%20a%20Synchronous%20operation.%20When%20a%20PUT%20request%20returns%20%3CSTRONG%3E201%20Created%2FAccepted%3C%2FSTRONG%3E%2C%20it%20can%20be%20recognized%20as%20an%20asynchronous%20operation.%20Client%20is%20expected%20to%20receive%20the%20provisioning%20state%20and%20Location%20header%20with%20the%20201%20response%20code.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--791725765%22%20id%3D%22toc-hId--789163672%22%3EPart%204%3A%20Use%20Function%20App%20to%20achieve%20the%20Asynchronous%20Deployment%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20recommend%20using%20Function%20App%20as%20an%20endpoint.%20Any%20other%20Web%20Hook%20endpoint%20can%20be%20used%20as%20well.%20In%20this%20blog%2C%20we%20use%20the%20Function%20App%20as%20an%20example.%20You%20can%20download%20the%20sample%20project%20with%20the%20link%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3EExample%20Function%20App%20code%3A%20Please%20check%20the%20attachment%20of%20this%20blog%3C%2FU%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECustom%20resources%20are%20a%20way%20to%20declare%20a%20resource%20type%20of%20your%20own.%20To%20achieve%20the%20asynchronous%20deployment%20of%20custom%20resources%20in%20the%20Azure%2C%20we%20use%20the%20CRP%20as%20a%20proxy%20to%20redirect%20requests%20to%20your%20Function%20App.%20In%20our%20sample%20Function%20App%20project%2C%20we%20have%20two%20HTTP%20triggers%20to%20achieve%20our%20goal.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20follow%20the%20following%20guidance%20to%20publish%20the%20Function%20App%20and%20gain%20an%20experience%20of%20how%20asynchronous%20deployment%20works.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ES%3C%2FSTRONG%3E%3CSTRONG%3Etep%201%3A%20Create%20a%20new%20Function%20App.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EReference%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-functions%2Ffunctions-create-function-app-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-functions%2Ffunctions-create-function-app-portal%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EStep%202%3A%20Open%20the%20project%20file%20(sample.sln)%20in%20the%20downloaded%20sample%20project%20with%20Microsoft%20Visual%20Studio.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_4-1642743125419.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341298i5AB7AB97E3BA29B0%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_4-1642743125419.png%22%20alt%3D%22zoeylan_4-1642743125419.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EStep%203%3A%20Open%20ResourceProvider.cs%20and%20modify%20the%20value%20of%20location%20header%20within%20the%20method%20Put().%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_5-1642743125435.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341299iC5BC18FA63C4CC7F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_5-1642743125435.png%22%20alt%3D%22zoeylan_5-1642743125435.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%24%22%3CA%20href%3D%22https%3A%2F%2Fyourfunctionappname.azurewebsites.net%2Fapi%2Foperations%2F%7Bid%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyourfunctionappname.azurewebsites.net%2Fapi%2Foperations%2F%7Bid%3C%2FA%3E%7D%22%3C%2FP%3E%0A%3CP%3EIn%20this%20case%2C%20we%20provide%20a%20URL%20pointing%20to%20another%20HTTP%20trigger%20for%20client%20to%20get%20the%20deployment%20status.%20Please%20%3CSTRONG%3Enote%3C%2FSTRONG%3E%20that%20this%20URL%20should%20point%20to%20a%20function%20rather%20than%20ARM%20endpoint.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EStep%204%3A%20Right%20click%20the%20%E2%80%9Csample%E2%80%9D%20project%20in%20the%20Solution%20Explorer%20and%20click%20%E2%80%9CPublish%E2%80%9D.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_6-1642743125452.png%22%20style%3D%22width%3A%20800px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341300i5B0C6E4DC8A519F7%2Fimage-dimensions%2F800x447%3Fv%3Dv2%22%20width%3D%22800%22%20height%3D%22447%22%20role%3D%22button%22%20title%3D%22zoeylan_6-1642743125452.png%22%20alt%3D%22zoeylan_6-1642743125452.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_7-1642743125466.png%22%20style%3D%22width%3A%20803px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341302i700BD88588471DAF%2Fimage-dimensions%2F803x564%3Fv%3Dv2%22%20width%3D%22803%22%20height%3D%22564%22%20role%3D%22button%22%20title%3D%22zoeylan_7-1642743125466.png%22%20alt%3D%22zoeylan_7-1642743125466.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_8-1642743125488.png%22%20style%3D%22width%3A%20801px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341303iB4252F8BF8127F57%2Fimage-dimensions%2F801x560%3Fv%3Dv2%22%20width%3D%22801%22%20height%3D%22560%22%20role%3D%22button%22%20title%3D%22zoeylan_8-1642743125488.png%22%20alt%3D%22zoeylan_8-1642743125488.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPublish%20the%20HTTP%20triggers%20to%20the%20Function%20App%20created%20previously.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_9-1642743125491.png%22%20style%3D%22width%3A%20802px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341301iC590F3C5B461C972%2Fimage-dimensions%2F802x563%3Fv%3Dv2%22%20width%3D%22802%22%20height%3D%22563%22%20role%3D%22button%22%20title%3D%22zoeylan_9-1642743125491.png%22%20alt%3D%22zoeylan_9-1642743125491.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20you%20see%20%E2%80%9CReady%20to%20publish%E2%80%9D%20on%20your%20page%2C%20you%20are%20free%20to%20click%20the%20%E2%80%9CPublish%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_10-1642743125504.png%22%20style%3D%22width%3A%20800px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341304iCD9311FFEE2A2C48%2Fimage-dimensions%2F800x451%3Fv%3Dv2%22%20width%3D%22800%22%20height%3D%22451%22%20role%3D%22button%22%20title%3D%22zoeylan_10-1642743125504.png%22%20alt%3D%22zoeylan_10-1642743125504.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EStep%205%3A%20Find%20the%20HTTP%20triggers%20in%20the%20Function%20App%20on%20the%20Azure%20Portal.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3BWhen%20the%20publish%20process%20is%20done%2C%20you%20can%20go%20to%20the%20Azure%20Portal%20to%20check%20the%20new%20added%20HTTP%20triggers.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_11-1642743125514.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341305iE9AAC84A82806B8B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_11-1642743125514.png%22%20alt%3D%22zoeylan_11-1642743125514.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3ENow%2C%20you%20have%20set%20up%20our%20Function%20App%20in%20your%20environment.%20Then%2C%20you%20are%20ready%20to%20deploy%20a%20custom%20resource%20in%20an%20asynchronous%20way.%20%3C%2FU%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EStep%206%3A%20Use%20the%20ARM%20template%20to%20deploy%20a%20custom%20resource.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThis%20is%20an%20example%20ARM%20template%20to%20create%20a%20custom%20resource.%20There%20are%20a%20few%20things%20that%20you%20need%20to%20modify%20accordingly.%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22719%22%3E%3CP%3E%7B%3CBR%20%2F%3E%22%24schema%22%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fschema.management.azure.com%2Fschemas%2F2019-04-01%2FdeploymentTemplate.json%23%2522%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fschema.management.azure.com%2Fschemas%2F2019-04-01%2FdeploymentTemplate.json%23%22%3C%2FA%3E%2C%3CBR%20%2F%3E%22contentVersion%22%3A%20%221.0.0.0%22%2C%3CBR%20%2F%3E%22resources%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22apiVersion%22%3A%20%222018-09-01-preview%22%2C%3CBR%20%2F%3E%22type%22%3A%20%22Microsoft.CustomProviders%2FresourceProviders%2FyourResourceTypeName%22%2C%3CBR%20%2F%3E%22name%22%3A%20%22yourCRPname%2FnewNameforCustomResource%20%22%2C%3CBR%20%2F%3E%22location%22%3A%20%22eastus%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%2C%3CBR%20%2F%3E%22outputs%22%3A%20%7B%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CUL%20class%3D%22lia-list-style-type-disc%22%3E%0A%3CLI%3EyourResourceTypeName%3A%20This%20is%20the%20name%20of%20Resource%20Type%20that%20you%20deploy%20in%20the%20first%20ARM%20template%20(Part%202%20of%20this%20blog.%20e.g.%2C%20users).%3CUL%20class%3D%22lia-list-style-type-circle%22%3E%0A%3CLI%3EYou%20can%20also%20find%20%E2%80%9CyourResourceTypeName%E2%80%9D%20on%20the%20CRP%20page%20by%20clicking%20the%20%E2%80%9CView%20value%20as%20JSON%E2%80%9D.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_12-1642743125523.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341306iCA4131F59B87AC1E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_12-1642743125523.png%22%20alt%3D%22zoeylan_12-1642743125523.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_13-1642743125525.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341307iDA788016FF7BDD8B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_13-1642743125525.png%22%20alt%3D%22zoeylan_13-1642743125525.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-list-style-type-lower-alpha%22%3E%0A%3CLI%3EyourCRPname%3A%20This%20is%20the%20name%20you%20CRP%20that%20you%20create%20in%20the%20first%20ARM%20template%20(Part%202%20of%20this%20blog).%3C%2FLI%3E%0A%3CLI%3EnewNameforCustomResource%3A%20This%20is%20the%20name%20for%20the%20new%20custom%20resource%20that%20you%20want%20to%20create.%20So%2C%20you%20can%20pick%20any%20name%20you%20want.%3C%2FLI%3E%0A%3CLI%3ELocation%3A%20You%20can%20pick%20a%20location%20that%20you%20want%20your%20new%20custom%20resource%20deployed%20in.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20you%20have%20done%20with%20the%20modifications%2C%20please%20copy%20and%20paste%20the%20ARM%20template%20into%20the%20template%20editor%20on%20the%20Azure%20Portal%20and%20deploy%20it.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_14-1642743125531.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341308i55D631240279D1AE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_14-1642743125531.png%22%20alt%3D%22zoeylan_14-1642743125531.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EStep%207%3A%26nbsp%3B%20Double%20confirm%20the%20new%20custom%20resource%20is%20successfully%20created.%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAfter%20you%20successfully%20deploy%20the%20ARM%20template%2C%20you%20can%20use%20the%20following%20commands%20to%20get%20the%20custom%20resource%20that%20you%20just%20create.%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22719%22%3E%3CP%3E%24subID%20%3D%20%22your%20subscription%20id%22%3C%2FP%3E%0A%3CP%3E%24rgName%20%3D%20%22your%20resource%20group%20name%22%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%24CRPName%20%3D%20%22your%20CRP%20name%22%3C%2FP%3E%0A%3CP%3E%24CRType%20%3D%20%E2%80%9Cyour%20custom%20resource%20type%E2%80%9D%3C%2FP%3E%0A%3CP%3E%24CRName%20%3D%20%E2%80%9Cyour%20new%20created%20custom%20resource%20name%E2%80%9D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%24addURI%20%3D%20%22%3CA%20href%3D%22https%3A%2F%2Fmanagement.azure.com%2Fsubscriptions%2F%24subID%2FresourceGroups%2F%24rgName%2Fproviders%2FMicrosoft.CustomProviders%2FresourceProviders%2F%24CRPName%2F%24CRType%2F%24CRName%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fmanagement.azure.com%2Fsubscriptions%2F%24subID%2FresourceGroups%2F%24rgName%2Fproviders%2FMicrosoft.CustomProviders%2FresourceProviders%2F%24CRPName%2F%24CRType%2F%24CRName%3C%2FA%3E%20%3Fapi-version%3D2018-09-01-preview%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eaz%20rest%20--method%20get%20--url%20%24addURI%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20will%20receive%20a%20response%20like%20below%2C%20which%20confirms%20that%20the%20custom%20resource%20is%20existing.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_15-1642743125539.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341309i52EFB1B0A8565AD1%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_15-1642743125539.png%22%20alt%3D%22zoeylan_15-1642743125539.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EStep%208%3A%20Confirm%20it%E2%80%99s%20an%20asynchronous%20deployment.%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EGo%20to%20the%20resource%20group%20where%20you%20deploy%20the%20ARM%20template%20and%20then%20click%20the%20%E2%80%9CRelated%20events%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_16-1642743125550.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341310iB3D368BA35564ABB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_16-1642743125550.png%22%20alt%3D%22zoeylan_16-1642743125550.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20%E2%80%9CActivity%20log%E2%80%9D%2C%20you%20can%20find%20the%20%E2%80%9CAccepted%E2%80%9D%20records.%20Clicking%20in%20each%20record%20will%20give%20you%20more%20details.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22zoeylan_17-1642743125562.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341311iE4B6D0568CE2E5DC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22zoeylan_17-1642743125562.png%22%20alt%3D%22zoeylan_17-1642743125562.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1695787068%22%20id%3D%22toc-hId-1698349161%22%3EPart%205%3A%20Conclusion%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20blog%2C%20we%20introduce%20you%20how%20Custom%20Resource%20Provider%20(CRP)%20achieve%20asynchronous%20deployment.%20We%20use%20the%20Function%20App%20as%20an%20endpoint.%20Then%20we%20deploy%20an%20ARM%20template%20to%20create%20a%20custom%20resource.%20The%20PUT%20request%20is%20redirected%20to%20the%20Function%20App.%20The%20whole%20custom%20resource%20deployment%20process%20is%20finished%20in%20an%20asynchronous%20way.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3067963%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zoeylan_18-1642743611876.png%22%20style%3D%22width%3A%20756px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F341315i77AEA0360017B573%2Fimage-dimensions%2F756x413%3Fv%3Dv2%22%20width%3D%22756%22%20height%3D%22413%22%20role%3D%22button%22%20title%3D%22zoeylan_18-1642743611876.png%22%20alt%3D%22zoeylan_18-1642743611876.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3067963%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Resource%20Manager%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Jan 20 2022 09:51 PM
Updated by: