From 36932e11b4d158eccfe954c850218904800f9418 Mon Sep 17 00:00:00 2001 From: Tony Box Date: Wed, 24 Apr 2024 13:39:00 -0700 Subject: [PATCH] adding options for v2 SKUs --- avm/res/api-management/service/README.md | 10 ++++++---- avm/res/api-management/service/main.bicep | 2 ++ avm/res/api-management/service/main.json | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/avm/res/api-management/service/README.md b/avm/res/api-management/service/README.md index b8ca4b6ec88..6e98a25ba6b 100644 --- a/avm/res/api-management/service/README.md +++ b/avm/res/api-management/service/README.md @@ -41,7 +41,7 @@ The following section provides usage examples for the module, which were used to >**Note**: Each example lists all the required parameters first, followed by the rest - each in alphabetical order. ->**Note**: To reference the module, please use the following syntax `br/public:avm/res/api-management/service:`. +>**Note**: To reference the module, please use the following syntax `br/public:AVM/bicep-registry-modules:`. - [Using only defaults](#example-1-using-only-defaults) - [Using large parameter set](#example-2-using-large-parameter-set) @@ -57,7 +57,7 @@ This instance deploys the module with the minimum set of required parameters. via Bicep module ```bicep -module service 'br/public:avm/res/api-management/service:' = { +module service 'br/public:AVM/bicep-registry-modules:' = { name: 'serviceDeployment' params: { // Required parameters @@ -113,7 +113,7 @@ This instance deploys the module with most of its features enabled. via Bicep module ```bicep -module service 'br/public:avm/res/api-management/service:' = { +module service 'br/public:AVM/bicep-registry-modules:' = { name: 'serviceDeployment' params: { // Required parameters @@ -519,7 +519,7 @@ This instance deploys the module in alignment with the best-practices of the Azu via Bicep module ```bicep -module service 'br/public:avm/res/api-management/service:' = { +module service 'br/public:AVM/bicep-registry-modules:' = { name: 'serviceDeployment' params: { // Required parameters @@ -1447,10 +1447,12 @@ The pricing tier of this API Management service. ```Bicep [ 'Basic' + 'BasicV2' 'Consumption' 'Developer' 'Premium' 'Standard' + 'StandardV2' ] ``` diff --git a/avm/res/api-management/service/main.bicep b/avm/res/api-management/service/main.bicep index 429f44edcea..e65e5ca8324 100644 --- a/avm/res/api-management/service/main.bicep +++ b/avm/res/api-management/service/main.bicep @@ -61,6 +61,8 @@ param roleAssignments roleAssignmentType 'Basic' 'Standard' 'Premium' + 'StandardV2' + 'BasicV2' ]) param sku string = 'Developer' diff --git a/avm/res/api-management/service/main.json b/avm/res/api-management/service/main.json index 3a2f0a0a9c9..79c6b4b5a00 100644 --- a/avm/res/api-management/service/main.json +++ b/avm/res/api-management/service/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.26.54.24096", - "templateHash": "7048259745072727177" + "templateHash": "12570584242194581029" }, "name": "API Management Services", "description": "This module deploys an API Management Service.", @@ -371,7 +371,9 @@ "Developer", "Basic", "Standard", - "Premium" + "Premium", + "StandardV2", + "BasicV2" ], "metadata": { "description": "Optional. The pricing tier of this API Management service."