Skip to content

Commit 9c0f72f

Browse files
SDKAutoArcturusZhangmsyyc
committed
CodeGen from PR 18234 in Azure/azure-rest-api-specs
Added new API version 2022-03-01 to the Mobile Network service (Azure#18234) * Mobile Network REST API Specification * Removed API versions 2020-06-01-preview and 2021-04-01-preview. Have only the API version 2022-01-01-preview in Public * Addressed Swagger Avocado and Swagger SpellCheck Errors * Addressed Parameters Order Errors * Merge azure-rest-api-specs-pr branch ssivathas/mobilenetwork-public-api into satravi/mobilenetwork-rest-api-specs * Removed Unreferenced JSON Files * Added support for Static IP Addressing to PMN * Addressed Swagger PrettierCheck Errors * Addressed Swagger ModelValidation Errors * change go config to track 2 * Updated the API versions in SDK README files * Update readme.python.md * Update readme.md * Updated ActivationState to ConfigurationState * Addressed XmsIdentifierValidation Errors * Addressed DescriptionAndTitleMissing Errors * Generic name for N2 and N3 Interface attributes to support 4G Networks * Generic name for N6 Interface attribute to support 4G Networks * Generic name for N6 Interface attribute to support 4G Networks * Updated the Mobile Network REST specification and examples * Removed the read-only field activationState * Added 2022-03-01 version * Updated 2022-03-01 version in the README files * Removed the duplicate custom-words * Revert "Mobile Network API version 2022-03-01" * Revert custom-words * Added Mobile Network API version 2022-03-01-preview * Updated Mobile Network API version 2022-03-01-preview specs and examples Co-authored-by: ArcturusZhang <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
1 parent 98f21d8 commit 9c0f72f

File tree

198 files changed

+453
-7482
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+453
-7482
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 7 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,84 @@
11
# Release History
22

3+
## 1.0.0-beta.2 (2022-03-21)
4+
5+
**Features**
6+
7+
- Added Interface SystemData
8+
- Added Type Alias SimState
9+
- Interface InterfaceProperties has a new optional parameter ipv4Address
10+
- Interface InterfaceProperties has a new optional parameter ipv4Gateway
11+
- Interface InterfaceProperties has a new optional parameter ipv4Subnet
12+
- Interface Resource has a new optional parameter systemData
13+
- Type Alias Sim has a new parameter simState
14+
- Added Enum KnownSimState
15+
16+
**Breaking Changes**
17+
18+
- Type Alias AttachedDataNetwork no longer has parameter createdBy
19+
- Type Alias AttachedDataNetwork no longer has parameter createdByType
20+
- Type Alias AttachedDataNetwork no longer has parameter createdAt
21+
- Type Alias AttachedDataNetwork no longer has parameter lastModifiedBy
22+
- Type Alias AttachedDataNetwork no longer has parameter lastModifiedByType
23+
- Type Alias AttachedDataNetwork no longer has parameter lastModifiedAt
24+
- Type Alias DataNetwork no longer has parameter createdBy
25+
- Type Alias DataNetwork no longer has parameter createdByType
26+
- Type Alias DataNetwork no longer has parameter createdAt
27+
- Type Alias DataNetwork no longer has parameter lastModifiedBy
28+
- Type Alias DataNetwork no longer has parameter lastModifiedByType
29+
- Type Alias DataNetwork no longer has parameter lastModifiedAt
30+
- Type Alias MobileNetwork no longer has parameter createdBy
31+
- Type Alias MobileNetwork no longer has parameter createdByType
32+
- Type Alias MobileNetwork no longer has parameter createdAt
33+
- Type Alias MobileNetwork no longer has parameter lastModifiedBy
34+
- Type Alias MobileNetwork no longer has parameter lastModifiedByType
35+
- Type Alias MobileNetwork no longer has parameter lastModifiedAt
36+
- Type Alias PacketCoreControlPlane no longer has parameter createdBy
37+
- Type Alias PacketCoreControlPlane no longer has parameter createdByType
38+
- Type Alias PacketCoreControlPlane no longer has parameter createdAt
39+
- Type Alias PacketCoreControlPlane no longer has parameter lastModifiedBy
40+
- Type Alias PacketCoreControlPlane no longer has parameter lastModifiedByType
41+
- Type Alias PacketCoreControlPlane no longer has parameter lastModifiedAt
42+
- Type Alias PacketCoreDataPlane no longer has parameter createdBy
43+
- Type Alias PacketCoreDataPlane no longer has parameter createdByType
44+
- Type Alias PacketCoreDataPlane no longer has parameter createdAt
45+
- Type Alias PacketCoreDataPlane no longer has parameter lastModifiedBy
46+
- Type Alias PacketCoreDataPlane no longer has parameter lastModifiedByType
47+
- Type Alias PacketCoreDataPlane no longer has parameter lastModifiedAt
48+
- Type Alias Service no longer has parameter createdBy
49+
- Type Alias Service no longer has parameter createdByType
50+
- Type Alias Service no longer has parameter createdAt
51+
- Type Alias Service no longer has parameter lastModifiedBy
52+
- Type Alias Service no longer has parameter lastModifiedByType
53+
- Type Alias Service no longer has parameter lastModifiedAt
54+
- Type Alias Sim no longer has parameter createdBy
55+
- Type Alias Sim no longer has parameter createdByType
56+
- Type Alias Sim no longer has parameter createdAt
57+
- Type Alias Sim no longer has parameter lastModifiedBy
58+
- Type Alias Sim no longer has parameter lastModifiedByType
59+
- Type Alias Sim no longer has parameter lastModifiedAt
60+
- Type Alias Sim no longer has parameter configurationState
61+
- Type Alias SimPolicy no longer has parameter createdBy
62+
- Type Alias SimPolicy no longer has parameter createdByType
63+
- Type Alias SimPolicy no longer has parameter createdAt
64+
- Type Alias SimPolicy no longer has parameter lastModifiedBy
65+
- Type Alias SimPolicy no longer has parameter lastModifiedByType
66+
- Type Alias SimPolicy no longer has parameter lastModifiedAt
67+
- Type Alias Site no longer has parameter createdBy
68+
- Type Alias Site no longer has parameter createdByType
69+
- Type Alias Site no longer has parameter createdAt
70+
- Type Alias Site no longer has parameter lastModifiedBy
71+
- Type Alias Site no longer has parameter lastModifiedByType
72+
- Type Alias Site no longer has parameter lastModifiedAt
73+
- Type Alias Slice no longer has parameter createdBy
74+
- Type Alias Slice no longer has parameter createdByType
75+
- Type Alias Slice no longer has parameter createdAt
76+
- Type Alias Slice no longer has parameter lastModifiedBy
77+
- Type Alias Slice no longer has parameter lastModifiedByType
78+
- Type Alias Slice no longer has parameter lastModifiedAt
79+
- Removed Enum KnownConfigurationState
80+
81+
382
## 1.0.0-beta.1 (2022-02-21)
483

584
The package of @azure/arm-mobilenetwork is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).

