Skip to content

Commit

Permalink
CodeGen from PR 19183 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 056a45de193563a2a8c2123b517ba5d6c58b89ba into 82f9aca16dfd6e8cf130d57d6b1e16c624b1d002
  • Loading branch information
SDKAuto committed May 24, 2022
1 parent ef3c223 commit dccc69e
Show file tree
Hide file tree
Showing 16 changed files with 554 additions and 67 deletions.
34 changes: 26 additions & 8 deletions sdk/network/arm-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,33 @@
# Release History

## 29.0.0 (2022-05-24)

**Features**

## 28.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added operation group ExpressRouteProviderPortsLocation
- Added Interface ExpressRouteProviderPortListResult
- Added Interface ExpressRouteProviderPortOptionalParams
- Added Interface ExpressRouteProviderPortsLocationListOptionalParams
- Added Interface VirtualRouterAutoScaleConfiguration
- Added Type Alias ExpressRouteProviderPort
- Added Type Alias ExpressRouteProviderPortResponse
- Added Type Alias ExpressRouteProviderPortsLocationListResponse
- Interface ExplicitProxySettings has a new optional parameter enablePacFile
- Class NetworkManagementClient has a new parameter expressRouteProviderPortsLocation
- Type Alias ApplicationGatewayRoutingRule has a new parameter priority
- Type Alias VirtualHub has a new parameter virtualRouterAutoScaleConfiguration
- Enum KnownApplicationGatewaySslPolicyName has a new value AppGwSslPolicy20220101
- Enum KnownApplicationGatewaySslPolicyName has a new value AppGwSslPolicy20220101S
- Enum KnownApplicationGatewaySslPolicyType has a new value CustomV2
- Enum KnownApplicationGatewaySslProtocol has a new value TLSv13
- Enum KnownWebApplicationFirewallOperator has a new value Any

### Other Changes
**Breaking Changes**

- Interface NetworkManagementClientOptionalParams no longer has parameter apiVersion
- Class NetworkManagementClient no longer has parameter apiVersion


## 28.0.0 (2022-05-18)

