Skip to content

Commit

Permalink
adding options for v2 SKUs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Box committed Apr 24, 2024
1 parent 8aa02a2 commit 36932e1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
10 changes: 6 additions & 4 deletions avm/res/api-management/service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:<version>`.
>**Note**: To reference the module, please use the following syntax `br/public:AVM/bicep-registry-modules:<version>`.
- [Using only defaults](#example-1-using-only-defaults)
- [Using large parameter set](#example-2-using-large-parameter-set)
Expand All @@ -57,7 +57,7 @@ This instance deploys the module with the minimum set of required parameters.
<summary>via Bicep module</summary>

```bicep
module service 'br/public:avm/res/api-management/service:<version>' = {
module service 'br/public:AVM/bicep-registry-modules:<version>' = {
name: 'serviceDeployment'
params: {
// Required parameters
Expand Down Expand Up @@ -113,7 +113,7 @@ This instance deploys the module with most of its features enabled.
<summary>via Bicep module</summary>

```bicep
module service 'br/public:avm/res/api-management/service:<version>' = {
module service 'br/public:AVM/bicep-registry-modules:<version>' = {
name: 'serviceDeployment'
params: {
// Required parameters
Expand Down Expand Up @@ -519,7 +519,7 @@ This instance deploys the module in alignment with the best-practices of the Azu
<summary>via Bicep module</summary>

```bicep
module service 'br/public:avm/res/api-management/service:<version>' = {
module service 'br/public:AVM/bicep-registry-modules:<version>' = {
name: 'serviceDeployment'
params: {
// Required parameters
Expand Down 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
6 changes: 4 additions & 2 deletions avm/res/api-management/service/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
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

0 comments on commit 36932e1

Please sign in to comment.