Skip to content

Commit 4ca0eb5

Browse files
authored
feat: Update API version of avm/res/network/public-ip-prefix (#6312)
## Description Update API versions in `avm/res/network/public-ip-prefix` ## Pipeline Reference <!-- Insert your Pipeline Status Badge below --> | Pipeline | | -------- | | [![avm.res.network.public-ip-prefix](https://github.com/krbar/bicep-registry-modules/actions/workflows/avm.res.network.public-ip-prefix.yml/badge.svg?branch=users%2Fkrbar%2FpippfxUpdate)](https://github.com/krbar/bicep-registry-modules/actions/workflows/avm.res.network.public-ip-prefix.yml) | ## Type of Change <!-- Use the checkboxes [x] on the options that are relevant. --> - Azure Verified Module updates: - [ ] Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [x] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [ ] Update to documentation - [ ] Update to CI Environment or utilities (Non-module affecting changes) ## Checklist - [x] I'm sure there are no other open Pull Requests for the same update/change - [x] I have run `Set-AVMModule` locally to generate the supporting module files. - [x] My corresponding pipelines / checks run clean and green without any errors or warnings - [x] I have updated the module's CHANGELOG.md file with an entry for the next version <!-- Please keep up to date with the contribution guide at https://aka.ms/avm/contribute/bicep -->
1 parent da2b2a7 commit 4ca0eb5

File tree

10 files changed

+32
-22
lines changed

10 files changed

+32
-22
lines changed

avm/res/network/public-ip-prefix/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
The latest version of the changelog can be found [here](https://github.com/Azure/bicep-registry-modules/blob/main/avm/res/network/public-ip-prefix/CHANGELOG.md).
44

5+
## 0.7.2
6+
7+
### Changes
8+
9+
- Update API version to `2025-01-01`.
10+
- Updated `avm-common-types` reference to version `0.6.1`.
11+
12+
### Breaking Changes
13+
14+
- None
15+
516
## 0.7.1
617

718
### Changes

avm/res/network/public-ip-prefix/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For examples, please refer to the [Usage Examples](#usage-examples) section.
2525
| :-- | :-- | :-- |
2626
| `Microsoft.Authorization/locks` | 2020-05-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.authorization_locks.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks)</li></ul> |
2727
| `Microsoft.Authorization/roleAssignments` | 2022-04-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.authorization_roleassignments.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments)</li></ul> |
28-
| `Microsoft.Network/publicIPPrefixes` | 2024-01-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.network_publicipprefixes.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2024-01-01/publicIPPrefixes)</li></ul> |
28+
| `Microsoft.Network/publicIPPrefixes` | 2025-01-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.network_publicipprefixes.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2025-01-01/publicIPPrefixes)</li></ul> |
2929

3030
## Usage examples
3131

@@ -780,8 +780,7 @@ This section gives you an overview of all local-referenced module files (i.e., o
780780

781781
| Reference | Type |
782782
| :-- | :-- |
783-
| `br/public:avm/utl/types/avm-common-types:0.2.1` | Remote reference |
784-
| `br/public:avm/utl/types/avm-common-types:0.6.0` | Remote reference |
783+
| `br/public:avm/utl/types/avm-common-types:0.6.1` | Remote reference |
785784

786785
## Data Collection
787786

avm/res/network/public-ip-prefix/main.bicep

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ param prefixLength int
2727
])
2828
param publicIPAddressVersion string = 'IPv4'
2929

30-
import { lockType } from 'br/public:avm/utl/types/avm-common-types:0.6.0'
30+
import { lockType } from 'br/public:avm/utl/types/avm-common-types:0.6.1'
3131
@description('Optional. The lock settings of the service.')
3232
param lock lockType?
3333

34-
import { roleAssignmentType } from 'br/public:avm/utl/types/avm-common-types:0.2.1'
34+
import { roleAssignmentType } from 'br/public:avm/utl/types/avm-common-types:0.6.1'
3535
@description('Optional. Array of role assignments to create.')
3636
param roleAssignments roleAssignmentType[]?
3737

3838
@description('Optional. Tags of the resource.')
39-
param tags resourceInput<'Microsoft.Network/publicIPPrefixes@2024-10-01'>.tags?
39+
param tags resourceInput<'Microsoft.Network/publicIPPrefixes@2025-01-01'>.tags?
4040

4141
@description('Optional. The custom IP address prefix that this prefix is associated with. A custom IP address prefix is a contiguous range of IP addresses owned by an external customer and provisioned into a subscription. When a custom IP prefix is in Provisioned, Commissioning, or Commissioned state, a linked public IP prefix can be created. Either as a subset of the custom IP prefix range or the entire range.')
42-
param customIPPrefix resourceInput<'Microsoft.Network/publicIPPrefixes@2024-01-01'>.properties.customIPPrefix?
42+
param customIPPrefix resourceInput<'Microsoft.Network/publicIPPrefixes@2025-01-01'>.properties.customIPPrefix?
4343

4444
@description('Optional. The list of tags associated with the public IP prefix.')
4545
param ipTags ipTagType[]?
@@ -107,7 +107,7 @@ resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableT
107107
}
108108
}
109109

