From 4020442f9fde53d767600a0a21ecf70d5fd4592f Mon Sep 17 00:00:00 2001 From: rajeshkaremane <142348849+rajeshkaremane@users.noreply.github.com> Date: Sat, 26 Aug 2023 09:04:48 +0100 Subject: [PATCH] [Modules] Allowed missing Front Door SKUs (#3713) * Allowed Front Door SKUs * Updated ReadMe and Compiled main bicep file --- modules/cdn/profile/README.md | 2 +- modules/cdn/profile/main.bicep | 2 ++ modules/cdn/profile/main.json | 51 +++++++++++++++++++++------------- 3 files changed, 34 insertions(+), 21 deletions(-) diff --git a/modules/cdn/profile/README.md b/modules/cdn/profile/README.md index fbd9c4b680..55e1fda137 100644 --- a/modules/cdn/profile/README.md +++ b/modules/cdn/profile/README.md @@ -27,7 +27,7 @@ This module deploys a CDN Profile. | Parameter Name | Type | Allowed Values | Description | | :-- | :-- | :-- | :-- | | `name` | string | | Name of the CDN profile. | -| `sku` | string | `[Custom_Akamai, Custom_ChinaCdn, Custom_Microsoft, Custom_Microsoft_AzureFrontDoor, Custom_Verizon, Premium_Akamai, Premium_ChinaCdn, Premium_Microsoft, Premium_Microsoft_AzureFrontDoor, Premium_Verizon, Standard_Akamai, Standard_ChinaCdn, Standard_Microsoft, Standard_Microsoft_AzureFrontDoor, Standard_Verizon]` | The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. | +| `sku` | string | `[Custom_Akamai, Custom_ChinaCdn, Custom_Microsoft, Custom_Microsoft_AzureFrontDoor, Custom_Verizon, Premium_Akamai, Premium_ChinaCdn, Premium_Microsoft, Premium_Microsoft_AzureFrontDoor, Premium_Verizon, Standard_Akamai, Standard_ChinaCdn, Standard_Microsoft, Standard_Microsoft_AzureFrontDoor, Standard_Verizon, Standard_AzureFrontDoor, Premium_AzureFrontDoor ]` | The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. | **Optional parameters** diff --git a/modules/cdn/profile/main.bicep b/modules/cdn/profile/main.bicep index 0e421eccd1..d85c0584b2 100644 --- a/modules/cdn/profile/main.bicep +++ b/modules/cdn/profile/main.bicep @@ -24,6 +24,8 @@ param location string = resourceGroup().location 'Standard_Microsoft_AzureFrontDoor' 'Premium_Microsoft_AzureFrontDoor' 'Custom_Microsoft_AzureFrontDoor' + 'Standard_AzureFrontDoor' + 'Premium_AzureFrontDoor' ]) @description('Required. The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.') param sku string diff --git a/modules/cdn/profile/main.json b/modules/cdn/profile/main.json index a5bc569e0c..39d80a50d0 100644 --- a/modules/cdn/profile/main.json +++ b/modules/cdn/profile/main.json @@ -4,9 +4,12 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.19.5.34762", - "templateHash": "2504999546810498056" - } + "version": "0.20.4.51522", + "templateHash": "15027902272768648903" + }, + "name": "CDN Profiles", + "description": "This module deploys a CDN Profile.", + "owner": "Azure/module-maintainers" }, "parameters": { "name": { @@ -24,9 +27,6 @@ }, "sku": { "type": "string", - "metadata": { - "description": "Required. The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile." - }, "allowedValues": [ "Standard_Verizon", "Standard_Akamai", @@ -42,8 +42,13 @@ "Custom_Microsoft", "Standard_Microsoft_AzureFrontDoor", "Premium_Microsoft_AzureFrontDoor", - "Custom_Microsoft_AzureFrontDoor" - ] + "Custom_Microsoft_AzureFrontDoor", + "Standard_AzureFrontDoor", + "Premium_AzureFrontDoor" + ], + "metadata": { + "description": "Required. The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile." + } }, "originResponseTimeoutSeconds": { "type": "int", @@ -76,14 +81,14 @@ "lock": { "type": "string", "defaultValue": "", - "metadata": { - "description": "Optional. Specify the type of lock." - }, "allowedValues": [ "", "CanNotDelete", "ReadOnly" - ] + ], + "metadata": { + "description": "Optional. Specify the type of lock." + } }, "roleAssignments": { "type": "array", @@ -179,8 +184,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.19.5.34762", - "templateHash": "2357200278770917127" + "version": "0.20.4.51522", + "templateHash": "6086619018554166705" } }, "parameters": { @@ -332,9 +337,12 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.19.5.34762", - "templateHash": "15681386879611412018" - } + "version": "0.20.4.51522", + "templateHash": "17735453478116875585" + }, + "name": "CDN Profiles Endpoints", + "description": "This module deploys a CDN Profile Endpoint.", + "owner": "Azure/module-maintainers" }, "parameters": { "profileName": { @@ -450,9 +458,12 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.19.5.34762", - "templateHash": "16929017469298087182" - } + "version": "0.20.4.51522", + "templateHash": "16752439019054773130" + }, + "name": "CDN Profiles Endpoints Origins", + "description": "This module deploys a CDN Profile Endpoint Origin.", + "owner": "Azure/module-maintainers" }, "parameters": { "endpointName": {