Skip to content

Commit

Permalink
[Modules] Allowed missing Front Door SKUs (#3713)
Browse files Browse the repository at this point in the history
* Allowed Front Door SKUs

* Updated ReadMe and Compiled main bicep file
  • Loading branch information
rajeshkaremane authored Aug 26, 2023
1 parent cd33dfb commit 4020442
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 21 deletions.
2 changes: 1 addition & 1 deletion modules/cdn/profile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down
2 changes: 2 additions & 0 deletions modules/cdn/profile/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
51 changes: 31 additions & 20 deletions modules/cdn/profile/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -179,8 +184,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "2357200278770917127"
"version": "0.20.4.51522",
"templateHash": "6086619018554166705"
}
},
"parameters": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit 4020442

Please sign in to comment.