110-
resource publicIpPrefix 'Microsoft.Network/publicIPPrefixes@2024-01-01' = {
110+
resource publicIpPrefix 'Microsoft.Network/publicIPPrefixes@2025-01-01' = {
111111
name: name
112112
location: location
113113
tags: tags

avm/res/network/public-ip-prefix/main.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"metadata": {
66
"_generator": {
77
"name": "bicep",
8-
"version": "0.38.5.1644",
9-
"templateHash": "16696551315455925798"
8+
"version": "0.39.26.7824",
9+
"templateHash": "13434987165594337456"
1010
},
1111
"name": "Public IP Prefixes",
1212
"description": "This module deploys a Public IP Prefix."
@@ -65,7 +65,7 @@
6565
"metadata": {
6666
"description": "An AVM-aligned type for a lock.",
6767
"__bicep_imported_from!": {
68-
"sourceTemplate": "br:mcr.microsoft.com/bicep/avm/utl/types/avm-common-types:0.6.0"
68+
"sourceTemplate": "br:mcr.microsoft.com/bicep/avm/utl/types/avm-common-types:0.6.1"
6969
}
7070
}
7171
},
@@ -140,7 +140,7 @@
140140
"metadata": {
141141
"description": "An AVM-aligned type for a role assignment.",
142142
"__bicep_imported_from!": {
143-
"sourceTemplate": "br:mcr.microsoft.com/bicep/avm/utl/types/avm-common-types:0.2.1"
143+
"sourceTemplate": "br:mcr.microsoft.com/bicep/avm/utl/types/avm-common-types:0.6.1"
144144
}
145145
}
146146
}
@@ -211,7 +211,7 @@
211211
"type": "object",
212212
"metadata": {
213213
"__bicep_resource_derived_type!": {
214-
"source": "Microsoft.Network/publicIPPrefixes@2024-10-01#properties/tags"
214+
"source": "Microsoft.Network/publicIPPrefixes@2025-01-01#properties/tags"
215215
},
216216
"description": "Optional. Tags of the resource."
217217
},
@@ -221,7 +221,7 @@
221221
"type": "object",
222222
"metadata": {
223223
"__bicep_resource_derived_type!": {
224-
"source": "Microsoft.Network/publicIPPrefixes@2024-01-01#properties/properties/properties/customIPPrefix"
224+
"source": "Microsoft.Network/publicIPPrefixes@2025-01-01#properties/properties/properties/customIPPrefix"
225225
},
226226
"description": "Optional. The custom IP address prefix that this prefix is associated with. A custom IP address prefix is a contiguous range of IP addresses owned by an external customer and provisioned into a subscription. When a custom IP prefix is in Provisioned, Commissioning, or Commissioned state, a linked public IP prefix can be created. Either as a subset of the custom IP prefix range or the entire range."
227227
},
@@ -304,7 +304,7 @@
304304
},
305305
"publicIpPrefix": {
306306
"type": "Microsoft.Network/publicIPPrefixes",
307-
"apiVersion": "2024-01-01",
307+
"apiVersion": "2025-01-01",
308308
"name": "[parameters('name')]",
309309
"location": "[parameters('location')]",
310310
"tags": "[parameters('tags')]",
@@ -384,7 +384,7 @@
384384
"metadata": {
385385
"description": "The location the resource was deployed into."
386386
},
387-
"value": "[reference('publicIpPrefix', '2024-01-01', 'full').location]"
387+
"value": "[reference('publicIpPrefix', '2025-01-01', 'full').location]"
388388
}
389389
}
390390
}

avm/res/network/public-ip-prefix/tests/e2e/defaults/main.test.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ param namePrefix string = '#_namePrefix_#'
2626

2727
// General resources
2828
// =================
29-
resource resourceGroup 'Microsoft.Resources/resourceGroups@2024-03-01' = {
29+
resource resourceGroup 'Microsoft.Resources/resourceGroups@2025-04-01' = {
3030
name: resourceGroupName
3131
location: resourceLocation
3232
}

avm/res/network/public-ip-prefix/tests/e2e/ipv6/main.test.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ param namePrefix string = '#_namePrefix_#'
2626

2727
// General resources
2828
// =================
29-
resource resourceGroup 'Microsoft.Resources/resourceGroups@2024-03-01' = {
29+
resource resourceGroup 'Microsoft.Resources/resourceGroups@2025-04-01' = {
3030
name: resourceGroupName
3131
location: resourceLocation
3232
}

avm/res/network/public-ip-prefix/tests/e2e/max/dependencies.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ param location string = resourceGroup().location
44
@description('Required. The name of the Managed Identity to create.')
55
param managedIdentityName string
66

7-
resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = {
7+
resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2024-11-30' = {
88
name: managedIdentityName
99
location: location
1010
}

avm/res/network/public-ip-prefix/tests/e2e/max/main.test.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ param namePrefix string = '#_namePrefix_#'
2626

2727
// General resources
2828
// =================
29-
resource resourceGroup 'Microsoft.Resources/resourceGroups@2024-03-01' = {
29+
resource resourceGroup 'Microsoft.Resources/resourceGroups@2025-04-01' = {
3030
name: resourceGroupName
3131
location: resourceLocation
3232
}

avm/res/network/public-ip-prefix/tests/e2e/waf-aligned/dependencies.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ param location string = resourceGroup().location
44
@description('Required. The name of the Managed Identity to create.')
55
param managedIdentityName string
66

7-
resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = {
7+
resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2024-11-30' = {
88
name: managedIdentityName
99
location: location
1010
}

avm/res/network/public-ip-prefix/tests/e2e/waf-aligned/main.test.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ param namePrefix string = '#_namePrefix_#'
2626

2727
// General resources
2828
// =================
29-
resource resourceGroup 'Microsoft.Resources/resourceGroups@2024-03-01' = {
29+
resource resourceGroup 'Microsoft.Resources/resourceGroups@2025-04-01' = {
3030
name: resourceGroupName
3131
location: resourceLocation
3232
}

0 commit comments

Comments
 (0)