Skip to content

Commit 5ee60d1

Browse files
Move MobileNetwork to main (#22251)
1 parent cff0f2a commit 5ee60d1

27 files changed

+5580
-118
lines changed

src/MobileNetwork/Az.MobileNetwork.psd1

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

99
@{
@@ -97,6 +97,7 @@ FunctionsToExport = 'Deploy-AzMobileNetworkReinstallPacketCoreControlPlane',
9797
'New-AzMobileNetworkSliceConfigurationObject',
9898
'Remove-AzMobileNetwork',
9999
'Remove-AzMobileNetworkAttachedDataNetwork',
100+
'Remove-AzMobileNetworkBulkSimDelete',
100101
'Remove-AzMobileNetworkDataNetwork',
101102
'Remove-AzMobileNetworkPacketCoreControlPlane',
102103
'Remove-AzMobileNetworkPacketCoreDataPlane',
@@ -106,6 +107,8 @@ FunctionsToExport = 'Deploy-AzMobileNetworkReinstallPacketCoreControlPlane',
106107
'Trace-AzMobileNetworkCollectPacketCoreControlPlaneDiagnosticPackage',
107108
'Update-AzMobileNetwork',
108109
'Update-AzMobileNetworkAttachedDataNetwork',
110+
'Update-AzMobileNetworkBulkSimUpload',
111+
'Update-AzMobileNetworkBulkSimUploadEncrypted',
109112
'Update-AzMobileNetworkDataNetwork',
110113
'Update-AzMobileNetworkPacketCoreControlPlane',
111114
'Update-AzMobileNetworkPacketCoreDataPlane',
@@ -149,9 +152,7 @@ PrivateData = @{
149152
# IconUri = ''
150153

151154
# ReleaseNotes of this module
152-
ReleaseNotes = '* Three cmdlets were added: ''Deploy-AzMobileNetworkReinstallPacketCoreControlPlane'', ''Deploy-AzMobileNetworkRollbackPacketCoreControlPlane'', ''Trace-AzMobileNetworkCollectPacketCoreControlPlaneDiagnosticPackage''.
153-
* Improved message shown to user when deleting site, to indicate this will affect dependent resources.
154-
* Made further parameters optional for New-AzMobileNetworkSite when creating on an ASE.'
155+
# ReleaseNotes = ''
155156

156157
# Prerelease string of this module
157158
# Prerelease = ''

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", "{F4C70C08-D644-4AD6-8211-FCF6BE28FD5B}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{431F48F3-7091-425A-9365-476A26CCAF99}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{35A586BA-C11F-48CA-8DBE-0011FD50481B}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{8CF92950-1FF7-44AD-B959-A10B72EAD831}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{41E2DDC3-C825-41C6-AB1C-4778585A01B0}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{EBF6C7E6-E7BD-4D7F-ACAC-41515EC25CE9}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{38066A73-1945-4B63-A340-9C8DC9C9CFF0}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{8D732EA5-3AC6-4A2F-9C7A-C68429A6D856}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{F32303B4-C699-453C-B7CC-8A62B60095B5}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{56956168-01C1-4D88-8D8B-A51E841B4E59}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{4A10EB04-89E8-4F40-87E8-36ADBC4ECD73}"
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{5607B107-5EFD-497D-A9DB-8188445A22C3}"
1717
EndProject
18-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MobileNetwork", "Az.MobileNetwork.csproj", "{73454D13-4DFC-4CBC-BD57-BC60308695E9}"
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MobileNetwork", "Az.MobileNetwork.csproj", "{8119B0A2-AB1C-4597-97E5-1BB0E716F9D2}"
1919
EndProject
2020
Global
2121
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -26,33 +26,33 @@ Global
2626
HideSolutionNode = FALSE
2727
EndGlobalSection
2828
GlobalSection(ProjectConfigurationPlatforms) = postSolution
29-
{F4C70C08-D644-4AD6-8211-FCF6BE28FD5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{F4C70C08-D644-4AD6-8211-FCF6BE28FD5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{F4C70C08-D644-4AD6-8211-FCF6BE28FD5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{F4C70C08-D644-4AD6-8211-FCF6BE28FD5B}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{35A586BA-C11F-48CA-8DBE-0011FD50481B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{35A586BA-C11F-48CA-8DBE-0011FD50481B}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{35A586BA-C11F-48CA-8DBE-0011FD50481B}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{35A586BA-C11F-48CA-8DBE-0011FD50481B}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{41E2DDC3-C825-41C6-AB1C-4778585A01B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{41E2DDC3-C825-41C6-AB1C-4778585A01B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{41E2DDC3-C825-41C6-AB1C-4778585A01B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{41E2DDC3-C825-41C6-AB1C-4778585A01B0}.Release|Any CPU.Build.0 = Release|Any CPU
41-
{38066A73-1945-4B63-A340-9C8DC9C9CFF0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42-
{38066A73-1945-4B63-A340-9C8DC9C9CFF0}.Debug|Any CPU.Build.0 = Debug|Any CPU
43-
{38066A73-1945-4B63-A340-9C8DC9C9CFF0}.Release|Any CPU.ActiveCfg = Release|Any CPU
44-
{38066A73-1945-4B63-A340-9C8DC9C9CFF0}.Release|Any CPU.Build.0 = Release|Any CPU
45-
{F32303B4-C699-453C-B7CC-8A62B60095B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46-
{F32303B4-C699-453C-B7CC-8A62B60095B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
47-
{F32303B4-C699-453C-B7CC-8A62B60095B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
48-
{F32303B4-C699-453C-B7CC-8A62B60095B5}.Release|Any CPU.Build.0 = Release|Any CPU
49-
{4A10EB04-89E8-4F40-87E8-36ADBC4ECD73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50-
{4A10EB04-89E8-4F40-87E8-36ADBC4ECD73}.Debug|Any CPU.Build.0 = Debug|Any CPU
51-
{4A10EB04-89E8-4F40-87E8-36ADBC4ECD73}.Release|Any CPU.ActiveCfg = Release|Any CPU
52-
{4A10EB04-89E8-4F40-87E8-36ADBC4ECD73}.Release|Any CPU.Build.0 = Release|Any CPU
53-
{73454D13-4DFC-4CBC-BD57-BC60308695E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54-
{73454D13-4DFC-4CBC-BD57-BC60308695E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
55-
{73454D13-4DFC-4CBC-BD57-BC60308695E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
56-
{73454D13-4DFC-4CBC-BD57-BC60308695E9}.Release|Any CPU.Build.0 = Release|Any CPU
29+
{431F48F3-7091-425A-9365-476A26CCAF99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{431F48F3-7091-425A-9365-476A26CCAF99}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{431F48F3-7091-425A-9365-476A26CCAF99}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{431F48F3-7091-425A-9365-476A26CCAF99}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{8CF92950-1FF7-44AD-B959-A10B72EAD831}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{8CF92950-1FF7-44AD-B959-A10B72EAD831}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{8CF92950-1FF7-44AD-B959-A10B72EAD831}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{8CF92950-1FF7-44AD-B959-A10B72EAD831}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{EBF6C7E6-E7BD-4D7F-ACAC-41515EC25CE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38+
{EBF6C7E6-E7BD-4D7F-ACAC-41515EC25CE9}.Debug|Any CPU.Build.0 = Debug|Any CPU
39+
{EBF6C7E6-E7BD-4D7F-ACAC-41515EC25CE9}.Release|Any CPU.ActiveCfg = Release|Any CPU
40+
{EBF6C7E6-E7BD-4D7F-ACAC-41515EC25CE9}.Release|Any CPU.Build.0 = Release|Any CPU
41+
{8D732EA5-3AC6-4A2F-9C7A-C68429A6D856}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{8D732EA5-3AC6-4A2F-9C7A-C68429A6D856}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{8D732EA5-3AC6-4A2F-9C7A-C68429A6D856}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{8D732EA5-3AC6-4A2F-9C7A-C68429A6D856}.Release|Any CPU.Build.0 = Release|Any CPU
45+
{56956168-01C1-4D88-8D8B-A51E841B4E59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46+
{56956168-01C1-4D88-8D8B-A51E841B4E59}.Debug|Any CPU.Build.0 = Debug|Any CPU
47+
{56956168-01C1-4D88-8D8B-A51E841B4E59}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{56956168-01C1-4D88-8D8B-A51E841B4E59}.Release|Any CPU.Build.0 = Release|Any CPU
49+
{5607B107-5EFD-497D-A9DB-8188445A22C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50+
{5607B107-5EFD-497D-A9DB-8188445A22C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
51+
{5607B107-5EFD-497D-A9DB-8188445A22C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
52+
{5607B107-5EFD-497D-A9DB-8188445A22C3}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{8119B0A2-AB1C-4597-97E5-1BB0E716F9D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{8119B0A2-AB1C-4597-97E5-1BB0E716F9D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{8119B0A2-AB1C-4597-97E5-1BB0E716F9D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{8119B0A2-AB1C-4597-97E5-1BB0E716F9D2}.Release|Any CPU.Build.0 = Release|Any CPU
5757
EndGlobalSection
5858
EndGlobal

src/MobileNetwork/README.md

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For information on how to develop for `Az.MobileNetwork`, see [how-to.md](how-to
3232
``` yaml
3333
branch: 933dbc070dda85e2d115dc42893f07b2ed5b74f6
3434
require:
35-
- $(this-folder)/../readme.azure.noprofile.md
35+
- $(this-folder)/../readme.azure.noprofile.md
3636
input-file:
3737
- $(repo)/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2022-11-01/attachedDataNetwork.json
3838
- $(repo)/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2022-11-01/common.json
@@ -59,7 +59,7 @@ nested-object-to-string: true
5959

6060
directive:
6161
# Change interopSettings type from <IAny> to <HashTable>
62-
- from: swagger-document
62+
- from: swagger-document
6363
where: $.definitions.PacketCoreControlPlanePropertiesFormat.properties.interopSettings
6464
transform: >-
6565
return {
@@ -69,10 +69,10 @@ directive:
6969
}
7070
7171
# Remove parameters from swagger file
72-
- from: swagger-document
72+
- from: swagger-document
7373
where: $.definitions
7474
transform: delete $.CoreNetworkTypeRm
75-
- from: swagger-document
75+
- from: swagger-document
7676
where: $.definitions
7777
transform: delete $.PduSessionTypeRm
7878

@@ -163,32 +163,23 @@ directive:
163163
subject: ^Site$
164164
hide: true
165165

166-
# 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
172166
- where:
173167
verb: Invoke
174168
subject: ^BulkSimDelete$
175-
remove: true
169+
set:
170+
verb: Remove
176171

177-
# - where:
178-
# verb: Invoke
179-
# subject: ^BulkSimUpload$
180-
# set:
181-
# verb: Update
182172
- where:
183173
verb: Invoke
184174
subject: ^BulkSimUpload$
185-
remove: true
175+
set:
176+
verb: Update
186177

187-
# - where:
188-
# verb: Invoke
189-
# subject: ^BulkSimUploadEncrypted$
190-
# set:
191-
# verb: Update
178+
- where:
179+
verb: Invoke
180+
subject: ^BulkSimUploadEncrypted$
181+
set:
182+
verb: Update
192183
- where:
193184
verb: Invoke
194185
subject: ^BulkSimUploadEncrypted$
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Example 1: Bulk removing Sims
2+
```powershell
3+
$sims = @("BulkSim01", "BulkSim02")
4+
Remove-AzMobileNetworkBulkSimDelete -ResourceGroupName azps_test_group -SimGroupName SimGroup01 -Sim $sims
5+
```
6+
7+
Bulks remove multiple sims from a SimGroup.
8+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Example 1: Bulk uploading Sims
2+
```powershell
3+
$sim1 = @{Name = "BulkSim01"; InternationalMobileSubscriberIdentity = "0000000001"; AuthenticationKey = "00000000000000000000000000000001"; OperatorKeyCode = "00000000000000000000000000000001"}
4+
$sim2 = @{Name = "BulkSim02"; InternationalMobileSubscriberIdentity = "0000000002"; AuthenticationKey = "00000000000000000000000000000002"; OperatorKeyCode = "00000000000000000000000000000002"}
5+
$sims = @($sim1,$sim2)
6+
Update-AzMobileNetworkBulkSimUpload -ResourceGroupName azps_test_group -SimGroupName SimGroup01 -Sim $sims
7+
```
8+
9+
Bulks uploads multiple sims into a SimGroup.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Example 1: Bulk uploading Sims using vendor specific keys
2+
```powershell
3+
$sim1 = @{Name = "BulkSim01"; InternationalMobileSubscriberIdentity = "0000000001"; AuthenticationKey = "00000000000000000000000000000001"; OperatorKeyCode = "00000000000000000000000000000001"}
4+
$sim2 = @{Name = "BulkSim02"; InternationalMobileSubscriberIdentity = "0000000002"; AuthenticationKey = "00000000000000000000000000000002"; OperatorKeyCode = "00000000000000000000000000000002"}
5+
$sims = @($sim1,$sim2)
6+
Update-AzMobileNetworkBulkSimUploadEncrypted -ResourceGroupName rf4-pctt-env-1 -SimGroupName SimGroup01 -Sim $sims -AzureKeyIdentifier 123 -EncryptedTransportKey 123 -SignedTransportKey 456 -VendorKeyFingerprint 123 -Version 1
7+
```
8+
9+
Bulk upload SIMs in encrypted form to a SIM group using the Vendor specific keys.

0 commit comments

Comments
 (0)