Skip to content

Commit a86c37d

Browse files
Migrate MobileNetwork from generation to main (#21936)
* Move MobileNetwork to main * update changelog --------- Co-authored-by: Jinpei Li <[email protected]>
1 parent ed9ee3d commit a86c37d

25 files changed

+5003
-43
lines changed

src/MobileNetwork/Az.MobileNetwork.psd1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 2023/5/22
6+
# Generated on: 5/29/2023
77
#
88

99
@{
@@ -69,7 +69,9 @@ FormatsToProcess = './Az.MobileNetwork.format.ps1xml'
6969
# NestedModules = @()
7070

7171
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
72-
FunctionsToExport = 'Get-AzMobileNetwork', 'Get-AzMobileNetworkAttachedDataNetwork',
72+
FunctionsToExport = 'Deploy-AzMobileNetworkReinstallPacketCoreControlPlane',
73+
'Deploy-AzMobileNetworkRollbackPacketCoreControlPlane',
74+
'Get-AzMobileNetwork', 'Get-AzMobileNetworkAttachedDataNetwork',
7375
'Get-AzMobileNetworkDataNetwork',
7476
'Get-AzMobileNetworkPacketCoreControlPlane',
7577
'Get-AzMobileNetworkPacketCoreControlPlaneVersion',
@@ -101,6 +103,7 @@ FunctionsToExport = 'Get-AzMobileNetwork', 'Get-AzMobileNetworkAttachedDataNetwo
101103
'Remove-AzMobileNetworkService', 'Remove-AzMobileNetworkSim',
102104
'Remove-AzMobileNetworkSimGroup', 'Remove-AzMobileNetworkSimPolicy',
103105
'Remove-AzMobileNetworkSite', 'Remove-AzMobileNetworkSlice',
106+
'Trace-AzMobileNetworkCollectPacketCoreControlPlaneDiagnosticPackage',
104107
'Update-AzMobileNetwork',
105108
'Update-AzMobileNetworkAttachedDataNetwork',
106109
'Update-AzMobileNetworkDataNetwork',
@@ -146,7 +149,7 @@ PrivateData = @{
146149
# IconUri = ''
147150

148151
# ReleaseNotes of this module
149-
ReleaseNotes = '* Extended the function of the cmdlet ''New-AzMobileNetworkSite'' -- allowed users to quickly deploy a new site under an existing mobile network using optional parameters, reducing the number of commands they need to execute.'
152+
# ReleaseNotes = ''
150153

151154
# Prerelease string of this module
152155
# Prerelease = ''

src/MobileNetwork/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Three cmdlets were added: `Deploy-AzMobileNetworkReinstallPacketCoreControlPlane`, `Deploy-AzMobileNetworkRollbackPacketCoreControlPlane`, `Trace-AzMobileNetworkCollectPacketCoreControlPlaneDiagnosticPackage`.
2122

2223
## Version 0.2.0
2324
* Extended the function of the cmdlet `New-AzMobileNetworkSite` -- allowed users to quickly deploy a new site under an existing mobile network using optional parameters, reducing the number of commands they need to execute.

src/MobileNetwork/MobileNetwork.sln

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{E647309F-BCDF-4A20-A518-7CB715793740}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{36AEF6A2-AEC5-4774-924C-65E4BE5C859C}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{BA3C242C-7DE1-4191-A643-5ADD1C2BBEE3}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{34D9EE38-3B7D-46E6-BFF4-299F68D17F71}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{A6B3A4C7-6E2B-4B9D-AA04-6B75F185D9A8}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{205B753A-9AF5-4E8F-AB64-AB6FBC8811F0}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{3780019C-1FB2-4244-B296-352593772984}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{4504BC04-62E0-4D1B-8A95-512903F9609B}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{A07628A1-C00F-46D0-B453-D7A451C0E6A7}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{FD7C001A-0E3A-4773-B7F4-A98506655862}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{DDDE15AC-C94B-409C-BF7B-F1CA090B27EC}"
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{260E1574-12A1-48CD-A042-C41F84E944F8}"
1717
EndProject
18-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MobileNetwork", "Az.MobileNetwork.csproj", "{8264B2E8-578B-43A6-973D-C50CAF10A93B}"
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MobileNetwork", "Az.MobileNetwork.csproj", "{D89624AE-1CCB-4DDA-8BE5-81BCB1593997}"
1919
EndProject
2020
Global
2121
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -26,33 +26,33 @@ Global
2626
HideSolutionNode = FALSE
2727
EndGlobalSection
2828
GlobalSection(ProjectConfigurationPlatforms) = postSolution
29-
{E647309F-BCDF-4A20-A518-7CB715793740}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{E647309F-BCDF-4A20-A518-7CB715793740}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{E647309F-BCDF-4A20-A518-7CB715793740}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{E647309F-BCDF-4A20-A518-7CB715793740}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{BA3C242C-7DE1-4191-A643-5ADD1C2BBEE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{BA3C242C-7DE1-4191-A643-5ADD1C2BBEE3}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{BA3C242C-7DE1-4191-A643-5ADD1C2BBEE3}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{BA3C242C-7DE1-4191-A643-5ADD1C2BBEE3}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{A6B3A4C7-6E2B-4B9D-AA04-6B75F185D9A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{A6B3A4C7-6E2B-4B9D-AA04-6B75F185D9A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{A6B3A4C7-6E2B-4B9D-AA04-6B75F185D9A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{A6B3A4C7-6E2B-4B9D-AA04-6B75F185D9A8}.Release|Any CPU.Build.0 = Release|Any CPU
41-
{3780019C-1FB2-4244-B296-352593772984}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42-
{3780019C-1FB2-4244-B296-352593772984}.Debug|Any CPU.Build.0 = Debug|Any CPU
43-
{3780019C-1FB2-4244-B296-352593772984}.Release|Any CPU.ActiveCfg = Release|Any CPU
44-
{3780019C-1FB2-4244-B296-352593772984}.Release|Any CPU.Build.0 = Release|Any CPU
45-
{A07628A1-C00F-46D0-B453-D7A451C0E6A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46-
{A07628A1-C00F-46D0-B453-D7A451C0E6A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
47-
{A07628A1-C00F-46D0-B453-D7A451C0E6A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
48-
{A07628A1-C00F-46D0-B453-D7A451C0E6A7}.Release|Any CPU.Build.0 = Release|Any CPU
49-
{DDDE15AC-C94B-409C-BF7B-F1CA090B27EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50-
{DDDE15AC-C94B-409C-BF7B-F1CA090B27EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
51-
{DDDE15AC-C94B-409C-BF7B-F1CA090B27EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
52-
{DDDE15AC-C94B-409C-BF7B-F1CA090B27EC}.Release|Any CPU.Build.0 = Release|Any CPU
53-
{8264B2E8-578B-43A6-973D-C50CAF10A93B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54-
{8264B2E8-578B-43A6-973D-C50CAF10A93B}.Debug|Any CPU.Build.0 = Debug|Any CPU
55-
{8264B2E8-578B-43A6-973D-C50CAF10A93B}.Release|Any CPU.ActiveCfg = Release|Any CPU
56-
{8264B2E8-578B-43A6-973D-C50CAF10A93B}.Release|Any CPU.Build.0 = Release|Any CPU
29+
{36AEF6A2-AEC5-4774-924C-65E4BE5C859C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{36AEF6A2-AEC5-4774-924C-65E4BE5C859C}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{36AEF6A2-AEC5-4774-924C-65E4BE5C859C}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{36AEF6A2-AEC5-4774-924C-65E4BE5C859C}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{34D9EE38-3B7D-46E6-BFF4-299F68D17F71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{34D9EE38-3B7D-46E6-BFF4-299F68D17F71}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{34D9EE38-3B7D-46E6-BFF4-299F68D17F71}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{34D9EE38-3B7D-46E6-BFF4-299F68D17F71}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{205B753A-9AF5-4E8F-AB64-AB6FBC8811F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38+
{205B753A-9AF5-4E8F-AB64-AB6FBC8811F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
39+
{205B753A-9AF5-4E8F-AB64-AB6FBC8811F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
40+
{205B753A-9AF5-4E8F-AB64-AB6FBC8811F0}.Release|Any CPU.Build.0 = Release|Any CPU
41+
{4504BC04-62E0-4D1B-8A95-512903F9609B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{4504BC04-62E0-4D1B-8A95-512903F9609B}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{4504BC04-62E0-4D1B-8A95-512903F9609B}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{4504BC04-62E0-4D1B-8A95-512903F9609B}.Release|Any CPU.Build.0 = Release|Any CPU
45+
{FD7C001A-0E3A-4773-B7F4-A98506655862}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46+
{FD7C001A-0E3A-4773-B7F4-A98506655862}.Debug|Any CPU.Build.0 = Debug|Any CPU
47+
{FD7C001A-0E3A-4773-B7F4-A98506655862}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{FD7C001A-0E3A-4773-B7F4-A98506655862}.Release|Any CPU.Build.0 = Release|Any CPU
49+
{260E1574-12A1-48CD-A042-C41F84E944F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50+
{260E1574-12A1-48CD-A042-C41F84E944F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
51+
{260E1574-12A1-48CD-A042-C41F84E944F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
52+
{260E1574-12A1-48CD-A042-C41F84E944F8}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{D89624AE-1CCB-4DDA-8BE5-81BCB1593997}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{D89624AE-1CCB-4DDA-8BE5-81BCB1593997}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{D89624AE-1CCB-4DDA-8BE5-81BCB1593997}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{D89624AE-1CCB-4DDA-8BE5-81BCB1593997}.Release|Any CPU.Build.0 = Release|Any CPU
5757
EndGlobalSection
5858
EndGlobal

src/MobileNetwork/README.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,30 +164,51 @@ directive:
164164
hide: true
165165

166166
# Due to business needs, some commands are deleted and not exposed to the public
167+
# - where:
168+
# verb: Invoke
169+
# subject: ^BulkSimDelete$
170+
# set:
171+
# verb: Remove
167172
- where:
168173
verb: Invoke
169174
subject: ^BulkSimDelete$
170175
remove: true
176+
177+
# - where:
178+
# verb: Invoke
179+
# subject: ^BulkSimUpload$
180+
# set:
181+
# verb: Update
171182
- where:
172183
verb: Invoke
173184
subject: ^BulkSimUpload$
174185
remove: true
186+
187+
# - where:
188+
# verb: Invoke
189+
# subject: ^BulkSimUploadEncrypted$
190+
# set:
191+
# verb: Update
175192
- where:
176193
verb: Invoke
177194
subject: ^BulkSimUploadEncrypted$
178195
remove: true
196+
179197
- where:
180198
verb: Invoke
181199
subject: ^CollectPacketCoreControlPlaneDiagnosticPackage$
182-
remove: true
200+
set:
201+
verb: Trace
183202
- where:
184203
verb: Invoke
185204
subject: ^ReinstallPacketCoreControlPlane$
186-
remove: true
205+
set:
206+
verb: Deploy
187207
- where:
188208
verb: Invoke
189209
subject: ^RollbackPacketCoreControlPlane$
190-
remove: true
210+
set:
211+
verb: Deploy
191212

192213
# Some of the parameters are of type Object and need to be expanded into a command for the convenience of the user
193214
# The following are commented out and their generated cmdlets may be renamed and custom logic
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Example 1: Reinstall the specified packet core control plane.
2+
```powershell
3+
Deploy-AzMobileNetworkReinstallPacketCoreControlPlane -PacketCoreControlPlaneName azps-mn-pccp -ResourceGroupName azps_test_group
4+
```
5+
6+
Reinstall the specified packet core control plane.
7+
This action will remove any transaction state from the packet core to return it to a known state.
8+
This action will cause a service outage.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Example 1: Roll back the specified packet core control plane to the previous version, \"rollbackVersion\".
2+
```powershell
3+
Deploy-AzMobileNetworkRollbackPacketCoreControlPlane -PacketCoreControlPlaneName azps-mn-pccp -ResourceGroupName azps_test_group
4+
```
5+
6+
Roll back the specified packet core control plane to the previous version, \"rollbackVersion\".
7+
Multiple consecutive rollbacks are not possible.
8+
This action may cause a service outage.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### Example 1: Collect a diagnostics package for the specified packet core control plane.
2+
```powershell
3+
Trace-AzMobileNetworkCollectPacketCoreControlPlaneDiagnosticPackage -PacketCoreControlPlaneName azps-mn-pccp -ResourceGroupName azps_test_group -StorageAccountBlobUrl https://azpsstorage.blob.core.windows.net/testdiag/test
4+
```
5+
6+
Collect a diagnostics package for the specified packet core control plane.
7+
This action will upload the diagnostics to a storage account.

0 commit comments

Comments
 (0)