sdk/mobilenetwork/arm-mobilenetwork/README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ The resources in this swagger specification will be used to manage attached data
1616
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
1717
- Latest versions of Safari, Chrome, Edge and Firefox.
1818

19-
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
20-
2119
### Prerequisites
2220

2321
- An [Azure subscription][azure_sub].
@@ -51,17 +49,8 @@ For more information about how to create an Azure AD Application check out [this
5149
```javascript
5250
const { MobileNetworkManagementClient } = require("@azure/arm-mobilenetwork");
5351
const { DefaultAzureCredential } = require("@azure/identity");
54-
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
55-
5652
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5753
const client = new MobileNetworkManagementClient(new DefaultAzureCredential(), subscriptionId);
58-
59-
// For client-side applications running in the browser, use this code instead:
60-
// const credential = new InteractiveBrowserCredential({
61-
// tenantId: "<YOUR_TENANT_ID>",
62-
// clientId: "<YOUR_CLIENT_ID>"
63-
// });
64-
// const client = new MobileNetworkManagementClient(credential, subscriptionId);
6554
```
6655

6756

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"commit": "bb9f1204f9a337404ff7e7b73b4c7b4ddde7f8f1",
2+
"commit": "162460648e39b3cd20ef3d302008add138e90223",
33
"readme": "specification/mobilenetwork/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/mobilenetwork/resource-manager/readme.md --use=@autorest/[email protected].20220218.1 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/mobilenetwork/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/[email protected]"
6+
"release_tool": "@azure-tools/[email protected]",
7+
"use": "@autorest/[email protected]"
78
}

sdk/mobilenetwork/arm-mobilenetwork/package.json

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for MobileNetworkManagementClient.",
6-
"version": "1.0.0-beta.1",
6+
"version": "1.0.0-beta.2",
77
"engines": {
88
"node": ">=12.0.0"
99
},
@@ -29,13 +29,13 @@
2929
"types": "./types/arm-mobilenetwork.d.ts",
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.18.11",
32-
"@rollup/plugin-commonjs": "^21.0.1",
33-
"@rollup/plugin-json": "^4.1.0",
34-
"@rollup/plugin-multi-entry": "^4.1.0",
35-
"@rollup/plugin-node-resolve": "^13.1.3",
32+
"@rollup/plugin-commonjs": "11.0.2",
33+
"@rollup/plugin-json": "^4.0.0",
34+
"@rollup/plugin-multi-entry": "^3.0.0",
35+
"@rollup/plugin-node-resolve": "^8.0.0",
3636
"mkdirp": "^1.0.4",
37-
"rollup": "^2.66.1",
38-
"rollup-plugin-sourcemaps": "^0.6.3",
37+
"rollup": "^1.16.3",
38+
"rollup-plugin-sourcemaps": "^0.4.2",
3939
"typescript": "~4.2.0",
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^3.0.0",
@@ -98,21 +98,5 @@
9898
"docs": "echo skipped"
9999
},
100100
"sideEffects": false,
101-
"//metadata": {
102-
"constantPaths": [
103-
{
104-
"path": "src/mobileNetworkManagementClient.ts",
105-
"prefix": "packageDetails"
106-
}
107-
]
108-
},
109-
"autoPublish": true,
110-
"//sampleConfiguration": {
111-
"productName": "",
112-
"productSlugs": [
113-
"azure"
114-
],
115-
"disableDocsMs": true,
116-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-mobilenetwork?view=azure-node-preview"
117-
}
101+
"autoPublish": true
118102
}

sdk/mobilenetwork/arm-mobilenetwork/recordings/node/my_test/recording_sample_test.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)