Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add v2 sku support to avm/res/api-management/service #1777

Merged
merged 2 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions avm/res/api-management/service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1447,10 +1447,12 @@ The pricing tier of this API Management service.
```Bicep
[
'Basic'
'BasicV2'
'Consumption'
'Developer'
'Premium'
'Standard'
'StandardV2'
]
```

Expand Down
2 changes: 2 additions & 0 deletions avm/res/api-management/service/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ param roleAssignments roleAssignmentType
'Basic'
'Standard'
'Premium'
'StandardV2'
'BasicV2'
])
param sku string = 'Developer'

Expand Down
66 changes: 34 additions & 32 deletions avm/res/api-management/service/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "7048259745072727177"
"version": "0.26.170.59819",
"templateHash": "9015161253443271926"
},
"name": "API Management Services",
"description": "This module deploys an API Management Service.",
Expand Down Expand Up @@ -371,7 +371,9 @@
"Developer",
"Basic",
"Standard",
"Premium"
"Premium",
"StandardV2",
"BasicV2"
],
"metadata": {
"description": "Optional. The pricing tier of this API Management service."
Expand Down Expand Up @@ -746,8 +748,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "5827467280453778347"
"version": "0.26.170.59819",
"templateHash": "4982579131778182813"
},
"name": "API Management Service APIs",
"description": "This module deploys an API Management Service API.",
Expand Down Expand Up @@ -1008,8 +1010,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "11734266416309377949"
"version": "0.26.170.59819",
"templateHash": "7030990401011468302"
},
"name": "API Management Service APIs Policies",
"description": "This module deploys an API Management Service API Policy.",
Expand Down Expand Up @@ -1154,8 +1156,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "14411287735172753559"
"version": "0.26.170.59819",
"templateHash": "2022925118326989470"
},
"name": "API Management Service API Version Sets",
"description": "This module deploys an API Management Service API Version Set.",
Expand Down Expand Up @@ -1270,8 +1272,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "505882801529152233"
"version": "0.26.170.59819",
"templateHash": "18174659605054562490"
},
"name": "API Management Service Authorization Servers",
"description": "This module deploys an API Management Service Authorization Server.",
Expand Down Expand Up @@ -1513,8 +1515,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "5914852504306173482"
"version": "0.26.170.59819",
"templateHash": "2373122860271627831"
},
"name": "API Management Service Backends",
"description": "This module deploys an API Management Service Backend.",
Expand Down Expand Up @@ -1697,8 +1699,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "5452536693649070190"
"version": "0.26.170.59819",
"templateHash": "7716740574911932509"
},
"name": "API Management Service Caches",
"description": "This module deploys an API Management Service Cache.",
Expand Down Expand Up @@ -1832,8 +1834,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "6944159515007886666"
"version": "0.26.170.59819",
"templateHash": "3154989001112723220"
},
"name": "API Management Service Identity Providers",
"description": "This module deploys an API Management Service Identity Provider.",
Expand Down Expand Up @@ -2019,8 +2021,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "17256518550792037410"
"version": "0.26.170.59819",
"templateHash": "8836145661772426348"
},
"name": "API Management Service Named Values",
"description": "This module deploys an API Management Service Named Value.",
Expand Down Expand Up @@ -2160,8 +2162,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "6528716876560144579"
"version": "0.26.170.59819",
"templateHash": "17742652979966426375"
},
"name": "API Management Service Portal Settings",
"description": "This module deploys an API Management Service Portal Setting.",
Expand Down Expand Up @@ -2257,8 +2259,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "12407621079025229005"
"version": "0.26.170.59819",
"templateHash": "11401408412631964174"
},
"name": "API Management Service Policies",
"description": "This module deploys an API Management Service Policy.",
Expand Down Expand Up @@ -2373,8 +2375,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "2407987626180908324"
"version": "0.26.170.59819",
"templateHash": "11338797354163447995"
},
"name": "API Management Service Products",
"description": "This module deploys an API Management Service Product.",
Expand Down Expand Up @@ -2495,8 +2497,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "2440306385645798125"
"version": "0.26.170.59819",
"templateHash": "11861068623935926152"
},
"name": "API Management Service Products APIs",
"description": "This module deploys an API Management Service Product API.",
Expand Down Expand Up @@ -2585,8 +2587,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "7056381119937736015"
"version": "0.26.170.59819",
"templateHash": "16009390664131411394"
},
"name": "API Management Service Products Groups",
"description": "This module deploys an API Management Service Product Group.",
Expand Down Expand Up @@ -2742,8 +2744,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "12071485798846786639"
"version": "0.26.170.59819",
"templateHash": "1707587491854823408"
},
"name": "API Management Service Subscriptions",
"description": "This module deploys an API Management Service Subscription.",
Expand Down Expand Up @@ -2897,4 +2899,4 @@
"value": "[reference('service', '2021-08-01', 'full').location]"
}
}
}
}