**Features**
Expand Down
6 changes: 3 additions & 3 deletions sdk/network/arm-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "ab66050afa716937d8bdefe3164380a4028700f8",
"commit": "e46e16c490bef338ec529b0585cccffd1c3ab08a",
"readme": "specification/network/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:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\network\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/network/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
"use": "@autorest/typescript@6.0.0-alpha.19.20220425.1"
}
22 changes: 8 additions & 14 deletions sdk/network/arm-network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for NetworkManagementClient.",
"version": "28.0.1",
"version": "29.0.0",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -40,9 +40,11 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network",
"repository": {
Expand Down Expand Up @@ -93,7 +95,7 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand All @@ -106,13 +108,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-network?view=azure-node-preview"
}
}
"autoPublish": true
}
67 changes: 62 additions & 5 deletions sdk/network/arm-network/review/arm-network.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ export type ApplicationGatewayRoutingRule = SubResource & {
readonly etag?: string;
readonly type?: string;
ruleType?: ApplicationGatewayRequestRoutingRuleType;
priority?: number;
backendAddressPool?: SubResource;
backendSettings?: SubResource;
listener?: SubResource;
Expand Down Expand Up @@ -2881,6 +2882,7 @@ export interface ExclusionManagedRuleSet {
// @public
export interface ExplicitProxySettings {
enableExplicitProxy?: boolean;
enablePacFile?: boolean;
httpPort?: number;
httpsPort?: number;
pacFile?: string;
Expand Down Expand Up @@ -3966,6 +3968,45 @@ export interface ExpressRoutePortsUpdateTagsOptionalParams extends coreClient.Op
// @public
export type ExpressRoutePortsUpdateTagsResponse = ExpressRoutePort;

// @public
export type ExpressRouteProviderPort = Resource & {
readonly etag?: string;
readonly portPairDescriptor?: string;
readonly primaryAzurePort?: string;
readonly secondaryAzurePort?: string;
peeringLocation?: string;
overprovisionFactor?: number;
portBandwidthInMbps?: number;
usedBandwidthInMbps?: number;
remainingBandwidthInMbps?: number;
};

// @public
export interface ExpressRouteProviderPortListResult {
readonly nextLink?: string;
value?: ExpressRouteProviderPort[];
}

// @public
export interface ExpressRouteProviderPortOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ExpressRouteProviderPortResponse = ExpressRouteProviderPort;

// @public
export interface ExpressRouteProviderPortsLocation {
list(options?: ExpressRouteProviderPortsLocationListOptionalParams): Promise<ExpressRouteProviderPortsLocationListResponse>;
}

// @public
export interface ExpressRouteProviderPortsLocationListOptionalParams extends coreClient.OperationOptions {
filter?: string;
}

// @public
export type ExpressRouteProviderPortsLocationListResponse = ExpressRouteProviderPortListResult;

// @public
export type ExpressRouteServiceProvider = Resource & {
peeringLocations?: string[];
Expand Down Expand Up @@ -5403,14 +5444,20 @@ export enum KnownApplicationGatewaySslPolicyName {
// (undocumented)
AppGwSslPolicy20170401 = "AppGwSslPolicy20170401",
// (undocumented)
AppGwSslPolicy20170401S = "AppGwSslPolicy20170401S"
AppGwSslPolicy20170401S = "AppGwSslPolicy20170401S",
// (undocumented)
AppGwSslPolicy20220101 = "AppGwSslPolicy20220101",
// (undocumented)
AppGwSslPolicy20220101S = "AppGwSslPolicy20220101S"
}

// @public
export enum KnownApplicationGatewaySslPolicyType {
// (undocumented)
Custom = "Custom",
// (undocumented)
CustomV2 = "CustomV2",
// (undocumented)
Predefined = "Predefined"
}

Expand All @@ -5421,7 +5468,9 @@ export enum KnownApplicationGatewaySslProtocol {
// (undocumented)
TLSv11 = "TLSv1_1",
// (undocumented)
TLSv12 = "TLSv1_2"
TLSv12 = "TLSv1_2",
// (undocumented)
TLSv13 = "TLSv1_3"
}

// @public
Expand Down Expand Up @@ -7050,6 +7099,8 @@ export enum KnownWebApplicationFirewallMode {

// @public
export enum KnownWebApplicationFirewallOperator {
// (undocumented)
Any = "Any",
// (undocumented)
BeginsWith = "BeginsWith",
// (undocumented)
Expand Down Expand Up @@ -8361,8 +8412,6 @@ export class NetworkManagementClient extends coreClient.ServiceClient {
$host: string;
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: NetworkManagementClientOptionalParams);
// (undocumented)
apiVersion: string;
// (undocumented)
applicationGatewayPrivateEndpointConnections: ApplicationGatewayPrivateEndpointConnections;
// (undocumented)
applicationGatewayPrivateLinkResources: ApplicationGatewayPrivateLinkResources;
Expand Down Expand Up @@ -8433,6 +8482,9 @@ export class NetworkManagementClient extends coreClient.ServiceClient {
expressRoutePorts: ExpressRoutePorts;
// (undocumented)
expressRoutePortsLocations: ExpressRoutePortsLocations;
expressRouteProviderPort(providerport: string, options?: ExpressRouteProviderPortOptionalParams): Promise<ExpressRouteProviderPortResponse>;
// (undocumented)
expressRouteProviderPortsLocation: ExpressRouteProviderPortsLocation;
// (undocumented)
expressRouteServiceProviders: ExpressRouteServiceProviders;
// (undocumented)
Expand Down Expand Up @@ -8607,7 +8659,6 @@ export class NetworkManagementClient extends coreClient.ServiceClient {
// @public
export interface NetworkManagementClientOptionalParams extends coreClient.ServiceClientOptions {
$host?: string;
apiVersion?: string;
endpoint?: string;
}

Expand Down Expand Up @@ -11856,6 +11907,7 @@ export type VirtualHub = Resource & {
allowBranchToBranchTraffic?: boolean;
preferredRoutingGateway?: PreferredRoutingGateway;
hubRoutingPreference?: HubRoutingPreference;
virtualRouterAutoScaleConfiguration?: VirtualRouterAutoScaleConfiguration;
};

// @public
Expand Down Expand Up @@ -13077,6 +13129,11 @@ export type VirtualRouter = Resource & {
readonly provisioningState?: ProvisioningState;
};

// @public
export interface VirtualRouterAutoScaleConfiguration {
minCapacity?: number;
}

// @public
export interface VirtualRouterListResult {
nextLink?: string;
Expand Down
Loading

0 comments on commit dccc69e

Please sign in to comment.