Skip to content

Commit 72e9797

Browse files
author
SDKAuto
committed
CodeGen from PR 17280 in Azure/azure-rest-api-specs
Merge 648cf22c7e31f2f7800856bba54000abef48e8b9 into 80e0bf225d3bb42a87d04696481b5c5ec4bef08a
1 parent 491585a commit 72e9797

File tree

15 files changed

+139
-243
lines changed

15 files changed

+139
-243
lines changed

sdk/peering/arm-peering/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Release History
22

3+
## 3.0.0 (2022-01-25)
4+
5+
**Features**
6+
7+
- Added Type Alias SourceType
8+
- Added Enum KnownSourceType
9+
- Enum KnownDirectPeeringType has a new value EdgeZoneForOperators
10+
11+
**Breaking Changes**
12+
13+
- Operation LegacyPeerings.list has a new signature
14+
- Operation LookingGlass.invoke has a new signature
15+
- Operation PeeringLocations.list has a new signature
16+
- Removed Enum KnownLegacyPeeringsKind
17+
- Removed Enum KnownLookingGlassCommand
18+
- Removed Enum KnownLookingGlassSourceType
19+
- Removed Enum KnownPeeringLocationsDirectPeeringType
20+
- Removed Enum KnownPeeringLocationsKind
21+
22+
323
## 2.0.0 (2022-01-20)
424

525
The package of @azure/arm-peering is using our next generation design principles since version 2.0.0, which contains breaking changes.

sdk/peering/arm-peering/_meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
2+
"commit": "b9d1f9b744cc777139bcd812fa1d4b4e679bfef9",
33
"readme": "specification/peering/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/peering/resource-manager/readme.md --use=@autorest/[email protected].20220114.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/peering/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].20220114.1"
6+
"use": "@autorest/[email protected].20220105.1"
77
}
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
33
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4-
"docModel": { "enabled": true },
5-
"apiReport": { "enabled": true, "reportFolder": "./review" },
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
611
"dtsRollup": {
712
"enabled": true,
813
"untrimmedFilePath": "",
914
"publicTrimmedFilePath": "./types/arm-peering.d.ts"
1015
},
1116
"messages": {
12-
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
1322
"extractorMessageReporting": {
14-
"ae-missing-release-tag": { "logLevel": "none" },
15-
"ae-unresolved-link": { "logLevel": "none" }
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
1629
}
1730
}
18-
}
31+
}

sdk/peering/arm-peering/package.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,24 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for PeeringManagementClient.",
6-
"version": "2.0.0",
7-
"engines": { "node": ">=12.0.0" },
6+
"version": "3.0.0",
7+
"engines": {
8+
"node": ">=12.0.0"
9+
},
810
"dependencies": {
911
"@azure/core-paging": "^1.2.0",
1012
"@azure/core-client": "^1.0.0",
1113
"@azure/core-auth": "^1.3.0",
1214
"@azure/core-rest-pipeline": "^1.1.0",
1315
"tslib": "^2.2.0"
1416
},
15-
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
17+
"keywords": [
18+
"node",
19+
"azure",
20+
"typescript",
21+
"browser",
22+
"isomorphic"
23+
],
1624
"license": "MIT",
1725
"main": "./dist/index.js",
1826
"module": "./dist-esm/src/index.js",
@@ -39,7 +47,9 @@
3947
"type": "git",
4048
"url": "https://github.com/Azure/azure-sdk-for-js.git"
4149
},
42-
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
50+
"bugs": {
51+
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
52+
},
4353
"files": [
4454
"dist/**/*.js",
4555
"dist/**/*.js.map",
@@ -86,16 +96,5 @@
8696
"docs": "echo skipped"
8797
},
8898
"sideEffects": false,
89-
"//metadata": {
90-
"constantPaths": [
91-
{ "path": "src/PeeringManagementClient.ts", "prefix": "packageDetails" }
92-
]
93-
},
94-
"autoPublish": true,
95-
"//sampleConfiguration": {
96-
"productName": "",
97-
"productSlugs": ["azure"],
98-
"disableDocsMs": true,
99-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-peering?view=azure-node-preview"
100-
}
101-
}
99+
"autoPublish": true
100+
}

sdk/peering/arm-peering/review/arm-peering.api.md

