How to automate[through ARM template or terraform] Verizon rule engine for Azure CDN

Venkatakrishnan J 26 Reputation points
2021-09-07T06:25:31.363+00:00

I'm able to do the option 2 mentioned in this document https://learn.microsoft.com/en-us/azure/cdn/cdn-sas-storage-support#option-2-hidden-cdn-sas-token-using-a-rewrite-rule in Azure portal. But when I'm trying to automate this using terraform/ARM template, I'm not able to do this. Can you please help me on this?

Azure Content Delivery Network
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SaiKishor-MSFT 17,176 Reputation points
    2021-09-09T13:47:01.023+00:00

    @Venkatakrishnan J Have you tried to use the ARM template given here in this link for UrlRewrite.?

    "name": "UrlRewrite",
    "parameters": {
    "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters",
    "destination": "string",
    "preserveUnmatchedPath": "bool",
    "sourcePattern": "string"
    }
    If so, does it give you an error when you try this? Please let me know. Thank you!