diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index fb31c83fbf46..37c872e9fc29 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -638,6 +638,21 @@ packages: - supports-color dev: false + /@azure/arm-network/26.0.0: + resolution: {integrity: sha512-Hp0Q4ZzChs8C0DUdGZOChWKMrhzZ53V0Q681puREZ9S1E6o2yWM0Vb+cYuWoyPOylwuzP2fjNjJZGtB7WuFd3w==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/abort-controller': 1.0.4 + '@azure/core-auth': 1.3.2 + '@azure/core-client': 1.5.0 + '@azure/core-lro': 2.2.3 + '@azure/core-paging': 1.2.1 + '@azure/core-rest-pipeline': 1.5.0 + tslib: 2.3.1 + transitivePeerDependencies: + - supports-color + dev: false + /@azure/communication-common/1.1.0: resolution: {integrity: sha512-vqTtzDtb4NG3LWoWoqlOOJApZRRIIImNUKlGyTa6c1YC+v5A7UEOL9TX8NRDxvFVUF2wDHsSnkhLBVBgkcAhIQ==} engines: {node: '>=12.0.0'} @@ -967,7 +982,7 @@ packages: resolution: {integrity: sha512-Q71Buur3RMcg6lCnisLL8Im562DBw+ybzgm+YQj/FbAaI8ZNu/zl/5z1fE4k3Q9LSIzYrz6HLRzlhdSBXpydlQ==} engines: {node: '>=8.0.0'} dependencies: - '@azure/core-http': 1.2.3 + '@azure/core-http': 1.2.6 '@azure/core-tracing': 1.0.0-preview.9 '@azure/logger': 1.0.3 '@azure/msal-node': 1.0.0-beta.6_debug@4.3.3 @@ -2128,7 +2143,7 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/chai-as-promised/7.1.4: @@ -2154,14 +2169,14 @@ packages: /@types/concurrently/6.4.0: resolution: {integrity: sha512-CYU1eyFHsIa2IZIsb8gfUOdiewfnZcyM2Hg1Zaq95xnmB0Ix/bTRM8SttqZ2Cjy6JGPZLttHjZewVsDg1yvnJg==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 chalk: 4.1.2 dev: false /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/cookie/0.4.1: @@ -2196,7 +2211,7 @@ packages: /@types/express-serve-static-core/4.17.28: resolution: {integrity: sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 dev: false @@ -2213,26 +2228,26 @@ packages: /@types/fs-extra/8.1.2: resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/glob/7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 3.0.5 - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/is-buffer/2.0.0: resolution: {integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/json-schema/7.0.9: @@ -2246,13 +2261,13 @@ packages: /@types/jsonwebtoken/8.5.8: resolution: {integrity: sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/jws/3.2.4: resolution: {integrity: sha512-aqtH4dPw1wUjFZaeMD1ak/pf8iXlu/odFe+trJrvw0g1sTh93i+SCykg0Ek8C6B7rVK3oBORbfZAsKO7P10etg==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/long/4.0.1: @@ -2266,7 +2281,7 @@ packages: /@types/md5/2.3.1: resolution: {integrity: sha512-OK3oe+ALIoPSo262lnhAYwpqFNXbiwH2a+0+Z5YBnkQEwWD8fk5+PIeRhYA48PzvX9I4SGNpWy+9bLj8qz92RQ==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/mime/1.3.2: @@ -2292,13 +2307,13 @@ packages: /@types/mock-fs/4.13.1: resolution: {integrity: sha512-m6nFAJ3lBSnqbvDZioawRvpLXSaPyn52Srf7OfzjubYbYX8MTUdIgDxQl0wEapm4m/pNYSd9TXocpQ0TvZFlYA==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/mock-require/2.0.1: resolution: {integrity: sha512-O7U5DVGboY/Crueb5/huUCIRjKtRVRaLmRDbZJBlDQgJn966z3aiFDN+6AtYviu2ExwMkl34LjT/IiC0OPtKuQ==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/ms/0.7.31: @@ -2312,7 +2327,7 @@ packages: /@types/node-fetch/2.5.12: resolution: {integrity: sha512-MKgC4dlq4kKNa/mYrwpKfzQMB5X3ee5U6fSprkKpToBqBmX4nFZL9cW5jl6sWn+xpRJ7ypWh2yyqqr8UUCstSw==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 form-data: 3.0.1 dev: false @@ -2351,7 +2366,7 @@ packages: /@types/resolve/1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/semaphore/1.1.1: @@ -2362,7 +2377,7 @@ packages: resolution: {integrity: sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==} dependencies: '@types/mime': 1.3.2 - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/sinon/10.0.10: @@ -2384,7 +2399,7 @@ packages: /@types/stoppable/1.1.1: resolution: {integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/tough-cookie/4.0.1: @@ -2394,13 +2409,13 @@ packages: /@types/tunnel/0.0.1: resolution: {integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/tunnel/0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/underscore/1.11.4: @@ -2414,26 +2429,26 @@ packages: /@types/ws/7.4.7: resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/ws/8.2.2: resolution: {integrity: sha512-NOn5eIcgWLOo6qW8AcuLZ7G8PycXu0xTxxkS6Q18VWFxgPUSOwV0pBj2a/4viNZVu25i7RIB7GttdkAIUUXOOg==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/xml2js/0.4.9: resolution: {integrity: sha512-CHiCKIihl1pychwR2RNX5mAYmJDACgFVCMT5OArMaO3erzwXVcBqPcusr+Vl8yeeXukxZqtF8mZioqX+mpjjdw==} dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false /@types/yauzl/2.9.2: resolution: {integrity: sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==} requiresBuild: true dependencies: - '@types/node': 12.20.43 + '@types/node': 17.0.15 dev: false optional: true @@ -3422,7 +3437,7 @@ packages: resolution: {integrity: sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==} deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) dependencies: - ms: 2.1.1 + ms: 2.1.3 dev: false /debug/3.2.7: @@ -3643,7 +3658,7 @@ packages: dependencies: semver: 7.3.5 shelljs: 0.8.5 - typescript: 4.2.4 + typescript: 4.5.5 dev: false /ecdsa-sig-formatter/1.0.11: @@ -3696,7 +3711,7 @@ packages: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.12 - '@types/node': 12.20.43 + '@types/node': 17.0.15 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -4531,7 +4546,7 @@ packages: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.0.4 + minimatch: 3.0.5 once: 1.4.0 path-is-absolute: 1.0.1 dev: false @@ -8342,7 +8357,7 @@ packages: /wide-align/1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} dependencies: - string-width: 1.0.2 + string-width: 4.2.3 dev: false /word-wrap/1.2.3: @@ -8799,7 +8814,7 @@ packages: dev: false file:projects/ai-form-recognizer.tgz: - resolution: {integrity: sha512-P8TSFPYonsRq17g0lGwIkF+WP0G4EPS39m0rrFGbRB49fIQ2ZOTiACPH4pWPQWDa6q5CbXMKOvJZfDwkvArpHQ==, tarball: file:projects/ai-form-recognizer.tgz} + resolution: {integrity: sha512-ownHpGufsptjT7As1HseE8LnhkNj/td/UB99hRgXU0EcSo2f2FvKFmxvkhd2s9SGdoxt22yty5r1BzbkBIvrSw==, tarball: file:projects/ai-form-recognizer.tgz} name: '@rush-temp/ai-form-recognizer' version: 0.0.0 dependencies: @@ -8840,7 +8855,6 @@ packages: transitivePeerDependencies: - bufferutil - debug - - encoding - supports-color - utf-8-validate dev: false @@ -9526,11 +9540,12 @@ packages: dev: false file:projects/arm-compute.tgz: - resolution: {integrity: sha512-hmINbh19nn8k1jqs1nWFUU2duhpE4z8dFI3PpCUI1LKxEWlzJhpu2vMzeR0KDn6wfXakBgXe4Bd51pim+3t58Q==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-UZ3mzh/7NfafSh6NlhCC59jkaSp6CxuytZAsMT2h38DGLHCzXZ3uazaEJTbzzimS1BOCCzKWh1uCiiblPCxG5Q==, tarball: file:projects/arm-compute.tgz} name: '@rush-temp/arm-compute' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/arm-network': 26.0.0 '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 '@rollup/plugin-json': 4.1.0_rollup@2.67.1 @@ -10151,11 +10166,12 @@ packages: dev: false file:projects/arm-eventhub.tgz: - resolution: {integrity: sha512-sW2h3heuRNq8XmwlPIv5KhIaasqs7H5J38SYe91IzGkZNSw2Vvk5cCH/KHrxiE7I7XGtgdw8HP8+FzXPI5bpJw==, tarball: file:projects/arm-eventhub.tgz} + resolution: {integrity: sha512-9qvrSFoh2Al6tFbnlK3fRZVCvmhELwG50dZVjAXQ7cc0fHB5yYZiAIm4BR6o5yJRQHU0Rpy+8z7yJc8e6IrR+w==, tarball: file:projects/arm-eventhub.tgz} name: '@rush-temp/arm-eventhub' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/arm-network': 26.0.0 '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 '@rollup/plugin-json': 4.1.0_rollup@2.67.1 @@ -11076,22 +11092,22 @@ packages: dev: false file:projects/arm-network.tgz: - resolution: {integrity: sha512-0mEBeoMkDJut0+QxS9FrGyI5AqRU7OTX1QijIAYaIP5/o1buyWud5cQeD0v5CWKbsZ2rfJLpKixzsHYnA49gJw==, tarball: file:projects/arm-network.tgz} + resolution: {integrity: sha512-F0jII+BPxVfU0wq/hm2i2XXptnRmSyly/ESV6X+UtvAD5xWcbLUb1KEh1EzIsKUkPPbxUOhSiAiACHVDPDbjSg==, tarball: file:projects/arm-network.tgz} name: '@rush-temp/arm-network' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@microsoft/api-extractor': 7.19.4 - '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 - '@rollup/plugin-json': 4.1.0_rollup@2.67.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 + '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 + '@rollup/plugin-json': 4.1.0_rollup@1.32.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.67.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 + rollup: 1.32.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 uglify-js: 3.15.1 @@ -11576,11 +11592,12 @@ packages: dev: false file:projects/arm-rediscache.tgz: - resolution: {integrity: sha512-/fTxuaVcm7BjOSj22KpfbZ8lTZMGC1AGAOGAZZ735huyBjUh7ljhS882uCXQVzQTYb8BrwK6ePeUGYEHpk626w==, tarball: file:projects/arm-rediscache.tgz} + resolution: {integrity: sha512-nbjg4xKSQz5aPPDXxpijRorXWiqm5eK8ejcGkWFn1ze43MEi4j8Xa0HuxQ/wTzzKhRf+DUmjX4Rf7abYJQyzrA==, tarball: file:projects/arm-rediscache.tgz} name: '@rush-temp/arm-rediscache' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/arm-network': 26.0.0 '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 '@rollup/plugin-json': 4.1.0_rollup@2.67.1 @@ -14022,7 +14039,7 @@ packages: dev: false file:projects/eventgrid.tgz: - resolution: {integrity: sha512-9BGMqsBlp2lJdjX4ZlpoQuRKM/sLcpaIHFI7xaztqIaCq17bheVkFsBqw6izuZ59sn4DkAmcsovdtlA4S+jO5w==, tarball: file:projects/eventgrid.tgz} + resolution: {integrity: sha512-cRipNDlfS0co7HptArkxqp6lbNAffyBqpvSVSDhMe/ZR5cBJs6ywzCsV/QxHhxBpp6Z7p5To9h98IYOOIhMp+A==, tarball: file:projects/eventgrid.tgz} name: '@rush-temp/eventgrid' version: 0.0.0 dependencies: @@ -14076,7 +14093,7 @@ packages: dev: false file:projects/eventhubs-checkpointstore-blob.tgz: - resolution: {integrity: sha512-mGcs2vWqVqLXm7vXEIvHN5fB82d0MGEuCUFxZkmnwISHGLgj0Eg/yGM4WsDouYtUFdboeTrNSg1gaORB+WrC5A==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} + resolution: {integrity: sha512-Zjderk9z4yJ2X0VCX+Bg2mv4sRQQVGvPYhz4bqwQe8ekduCFek0KT0230RKdGANBSmWtYN/zbxmPbjexRtOv8A==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} name: '@rush-temp/eventhubs-checkpointstore-blob' version: 0.0.0 dependencies: @@ -14330,7 +14347,7 @@ packages: dev: false file:projects/iot-device-update.tgz: - resolution: {integrity: sha512-XwF1/EW7RR/mN5meDZOLMADblUIf6RywLM7pIbHeDfDxcfkihfXEMTvl7aLF26rA04TPxRah4r+OKrCbi8Sv7g==, tarball: file:projects/iot-device-update.tgz} + resolution: {integrity: sha512-rsm9IpQrX4PDeRoGSnfHltpD9jmpulpHFNu/lxAyTKHQPAk2Ji9ag1panuQZwQp+2ASA3AoA6DzbB2Q2Mx29cQ==, tarball: file:projects/iot-device-update.tgz} name: '@rush-temp/iot-device-update' version: 0.0.0 dependencies: @@ -15216,7 +15233,7 @@ packages: dev: false file:projects/perf-service-bus.tgz: - resolution: {integrity: sha512-pKuhxHEjhyGAKk5t/XaVzB6JHLSGzv/PE9Q5zgt+fEkcKrw19H7qsWJsBqPU2TIHjX1ddRgv+GW0c79shGEWbg==, tarball: file:projects/perf-service-bus.tgz} + resolution: {integrity: sha512-I9NPyEoKnxP89clzbNdSHyCWIYH86+mEBa8PR9tZLv7waQHsjFtuQj6tBhkqEqODTLjmKpJgr5ikmc7ZufEKBQ==, tarball: file:projects/perf-service-bus.tgz} name: '@rush-temp/perf-service-bus' version: 0.0.0 dependencies: @@ -15234,7 +15251,6 @@ packages: transitivePeerDependencies: - '@swc/core' - '@swc/wasm' - - encoding - supports-color dev: false @@ -15560,7 +15576,7 @@ packages: dev: false file:projects/schema-registry-avro.tgz: - resolution: {integrity: sha512-oLhIB2Nqhk9vYYmhFaVfP0XdBJigpfdN37dHtNKbCjaUp9Vg5g9XyRCkqTdNrsDT6aNDpvQAW8g9Vm2V/roZgQ==, tarball: file:projects/schema-registry-avro.tgz} + resolution: {integrity: sha512-RzaQoBIbNzOWnTtlJWWGMSWRWwqeu2hPKKCXc32ZOnpj5F/VJHN+TXdCxB2luIMRam7ufqbhPSM218df4+nulA==, tarball: file:projects/schema-registry-avro.tgz} name: '@rush-temp/schema-registry-avro' version: 0.0.0 dependencies: @@ -16156,7 +16172,7 @@ packages: dev: false file:projects/synapse-access-control.tgz: - resolution: {integrity: sha512-r+K5go02ZzvB1eNv2HgJluelwAinqtfhWqRX4/yV5lfL7RMk3gizbot6n8Ne8aBVxiXRWPNRDKnEz9l8bTju7Q==, tarball: file:projects/synapse-access-control.tgz} + resolution: {integrity: sha512-8OFSsIvvqKFB4r7z6QtpS+ElPHWoYwnnd8q25qy7+sD5Y6Fke1y/IQ16i0Se/DEnUbO7qOMaLgs1vF0PT/VJkg==, tarball: file:projects/synapse-access-control.tgz} name: '@rush-temp/synapse-access-control' version: 0.0.0 dependencies: diff --git a/sdk/network/arm-network/CHANGELOG.md b/sdk/network/arm-network/CHANGELOG.md index 2f51a4fc784e..d18ae3141f7a 100644 --- a/sdk/network/arm-network/CHANGELOG.md +++ b/sdk/network/arm-network/CHANGELOG.md @@ -1,15 +1,39 @@ # Release History - -## 26.0.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + +## 27.0.0 (2022-02-09) + +**Features** + + - Added Interface GatewayCustomBgpIpAddressIpConfiguration + - Added Type Alias ApplicationGatewayBackendSettings + - Added Type Alias ApplicationGatewayListener + - Added Type Alias ApplicationGatewayRoutingRule + - Added Type Alias HubRoutingPreference + - Added Type Alias SingleQueryResultDirection + - Added Type Alias SingleQueryResultMode + - Added Type Alias SingleQueryResultSeverity + - Type Alias ApplicationGateway has a new parameter backendSettingsCollection + - Type Alias ApplicationGateway has a new parameter listeners + - Type Alias ApplicationGateway has a new parameter routingRules + - Type Alias ApplicationGatewayProbe has a new parameter pickHostNameFromBackendSettings + - Type Alias VirtualHub has a new parameter hubRoutingPreference + - Type Alias VirtualNetworkGatewayConnection has a new parameter gatewayCustomBgpIpAddresses + - Type Alias VirtualNetworkGatewayConnectionListEntity has a new parameter gatewayCustomBgpIpAddresses + - Type Alias VpnSiteLinkConnection has a new parameter vpnGatewayCustomBgpAddresses + - Added Enum KnownHubRoutingPreference + - Added Enum KnownSingleQueryResultDirection + - Added Enum KnownSingleQueryResultMode + - Added Enum KnownSingleQueryResultSeverity + - Enum KnownApplicationGatewayProtocol has a new value Tcp + - Enum KnownApplicationGatewayProtocol has a new value Tls + +**Breaking Changes** + + - Removed Enum KnownEnum69 + - Removed Enum KnownEnum70 + - Removed Enum KnownEnum71 + + ## 26.0.0 (2021-12-06) The package of @azure/arm-network is using our next generation design principles since version 26.0.0, which contains breaking changes. diff --git a/sdk/network/arm-network/LICENSE b/sdk/network/arm-network/LICENSE index ccb63b166732..5d1d36e0af80 100644 --- a/sdk/network/arm-network/LICENSE +++ b/sdk/network/arm-network/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2021 Microsoft +Copyright (c) 2022 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/network/arm-network/_meta.json b/sdk/network/arm-network/_meta.json index ee7107f7c5e6..44f9679dee5d 100644 --- a/sdk/network/arm-network/_meta.json +++ b/sdk/network/arm-network/_meta.json @@ -1,7 +1,7 @@ { - "commit": "3b2f85d320fac5b282bc80240f9e5c2c57753bad", + "commit": "ce0014b8959789e99a9e9c71b45019b0214f1772", "readme": "specification/network/resource-manager/readme.md", - "autorest_command": "autorest --version=3.1.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/network/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.1", + "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/network/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20211130.1" + "use": "@autorest/typescript@6.0.0-alpha.16.20220105.1" } \ No newline at end of file diff --git a/sdk/network/arm-network/api-extractor.json b/sdk/network/arm-network/api-extractor.json index fb18609746bc..f1d9c8954e48 100644 --- a/sdk/network/arm-network/api-extractor.json +++ b/sdk/network/arm-network/api-extractor.json @@ -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-network.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" + } } } -} +} \ No newline at end of file diff --git a/sdk/network/arm-network/package.json b/sdk/network/arm-network/package.json index 34d2a35cd669..814145146821 100644 --- a/sdk/network/arm-network/package.json +++ b/sdk/network/arm-network/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for NetworkManagementClient.", - "version": "26.0.1", + "version": "27.0.0", "engines": { "node": ">=12.0.0" }, @@ -29,12 +29,12 @@ "types": "./types/arm-network.d.ts", "devDependencies": { "@microsoft/api-extractor": "^7.18.11", - "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", "@rollup/plugin-multi-entry": "^3.0.0", "@rollup/plugin-node-resolve": "^8.0.0", "mkdirp": "^1.0.4", - "rollup": "^2.0.0", + "rollup": "^1.16.3", "rollup-plugin-sourcemaps": "^0.4.2", "typescript": "~4.2.0", "uglify-js": "^3.4.9", @@ -99,4 +99,4 @@ }, "sideEffects": false, "autoPublish": true -} +} \ No newline at end of file diff --git a/sdk/network/arm-network/review/arm-network.api.md b/sdk/network/arm-network/review/arm-network.api.md index 41797866987d..cdc44f283041 100644 --- a/sdk/network/arm-network/review/arm-network.api.md +++ b/sdk/network/arm-network/review/arm-network.api.md @@ -43,10 +43,13 @@ export type ApplicationGateway = Resource & { probes?: ApplicationGatewayProbe[]; backendAddressPools?: ApplicationGatewayBackendAddressPool[]; backendHttpSettingsCollection?: ApplicationGatewayBackendHttpSettings[]; + backendSettingsCollection?: ApplicationGatewayBackendSettings[]; httpListeners?: ApplicationGatewayHttpListener[]; + listeners?: ApplicationGatewayListener[]; sslProfiles?: ApplicationGatewaySslProfile[]; urlPathMaps?: ApplicationGatewayUrlPathMap[]; requestRoutingRules?: ApplicationGatewayRequestRoutingRule[]; + routingRules?: ApplicationGatewayRoutingRule[]; rewriteRuleSets?: ApplicationGatewayRewriteRuleSet[]; redirectConfigurations?: ApplicationGatewayRedirectConfiguration[]; webApplicationFirewallConfiguration?: ApplicationGatewayWebApplicationFirewallConfiguration; @@ -169,6 +172,21 @@ export type ApplicationGatewayBackendHttpSettings = SubResource & { readonly provisioningState?: ProvisioningState; }; +// @public +export type ApplicationGatewayBackendSettings = SubResource & { + name?: string; + readonly etag?: string; + readonly type?: string; + port?: number; + protocol?: ApplicationGatewayProtocol; + timeout?: number; + probe?: SubResource; + trustedRootCertificates?: SubResource[]; + hostName?: string; + pickHostNameFromBackendAddress?: boolean; + readonly provisioningState?: ProvisioningState; +}; + // @public export interface ApplicationGatewayClientAuthConfiguration { verifyClientCertIssuerDN?: boolean; @@ -290,6 +308,19 @@ export type ApplicationGatewayIPConfiguration = SubResource & { readonly provisioningState?: ProvisioningState; }; +// @public +export type ApplicationGatewayListener = SubResource & { + name?: string; + readonly etag?: string; + readonly type?: string; + frontendIPConfiguration?: SubResource; + frontendPort?: SubResource; + protocol?: ApplicationGatewayProtocol; + sslCertificate?: SubResource; + sslProfile?: SubResource; + readonly provisioningState?: ProvisioningState; +}; + // @public export interface ApplicationGatewayListResult { nextLink?: string; @@ -479,6 +510,7 @@ export type ApplicationGatewayProbe = SubResource & { timeout?: number; unhealthyThreshold?: number; pickHostNameFromBackendHttpSettings?: boolean; + pickHostNameFromBackendSettings?: boolean; minServers?: number; match?: ApplicationGatewayProbeHealthResponseMatch; readonly provisioningState?: ProvisioningState; @@ -563,6 +595,18 @@ export type ApplicationGatewayRewriteRuleSet = SubResource & { readonly provisioningState?: ProvisioningState; }; +// @public +export type ApplicationGatewayRoutingRule = SubResource & { + name?: string; + readonly etag?: string; + readonly type?: string; + ruleType?: ApplicationGatewayRequestRoutingRuleType; + backendAddressPool?: SubResource; + backendSettings?: SubResource; + listener?: SubResource; + readonly provisioningState?: ProvisioningState; +}; + // @public export interface ApplicationGateways { beginBackendHealth(resourceGroupName: string, applicationGatewayName: string, options?: ApplicationGatewaysBackendHealthOptionalParams): Promise, ApplicationGatewaysBackendHealthResponse>>; @@ -2737,15 +2781,6 @@ export interface EndpointServicesListResult { // @public export type EndpointType = string; -// @public -export type Enum69 = number; - -// @public -export type Enum70 = number; - -// @public -export type Enum71 = number; - // @public export interface ErrorDetails { code?: string; @@ -4356,6 +4391,12 @@ export type FrontendIPConfiguration = SubResource & { readonly provisioningState?: ProvisioningState; }; +// @public +export interface GatewayCustomBgpIpAddressIpConfiguration { + customBgpIpAddress: string; + ipConfigurationId: string; +} + // @public export interface GatewayLoadBalancerTunnelInterface { identifier?: number; @@ -4568,6 +4609,9 @@ export interface HubRouteTablesListOptionalParams extends coreClient.OperationOp // @public export type HubRouteTablesListResponse = ListHubRouteTablesResult; +// @public +export type HubRoutingPreference = string; + // @public export type HubVirtualNetworkConnection = SubResource & { name?: string; @@ -5112,7 +5156,11 @@ export enum KnownApplicationGatewayProtocol { // (undocumented) Http = "Http", // (undocumented) - Https = "Https" + Https = "Https", + // (undocumented) + Tcp = "Tcp", + // (undocumented) + Tls = "Tls" } // @public @@ -5597,36 +5645,6 @@ export enum KnownEndpointType { MMAWorkspaceNetwork = "MMAWorkspaceNetwork" } -// @public -export enum KnownEnum69 { - // (undocumented) - One = 1, - // (undocumented) - Two = 2, - // (undocumented) - Zero = 0 -} - -// @public -export enum KnownEnum70 { - // (undocumented) - One = 1, - // (undocumented) - Three = 3, - // (undocumented) - Two = 2 -} - -// @public -export enum KnownEnum71 { - // (undocumented) - One = 1, - // (undocumented) - Two = 2, - // (undocumented) - Zero = 0 -} - // @public export enum KnownEvaluationState { // (undocumented) @@ -5881,6 +5899,16 @@ export enum KnownHubBgpConnectionStatus { Unknown = "Unknown" } +// @public +export enum KnownHubRoutingPreference { + // (undocumented) + ASPath = "ASPath", + // (undocumented) + ExpressRoute = "ExpressRoute", + // (undocumented) + VpnGateway = "VpnGateway" +} + // @public export enum KnownHubVirtualNetworkConnectionStatus { // (undocumented) @@ -6489,6 +6517,36 @@ export enum KnownSeverity { Warning = "Warning" } +// @public +export enum KnownSingleQueryResultDirection { + // (undocumented) + One = 1, + // (undocumented) + Two = 2, + // (undocumented) + Zero = 0 +} + +// @public +export enum KnownSingleQueryResultMode { + // (undocumented) + One = 1, + // (undocumented) + Two = 2, + // (undocumented) + Zero = 0 +} + +// @public +export enum KnownSingleQueryResultSeverity { + // (undocumented) + One = 1, + // (undocumented) + Three = 3, + // (undocumented) + Two = 2 +} + // @public export enum KnownSyncRemoteAddressSpace { // (undocumented) @@ -11200,17 +11258,26 @@ export interface SignaturesOverridesProperties { export interface SingleQueryResult { description?: string; destinationPorts?: string[]; - direction?: Enum71; + direction?: SingleQueryResultDirection; group?: string; inheritedFromParentPolicy?: boolean; lastUpdated?: string; - mode?: Enum69; + mode?: SingleQueryResultMode; protocol?: string; - severity?: Enum70; + severity?: SingleQueryResultSeverity; signatureId?: number; sourcePorts?: string[]; } +// @public +export type SingleQueryResultDirection = number; + +// @public +export type SingleQueryResultMode = number; + +// @public +export type SingleQueryResultSeverity = number; + // @public export interface Sku { name?: BastionHostSkuName; @@ -11632,6 +11699,7 @@ export type VirtualHub = Resource & { virtualRouterIps?: string[]; allowBranchToBranchTraffic?: boolean; preferredRoutingGateway?: PreferredRoutingGateway; + hubRoutingPreference?: HubRoutingPreference; }; // @public @@ -12009,6 +12077,7 @@ export type VirtualNetworkGatewayConnection = Resource & { readonly ingressBytesTransferred?: number; peer?: SubResource; enableBgp?: boolean; + gatewayCustomBgpIpAddresses?: GatewayCustomBgpIpAddressIpConfiguration[]; useLocalAzureIpAddress?: boolean; usePolicyBasedTrafficSelectors?: boolean; ipsecPolicies?: IpsecPolicy[]; @@ -12036,6 +12105,7 @@ export type VirtualNetworkGatewayConnectionListEntity = Resource & { readonly ingressBytesTransferred?: number; peer?: SubResource; enableBgp?: boolean; + gatewayCustomBgpIpAddresses?: GatewayCustomBgpIpAddressIpConfiguration[]; usePolicyBasedTrafficSelectors?: boolean; ipsecPolicies?: IpsecPolicy[]; trafficSelectorPolicies?: TrafficSelectorPolicy[]; @@ -13726,6 +13796,7 @@ export type VpnSiteLinkConnection = SubResource & { connectionBandwidth?: number; sharedKey?: string; enableBgp?: boolean; + vpnGatewayCustomBgpAddresses?: GatewayCustomBgpIpAddressIpConfiguration[]; usePolicyBasedTrafficSelectors?: boolean; ipsecPolicies?: IpsecPolicy[]; enableRateLimiting?: boolean; diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 597c7c32cc82..dd0f35b7d4ae 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -1706,11 +1706,11 @@ export interface SingleQueryResult { /** The ID of the signature */ signatureId?: number; /** The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny */ - mode?: Enum69; + mode?: SingleQueryResultMode; /** Describes the severity of signature: 1 - Low, 2 - Medium, 3 - High */ - severity?: Enum70; + severity?: SingleQueryResultSeverity; /** Describes in which direction signature is being enforced: 0 - Inbound, 1 - OutBound, 2 - Bidirectional */ - direction?: Enum71; + direction?: SingleQueryResultDirection; /** Describes the groups the signature belongs to */ group?: string; /** Describes what is the signature enforces */ @@ -4073,6 +4073,14 @@ export interface TunnelConnectionHealth { readonly lastConnectionEstablishedUtcTime?: string; } +/** GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection. */ +export interface GatewayCustomBgpIpAddressIpConfiguration { + /** The IpconfigurationId of ipconfiguration which belongs to gateway. */ + ipConfigurationId: string; + /** The custom BgpPeeringAddress which belongs to IpconfigurationId. */ + customBgpIpAddress: string; +} + /** An traffic selector policy for a virtual network gateway connection. */ export interface TrafficSelectorPolicy { /** A collection of local address spaces in CIDR format. */ @@ -5305,6 +5313,8 @@ export type ApplicationGatewayProbe = SubResource & { unhealthyThreshold?: number; /** Whether the host header should be picked from the backend http settings. Default value is false. */ pickHostNameFromBackendHttpSettings?: boolean; + /** Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false. */ + pickHostNameFromBackendSettings?: boolean; /** Minimum number of servers that are always marked healthy. Default value is 0. */ minServers?: number; /** Criterion for classifying a healthy probe response. */ @@ -6007,6 +6017,41 @@ export type ApplicationGatewayBackendHttpSettings = SubResource & { readonly provisioningState?: ProvisioningState; }; +/** Backend address pool settings of an application gateway. */ +export type ApplicationGatewayBackendSettings = SubResource & { + /** Name of the backend settings that is unique within an Application Gateway. */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly etag?: string; + /** + * Type of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** The destination port on the backend. */ + port?: number; + /** The protocol used to communicate with the backend. */ + protocol?: ApplicationGatewayProtocol; + /** Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds. */ + timeout?: number; + /** Probe resource of an application gateway. */ + probe?: SubResource; + /** Array of references to application gateway trusted root certificates. */ + trustedRootCertificates?: SubResource[]; + /** Server name indication to be sent to the backend servers for Tls protocol. */ + hostName?: string; + /** Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false. */ + pickHostNameFromBackendAddress?: boolean; + /** + * The provisioning state of the backend HTTP settings resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + /** Http listener of an application gateway. */ export type ApplicationGatewayHttpListener = SubResource & { /** Name of the HTTP listener that is unique within an Application Gateway. */ @@ -6048,6 +6093,37 @@ export type ApplicationGatewayHttpListener = SubResource & { hostNames?: string[]; }; +/** Listener of an application gateway. */ +export type ApplicationGatewayListener = SubResource & { + /** Name of the listener that is unique within an Application Gateway. */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly etag?: string; + /** + * Type of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** Frontend IP configuration resource of an application gateway. */ + frontendIPConfiguration?: SubResource; + /** Frontend port resource of an application gateway. */ + frontendPort?: SubResource; + /** Protocol of the listener. */ + protocol?: ApplicationGatewayProtocol; + /** SSL certificate resource of an application gateway. */ + sslCertificate?: SubResource; + /** SSL profile resource of the application gateway. */ + sslProfile?: SubResource; + /** + * The provisioning state of the listener resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + /** SSL profile of an application gateway. */ export type ApplicationGatewaySslProfile = SubResource & { /** Name of the SSL profile that is unique within an Application Gateway. */ @@ -6182,6 +6258,35 @@ export type ApplicationGatewayRequestRoutingRule = SubResource & { readonly provisioningState?: ProvisioningState; }; +/** Routing rule of an application gateway. */ +export type ApplicationGatewayRoutingRule = SubResource & { + /** Name of the routing rule that is unique within an Application Gateway. */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly etag?: string; + /** + * Type of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** Rule type. */ + ruleType?: ApplicationGatewayRequestRoutingRuleType; + /** Backend address pool resource of the application gateway. */ + backendAddressPool?: SubResource; + /** Backend settings resource of the application gateway. */ + backendSettings?: SubResource; + /** Listener resource of the application gateway. */ + listener?: SubResource; + /** + * The provisioning state of the request routing rule resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + /** Rewrite rule set of an application gateway. */ export type ApplicationGatewayRewriteRuleSet = SubResource & { /** Name of the rewrite rule set that is unique within an Application Gateway. */ @@ -7442,6 +7547,8 @@ export type VpnSiteLinkConnection = SubResource & { sharedKey?: string; /** EnableBgp flag. */ enableBgp?: boolean; + /** vpnGatewayCustomBgpAddresses used by this connection. */ + vpnGatewayCustomBgpAddresses?: GatewayCustomBgpIpAddressIpConfiguration[]; /** Enable policy-based traffic selectors. */ usePolicyBasedTrafficSelectors?: boolean; /** The IPSec Policies to be considered by this connection. */ @@ -8239,14 +8346,20 @@ export type ApplicationGateway = Resource & { backendAddressPools?: ApplicationGatewayBackendAddressPool[]; /** Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ backendHttpSettingsCollection?: ApplicationGatewayBackendHttpSettings[]; + /** Backend settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ + backendSettingsCollection?: ApplicationGatewayBackendSettings[]; /** Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ httpListeners?: ApplicationGatewayHttpListener[]; + /** Listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ + listeners?: ApplicationGatewayListener[]; /** SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ sslProfiles?: ApplicationGatewaySslProfile[]; /** URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ urlPathMaps?: ApplicationGatewayUrlPathMap[]; /** Request routing rules of the application gateway resource. */ requestRoutingRules?: ApplicationGatewayRequestRoutingRule[]; + /** Routing rules of the application gateway resource. */ + routingRules?: ApplicationGatewayRoutingRule[]; /** Rewrite rules for the application gateway resource. */ rewriteRuleSets?: ApplicationGatewayRewriteRuleSet[]; /** Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ @@ -9235,6 +9348,8 @@ export type VirtualNetworkGatewayConnectionListEntity = Resource & { peer?: SubResource; /** EnableBgp flag. */ enableBgp?: boolean; + /** GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. */ + gatewayCustomBgpIpAddresses?: GatewayCustomBgpIpAddressIpConfiguration[]; /** Enable policy-based traffic selectors. */ usePolicyBasedTrafficSelectors?: boolean; /** The IPSec Policies to be considered by this connection. */ @@ -9337,6 +9452,8 @@ export type VirtualNetworkGatewayConnection = Resource & { peer?: SubResource; /** EnableBgp flag. */ enableBgp?: boolean; + /** GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. */ + gatewayCustomBgpIpAddresses?: GatewayCustomBgpIpAddressIpConfiguration[]; /** Use private local Azure IP for the connection. */ useLocalAzureIpAddress?: boolean; /** Enable policy-based traffic selectors. */ @@ -9596,6 +9713,8 @@ export type VirtualHub = Resource & { allowBranchToBranchTraffic?: boolean; /** The preferred gateway to route on-prem traffic */ preferredRoutingGateway?: PreferredRoutingGateway; + /** The hubRoutingPreference of this VirtualHub. */ + hubRoutingPreference?: HubRoutingPreference; }; /** VpnGateway Resource. */ @@ -10044,7 +10163,9 @@ export type IPAllocationMethod = string; /** Known values of {@link ApplicationGatewayProtocol} that the service accepts. */ export enum KnownApplicationGatewayProtocol { Http = "Http", - Https = "Https" + Https = "Https", + Tcp = "Tcp", + Tls = "Tls" } /** @@ -10053,7 +10174,9 @@ export enum KnownApplicationGatewayProtocol { * this enum contains the known values that the service supports. * ### Known values supported by the service * **Http** \ - * **Https** + * **Https** \ + * **Tcp** \ + * **Tls** */ export type ApplicationGatewayProtocol = string; @@ -11105,59 +11228,59 @@ export enum KnownOrderByOrder { */ export type OrderByOrder = string; -/** Known values of {@link Enum69} that the service accepts. */ -export enum KnownEnum69 { +/** Known values of {@link SingleQueryResultMode} that the service accepts. */ +export enum KnownSingleQueryResultMode { Zero = 0, One = 1, Two = 2 } /** - * Defines values for Enum69. \ - * {@link KnownEnum69} can be used interchangeably with Enum69, + * Defines values for SingleQueryResultMode. \ + * {@link KnownSingleQueryResultMode} can be used interchangeably with SingleQueryResultMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **0** \ * **1** \ * **2** */ -export type Enum69 = number; +export type SingleQueryResultMode = number; -/** Known values of {@link Enum70} that the service accepts. */ -export enum KnownEnum70 { +/** Known values of {@link SingleQueryResultSeverity} that the service accepts. */ +export enum KnownSingleQueryResultSeverity { One = 1, Two = 2, Three = 3 } /** - * Defines values for Enum70. \ - * {@link KnownEnum70} can be used interchangeably with Enum70, + * Defines values for SingleQueryResultSeverity. \ + * {@link KnownSingleQueryResultSeverity} can be used interchangeably with SingleQueryResultSeverity, * this enum contains the known values that the service supports. * ### Known values supported by the service * **1** \ * **2** \ * **3** */ -export type Enum70 = number; +export type SingleQueryResultSeverity = number; -/** Known values of {@link Enum71} that the service accepts. */ -export enum KnownEnum71 { +/** Known values of {@link SingleQueryResultDirection} that the service accepts. */ +export enum KnownSingleQueryResultDirection { Zero = 0, One = 1, Two = 2 } /** - * Defines values for Enum71. \ - * {@link KnownEnum71} can be used interchangeably with Enum71, + * Defines values for SingleQueryResultDirection. \ + * {@link KnownSingleQueryResultDirection} can be used interchangeably with SingleQueryResultDirection, * this enum contains the known values that the service supports. * ### Known values supported by the service * **0** \ * **1** \ * **2** */ -export type Enum71 = number; +export type SingleQueryResultDirection = number; /** Known values of {@link IpAllocationType} that the service accepts. */ export enum KnownIpAllocationType { @@ -12601,6 +12724,24 @@ export enum KnownPreferredRoutingGateway { */ export type PreferredRoutingGateway = string; +/** Known values of {@link HubRoutingPreference} that the service accepts. */ +export enum KnownHubRoutingPreference { + ExpressRoute = "ExpressRoute", + VpnGateway = "VpnGateway", + ASPath = "ASPath" +} + +/** + * Defines values for HubRoutingPreference. \ + * {@link KnownHubRoutingPreference} can be used interchangeably with HubRoutingPreference, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ExpressRoute** \ + * **VpnGateway** \ + * **ASPath** + */ +export type HubRoutingPreference = string; + /** Known values of {@link VpnConnectionStatus} that the service accepts. */ export enum KnownVpnConnectionStatus { Unknown = "Unknown", diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 0850c58d9d8b..7488907d7497 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -11477,6 +11477,29 @@ export const TunnelConnectionHealth: coreClient.CompositeMapper = { } }; +export const GatewayCustomBgpIpAddressIpConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GatewayCustomBgpIpAddressIpConfiguration", + modelProperties: { + ipConfigurationId: { + serializedName: "ipConfigurationId", + required: true, + type: { + name: "String" + } + }, + customBgpIpAddress: { + serializedName: "customBgpIpAddress", + required: true, + type: { + name: "String" + } + } + } + } +}; + export const TrafficSelectorPolicy: coreClient.CompositeMapper = { type: { name: "Composite", @@ -14745,6 +14768,12 @@ export const ApplicationGatewayProbe: coreClient.CompositeMapper = { name: "Boolean" } }, + pickHostNameFromBackendSettings: { + serializedName: "properties.pickHostNameFromBackendSettings", + type: { + name: "Boolean" + } + }, minServers: { serializedName: "properties.minServers", type: { @@ -16500,6 +16529,92 @@ export const ApplicationGatewayBackendHttpSettings: coreClient.CompositeMapper = } }; +export const ApplicationGatewayBackendSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewayBackendSettings", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + port: { + serializedName: "properties.port", + type: { + name: "Number" + } + }, + protocol: { + serializedName: "properties.protocol", + type: { + name: "String" + } + }, + timeout: { + serializedName: "properties.timeout", + type: { + name: "Number" + } + }, + probe: { + serializedName: "properties.probe", + type: { + name: "Composite", + className: "SubResource" + } + }, + trustedRootCertificates: { + serializedName: "properties.trustedRootCertificates", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + hostName: { + serializedName: "properties.hostName", + type: { + name: "String" + } + }, + pickHostNameFromBackendAddress: { + serializedName: "properties.pickHostNameFromBackendAddress", + type: { + name: "Boolean" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const ApplicationGatewayHttpListener: coreClient.CompositeMapper = { type: { name: "Composite", @@ -16613,6 +16728,77 @@ export const ApplicationGatewayHttpListener: coreClient.CompositeMapper = { } }; +export const ApplicationGatewayListener: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewayListener", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + frontendIPConfiguration: { + serializedName: "properties.frontendIPConfiguration", + type: { + name: "Composite", + className: "SubResource" + } + }, + frontendPort: { + serializedName: "properties.frontendPort", + type: { + name: "Composite", + className: "SubResource" + } + }, + protocol: { + serializedName: "properties.protocol", + type: { + name: "String" + } + }, + sslCertificate: { + serializedName: "properties.sslCertificate", + type: { + name: "Composite", + className: "SubResource" + } + }, + sslProfile: { + serializedName: "properties.sslProfile", + type: { + name: "Composite", + className: "SubResource" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const ApplicationGatewaySslProfile: coreClient.CompositeMapper = { type: { name: "Composite", @@ -16952,6 +17138,70 @@ export const ApplicationGatewayRequestRoutingRule: coreClient.CompositeMapper = } }; +export const ApplicationGatewayRoutingRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewayRoutingRule", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + ruleType: { + serializedName: "properties.ruleType", + type: { + name: "String" + } + }, + backendAddressPool: { + serializedName: "properties.backendAddressPool", + type: { + name: "Composite", + className: "SubResource" + } + }, + backendSettings: { + serializedName: "properties.backendSettings", + type: { + name: "Composite", + className: "SubResource" + } + }, + listener: { + serializedName: "properties.listener", + type: { + name: "Composite", + className: "SubResource" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const ApplicationGatewayRewriteRuleSet: coreClient.CompositeMapper = { type: { name: "Composite", @@ -19824,6 +20074,18 @@ export const VpnSiteLinkConnection: coreClient.CompositeMapper = { name: "Boolean" } }, + vpnGatewayCustomBgpAddresses: { + serializedName: "properties.vpnGatewayCustomBgpAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GatewayCustomBgpIpAddressIpConfiguration" + } + } + } + }, usePolicyBasedTrafficSelectors: { serializedName: "properties.usePolicyBasedTrafficSelectors", type: { @@ -21841,6 +22103,18 @@ export const ApplicationGateway: coreClient.CompositeMapper = { } } }, + backendSettingsCollection: { + serializedName: "properties.backendSettingsCollection", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayBackendSettings" + } + } + } + }, httpListeners: { serializedName: "properties.httpListeners", type: { @@ -21853,6 +22127,18 @@ export const ApplicationGateway: coreClient.CompositeMapper = { } } }, + listeners: { + serializedName: "properties.listeners", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayListener" + } + } + } + }, sslProfiles: { serializedName: "properties.sslProfiles", type: { @@ -21889,6 +22175,18 @@ export const ApplicationGateway: coreClient.CompositeMapper = { } } }, + routingRules: { + serializedName: "properties.routingRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayRoutingRule" + } + } + } + }, rewriteRuleSets: { serializedName: "properties.rewriteRuleSets", type: { @@ -24451,6 +24749,18 @@ export const VirtualNetworkGatewayConnectionListEntity: coreClient.CompositeMapp name: "Boolean" } }, + gatewayCustomBgpIpAddresses: { + serializedName: "properties.gatewayCustomBgpIpAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GatewayCustomBgpIpAddressIpConfiguration" + } + } + } + }, usePolicyBasedTrafficSelectors: { serializedName: "properties.usePolicyBasedTrafficSelectors", type: { @@ -24710,6 +25020,18 @@ export const VirtualNetworkGatewayConnection: coreClient.CompositeMapper = { name: "Boolean" } }, + gatewayCustomBgpIpAddresses: { + serializedName: "properties.gatewayCustomBgpIpAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GatewayCustomBgpIpAddressIpConfiguration" + } + } + } + }, useLocalAzureIpAddress: { serializedName: "properties.useLocalAzureIpAddress", type: { @@ -25426,6 +25748,12 @@ export const VirtualHub: coreClient.CompositeMapper = { type: { name: "String" } + }, + hubRoutingPreference: { + serializedName: "properties.hubRoutingPreference", + type: { + name: "String" + } } } } diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index 4f81f563b0d9..65a46712ca7e 100644 --- a/sdk/network/arm-network/src/models/parameters.ts +++ b/sdk/network/arm-network/src/models/parameters.ts @@ -181,7 +181,7 @@ export const applicationGatewayName: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-05-01", + defaultValue: "2021-08-01", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index 86d87cc2dbfe..b5ea99b79376 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -307,7 +307,7 @@ export class NetworkManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-network/26.0.0`; + const packageDetails = `azsdk-js-arm-network/27.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/network/arm-network/test/sampleTest.ts b/sdk/network/arm-network/test/sampleTest.ts new file mode 100644 index 000000000000..7ed89b043e1b --- /dev/null +++ b/sdk/network/arm-network/test/sampleTest.ts @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + env, + record, + RecorderEnvironmentSetup, + Recorder +} from "@azure-tools/test-recorder"; +import * as assert from "assert"; + +const recorderEnvSetup: RecorderEnvironmentSetup = { + replaceableVariables: { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" + }, + customizationsOnRecordings: [ + (recording: any): any => + recording.replace( + /"access_token":"[^"]*"/g, + `"access_token":"access_token"` + ) + ], + queryParametersToSkip: [] +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function() { + recorder = record(this, recorderEnvSetup); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/network/arm-network/tsconfig.json b/sdk/network/arm-network/tsconfig.json index 6e3251194117..3e6ae96443f3 100644 --- a/sdk/network/arm-network/tsconfig.json +++ b/sdk/network/arm-network/tsconfig.json @@ -9,11 +9,19 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", "importHelpers": true }, - "include": ["./src/**/*.ts", "./test/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file