Lines changed: 18 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ export enum KnownDirectPeeringType {
245245
// (undocumented)
246246
Edge = "Edge",
247247
// (undocumented)
248+
EdgeZoneForOperators = "EdgeZoneForOperators",
249+
// (undocumented)
248250
Internal = "Internal",
249251
// (undocumented)
250252
Ix = "Ix",
@@ -290,58 +292,6 @@ export enum KnownLearnedType {
290292
ViaSession = "ViaSession"
291293
}
292294

293-
// @public
294-
export enum KnownLegacyPeeringsKind {
295-
// (undocumented)
296-
Direct = "Direct",
297-
// (undocumented)
298-
Exchange = "Exchange"
299-
}
300-
301-
// @public
302-
export enum KnownLookingGlassCommand {
303-
// (undocumented)
304-
BgpRoute = "BgpRoute",
305-
// (undocumented)
306-
Ping = "Ping",
307-
// (undocumented)
308-
Traceroute = "Traceroute"
309-
}
310-
311-
// @public
312-
export enum KnownLookingGlassSourceType {
313-
// (undocumented)
314-
AzureRegion = "AzureRegion",
315-
// (undocumented)
316-
EdgeSite = "EdgeSite"
317-
}
318-
319-
// @public
320-
export enum KnownPeeringLocationsDirectPeeringType {
321-
// (undocumented)
322-
Cdn = "Cdn",
323-
// (undocumented)
324-
Edge = "Edge",
325-
// (undocumented)
326-
Internal = "Internal",
327-
// (undocumented)
328-
Ix = "Ix",
329-
// (undocumented)
330-
IxRs = "IxRs",
331-
// (undocumented)
332-
Transit = "Transit",
333-
// (undocumented)
334-
Voice = "Voice"
335-
}
336-
337-
// @public
338-
export enum KnownPeeringLocationsKind {
339-
// (undocumented)
340-
Direct = "Direct",
341-
// (undocumented)
342-
Exchange = "Exchange"
343-
}
344-
345295
// @public
346296
export enum KnownPrefixValidationState {
347297
// (undocumented)
@@ -458,6 +408,14 @@ export enum KnownSize {
458408
Unlimited = "Unlimited"
459409
}
460410

411+
// @public
412+
export enum KnownSourceType {
413+
// (undocumented)
414+
AzureRegion = "AzureRegion",
415+
// (undocumented)
416+
EdgeSite = "EdgeSite"
417+
}
418+
461419
// @public
462420
export enum KnownTier {
463421
// (undocumented)
@@ -483,12 +441,9 @@ export type LearnedType = string;
483441

484442
// @public
485443
export interface LegacyPeerings {
486-
list(peeringLocation: string, kind: LegacyPeeringsKind, options?: LegacyPeeringsListOptionalParams): PagedAsyncIterableIterator<Peering>;
444+
list(peeringLocation: string, kind: Kind, options?: LegacyPeeringsListOptionalParams): PagedAsyncIterableIterator<Peering>;
487445
}
488446

489-
// @public
490-
export type LegacyPeeringsKind = string;
491-
492447
// @public
493448
export interface LegacyPeeringsListNextOptionalParams extends coreClient.OperationOptions {
494449
asn?: number;
@@ -514,12 +469,9 @@ export interface LogAnalyticsWorkspaceProperties {
514469

515470
// @public
516471
export interface LookingGlass {
517-
invoke(command: LookingGlassCommand, sourceType: LookingGlassSourceType, sourceLocation: string, destinationIP: string, options?: LookingGlassInvokeOptionalParams): Promise<LookingGlassInvokeResponse>;
472+
invoke(command: Command, sourceType: SourceType, sourceLocation: string, destinationIP: string, options?: LookingGlassInvokeOptionalParams): Promise<LookingGlassInvokeResponse>;
518473
}
519474

520-
// @public
521-
export type LookingGlassCommand = string;
522-
523475
// @public
524476
export interface LookingGlassInvokeOptionalParams extends coreClient.OperationOptions {
525477
}
@@ -533,9 +485,6 @@ export interface LookingGlassOutput {
533485
output?: string;
534486
}
535487

536-
// @public
537-
export type LookingGlassSourceType = string;
538-
539488
// @public
540489
export interface MetricDimension {
541490
readonly displayName?: string;
@@ -704,26 +653,20 @@ export interface PeeringLocationPropertiesExchange {
704653

705654
// @public
706655
export interface PeeringLocations {
707-
list(kind: PeeringLocationsKind, options?: PeeringLocationsListOptionalParams): PagedAsyncIterableIterator<PeeringLocation>;
656+
list(kind: Kind, options?: PeeringLocationsListOptionalParams): PagedAsyncIterableIterator<PeeringLocation>;
708657
}
709658

710-
// @public
711-
export type PeeringLocationsDirectPeeringType = string;
712-
713-
// @public
714-
export type PeeringLocationsKind = string;
715-
716659
// @public
717660
export interface PeeringLocationsListNextOptionalParams extends coreClient.OperationOptions {
718-
directPeeringType?: PeeringLocationsDirectPeeringType;
661+
directPeeringType?: DirectPeeringType;
719662
}
720663

721664
// @public
722665
export type PeeringLocationsListNextResponse = PeeringLocationListResult;
723666

724667
// @public
725668
export interface PeeringLocationsListOptionalParams extends coreClient.OperationOptions {
726-
directPeeringType?: PeeringLocationsDirectPeeringType;
669+
directPeeringType?: DirectPeeringType;
727670
}
728671

729672
// @public
@@ -1315,6 +1258,9 @@ export type SessionStateV6 = string;
13151258
// @public
13161259
export type Size = string;
13171260

1261+
// @public
1262+
export type SourceType = string;
1263+
13181264
// @public
13191265
export interface SubResource {
13201266
id?: string;

0 commit comments

Comments
 (0)