Skip to content

Commit 887ebd0

Browse files
authored
[PS] MobileNetwork retirement (Azure#27822)
1 parent f335d1c commit 887ebd0

File tree

10 files changed

+31
-24
lines changed

10 files changed

+31
-24
lines changed

src/MobileNetwork/MobileNetwork.Autorest/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@
2424
[assembly: System.Reflection.AssemblyVersionAttribute("0.4.2")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
27-

src/MobileNetwork/MobileNetwork.Autorest/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ title: MobileNetwork
5151
subject-prefix: $(service-name)
5252

5353
directive:
54+
- where:
55+
verb: (.*)
56+
set:
57+
breaking-change:
58+
deprecated-by-version: 0.5.0
59+
deprecated-by-azversion: 14.5.0
60+
change-effective-date: 2025/09/30
61+
5462
# Change interopSettings type from <IAny> to <HashTable>
5563
- from: swagger-document
5664
where: $.definitions.PacketCoreControlPlanePropertiesFormat.properties.interopSettings

src/MobileNetwork/MobileNetwork.Autorest/custom/New-AzMobileNetworkSite.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ https://learn.microsoft.com/powershell/module/az.mobilenetwork/new-azmobilenetwo
3131
#>
3232
function New-AzMobileNetworkSite {
3333
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Models.ISite])]
34+
[Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Runtime.CmdletBreakingChange("14.5.0", "0.5.0", "2025/09/30")]
3435
[CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
3536
param(
3637
[Parameter(Mandatory)]

src/MobileNetwork/MobileNetwork.Autorest/custom/Update-AzMobileNetworkService.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ https://learn.microsoft.com/powershell/module/az.mobilenetwork/update-azmobilene
8888
#>
8989
function Update-AzMobileNetworkService {
9090
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Models.IService])]
91+
[Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Runtime.CmdletBreakingChange("14.5.0", "0.5.0", "2025/09/30")]
9192
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
9293
param(
9394
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -264,7 +265,7 @@ function Update-AzMobileNetworkService {
264265

265266
process {
266267
try {
267-
Az.MobileNetwork.internal\UpdateAzMobileNetworkService @PSBoundParameters
268+
Az.MobileNetwork.internal\Update-AzMobileNetworkService @PSBoundParameters
268269
} catch {
269270

270271
throw

src/MobileNetwork/MobileNetwork.Autorest/custom/Update-AzMobileNetworkSlice.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ https://learn.microsoft.com/powershell/module/az.mobilenetwork/update-azmobilene
6969
#>
7070
function Update-AzMobileNetworkSlice {
7171
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Models.ISlice])]
72+
[Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Runtime.CmdletBreakingChange("14.5.0", "0.5.0", "2025/09/30")]
7273
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
7374
param(
7475
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -198,7 +199,7 @@ function Update-AzMobileNetworkSlice {
198199

199200
process {
200201
try {
201-
Az.MobileNetwork.internal\UpdateAzMobileNetworkSlice @PSBoundParameters
202+
Az.MobileNetwork.internal\Update-AzMobileNetworkSlice @PSBoundParameters
202203
} catch {
203204

204205
throw

src/MobileNetwork/MobileNetwork.Autorest/docs/Update-AzMobileNetworkPacketCoreControlPlane.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Accept wildcard characters: False
230230
Determines whether to enable a system-assigned identity for the resource.
231231
232232
```yaml
233-
Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
233+
Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
234234
Parameter Sets: (All)
235235
Aliases:
236236

src/MobileNetwork/MobileNetwork.Autorest/docs/Update-AzMobileNetworkSimGroup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Accept wildcard characters: False
8383
Determines whether to enable a system-assigned identity for the resource.
8484
8585
```yaml
86-
Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
86+
Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
8787
Parameter Sets: (All)
8888
Aliases:
8989

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "f5b92827-b31e-4e69-8360-0abb84f10ef3"
2+
"generate_Id": "e23891c5-7b89-4c35-a048-c4bbec1642e9"
33
}

src/MobileNetwork/MobileNetwork.sln

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MobileNetwork", "MobileNetw
2121
EndProject
2222
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MobileNetwork.Autorest", "MobileNetwork.Autorest", "{2ECEF623-E620-41E4-C88D-8973EA8EE642}"
2323
EndProject
24-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MobileNetwork", "..\..\generated\MobileNetwork\MobileNetwork.Autorest\Az.MobileNetwork.csproj", "{94F966C8-A28C-4922-9B61-8C674D51D25C}"
24+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MobileNetwork", "..\..\generated\MobileNetwork\MobileNetwork.Autorest\Az.MobileNetwork.csproj", "{82D2C5ED-7997-4D09-9535-6CA2BA74773D}"
2525
EndProject
2626
Global
2727
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -113,22 +113,18 @@ Global
113113
{56B1ECCD-5FF9-45A0-A048-2929C0D629A4}.Debug|x86.Build.0 = Debug|Any CPU
114114
{56B1ECCD-5FF9-45A0-A048-2929C0D629A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
115115
{56B1ECCD-5FF9-45A0-A048-2929C0D629A4}.Release|Any CPU.Build.0 = Release|Any CPU
116-
{56B1ECCD-5FF9-45A0-A048-2929C0D629A4}.Release|x64.ActiveCfg = Release|Any CPU
117-
{56B1ECCD-5FF9-45A0-A048-2929C0D629A4}.Release|x64.Build.0 = Release|Any CPU
118-
{56B1ECCD-5FF9-45A0-A048-2929C0D629A4}.Release|x86.ActiveCfg = Release|Any CPU
119-
{56B1ECCD-5FF9-45A0-A048-2929C0D629A4}.Release|x86.Build.0 = Release|Any CPU
120-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
121-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Debug|Any CPU.Build.0 = Debug|Any CPU
122-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Debug|x64.ActiveCfg = Debug|Any CPU
123-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Debug|x64.Build.0 = Debug|Any CPU
124-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Debug|x86.ActiveCfg = Debug|Any CPU
125-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Debug|x86.Build.0 = Debug|Any CPU
126-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Release|Any CPU.ActiveCfg = Release|Any CPU
127-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Release|Any CPU.Build.0 = Release|Any CPU
128-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Release|x64.ActiveCfg = Release|Any CPU
129-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Release|x64.Build.0 = Release|Any CPU
130-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Release|x86.ActiveCfg = Release|Any CPU
131-
{94F966C8-A28C-4922-9B61-8C674D51D25C}.Release|x86.Build.0 = Release|Any CPU
116+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
117+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Debug|Any CPU.Build.0 = Debug|Any CPU
118+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Debug|x64.ActiveCfg = Debug|Any CPU
119+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Debug|x64.Build.0 = Debug|Any CPU
120+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Debug|x86.ActiveCfg = Debug|Any CPU
121+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Debug|x86.Build.0 = Debug|Any CPU
122+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Release|Any CPU.ActiveCfg = Release|Any CPU
123+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Release|Any CPU.Build.0 = Release|Any CPU
124+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Release|x64.ActiveCfg = Release|Any CPU
125+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Release|x64.Build.0 = Release|Any CPU
126+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Release|x86.ActiveCfg = Release|Any CPU
127+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D}.Release|x86.Build.0 = Release|Any CPU
132128
EndGlobalSection
133129
GlobalSection(SolutionProperties) = preSolution
134130
HideSolutionNode = FALSE
@@ -140,6 +136,6 @@ Global
140136
{EC5795BE-660A-4372-AE91-E8DB152CDB81} = {EF2219AB-EECA-4CC3-B48C-F7C996DA165A}
141137
{07C1AB44-9BF1-4068-90F9-D4762984DFAE} = {EF2219AB-EECA-4CC3-B48C-F7C996DA165A}
142138
{FA1C496D-0950-4A65-88E8-8E4FE39B4B0A} = {EF2219AB-EECA-4CC3-B48C-F7C996DA165A}
143-
{94F966C8-A28C-4922-9B61-8C674D51D25C} = {2ECEF623-E620-41E4-C88D-8973EA8EE642}
139+
{82D2C5ED-7997-4D09-9535-6CA2BA74773D} = {2ECEF623-E620-41E4-C88D-8973EA8EE642}
144140
EndGlobalSection
145141
EndGlobal

src/MobileNetwork/MobileNetwork/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* The parameters of the `New-AzMobileNetworkPacketCoreControlPlane`, `New-AzMobileNetworkSimGroup`, `Update-AzMobileNetworkPacketCoreControlPlane` and `Update-AzMobileNetworkSimGroup` commands have changed.
2323
* `IdentityType` has been removed. `EnableSystemAssignedIdentity` is used to enable/disable system-assigned identities.
2424
* The type of `UserAssignedIdentity` is simplified to an array of strings that is used to specify the user's assigned identity.
25+
* Added deprecation announcement for Azure Private 5G Core retirement.
2526

2627
## Version 0.4.2
2728
* Upgraded nuget package to signed package.

0 commit comments

Comments
 (0)