Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions sdk/peering/arm-peering/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release History

## 3.0.0 (2022-01-25)

**Features**

- Added Type Alias SourceType
- Added Enum KnownSourceType
- Enum KnownDirectPeeringType has a new value EdgeZoneForOperators

**Breaking Changes**

- Operation LegacyPeerings.list has a new signature
- Operation LookingGlass.invoke has a new signature
- Operation PeeringLocations.list has a new signature
- Removed Enum KnownLegacyPeeringsKind
- Removed Enum KnownLookingGlassCommand
- Removed Enum KnownLookingGlassSourceType
- Removed Enum KnownPeeringLocationsDirectPeeringType
- Removed Enum KnownPeeringLocationsKind


## 2.0.0 (2022-01-20)

The package of @azure/arm-peering is using our next generation design principles since version 2.0.0, which contains breaking changes.
Expand Down
6 changes: 3 additions & 3 deletions sdk/peering/arm-peering/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
"commit": "b9d1f9b744cc777139bcd812fa1d4b4e679bfef9",
"readme": "specification/peering/resource-manager/readme.md",
"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",
"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",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20220114.1"
"use": "@autorest/[email protected].20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/peering/arm-peering/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-peering.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
33 changes: 16 additions & 17 deletions sdk/peering/arm-peering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for PeeringManagementClient.",
"version": "2.0.0",
"engines": { "node": ">=12.0.0" },
"version": "3.0.0",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -39,7 +47,9 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down Expand Up @@ -86,16 +96,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{ "path": "src/PeeringManagementClient.ts", "prefix": "packageDetails" }
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": ["azure"],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-peering?view=azure-node-preview"
}
}
"autoPublish": true
}
90 changes: 18 additions & 72 deletions sdk/peering/arm-peering/review/arm-peering.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ export enum KnownDirectPeeringType {
// (undocumented)
Edge = "Edge",
// (undocumented)
EdgeZoneForOperators = "EdgeZoneForOperators",
// (undocumented)
Internal = "Internal",
// (undocumented)
Ix = "Ix",
Expand Down Expand Up @@ -290,58 +292,6 @@ export enum KnownLearnedType {
ViaSession = "ViaSession"
}

// @public
export enum KnownLegacyPeeringsKind {
// (undocumented)
Direct = "Direct",
// (undocumented)
Exchange = "Exchange"
}

// @public
export enum KnownLookingGlassCommand {
// (undocumented)
BgpRoute = "BgpRoute",
// (undocumented)
Ping = "Ping",
// (undocumented)
Traceroute = "Traceroute"
}

// @public
export enum KnownLookingGlassSourceType {
// (undocumented)
AzureRegion = "AzureRegion",
// (undocumented)
EdgeSite = "EdgeSite"
}

// @public
export enum KnownPeeringLocationsDirectPeeringType {
// (undocumented)
Cdn = "Cdn",
// (undocumented)
Edge = "Edge",
// (undocumented)
Internal = "Internal",
// (undocumented)
Ix = "Ix",
// (undocumented)
IxRs = "IxRs",
// (undocumented)
Transit = "Transit",
// (undocumented)
Voice = "Voice"
}

// @public
export enum KnownPeeringLocationsKind {
// (undocumented)
Direct = "Direct",
// (undocumented)
Exchange = "Exchange"
}

// @public
export enum KnownPrefixValidationState {
// (undocumented)
Expand Down Expand Up @@ -458,6 +408,14 @@ export enum KnownSize {
Unlimited = "Unlimited"
}

// @public
export enum KnownSourceType {
// (undocumented)
AzureRegion = "AzureRegion",
// (undocumented)
EdgeSite = "EdgeSite"
}

// @public
export enum KnownTier {
// (undocumented)
Expand All @@ -483,12 +441,9 @@ export type LearnedType = string;

// @public
export interface LegacyPeerings {
list(peeringLocation: string, kind: LegacyPeeringsKind, options?: LegacyPeeringsListOptionalParams): PagedAsyncIterableIterator<Peering>;
list(peeringLocation: string, kind: Kind, options?: LegacyPeeringsListOptionalParams): PagedAsyncIterableIterator<Peering>;
}

// @public
export type LegacyPeeringsKind = string;

// @public
export interface LegacyPeeringsListNextOptionalParams extends coreClient.OperationOptions {
asn?: number;
Expand All @@ -514,12 +469,9 @@ export interface LogAnalyticsWorkspaceProperties {

// @public
export interface LookingGlass {
invoke(command: LookingGlassCommand, sourceType: LookingGlassSourceType, sourceLocation: string, destinationIP: string, options?: LookingGlassInvokeOptionalParams): Promise<LookingGlassInvokeResponse>;
invoke(command: Command, sourceType: SourceType, sourceLocation: string, destinationIP: string, options?: LookingGlassInvokeOptionalParams): Promise<LookingGlassInvokeResponse>;
}

// @public
export type LookingGlassCommand = string;

// @public
export interface LookingGlassInvokeOptionalParams extends coreClient.OperationOptions {
}
Expand All @@ -533,9 +485,6 @@ export interface LookingGlassOutput {
output?: string;
}

// @public
export type LookingGlassSourceType = string;

// @public
export interface MetricDimension {
readonly displayName?: string;
Expand Down Expand Up @@ -704,26 +653,20 @@ export interface PeeringLocationPropertiesExchange {

// @public
export interface PeeringLocations {
list(kind: PeeringLocationsKind, options?: PeeringLocationsListOptionalParams): PagedAsyncIterableIterator<PeeringLocation>;
list(kind: Kind, options?: PeeringLocationsListOptionalParams): PagedAsyncIterableIterator<PeeringLocation>;
}

// @public
export type PeeringLocationsDirectPeeringType = string;

// @public
export type PeeringLocationsKind = string;

// @public
export interface PeeringLocationsListNextOptionalParams extends coreClient.OperationOptions {
directPeeringType?: PeeringLocationsDirectPeeringType;
directPeeringType?: DirectPeeringType;
}

// @public
export type PeeringLocationsListNextResponse = PeeringLocationListResult;

// @public
export interface PeeringLocationsListOptionalParams extends coreClient.OperationOptions {
directPeeringType?: PeeringLocationsDirectPeeringType;
directPeeringType?: DirectPeeringType;
}

// @public
Expand Down Expand Up @@ -1315,6 +1258,9 @@ export type SessionStateV6 = string;
// @public
export type Size = string;

// @public
export type SourceType = string;

// @public
export interface SubResource {
id?: string;
Expand Down
Loading