Skip to content

Commit

Permalink
[mgmt] mobilenetwork release (#27604)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Nov 28, 2023
1 parent 4862c6d commit 2e18428
Show file tree
Hide file tree
Showing 252 changed files with 1,290 additions and 960 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,9 @@
# PRLabel: %Mgmt
/sdk/managednetworkfabric/arm-managednetworkfabric/ @qiaozha @MaryGao

# PRLabel: %Mgmt
/sdk/mobilenetwork/arm-mobilenetwork/ @qiaozha @MaryGao

# PRLabel: %Mgmt
/sdk/managementgroups/arm-managementgroups/ @qiaozha @MaryGao

Expand Down
835 changes: 460 additions & 375 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

31 changes: 22 additions & 9 deletions sdk/mobilenetwork/arm-mobilenetwork/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
# Release History

## 4.0.0 (2023-10-31)

**Features**

## 3.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Added Interface EventHubConfiguration
- Added Interface NASRerouteConfiguration
- Added Interface SignalingConfiguration
- Interface PacketCapture has a new optional parameter outputFiles
- Interface PacketCoreControlPlane has a new optional parameter controlPlaneAccessVirtualIpv4Addresses
- Interface PacketCoreControlPlane has a new optional parameter eventHub
- Interface PacketCoreControlPlane has a new optional parameter signaling
- Interface PacketCoreDataPlane has a new optional parameter userPlaneAccessVirtualIpv4Addresses
- Enum KnownInstallationReason has a new value ControlPlaneAccessInterfaceHasChanged
- Enum KnownInstallationReason has a new value ControlPlaneAccessVirtualIpv4AddressesHasChanged
- Enum KnownInstallationReason has a new value PublicLandMobileNetworkIdentifierHasChanged
- Enum KnownInstallationReason has a new value UserPlaneAccessInterfaceHasChanged
- Enum KnownInstallationReason has a new value UserPlaneAccessVirtualIpv4AddressesHasChanged
- Enum KnownInstallationReason has a new value UserPlaneDataInterfaceHasChanged

**Breaking Changes**

- Parameter totalBytesPerSession has a more constraining minimum value

## 3.0.0 (2023-07-05)

**Features**
Expand Down
8 changes: 4 additions & 4 deletions sdk/mobilenetwork/arm-mobilenetwork/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "95358a2b319539960ec94ca7decd47c28f4fc2d0",
"commit": "9464b7e7f74c6676d729095492575c4331ca144f",
"readme": "specification/mobilenetwork/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\mobilenetwork\\resource-manager\\readme.md --use=@autorest/typescript@6.0.5 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\mobilenetwork\\resource-manager\\readme.md --use=@autorest/typescript@6.0.11 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
"use": "@autorest/typescript@6.0.5"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.2",
"use": "@autorest/typescript@6.0.11"
}
2 changes: 1 addition & 1 deletion sdk/mobilenetwork/arm-mobilenetwork/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/mobilenetwork/arm-mobilenetwork",
"Tag": "js/mobilenetwork/arm-mobilenetwork_0b08471816"
"Tag": "js/mobilenetwork/arm-mobilenetwork_5361ba6acb"
}
22 changes: 12 additions & 10 deletions sdk/mobilenetwork/arm-mobilenetwork/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for MobileNetworkManagementClient.",
"version": "3.0.1",
"version": "4.0.0",
"engines": {
"node": ">=18.0.0"
"node": ">=16.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.3",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-rest-pipeline": "^1.12.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -30,20 +30,22 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^2.1.2",
"typescript": "~5.2.0",
"typescript": "~5.0.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^3.3.0",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"esm": "^3.2.18",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
"@types/node": "^16.0.0",
"ts-node": "^10.0.0",
"@azure/dev-tool": "^1.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -77,7 +79,7 @@
"extract-api": "api-extractor run --local",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
"build:test": "echo skipped",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,12 @@ export interface ErrorResponse {
error?: ErrorDetail;
}

// @public
export interface EventHubConfiguration {
id: string;
reportingInterval?: number;
}

// @public
export function getContinuationToken(page: unknown): string | undefined;

Expand Down Expand Up @@ -454,9 +460,15 @@ export enum KnownDiagnosticsPackageStatus {

// @public
export enum KnownInstallationReason {
ControlPlaneAccessInterfaceHasChanged = "ControlPlaneAccessInterfaceHasChanged",
ControlPlaneAccessVirtualIpv4AddressesHasChanged = "ControlPlaneAccessVirtualIpv4AddressesHasChanged",
NoAttachedDataNetworks = "NoAttachedDataNetworks",
NoPacketCoreDataPlane = "NoPacketCoreDataPlane",
NoSlices = "NoSlices"
NoSlices = "NoSlices",
PublicLandMobileNetworkIdentifierHasChanged = "PublicLandMobileNetworkIdentifierHasChanged",
UserPlaneAccessInterfaceHasChanged = "UserPlaneAccessInterfaceHasChanged",
UserPlaneAccessVirtualIpv4AddressesHasChanged = "UserPlaneAccessVirtualIpv4AddressesHasChanged",
UserPlaneDataInterfaceHasChanged = "UserPlaneDataInterfaceHasChanged"
}

// @public
Expand Down Expand Up @@ -750,6 +762,11 @@ export interface NaptConfiguration {
// @public
export type NaptEnabled = string;

// @public
export interface NASRerouteConfiguration {
macroMmeGroupId: number;
}

// @public
export type ObsoleteVersion = string;

Expand Down Expand Up @@ -798,6 +815,7 @@ export interface PacketCapture extends ProxyResource {
bytesToCapturePerPacket?: number;
readonly captureStartTime?: Date;
networkInterfaces?: string[];
readonly outputFiles?: string[];
readonly provisioningState?: ProvisioningState;
readonly reason?: string;
readonly status?: PacketCaptureStatus;
Expand Down Expand Up @@ -874,8 +892,10 @@ export type PacketCaptureStatus = string;
// @public
export interface PacketCoreControlPlane extends TrackedResource {
controlPlaneAccessInterface: InterfaceProperties;
controlPlaneAccessVirtualIpv4Addresses?: string[];
coreNetworkTechnology?: CoreNetworkType;
diagnosticsUpload?: DiagnosticsUploadConfiguration;
eventHub?: EventHubConfiguration;
identity?: ManagedServiceIdentity;
installation?: Installation;
readonly installedVersion?: string;
Expand All @@ -884,6 +904,7 @@ export interface PacketCoreControlPlane extends TrackedResource {
platform: PlatformConfiguration;
readonly provisioningState?: ProvisioningState;
readonly rollbackVersion?: string;
signaling?: SignalingConfiguration;
sites: SiteResourceId[];
sku: BillingSku;
ueMtu?: number;
Expand Down Expand Up @@ -1074,6 +1095,7 @@ export type PacketCoreControlPlaneVersionsListResponse = PacketCoreControlPlaneV
export interface PacketCoreDataPlane extends TrackedResource {
readonly provisioningState?: ProvisioningState;
userPlaneAccessInterface: InterfaceProperties;
userPlaneAccessVirtualIpv4Addresses?: string[];
}

// @public
Expand Down Expand Up @@ -1322,6 +1344,11 @@ export interface ServicesUpdateTagsOptionalParams extends coreClient.OperationOp
// @public
export type ServicesUpdateTagsResponse = Service;

// @public
export interface SignalingConfiguration {
nasReroute?: NASRerouteConfiguration;
}

// @public
export interface Sim extends ProxyResource {
authenticationKey?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates or updates an attached data network. Must be created in the same location as its parent packet core data plane.
*
* @summary Creates or updates an attached data network. Must be created in the same location as its parent packet core data plane.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/AttachedDataNetworkCreate.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/AttachedDataNetworkCreate.json
*/
async function createAttachedDataNetwork() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes the specified attached data network.
*
* @summary Deletes the specified attached data network.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/AttachedDataNetworkDelete.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/AttachedDataNetworkDelete.json
*/
async function deleteAttachedDataNetworkResource() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets information about the specified attached data network.
*
* @summary Gets information about the specified attached data network.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/AttachedDataNetworkGet.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/AttachedDataNetworkGet.json
*/
async function getAttachedDataNetwork() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets all the attached data networks associated with a packet core data plane.
*
* @summary Gets all the attached data networks associated with a packet core data plane.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/AttachedDataNetworkListByPacketCoreDataPlane.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/AttachedDataNetworkListByPacketCoreDataPlane.json
*/
async function listAttachedDataNetworksInADataPlane() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates an attached data network tags.
*
* @summary Updates an attached data network tags.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/AttachedDataNetworkUpdateTags.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/AttachedDataNetworkUpdateTags.json
*/
async function updateAttachedDataNetworkTags() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates or updates a data network. Must be created in the same location as its parent mobile network.
*
* @summary Creates or updates a data network. Must be created in the same location as its parent mobile network.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/DataNetworkCreate.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/DataNetworkCreate.json
*/
async function createDataNetwork() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes the specified data network.
*
* @summary Deletes the specified data network.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/DataNetworkDelete.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/DataNetworkDelete.json
*/
async function deleteDataNetwork() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets information about the specified data network.
*
* @summary Gets information about the specified data network.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/DataNetworkGet.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/DataNetworkGet.json
*/
async function getDataNetwork() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all data networks in the mobile network.
*
* @summary Lists all data networks in the mobile network.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/DataNetworkListByMobileNetwork.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/DataNetworkListByMobileNetwork.json
*/
async function listDataNetworksInAMobileNetwork() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates data network tags.
*
* @summary Updates data network tags.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/DataNetworkUpdateTags.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/DataNetworkUpdateTags.json
*/
async function updateDataNetworkTags() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Creates or updates a diagnostics package.
*
* @summary Creates or updates a diagnostics package.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/DiagnosticsPackageCreate.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/DiagnosticsPackageCreate.json
*/
async function createDiagnosticsPackage() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes the specified diagnostics package.
*
* @summary Deletes the specified diagnostics package.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/DiagnosticsPackageDelete.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/DiagnosticsPackageDelete.json
*/
async function deleteDiagnosticsPackage() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets information about the specified diagnostics package.
*
* @summary Gets information about the specified diagnostics package.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/DiagnosticsPackageGet.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/DiagnosticsPackageGet.json
*/
async function getDiagnosticsPackage() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the diagnostics packages under a packet core control plane.
*
* @summary Lists all the diagnostics packages under a packet core control plane.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/DiagnosticsPackageListByPacketCoreControlPlane.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/DiagnosticsPackageListByPacketCoreControlPlane.json
*/
async function listDiagnosticsPackagesUnderAPacketCoreControlPlane() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates or updates a mobile network.
*
* @summary Creates or updates a mobile network.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/MobileNetworkCreate.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/MobileNetworkCreate.json
*/
async function createMobileNetwork() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes the specified mobile network.
*
* @summary Deletes the specified mobile network.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/MobileNetworkDelete.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/MobileNetworkDelete.json
*/
async function deleteMobileNetwork() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets information about the specified mobile network.
*
* @summary Gets information about the specified mobile network.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/MobileNetworkGet.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/MobileNetworkGet.json
*/
async function getMobileNetwork() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the mobile networks in a resource group.
*
* @summary Lists all the mobile networks in a resource group.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/MobileNetworkListByResourceGroup.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/MobileNetworkListByResourceGroup.json
*/
async function listMobileNetworksInResourceGroup() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the mobile networks in a subscription.
*
* @summary Lists all the mobile networks in a subscription.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/MobileNetworkListBySubscription.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/MobileNetworkListBySubscription.json
*/
async function listMobileNetworksInASubscription() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates mobile network tags.
*
* @summary Updates mobile network tags.
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-06-01/examples/MobileNetworkUpdateTags.json
* x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2023-09-01/examples/MobileNetworkUpdateTags.json
*/
async function updateMobileNetworkTags() {
const subscriptionId =
Expand Down
Loading

0 comments on commit 2e18428

Please sign in to comment.