kazrael2119 2023-07-25 16:14:44 +08:00 коммит произвёл GitHub
Родитель f200be932b
Коммит f4e20a9347
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
198 изменённых файлов: 3171 добавлений и 2916 удалений

Просмотреть файл

@ -2918,7 +2918,7 @@ packages:
resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==}
dependencies: dependencies:
'@types/connect': 3.4.35 '@types/connect': 3.4.35
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/chai-as-promised/7.1.5: /@types/chai-as-promised/7.1.5:
@ -2940,7 +2940,7 @@ packages:
/@types/connect/3.4.35: /@types/connect/3.4.35:
resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/cookie/0.4.1: /@types/cookie/0.4.1:
@ -2950,7 +2950,7 @@ packages:
/@types/cors/2.8.13: /@types/cors/2.8.13:
resolution: {integrity: sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA==} resolution: {integrity: sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/debug/4.1.8: /@types/debug/4.1.8:
@ -2962,7 +2962,7 @@ packages:
/@types/decompress/4.2.4: /@types/decompress/4.2.4:
resolution: {integrity: sha512-/C8kTMRTNiNuWGl5nEyKbPiMv6HA+0RbEXzFhFBEzASM6+oa4tJro9b8nj7eRlOFfuLdzUU+DS/GPDlvvzMOhA==} resolution: {integrity: sha512-/C8kTMRTNiNuWGl5nEyKbPiMv6HA+0RbEXzFhFBEzASM6+oa4tJro9b8nj7eRlOFfuLdzUU+DS/GPDlvvzMOhA==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/eslint/8.4.10: /@types/eslint/8.4.10:
@ -2983,7 +2983,7 @@ packages:
/@types/express-serve-static-core/4.17.35: /@types/express-serve-static-core/4.17.35:
resolution: {integrity: sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==} resolution: {integrity: sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
'@types/qs': 6.9.7 '@types/qs': 6.9.7
'@types/range-parser': 1.2.4 '@types/range-parser': 1.2.4
'@types/send': 0.17.1 '@types/send': 0.17.1
@ -3001,13 +3001,13 @@ packages:
/@types/fs-extra/8.1.2: /@types/fs-extra/8.1.2:
resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==} resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/fs-extra/9.0.13: /@types/fs-extra/9.0.13:
resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/http-errors/2.0.1: /@types/http-errors/2.0.1:
@ -3024,7 +3024,7 @@ packages:
/@types/is-buffer/2.0.0: /@types/is-buffer/2.0.0:
resolution: {integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw==} resolution: {integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/json-schema/7.0.12: /@types/json-schema/7.0.12:
@ -3038,13 +3038,13 @@ packages:
/@types/jsonwebtoken/9.0.2: /@types/jsonwebtoken/9.0.2:
resolution: {integrity: sha512-drE6uz7QBKq1fYqqoFKTDRdFCPHd5TCub75BM+D+cMx7NU9hUz7SESLfC2fSCXVFMO5Yj8sOWHuGqPgjc+fz0Q==} resolution: {integrity: sha512-drE6uz7QBKq1fYqqoFKTDRdFCPHd5TCub75BM+D+cMx7NU9hUz7SESLfC2fSCXVFMO5Yj8sOWHuGqPgjc+fz0Q==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/jws/3.2.5: /@types/jws/3.2.5:
resolution: {integrity: sha512-xGTxZH34xOryaTN8CMsvhh9lfNqFuHiMoRvsLYWQdBJHqiECyfInXVl2eK8Jz2emxZWMIn5RBlmr3oDVPeWujw==} resolution: {integrity: sha512-xGTxZH34xOryaTN8CMsvhh9lfNqFuHiMoRvsLYWQdBJHqiECyfInXVl2eK8Jz2emxZWMIn5RBlmr3oDVPeWujw==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/linkify-it/3.0.2: /@types/linkify-it/3.0.2:
@ -3103,20 +3103,20 @@ packages:
/@types/mysql/2.15.19: /@types/mysql/2.15.19:
resolution: {integrity: sha512-wSRg2QZv14CWcZXkgdvHbbV2ACufNy5EgI8mBBxnJIptchv7DBy/h53VMa2jDhyo0C9MO4iowE6z9vF8Ja1DkQ==} resolution: {integrity: sha512-wSRg2QZv14CWcZXkgdvHbbV2ACufNy5EgI8mBBxnJIptchv7DBy/h53VMa2jDhyo0C9MO4iowE6z9vF8Ja1DkQ==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/node-fetch/2.6.2: /@types/node-fetch/2.6.2:
resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==} resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
form-data: 3.0.1 form-data: 3.0.1
dev: false dev: false
/@types/node-fetch/2.6.4: /@types/node-fetch/2.6.4:
resolution: {integrity: sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg==} resolution: {integrity: sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
form-data: 3.0.1 form-data: 3.0.1
dev: false dev: false
@ -3149,7 +3149,7 @@ packages:
/@types/pg/8.6.1: /@types/pg/8.6.1:
resolution: {integrity: sha512-1Kc4oAGzAl7uqUStZCDvaLFqZrW9qWSjXOmBfdgyBP5La7Us6Mg4GBvRlSoaZMhQF/zSj1C8CtKMBkoiT8eL8w==} resolution: {integrity: sha512-1Kc4oAGzAl7uqUStZCDvaLFqZrW9qWSjXOmBfdgyBP5La7Us6Mg4GBvRlSoaZMhQF/zSj1C8CtKMBkoiT8eL8w==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
pg-protocol: 1.6.0 pg-protocol: 1.6.0
pg-types: 2.2.0 pg-types: 2.2.0
dev: false dev: false
@ -3177,7 +3177,7 @@ packages:
/@types/resolve/1.17.1: /@types/resolve/1.17.1:
resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/resolve/1.20.2: /@types/resolve/1.20.2:
@ -3200,7 +3200,7 @@ packages:
resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==} resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==}
dependencies: dependencies:
'@types/mime': 1.3.2 '@types/mime': 1.3.2
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/serve-static/1.15.2: /@types/serve-static/1.15.2:
@ -3208,7 +3208,7 @@ packages:
dependencies: dependencies:
'@types/http-errors': 2.0.1 '@types/http-errors': 2.0.1
'@types/mime': 3.0.1 '@types/mime': 3.0.1
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/shimmer/1.0.2: /@types/shimmer/1.0.2:
@ -3234,13 +3234,13 @@ packages:
/@types/stoppable/1.1.1: /@types/stoppable/1.1.1:
resolution: {integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw==} resolution: {integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/through/0.0.30: /@types/through/0.0.30:
resolution: {integrity: sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==} resolution: {integrity: sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/tough-cookie/4.0.2: /@types/tough-cookie/4.0.2:
@ -3254,7 +3254,7 @@ packages:
/@types/tunnel/0.0.3: /@types/tunnel/0.0.3:
resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/underscore/1.11.6: /@types/underscore/1.11.6:
@ -3272,19 +3272,19 @@ packages:
/@types/ws/7.4.7: /@types/ws/7.4.7:
resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/ws/8.5.5: /@types/ws/8.5.5:
resolution: {integrity: sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==} resolution: {integrity: sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/xml2js/0.4.11: /@types/xml2js/0.4.11:
resolution: {integrity: sha512-JdigeAKmCyoJUiQljjr7tQG3if9NkqGUgwEUqBvV0N7LM4HyQk7UXCnusRa1lnvXAEYJ8mw8GtZWioagNztOwA==} resolution: {integrity: sha512-JdigeAKmCyoJUiQljjr7tQG3if9NkqGUgwEUqBvV0N7LM4HyQk7UXCnusRa1lnvXAEYJ8mw8GtZWioagNztOwA==}
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
/@types/yargs-parser/21.0.0: /@types/yargs-parser/21.0.0:
@ -3301,7 +3301,7 @@ packages:
resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==}
requiresBuild: true requiresBuild: true
dependencies: dependencies:
'@types/node': 14.18.54 '@types/node': 16.18.39
dev: false dev: false
optional: true optional: true
@ -4567,7 +4567,7 @@ packages:
resolution: {integrity: sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==} 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) 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: dependencies:
ms: 2.1.1 ms: 2.1.3
dev: false dev: false
/debug/3.2.7: /debug/3.2.7:
@ -4746,7 +4746,7 @@ packages:
cosmiconfig: 7.1.0 cosmiconfig: 7.1.0
debug: 4.3.4 debug: 4.3.4
deps-regex: 0.1.4 deps-regex: 0.1.4
ignore: 5.1.9 ignore: 5.2.4
is-core-module: 2.12.1 is-core-module: 2.12.1
js-yaml: 3.14.1 js-yaml: 3.14.1
json5: 2.2.3 json5: 2.2.3
@ -4778,7 +4778,7 @@ packages:
'@pnpm/crypto.base32-hash': 1.0.1 '@pnpm/crypto.base32-hash': 1.0.1
'@pnpm/types': 8.9.0 '@pnpm/types': 8.9.0
encode-registry: 3.0.0 encode-registry: 3.0.0
semver: 7.3.8 semver: 7.5.4
dev: false dev: false
/deps-regex/0.1.4: /deps-regex/0.1.4:
@ -4949,7 +4949,7 @@ packages:
dependencies: dependencies:
'@types/cookie': 0.4.1 '@types/cookie': 0.4.1
'@types/cors': 2.8.13 '@types/cors': 2.8.13
'@types/node': 14.18.54 '@types/node': 16.18.39
accepts: 1.3.8 accepts: 1.3.8
base64id: 2.0.0 base64id: 2.0.0
cookie: 0.4.2 cookie: 0.4.2
@ -5935,7 +5935,7 @@ packages:
fs.realpath: 1.0.0 fs.realpath: 1.0.0
inflight: 1.0.6 inflight: 1.0.6
inherits: 2.0.4 inherits: 2.0.4
minimatch: 3.0.4 minimatch: 3.1.2
once: 1.4.0 once: 1.4.0
path-is-absolute: 1.0.1 path-is-absolute: 1.0.1
dev: false dev: false
@ -6353,7 +6353,7 @@ packages:
cli-cursor: 3.1.0 cli-cursor: 3.1.0
cli-width: 3.0.0 cli-width: 3.0.0
external-editor: 3.1.0 external-editor: 3.1.0
figures: 3.0.0 figures: 3.2.0
lodash: 4.17.21 lodash: 4.17.21
mute-stream: 0.0.8 mute-stream: 0.0.8
run-async: 2.4.1 run-async: 2.4.1
@ -8817,7 +8817,7 @@ packages:
'@protobufjs/path': 1.1.2 '@protobufjs/path': 1.1.2
'@protobufjs/pool': 1.1.0 '@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0 '@protobufjs/utf8': 1.1.0
'@types/node': 14.18.54 '@types/node': 16.18.39
long: 5.2.3 long: 5.2.3
dev: false dev: false
@ -14133,7 +14133,7 @@ packages:
dev: false dev: false
file:projects/arm-hdinsight.tgz: file:projects/arm-hdinsight.tgz:
resolution: {integrity: sha512-ADZoTglLtVaIbZ8YfISjiuxydBs4wH35qccd20jpE9DUSDG9ILcDyR0FMMmA2vdaG8w1U5lPmTeX99Gat6qW9w==, tarball: file:projects/arm-hdinsight.tgz} resolution: {integrity: sha512-Jv8FIekfHl3zs6alhb+YASFgmSPAY4dG9JqMCOM8QFD5bdsZOL+CxbPE46JXZlzldnSPgsxFKZoIMlDqA+j+tA==, tarball: file:projects/arm-hdinsight.tgz}
name: '@rush-temp/arm-hdinsight' name: '@rush-temp/arm-hdinsight'
version: 0.0.0 version: 0.0.0
dependencies: dependencies:
@ -14147,8 +14147,8 @@ packages:
'@types/node': 14.18.54 '@types/node': 14.18.54
chai: 4.3.7 chai: 4.3.7
cross-env: 7.0.3 cross-env: 7.0.3
dotenv: 8.6.0 dotenv: 16.3.1
mkdirp: 1.0.4 mkdirp: 2.1.6
mocha: 7.2.0 mocha: 7.2.0
rimraf: 3.0.2 rimraf: 3.0.2
rollup: 2.79.1 rollup: 2.79.1
@ -20246,7 +20246,7 @@ packages:
dev: false dev: false
file:projects/monitor-query.tgz: file:projects/monitor-query.tgz:
resolution: {integrity: sha512-hicyFzcmDeojGMYPShRu/1QutC3O/v4RvGG+8d4gwfe+fA/s+q39ikpdm6ALIDraAZGxlMio8Q16uTmlaK5wKw==, tarball: file:projects/monitor-query.tgz} resolution: {integrity: sha512-LVyPTRYeRdPqApVYME9x8o3UJmhVn3o+vbq1xZgXYdANtlqbUX7olOfJarXy8oa9rtAedY/NKmYNNbbGgfBZuA==, tarball: file:projects/monitor-query.tgz}
name: '@rush-temp/monitor-query' name: '@rush-temp/monitor-query'
version: 0.0.0 version: 0.0.0
dependencies: dependencies:

Просмотреть файл

@ -1,15 +1,11 @@
# Release History # Release History
## 1.3.0-beta.1 (2023-07-06)
**Features**
## 1.2.2 (Unreleased) - Interface StorageAccount has a new optional parameter enableSecureChannel
### Features Added
### Breaking Changes
### Bugs Fixed
### Other Changes
## 1.2.1 (2023-01-10) ## 1.2.1 (2023-01-10)
**Features** **Features**

Просмотреть файл

@ -6,7 +6,7 @@ HDInsight Management Client
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hdinsight/arm-hdinsight) | [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hdinsight/arm-hdinsight) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-hdinsight) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-hdinsight) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-hdinsight) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-hdinsight?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management) [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
## Getting started ## Getting started

Просмотреть файл

@ -1,8 +1,8 @@
{ {
"commit": "1dd79c416cdccde274113ec03b92b75069fad464", "commit": "26cac4f70e9ce0e1c2f77de8303b47d1faa9ad33",
"readme": "specification\\hdinsight\\resource-manager\\readme.md", "readme": "specification/hdinsight/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=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\hdinsight\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.6.20221226.1 --generate-sample=true", "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\\hdinsight\\resource-manager\\readme.md --use=@autorest/typescript@6.0.5 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.4", "release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
"use": "@autorest/typescript@6.0.0-rc.6.20221226.1" "use": "@autorest/typescript@6.0.5"
} }

Просмотреть файл

@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js", "AssetsRepoPrefixPath": "js",
"TagPrefix": "js/hdinsight/arm-hdinsight", "TagPrefix": "js/hdinsight/arm-hdinsight",
"Tag": "js/hdinsight/arm-hdinsight_e0d77e19d3" "Tag": "js/hdinsight/arm-hdinsight_cb48a84e4f"
} }

Просмотреть файл

@ -3,15 +3,15 @@
"sdk-type": "mgmt", "sdk-type": "mgmt",
"author": "Microsoft Corporation", "author": "Microsoft Corporation",
"description": "A generated SDK for HDInsightManagementClient.", "description": "A generated SDK for HDInsightManagementClient.",
"version": "1.2.2", "version": "1.3.0-beta.1",
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"
}, },
"dependencies": { "dependencies": {
"@azure/core-lro": "^2.2.0", "@azure/core-lro": "^2.5.3",
"@azure/abort-controller": "^1.0.0", "@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0", "@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.6.1", "@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0", "@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0", "@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0" "tslib": "^2.2.0"
@ -33,13 +33,13 @@
"@rollup/plugin-json": "^6.0.0", "@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0", "@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-node-resolve": "^13.1.3", "@rollup/plugin-node-resolve": "^13.1.3",
"mkdirp": "^1.0.4", "mkdirp": "^2.1.2",
"rollup": "^2.66.1", "rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~5.0.0", "typescript": "~5.0.0",
"uglify-js": "^3.4.9", "uglify-js": "^3.4.9",
"rimraf": "^3.0.0", "rimraf": "^3.0.0",
"dotenv": "^8.2.0", "dotenv": "^16.0.0",
"@azure/identity": "^2.0.1", "@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^3.0.0", "@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0", "@azure-tools/test-credential": "^1.0.0",
@ -120,4 +120,4 @@
"disableDocsMs": true, "disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-hdinsight?view=azure-node-preview" "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-hdinsight?view=azure-node-preview"
} }
} }

Просмотреть файл

@ -6,9 +6,9 @@
import * as coreAuth from '@azure/core-auth'; import * as coreAuth from '@azure/core-auth';
import * as coreClient from '@azure/core-client'; import * as coreClient from '@azure/core-client';
import { OperationState } from '@azure/core-lro';
import { PagedAsyncIterableIterator } from '@azure/core-paging'; import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { PollerLike } from '@azure/core-lro'; import { SimplePollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';
// @public // @public
export interface AaddsResourceDetails { export interface AaddsResourceDetails {
@ -74,9 +74,9 @@ export interface ApplicationProperties {
// @public // @public
export interface Applications { export interface Applications {
beginCreate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise<PollerLike<PollOperationState<ApplicationsCreateResponse>, ApplicationsCreateResponse>>; beginCreate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsCreateResponse>, ApplicationsCreateResponse>>;
beginCreateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise<ApplicationsCreateResponse>; beginCreateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise<ApplicationsCreateResponse>;
beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<void>; beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsGetOptionalParams): Promise<ApplicationsGetResponse>; get(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsGetOptionalParams): Promise<ApplicationsGetResponse>;
getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, applicationName: string, operationId: string, options?: ApplicationsGetAzureAsyncOperationStatusOptionalParams): Promise<ApplicationsGetAzureAsyncOperationStatusResponse>; getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, applicationName: string, operationId: string, options?: ApplicationsGetAzureAsyncOperationStatusOptionalParams): Promise<ApplicationsGetAzureAsyncOperationStatusResponse>;
@ -396,21 +396,21 @@ export interface ClusterResizeParameters {
// @public // @public
export interface Clusters { export interface Clusters {
beginCreate(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise<PollerLike<PollOperationState<ClustersCreateResponse>, ClustersCreateResponse>>; beginCreate(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise<SimplePollerLike<OperationState<ClustersCreateResponse>, ClustersCreateResponse>>;
beginCreateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise<ClustersCreateResponse>; beginCreateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise<ClustersCreateResponse>;
beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>; beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
beginExecuteScriptActions(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginExecuteScriptActions(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginExecuteScriptActionsAndWait(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise<void>; beginExecuteScriptActionsAndWait(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise<void>;
beginResize(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginResize(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginResizeAndWait(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise<void>; beginResizeAndWait(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise<void>;
beginRotateDiskEncryptionKey(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginRotateDiskEncryptionKey(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginRotateDiskEncryptionKeyAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise<void>; beginRotateDiskEncryptionKeyAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise<void>;
beginUpdateAutoScaleConfiguration(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginUpdateAutoScaleConfiguration(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginUpdateAutoScaleConfigurationAndWait(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise<void>; beginUpdateAutoScaleConfigurationAndWait(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise<void>;
beginUpdateGatewaySettings(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginUpdateGatewaySettings(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginUpdateGatewaySettingsAndWait(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise<void>; beginUpdateGatewaySettingsAndWait(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise<void>;
beginUpdateIdentityCertificate(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginUpdateIdentityCertificate(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginUpdateIdentityCertificateAndWait(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise<void>; beginUpdateIdentityCertificateAndWait(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise<void>;
get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<ClustersGetResponse>; get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<ClustersGetResponse>;
getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, operationId: string, options?: ClustersGetAzureAsyncOperationStatusOptionalParams): Promise<ClustersGetAzureAsyncOperationStatusResponse>; getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, operationId: string, options?: ClustersGetAzureAsyncOperationStatusOptionalParams): Promise<ClustersGetAzureAsyncOperationStatusResponse>;
@ -542,7 +542,7 @@ export interface ComputeProfile {
export interface Configurations { export interface Configurations {
beginUpdate(resourceGroupName: string, clusterName: string, configurationName: string, parameters: { beginUpdate(resourceGroupName: string, clusterName: string, configurationName: string, parameters: {
[propertyName: string]: string; [propertyName: string]: string;
}, options?: ConfigurationsUpdateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; }, options?: ConfigurationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginUpdateAndWait(resourceGroupName: string, clusterName: string, configurationName: string, parameters: { beginUpdateAndWait(resourceGroupName: string, clusterName: string, configurationName: string, parameters: {
[propertyName: string]: string; [propertyName: string]: string;
}, options?: ConfigurationsUpdateOptionalParams): Promise<void>; }, options?: ConfigurationsUpdateOptionalParams): Promise<void>;
@ -659,17 +659,17 @@ export interface Extension {
// @public // @public
export interface Extensions { export interface Extensions {
beginCreate(resourceGroupName: string, clusterName: string, extensionName: string, parameters: Extension, options?: ExtensionsCreateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginCreate(resourceGroupName: string, clusterName: string, extensionName: string, parameters: Extension, options?: ExtensionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginCreateAndWait(resourceGroupName: string, clusterName: string, extensionName: string, parameters: Extension, options?: ExtensionsCreateOptionalParams): Promise<void>; beginCreateAndWait(resourceGroupName: string, clusterName: string, extensionName: string, parameters: Extension, options?: ExtensionsCreateOptionalParams): Promise<void>;
beginDelete(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginDelete(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<void>; beginDeleteAndWait(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<void>;
beginDisableAzureMonitor(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableAzureMonitorOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginDisableAzureMonitor(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableAzureMonitorOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDisableAzureMonitorAndWait(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableAzureMonitorOptionalParams): Promise<void>; beginDisableAzureMonitorAndWait(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableAzureMonitorOptionalParams): Promise<void>;
beginDisableMonitoring(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableMonitoringOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginDisableMonitoring(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableMonitoringOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDisableMonitoringAndWait(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableMonitoringOptionalParams): Promise<void>; beginDisableMonitoringAndWait(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableMonitoringOptionalParams): Promise<void>;
beginEnableAzureMonitor(resourceGroupName: string, clusterName: string, parameters: AzureMonitorRequest, options?: ExtensionsEnableAzureMonitorOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginEnableAzureMonitor(resourceGroupName: string, clusterName: string, parameters: AzureMonitorRequest, options?: ExtensionsEnableAzureMonitorOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginEnableAzureMonitorAndWait(resourceGroupName: string, clusterName: string, parameters: AzureMonitorRequest, options?: ExtensionsEnableAzureMonitorOptionalParams): Promise<void>; beginEnableAzureMonitorAndWait(resourceGroupName: string, clusterName: string, parameters: AzureMonitorRequest, options?: ExtensionsEnableAzureMonitorOptionalParams): Promise<void>;
beginEnableMonitoring(resourceGroupName: string, clusterName: string, parameters: ClusterMonitoringRequest, options?: ExtensionsEnableMonitoringOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginEnableMonitoring(resourceGroupName: string, clusterName: string, parameters: ClusterMonitoringRequest, options?: ExtensionsEnableMonitoringOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginEnableMonitoringAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterMonitoringRequest, options?: ExtensionsEnableMonitoringOptionalParams): Promise<void>; beginEnableMonitoringAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterMonitoringRequest, options?: ExtensionsEnableMonitoringOptionalParams): Promise<void>;
get(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsGetOptionalParams): Promise<ExtensionsGetResponse>; get(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsGetOptionalParams): Promise<ExtensionsGetResponse>;
getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, extensionName: string, operationId: string, options?: ExtensionsGetAzureAsyncOperationStatusOptionalParams): Promise<ExtensionsGetAzureAsyncOperationStatusResponse>; getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, extensionName: string, operationId: string, options?: ExtensionsGetAzureAsyncOperationStatusOptionalParams): Promise<ExtensionsGetAzureAsyncOperationStatusResponse>;
@ -1140,9 +1140,9 @@ export type PrivateEndpointConnectionProvisioningState = string;
// @public // @public
export interface PrivateEndpointConnections { export interface PrivateEndpointConnections {
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>; beginCreateOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>; beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>; beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>; get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>; listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
@ -1466,6 +1466,7 @@ export interface SshPublicKey {
// @public // @public
export interface StorageAccount { export interface StorageAccount {
container?: string; container?: string;
enableSecureChannel?: boolean;
fileshare?: string; fileshare?: string;
fileSystem?: string; fileSystem?: string;
isDefault?: boolean; isDefault?: boolean;
@ -1561,7 +1562,7 @@ export interface VersionSpec {
// @public // @public
export interface VirtualMachines { export interface VirtualMachines {
beginRestartHosts(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; beginRestartHosts(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginRestartHostsAndWait(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise<void>; beginRestartHostsAndWait(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise<void>;
getAsyncOperationStatus(resourceGroupName: string, clusterName: string, operationId: string, options?: VirtualMachinesGetAsyncOperationStatusOptionalParams): Promise<VirtualMachinesGetAsyncOperationStatusResponse>; getAsyncOperationStatus(resourceGroupName: string, clusterName: string, operationId: string, options?: VirtualMachinesGetAsyncOperationStatusOptionalParams): Promise<VirtualMachinesGetAsyncOperationStatusResponse>;
listHosts(resourceGroupName: string, clusterName: string, options?: VirtualMachinesListHostsOptionalParams): Promise<VirtualMachinesListHostsResponse>; listHosts(resourceGroupName: string, clusterName: string, options?: VirtualMachinesListHostsOptionalParams): Promise<VirtualMachinesListHostsResponse>;

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Creates applications for the HDInsight cluster. * This sample demonstrates how to Creates applications for the HDInsight cluster.
* *
* @summary Creates applications for the HDInsight cluster. * @summary Creates applications for the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateApplication.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateApplication.json
*/ */
async function createApplication() { async function createApplication() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes the specified application on the HDInsight cluster. * This sample demonstrates how to Deletes the specified application on the HDInsight cluster.
* *
* @summary Deletes the specified application on the HDInsight cluster. * @summary Deletes the specified application on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteApplication.json
*/ */
async function deleteApplicationFromHdInsightCluster() { async function deleteApplicationFromHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the async operation status. * This sample demonstrates how to Gets the async operation status.
* *
* @summary Gets the async operation status. * @summary Gets the async operation status.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetApplicationCreationAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationCreationAsyncOperationStatus.json
*/ */
async function getTheAzureAsyncOperationStatus() { async function getTheAzureAsyncOperationStatus() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets properties of the specified application. * This sample demonstrates how to Gets properties of the specified application.
* *
* @summary Gets properties of the specified application. * @summary Gets properties of the specified application.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetApplicationInProgress.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationInProgress.json
*/ */
async function getApplicationOnHdInsightClusterCreationInProgress() { async function getApplicationOnHdInsightClusterCreationInProgress() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -39,7 +39,7 @@ async function getApplicationOnHdInsightClusterCreationInProgress() {
* This sample demonstrates how to Gets properties of the specified application. * This sample demonstrates how to Gets properties of the specified application.
* *
* @summary Gets properties of the specified application. * @summary Gets properties of the specified application.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetApplicationCreated.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationCreated.json
*/ */
async function getApplicationOnHdInsightClusterSuccessfullyCreated() { async function getApplicationOnHdInsightClusterSuccessfullyCreated() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all of the applications for the HDInsight cluster. * This sample demonstrates how to Lists all of the applications for the HDInsight cluster.
* *
* @summary Lists all of the applications for the HDInsight cluster. * @summary Lists all of the applications for the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetAllApplications.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllApplications.json
*/ */
async function getAllApplicationsForAnHdInsightCluster() { async function getAllApplicationsForAnHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAutoscaleConfig.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
*/ */
async function createHdInsightClusterWithAutoscaleConfiguration() { async function createHdInsightClusterWithAutoscaleConfiguration() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -117,6 +117,7 @@ async function createHdInsightClusterWithAutoscaleConfiguration() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z", container: "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey" key: "storagekey"
} }
@ -139,7 +140,7 @@ async function createHdInsightClusterWithAutoscaleConfiguration() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopAdlsGen2.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopAdlsGen2.json
*/ */
async function createHadoopClusterWithAzureDataLakeStorageGen2() { async function createHadoopClusterWithAzureDataLakeStorageGen2() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -203,6 +204,7 @@ async function createHadoopClusterWithAzureDataLakeStorageGen2() {
storageaccounts: [ storageaccounts: [
{ {
name: "mystorage.dfs.core.windows.net", name: "mystorage.dfs.core.windows.net",
enableSecureChannel: true,
fileSystem: "default", fileSystem: "default",
isDefault: true, isDefault: true,
key: "storagekey" key: "storagekey"
@ -227,7 +229,7 @@ async function createHadoopClusterWithAzureDataLakeStorageGen2() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPassword.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopSshPassword.json
*/ */
async function createHadoopOnLinuxClusterWithSshPassword() { async function createHadoopOnLinuxClusterWithSshPassword() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -292,6 +294,7 @@ async function createHadoopOnLinuxClusterWithSshPassword() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey" key: "storagekey"
} }
@ -315,7 +318,7 @@ async function createHadoopOnLinuxClusterWithSshPassword() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPublicKey.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopSshPublicKey.json
*/ */
async function createHadoopOnLinuxClusterWithSshPublicKey() { async function createHadoopOnLinuxClusterWithSshPublicKey() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -380,6 +383,7 @@ async function createHadoopOnLinuxClusterWithSshPublicKey() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey" key: "storagekey"
} }
@ -403,7 +407,7 @@ async function createHadoopOnLinuxClusterWithSshPublicKey() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateKafkaClusterWithKafkaRestProxy.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json
*/ */
async function createKafkaClusterWithKafkaRestProxy() { async function createKafkaClusterWithKafkaRestProxy() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -484,6 +488,7 @@ async function createKafkaClusterWithKafkaRestProxy() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey" key: "storagekey"
} }
@ -506,7 +511,7 @@ async function createKafkaClusterWithKafkaRestProxy() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSecureHadoop.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopSecureHadoop.json
*/ */
async function createSecureHadoopCluster() { async function createSecureHadoopCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -604,6 +609,7 @@ async function createSecureHadoopCluster() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storage account key" key: "storage account key"
} }
@ -627,7 +633,7 @@ async function createSecureHadoopCluster() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxSparkSshPassword.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxSparkSshPassword.json
*/ */
async function createSparkOnLinuxClusterWithSshPassword() { async function createSparkOnLinuxClusterWithSshPassword() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -681,6 +687,7 @@ async function createSparkOnLinuxClusterWithSshPassword() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storageapikey*" key: "storageapikey*"
} }
@ -704,7 +711,7 @@ async function createSparkOnLinuxClusterWithSshPassword() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithTLS12.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithTLS12.json
*/ */
async function createClusterWithTls12() { async function createClusterWithTls12() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -767,6 +774,7 @@ async function createClusterWithTls12() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "default8525", container: "default8525",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey" key: "storagekey"
} }
@ -789,7 +797,7 @@ async function createClusterWithTls12() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAvailabilityZones.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithAvailabilityZones.json
*/ */
async function createClusterWithAvailabilityZones() { async function createClusterWithAvailabilityZones() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId";
@ -897,6 +905,7 @@ async function createClusterWithAvailabilityZones() {
{ {
name: "mystorage", name: "mystorage",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storage account key" key: "storage account key"
} }
@ -919,7 +928,7 @@ async function createClusterWithAvailabilityZones() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithComputeIsolationProperties.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithComputeIsolationProperties.json
*/ */
async function createClusterWithComputeIsolationProperties() { async function createClusterWithComputeIsolationProperties() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId";
@ -976,6 +985,7 @@ async function createClusterWithComputeIsolationProperties() {
{ {
name: "mystorage", name: "mystorage",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storage account key" key: "storage account key"
} }
@ -997,7 +1007,7 @@ async function createClusterWithComputeIsolationProperties() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionAtHost.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithEncryptionAtHost.json
*/ */
async function createClusterWithEncryptionAtHost() { async function createClusterWithEncryptionAtHost() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -1060,6 +1070,7 @@ async function createClusterWithEncryptionAtHost() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "default8525", container: "default8525",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey" key: "storagekey"
} }
@ -1082,7 +1093,7 @@ async function createClusterWithEncryptionAtHost() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionInTransit.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithEncryptionInTransit.json
*/ */
async function createClusterWithEncryptionInTransit() { async function createClusterWithEncryptionInTransit() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -1145,6 +1156,7 @@ async function createClusterWithEncryptionInTransit() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "default8525", container: "default8525",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey" key: "storagekey"
} }
@ -1167,7 +1179,7 @@ async function createClusterWithEncryptionInTransit() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithCustomNetworkProperties.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithCustomNetworkProperties.json
*/ */
async function createClusterWithNetworkProperties() { async function createClusterWithNetworkProperties() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId";
@ -1236,6 +1248,7 @@ async function createClusterWithNetworkProperties() {
{ {
name: "mystorage", name: "mystorage",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storage account key" key: "storage account key"
} }

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes the specified HDInsight cluster. * This sample demonstrates how to Deletes the specified HDInsight cluster.
* *
* @summary Deletes the specified HDInsight cluster. * @summary Deletes the specified HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteLinuxHadoopCluster.json
*/ */
async function deleteHadoopOnLinuxCluster() { async function deleteHadoopOnLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Executes script actions on the specified HDInsight cluster. * This sample demonstrates how to Executes script actions on the specified HDInsight cluster.
* *
* @summary Executes script actions on the specified HDInsight cluster. * @summary Executes script actions on the specified HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PostExecuteScriptAction.json
*/ */
async function executeScriptActionOnHdInsightCluster() { async function executeScriptActionOnHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to The the async operation status. * This sample demonstrates how to The the async operation status.
* *
* @summary The the async operation status. * @summary The the async operation status.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetClusterCreatingAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetClusterCreatingAsyncOperationStatus.json
*/ */
async function getAsyncOperationStatusOfCreatingCluster() { async function getAsyncOperationStatusOfCreatingCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the gateway settings for the specified cluster. * This sample demonstrates how to Gets the gateway settings for the specified cluster.
* *
* @summary Gets the gateway settings for the specified cluster. * @summary Gets the gateway settings for the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_GetGatewaySettings.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_GetGatewaySettings.json
*/ */
async function getHttpSettings() { async function getHttpSettings() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the specified cluster. * This sample demonstrates how to Gets the specified cluster.
* *
* @summary Gets the specified cluster. * @summary Gets the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopCluster.json
*/ */
async function getHadoopOnLinuxCluster() { async function getHadoopOnLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -34,7 +34,7 @@ async function getHadoopOnLinuxCluster() {
* This sample demonstrates how to Gets the specified cluster. * This sample demonstrates how to Gets the specified cluster.
* *
* @summary Gets the specified cluster. * @summary Gets the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxSparkCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxSparkCluster.json
*/ */
async function getSparkOnLinuxCluster() { async function getSparkOnLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists the HDInsight clusters in a resource group. * This sample demonstrates how to Lists the HDInsight clusters in a resource group.
* *
* @summary Lists the HDInsight clusters in a resource group. * @summary Lists the HDInsight clusters in a resource group.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopAllClustersInResourceGroup.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json
*/ */
async function getAllHadoopOnLinuxClustersInAResourceGroup() { async function getAllHadoopOnLinuxClustersInAResourceGroup() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the HDInsight clusters under the subscription. * This sample demonstrates how to Lists all the HDInsight clusters under the subscription.
* *
* @summary Lists all the HDInsight clusters under the subscription. * @summary Lists all the HDInsight clusters under the subscription.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopAllClusters.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopAllClusters.json
*/ */
async function getAllHadoopOnLinuxClusters() { async function getAllHadoopOnLinuxClusters() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Resizes the specified HDInsight cluster to the specified size. * This sample demonstrates how to Resizes the specified HDInsight cluster to the specified size.
* *
* @summary Resizes the specified HDInsight cluster to the specified size. * @summary Resizes the specified HDInsight cluster to the specified size.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ResizeLinuxHadoopCluster.json
*/ */
async function resizeTheWorkerNodesForAHadoopOnLinuxCluster() { async function resizeTheWorkerNodesForAHadoopOnLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Rotate disk encryption key of the specified HDInsight cluster. * This sample demonstrates how to Rotate disk encryption key of the specified HDInsight cluster.
* *
* @summary Rotate disk encryption key of the specified HDInsight cluster. * @summary Rotate disk encryption key of the specified HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json
*/ */
async function rotateDiskEncryptionKeyOfTheSpecifiedHdInsightCluster() { async function rotateDiskEncryptionKeyOfTheSpecifiedHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster. * This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster.
* *
* @summary Updates the Autoscale Configuration for HDInsight cluster. * @summary Updates the Autoscale Configuration for HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableClusterAutoScale.json
*/ */
async function disableAutoscaleForTheHdInsightCluster() { async function disableAutoscaleForTheHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -44,7 +44,7 @@ async function disableAutoscaleForTheHdInsightCluster() {
* This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster. * This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster.
* *
* @summary Updates the Autoscale Configuration for HDInsight cluster. * @summary Updates the Autoscale Configuration for HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json
*/ */
async function enableOrUpdateAutoscaleWithTheLoadBasedConfigurationForHdInsightCluster() { async function enableOrUpdateAutoscaleWithTheLoadBasedConfigurationForHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -69,7 +69,7 @@ async function enableOrUpdateAutoscaleWithTheLoadBasedConfigurationForHdInsightC
* This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster. * This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster.
* *
* @summary Updates the Autoscale Configuration for HDInsight cluster. * @summary Updates the Autoscale Configuration for HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json
*/ */
async function enableOrUpdateAutoscaleWithTheScheduleBasedConfigurationForHdInsightCluster() { async function enableOrUpdateAutoscaleWithTheScheduleBasedConfigurationForHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Configures the gateway settings on the specified cluster. * This sample demonstrates how to Configures the gateway settings on the specified cluster.
* *
* @summary Configures the gateway settings on the specified cluster. * @summary Configures the gateway settings on the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
*/ */
async function enableHttpConnectivity() { async function enableHttpConnectivity() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates the cluster identity certificate. * This sample demonstrates how to Updates the cluster identity certificate.
* *
* @summary Updates the cluster identity certificate. * @summary Updates the cluster identity certificate.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json
*/ */
async function updateClusterIdentityCertificate() { async function updateClusterIdentityCertificate() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Patch HDInsight cluster with the specified parameters. * This sample demonstrates how to Patch HDInsight cluster with the specified parameters.
* *
* @summary Patch HDInsight cluster with the specified parameters. * @summary Patch HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PatchLinuxHadoopCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PatchLinuxHadoopCluster.json
*/ */
async function patchHdInsightLinuxClusters() { async function patchHdInsightLinuxClusters() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead. * This sample demonstrates how to The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.
* *
* @summary The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead. * @summary The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Configurations_Get.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Configurations_Get.json
*/ */
async function getCoreSiteSettings() { async function getCoreSiteSettings() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets all configuration information for an HDI cluster. * This sample demonstrates how to Gets all configuration information for an HDI cluster.
* *
* @summary Gets all configuration information for an HDI cluster. * @summary Gets all configuration information for an HDI cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Configurations_List.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Configurations_List.json
*/ */
async function getAllConfigurationInformation() { async function getAllConfigurationInformation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. * This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
* *
* @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. * @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ChangeHttpConnectivityDisable.json
*/ */
async function disableHttpConnectivity() { async function disableHttpConnectivity() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -43,7 +43,7 @@ async function disableHttpConnectivity() {
* This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. * This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
* *
* @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. * @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ChangeHttpConnectivityEnable.json
*/ */
async function enableHttpConnectivity() { async function enableHttpConnectivity() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Creates an HDInsight cluster extension. * This sample demonstrates how to Creates an HDInsight cluster extension.
* *
* @summary Creates an HDInsight cluster extension. * @summary Creates an HDInsight cluster extension.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateExtension.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateExtension.json
*/ */
async function createAMonitoringExtensionOnHadoopLinuxCluster() { async function createAMonitoringExtensionOnHadoopLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes the specified extension for HDInsight cluster. * This sample demonstrates how to Deletes the specified extension for HDInsight cluster.
* *
* @summary Deletes the specified extension for HDInsight cluster. * @summary Deletes the specified extension for HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteExtension.json
*/ */
async function deleteAnExtension() { async function deleteAnExtension() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Disables the Azure Monitor on the HDInsight cluster. * This sample demonstrates how to Disables the Azure Monitor on the HDInsight cluster.
* *
* @summary Disables the Azure Monitor on the HDInsight cluster. * @summary Disables the Azure Monitor on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterAzureMonitor.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Disables the Operations Management Suite (OMS) on the HDInsight cluster. * This sample demonstrates how to Disables the Operations Management Suite (OMS) on the HDInsight cluster.
* *
* @summary Disables the Operations Management Suite (OMS) on the HDInsight cluster. * @summary Disables the Operations Management Suite (OMS) on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterMonitoring.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Enables the Azure Monitor on the HDInsight cluster. * This sample demonstrates how to Enables the Azure Monitor on the HDInsight cluster.
* *
* @summary Enables the Azure Monitor on the HDInsight cluster. * @summary Enables the Azure Monitor on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableLinuxClusterAzureMonitor.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterAzureMonitor.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Enables the Operations Management Suite (OMS) on the HDInsight cluster. * This sample demonstrates how to Enables the Operations Management Suite (OMS) on the HDInsight cluster.
* *
* @summary Enables the Operations Management Suite (OMS) on the HDInsight cluster. * @summary Enables the Operations Management Suite (OMS) on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableLinuxClusterMonitoring.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterMonitoring.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the async operation status. * This sample demonstrates how to Gets the async operation status.
* *
* @summary Gets the async operation status. * @summary Gets the async operation status.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetExtensionCreationAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtensionCreationAsyncOperationStatus.json
*/ */
async function getsTheAzureAsyncOperationStatus() { async function getsTheAzureAsyncOperationStatus() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the status of Azure Monitor on the HDInsight cluster. * This sample demonstrates how to Gets the status of Azure Monitor on the HDInsight cluster.
* *
* @summary Gets the status of Azure Monitor on the HDInsight cluster. * @summary Gets the status of Azure Monitor on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxClusterAzureMonitorStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterAzureMonitorStatus.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. * This sample demonstrates how to Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.
* *
* @summary Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. * @summary Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxClusterMonitoringStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterMonitoringStatus.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the extension properties for the specified HDInsight cluster extension. * This sample demonstrates how to Gets the extension properties for the specified HDInsight cluster extension.
* *
* @summary Gets the extension properties for the specified HDInsight cluster extension. * @summary Gets the extension properties for the specified HDInsight cluster extension.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetExtension.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtension.json
*/ */
async function getAnExtension() { async function getAnExtension() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Check the cluster name is available or not. * This sample demonstrates how to Check the cluster name is available or not.
* *
* @summary Check the cluster name is available or not. * @summary Check the cluster name is available or not.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_CheckClusterNameAvailability.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_CheckClusterNameAvailability.json
*/ */
async function getTheSubscriptionUsagesForSpecificLocation() { async function getTheSubscriptionUsagesForSpecificLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Get the async operation status. * This sample demonstrates how to Get the async operation status.
* *
* @summary Get the async operation status. * @summary Get the async operation status.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_GetAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_GetAsyncOperationStatus.json
*/ */
async function getsTheAzureAsyncOperationStatus() { async function getsTheAzureAsyncOperationStatus() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the capabilities for the specified location. * This sample demonstrates how to Gets the capabilities for the specified location.
* *
* @summary Gets the capabilities for the specified location. * @summary Gets the capabilities for the specified location.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetHDInsightCapabilities.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightCapabilities.json
*/ */
async function getTheSubscriptionCapabilitiesForSpecificLocation() { async function getTheSubscriptionCapabilitiesForSpecificLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists the billingSpecs for the specified subscription and location. * This sample demonstrates how to Lists the billingSpecs for the specified subscription and location.
* *
* @summary Lists the billingSpecs for the specified subscription and location. * @summary Lists the billingSpecs for the specified subscription and location.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_ListBillingSpecs.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_ListBillingSpecs.json
*/ */
async function getTheSubscriptionBillingSpecsForTheSpecifiedLocation() { async function getTheSubscriptionBillingSpecsForTheSpecifiedLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists the usages for the specified location. * This sample demonstrates how to Lists the usages for the specified location.
* *
* @summary Lists the usages for the specified location. * @summary Lists the usages for the specified location.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetHDInsightUsages.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightUsages.json
*/ */
async function getTheSubscriptionUsagesForSpecificLocation() { async function getTheSubscriptionUsagesForSpecificLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Validate the cluster create request spec is valid or not. * This sample demonstrates how to Validate the cluster create request spec is valid or not.
* *
* @summary Validate the cluster create request spec is valid or not. * @summary Validate the cluster create request spec is valid or not.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_ValidateClusterCreateRequest.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_ValidateClusterCreateRequest.json
*/ */
async function getTheSubscriptionUsagesForSpecificLocation() { async function getTheSubscriptionUsagesForSpecificLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -102,6 +102,7 @@ async function getTheSubscriptionUsagesForSpecificLocation() {
{ {
name: "storagename.blob.core.windows.net", name: "storagename.blob.core.windows.net",
container: "contianername", container: "contianername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "*******", key: "*******",
resourceId: resourceId:

Просмотреть файл

@ -0,0 +1,40 @@
/*
* 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.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { HDInsightManagementClient } from "@azure/arm-hdinsight";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Lists all of the available HDInsight REST API operations.
*
* @summary Lists all of the available HDInsight REST API operations.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ListHDInsightOperations.json
*/
async function listsAllOfTheAvailableOperations() {
const subscriptionId =
process.env["HDINSIGHT_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const credential = new DefaultAzureCredential();
const client = new HDInsightManagementClient(credential, subscriptionId);
const resArray = new Array();
for await (let item of client.operations.list()) {
resArray.push(item);
}
console.log(resArray);
}
async function main() {
listsAllOfTheAvailableOperations();
}
main().catch(console.error);

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Approve or reject a private endpoint connection manually. * This sample demonstrates how to Approve or reject a private endpoint connection manually.
* *
* @summary Approve or reject a private endpoint connection manually. * @summary Approve or reject a private endpoint connection manually.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ApprovePrivateEndpointConnection.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ApprovePrivateEndpointConnection.json
*/ */
async function approveAPrivateEndpointConnectionManually() { async function approveAPrivateEndpointConnectionManually() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes the specific private endpoint connection. * This sample demonstrates how to Deletes the specific private endpoint connection.
* *
* @summary Deletes the specific private endpoint connection. * @summary Deletes the specific private endpoint connection.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeletePrivateEndpointConnection.json
*/ */
async function deleteSpecificPrivateEndpointConnectionForASpecificHdInsightCluster() { async function deleteSpecificPrivateEndpointConnectionForASpecificHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the specific private endpoint connection. * This sample demonstrates how to Gets the specific private endpoint connection.
* *
* @summary Gets the specific private endpoint connection. * @summary Gets the specific private endpoint connection.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetPrivateEndpointConnection.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetPrivateEndpointConnection.json
*/ */
async function getSpecificPrivateEndpointConnectionForASpecificHdInsightCluster() { async function getSpecificPrivateEndpointConnectionForASpecificHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists the private endpoint connections for a HDInsight cluster. * This sample demonstrates how to Lists the private endpoint connections for a HDInsight cluster.
* *
* @summary Lists the private endpoint connections for a HDInsight cluster. * @summary Lists the private endpoint connections for a HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetAllPrivateEndpointConnectionsInCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllPrivateEndpointConnectionsInCluster.json
*/ */
async function getAllPrivateEndpointConnectionsForASpecificHdInsightCluster() { async function getAllPrivateEndpointConnectionsForASpecificHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the specific private link resource. * This sample demonstrates how to Gets the specific private link resource.
* *
* @summary Gets the specific private link resource. * @summary Gets the specific private link resource.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetPrivateLinkResource.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetPrivateLinkResource.json
*/ */
async function getSpecificPrivateLinkResourceInASpecificHdInsightCluster() { async function getSpecificPrivateLinkResourceInASpecificHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists the private link resources in a HDInsight cluster. * This sample demonstrates how to Lists the private link resources in a HDInsight cluster.
* *
* @summary Lists the private link resources in a HDInsight cluster. * @summary Lists the private link resources in a HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetAllPrivateLinkResourcesInCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllPrivateLinkResourcesInCluster.json
*/ */
async function getAllPrivateLinkResourcesInASpecificHdInsightCluster() { async function getAllPrivateLinkResourcesInASpecificHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes a specified persisted script action of the cluster. * This sample demonstrates how to Deletes a specified persisted script action of the cluster.
* *
* @summary Deletes a specified persisted script action of the cluster. * @summary Deletes a specified persisted script action of the cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteScriptAction.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteScriptAction.json
*/ */
async function deleteAScriptActionOnHdInsightCluster() { async function deleteAScriptActionOnHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the async operation status of execution operation. * This sample demonstrates how to Gets the async operation status of execution operation.
* *
* @summary Gets the async operation status of execution operation. * @summary Gets the async operation status of execution operation.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetScriptExecutionAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetScriptExecutionAsyncOperationStatus.json
*/ */
async function getsTheAsyncExecutionOperationStatus() { async function getsTheAsyncExecutionOperationStatus() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the script execution detail for the given script execution ID. * This sample demonstrates how to Gets the script execution detail for the given script execution ID.
* *
* @summary Gets the script execution detail for the given script execution ID. * @summary Gets the script execution detail for the given script execution ID.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetScriptActionById.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetScriptActionById.json
*/ */
async function getScriptExecutionHistoryByScriptId() { async function getScriptExecutionHistoryByScriptId() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the persisted script actions for the specified cluster. * This sample demonstrates how to Lists all the persisted script actions for the specified cluster.
* *
* @summary Lists all the persisted script actions for the specified cluster. * @summary Lists all the persisted script actions for the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopScriptAction.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopScriptAction.json
*/ */
async function listAllPersistedScriptActionsForTheGivenCluster() { async function listAllPersistedScriptActionsForTheGivenCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all scripts' execution history for the specified cluster. * This sample demonstrates how to Lists all scripts' execution history for the specified cluster.
* *
* @summary Lists all scripts' execution history for the specified cluster. * @summary Lists all scripts' execution history for the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetScriptExecutionHistory.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetScriptExecutionHistory.json
*/ */
async function getScriptExecutionHistoryList() { async function getScriptExecutionHistoryList() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Promotes the specified ad-hoc script execution to a persisted script. * This sample demonstrates how to Promotes the specified ad-hoc script execution to a persisted script.
* *
* @summary Promotes the specified ad-hoc script execution to a persisted script. * @summary Promotes the specified ad-hoc script execution to a persisted script.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PromoteLinuxHadoopScriptAction.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PromoteLinuxHadoopScriptAction.json
*/ */
async function promoteAScriptActionOnHdInsightCluster() { async function promoteAScriptActionOnHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the async operation status. * This sample demonstrates how to Gets the async operation status.
* *
* @summary Gets the async operation status. * @summary Gets the async operation status.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetRestartHostsAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetRestartHostsAsyncOperationStatus.json
*/ */
async function getsTheAsyncOperationStatusOfRestartingHost() { async function getsTheAsyncOperationStatusOfRestartingHost() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists the HDInsight clusters hosts * This sample demonstrates how to Lists the HDInsight clusters hosts
* *
* @summary Lists the HDInsight clusters hosts * @summary Lists the HDInsight clusters hosts
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetClusterVirtualMachines.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetClusterVirtualMachines.json
*/ */
async function getAllHostsInTheCluster() { async function getAllHostsInTheCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Restarts the specified HDInsight cluster hosts. * This sample demonstrates how to Restarts the specified HDInsight cluster hosts.
* *
* @summary Restarts the specified HDInsight cluster hosts. * @summary Restarts the specified HDInsight cluster hosts.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/RestartVirtualMachinesOperation.json
*/ */
async function restartsTheSpecifiedHdInsightClusterHosts() { async function restartsTheSpecifiedHdInsightClusterHosts() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -1,62 +1,63 @@
# client library samples for JavaScript # client library samples for JavaScript (Beta)
These sample programs show how to use the JavaScript client libraries for in some common scenarios. These sample programs show how to use the JavaScript client libraries for in some common scenarios.
| **File Name** | **Description** | | **File Name** | **Description** |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [applicationsCreateSample.js][applicationscreatesample] | Creates applications for the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateApplication.json | | [applicationsCreateSample.js][applicationscreatesample] | Creates applications for the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateApplication.json |
| [applicationsDeleteSample.js][applicationsdeletesample] | Deletes the specified application on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json | | [applicationsDeleteSample.js][applicationsdeletesample] | Deletes the specified application on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteApplication.json |
| [applicationsGetAzureAsyncOperationStatusSample.js][applicationsgetazureasyncoperationstatussample] | Gets the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetApplicationCreationAsyncOperationStatus.json | | [applicationsGetAzureAsyncOperationStatusSample.js][applicationsgetazureasyncoperationstatussample] | Gets the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationCreationAsyncOperationStatus.json |
| [applicationsGetSample.js][applicationsgetsample] | Gets properties of the specified application. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetApplicationInProgress.json | | [applicationsGetSample.js][applicationsgetsample] | Gets properties of the specified application. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationInProgress.json |
| [applicationsListByClusterSample.js][applicationslistbyclustersample] | Lists all of the applications for the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetAllApplications.json | | [applicationsListByClusterSample.js][applicationslistbyclustersample] | Lists all of the applications for the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllApplications.json |
| [clustersCreateSample.js][clusterscreatesample] | Creates a new HDInsight cluster with the specified parameters. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAutoscaleConfig.json | | [clustersCreateSample.js][clusterscreatesample] | Creates a new HDInsight cluster with the specified parameters. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json |
| [clustersDeleteSample.js][clustersdeletesample] | Deletes the specified HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json | | [clustersDeleteSample.js][clustersdeletesample] | Deletes the specified HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteLinuxHadoopCluster.json |
| [clustersExecuteScriptActionsSample.js][clustersexecutescriptactionssample] | Executes script actions on the specified HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json | | [clustersExecuteScriptActionsSample.js][clustersexecutescriptactionssample] | Executes script actions on the specified HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PostExecuteScriptAction.json |
| [clustersGetAzureAsyncOperationStatusSample.js][clustersgetazureasyncoperationstatussample] | The the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetClusterCreatingAsyncOperationStatus.json | | [clustersGetAzureAsyncOperationStatusSample.js][clustersgetazureasyncoperationstatussample] | The the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetClusterCreatingAsyncOperationStatus.json |
| [clustersGetGatewaySettingsSample.js][clustersgetgatewaysettingssample] | Gets the gateway settings for the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_GetGatewaySettings.json | | [clustersGetGatewaySettingsSample.js][clustersgetgatewaysettingssample] | Gets the gateway settings for the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_GetGatewaySettings.json |
| [clustersGetSample.js][clustersgetsample] | Gets the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopCluster.json | | [clustersGetSample.js][clustersgetsample] | Gets the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopCluster.json |
| [clustersListByResourceGroupSample.js][clusterslistbyresourcegroupsample] | Lists the HDInsight clusters in a resource group. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopAllClustersInResourceGroup.json | | [clustersListByResourceGroupSample.js][clusterslistbyresourcegroupsample] | Lists the HDInsight clusters in a resource group. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json |
| [clustersListSample.js][clusterslistsample] | Lists all the HDInsight clusters under the subscription. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopAllClusters.json | | [clustersListSample.js][clusterslistsample] | Lists all the HDInsight clusters under the subscription. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopAllClusters.json |
| [clustersResizeSample.js][clustersresizesample] | Resizes the specified HDInsight cluster to the specified size. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json | | [clustersResizeSample.js][clustersresizesample] | Resizes the specified HDInsight cluster to the specified size. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ResizeLinuxHadoopCluster.json |
| [clustersRotateDiskEncryptionKeySample.js][clustersrotatediskencryptionkeysample] | Rotate disk encryption key of the specified HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json | | [clustersRotateDiskEncryptionKeySample.js][clustersrotatediskencryptionkeysample] | Rotate disk encryption key of the specified HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json |
| [clustersUpdateAutoScaleConfigurationSample.js][clustersupdateautoscaleconfigurationsample] | Updates the Autoscale Configuration for HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json | | [clustersUpdateAutoScaleConfigurationSample.js][clustersupdateautoscaleconfigurationsample] | Updates the Autoscale Configuration for HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableClusterAutoScale.json |
| [clustersUpdateGatewaySettingsSample.js][clustersupdategatewaysettingssample] | Configures the gateway settings on the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json | | [clustersUpdateGatewaySettingsSample.js][clustersupdategatewaysettingssample] | Configures the gateway settings on the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json |
| [clustersUpdateIdentityCertificateSample.js][clustersupdateidentitycertificatesample] | Updates the cluster identity certificate. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json | | [clustersUpdateIdentityCertificateSample.js][clustersupdateidentitycertificatesample] | Updates the cluster identity certificate. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json |
| [clustersUpdateSample.js][clustersupdatesample] | Patch HDInsight cluster with the specified parameters. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PatchLinuxHadoopCluster.json | | [clustersUpdateSample.js][clustersupdatesample] | Patch HDInsight cluster with the specified parameters. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PatchLinuxHadoopCluster.json |
| [configurationsGetSample.js][configurationsgetsample] | The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Configurations_Get.json | | [configurationsGetSample.js][configurationsgetsample] | The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Configurations_Get.json |
| [configurationsListSample.js][configurationslistsample] | Gets all configuration information for an HDI cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Configurations_List.json | | [configurationsListSample.js][configurationslistsample] | Gets all configuration information for an HDI cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Configurations_List.json |
| [configurationsUpdateSample.js][configurationsupdatesample] | Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json | | [configurationsUpdateSample.js][configurationsupdatesample] | Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ChangeHttpConnectivityDisable.json |
| [extensionsCreateSample.js][extensionscreatesample] | Creates an HDInsight cluster extension. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateExtension.json | | [extensionsCreateSample.js][extensionscreatesample] | Creates an HDInsight cluster extension. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateExtension.json |
| [extensionsDeleteSample.js][extensionsdeletesample] | Deletes the specified extension for HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json | | [extensionsDeleteSample.js][extensionsdeletesample] | Deletes the specified extension for HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteExtension.json |
| [extensionsDisableAzureMonitorSample.js][extensionsdisableazuremonitorsample] | Disables the Azure Monitor on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json | | [extensionsDisableAzureMonitorSample.js][extensionsdisableazuremonitorsample] | Disables the Azure Monitor on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterAzureMonitor.json |
| [extensionsDisableMonitoringSample.js][extensionsdisablemonitoringsample] | Disables the Operations Management Suite (OMS) on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json | | [extensionsDisableMonitoringSample.js][extensionsdisablemonitoringsample] | Disables the Operations Management Suite (OMS) on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterMonitoring.json |
| [extensionsEnableAzureMonitorSample.js][extensionsenableazuremonitorsample] | Enables the Azure Monitor on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableLinuxClusterAzureMonitor.json | | [extensionsEnableAzureMonitorSample.js][extensionsenableazuremonitorsample] | Enables the Azure Monitor on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterAzureMonitor.json |
| [extensionsEnableMonitoringSample.js][extensionsenablemonitoringsample] | Enables the Operations Management Suite (OMS) on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableLinuxClusterMonitoring.json | | [extensionsEnableMonitoringSample.js][extensionsenablemonitoringsample] | Enables the Operations Management Suite (OMS) on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterMonitoring.json |
| [extensionsGetAzureAsyncOperationStatusSample.js][extensionsgetazureasyncoperationstatussample] | Gets the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetExtensionCreationAsyncOperationStatus.json | | [extensionsGetAzureAsyncOperationStatusSample.js][extensionsgetazureasyncoperationstatussample] | Gets the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtensionCreationAsyncOperationStatus.json |
| [extensionsGetAzureMonitorStatusSample.js][extensionsgetazuremonitorstatussample] | Gets the status of Azure Monitor on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxClusterAzureMonitorStatus.json | | [extensionsGetAzureMonitorStatusSample.js][extensionsgetazuremonitorstatussample] | Gets the status of Azure Monitor on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterAzureMonitorStatus.json |
| [extensionsGetMonitoringStatusSample.js][extensionsgetmonitoringstatussample] | Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxClusterMonitoringStatus.json | | [extensionsGetMonitoringStatusSample.js][extensionsgetmonitoringstatussample] | Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterMonitoringStatus.json |
| [extensionsGetSample.js][extensionsgetsample] | Gets the extension properties for the specified HDInsight cluster extension. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetExtension.json | | [extensionsGetSample.js][extensionsgetsample] | Gets the extension properties for the specified HDInsight cluster extension. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtension.json |
| [locationsCheckNameAvailabilitySample.js][locationschecknameavailabilitysample] | Check the cluster name is available or not. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_CheckClusterNameAvailability.json | | [locationsCheckNameAvailabilitySample.js][locationschecknameavailabilitysample] | Check the cluster name is available or not. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_CheckClusterNameAvailability.json |
| [locationsGetAzureAsyncOperationStatusSample.js][locationsgetazureasyncoperationstatussample] | Get the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_GetAsyncOperationStatus.json | | [locationsGetAzureAsyncOperationStatusSample.js][locationsgetazureasyncoperationstatussample] | Get the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_GetAsyncOperationStatus.json |
| [locationsGetCapabilitiesSample.js][locationsgetcapabilitiessample] | Gets the capabilities for the specified location. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetHDInsightCapabilities.json | | [locationsGetCapabilitiesSample.js][locationsgetcapabilitiessample] | Gets the capabilities for the specified location. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightCapabilities.json |
| [locationsListBillingSpecsSample.js][locationslistbillingspecssample] | Lists the billingSpecs for the specified subscription and location. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_ListBillingSpecs.json | | [locationsListBillingSpecsSample.js][locationslistbillingspecssample] | Lists the billingSpecs for the specified subscription and location. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_ListBillingSpecs.json |
| [locationsListUsagesSample.js][locationslistusagessample] | Lists the usages for the specified location. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetHDInsightUsages.json | | [locationsListUsagesSample.js][locationslistusagessample] | Lists the usages for the specified location. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightUsages.json |
| [locationsValidateClusterCreateRequestSample.js][locationsvalidateclustercreaterequestsample] | Validate the cluster create request spec is valid or not. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_ValidateClusterCreateRequest.json | | [locationsValidateClusterCreateRequestSample.js][locationsvalidateclustercreaterequestsample] | Validate the cluster create request spec is valid or not. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_ValidateClusterCreateRequest.json |
| [privateEndpointConnectionsCreateOrUpdateSample.js][privateendpointconnectionscreateorupdatesample] | Approve or reject a private endpoint connection manually. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ApprovePrivateEndpointConnection.json | | [operationsListSample.js][operationslistsample] | Lists all of the available HDInsight REST API operations. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ListHDInsightOperations.json |
| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes the specific private endpoint connection. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json | | [privateEndpointConnectionsCreateOrUpdateSample.js][privateendpointconnectionscreateorupdatesample] | Approve or reject a private endpoint connection manually. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ApprovePrivateEndpointConnection.json |
| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | Gets the specific private endpoint connection. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetPrivateEndpointConnection.json | | [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes the specific private endpoint connection. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeletePrivateEndpointConnection.json |
| [privateEndpointConnectionsListByClusterSample.js][privateendpointconnectionslistbyclustersample] | Lists the private endpoint connections for a HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetAllPrivateEndpointConnectionsInCluster.json | | [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | Gets the specific private endpoint connection. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetPrivateEndpointConnection.json |
| [privateLinkResourcesGetSample.js][privatelinkresourcesgetsample] | Gets the specific private link resource. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetPrivateLinkResource.json | | [privateEndpointConnectionsListByClusterSample.js][privateendpointconnectionslistbyclustersample] | Lists the private endpoint connections for a HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllPrivateEndpointConnectionsInCluster.json |
| [privateLinkResourcesListByClusterSample.js][privatelinkresourceslistbyclustersample] | Lists the private link resources in a HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetAllPrivateLinkResourcesInCluster.json | | [privateLinkResourcesGetSample.js][privatelinkresourcesgetsample] | Gets the specific private link resource. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetPrivateLinkResource.json |
| [scriptActionsDeleteSample.js][scriptactionsdeletesample] | Deletes a specified persisted script action of the cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteScriptAction.json | | [privateLinkResourcesListByClusterSample.js][privatelinkresourceslistbyclustersample] | Lists the private link resources in a HDInsight cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllPrivateLinkResourcesInCluster.json |
| [scriptActionsGetExecutionAsyncOperationStatusSample.js][scriptactionsgetexecutionasyncoperationstatussample] | Gets the async operation status of execution operation. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetScriptExecutionAsyncOperationStatus.json | | [scriptActionsDeleteSample.js][scriptactionsdeletesample] | Deletes a specified persisted script action of the cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteScriptAction.json |
| [scriptActionsGetExecutionDetailSample.js][scriptactionsgetexecutiondetailsample] | Gets the script execution detail for the given script execution ID. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetScriptActionById.json | | [scriptActionsGetExecutionAsyncOperationStatusSample.js][scriptactionsgetexecutionasyncoperationstatussample] | Gets the async operation status of execution operation. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetScriptExecutionAsyncOperationStatus.json |
| [scriptActionsListByClusterSample.js][scriptactionslistbyclustersample] | Lists all the persisted script actions for the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopScriptAction.json | | [scriptActionsGetExecutionDetailSample.js][scriptactionsgetexecutiondetailsample] | Gets the script execution detail for the given script execution ID. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetScriptActionById.json |
| [scriptExecutionHistoryListByClusterSample.js][scriptexecutionhistorylistbyclustersample] | Lists all scripts' execution history for the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetScriptExecutionHistory.json | | [scriptActionsListByClusterSample.js][scriptactionslistbyclustersample] | Lists all the persisted script actions for the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopScriptAction.json |
| [scriptExecutionHistoryPromoteSample.js][scriptexecutionhistorypromotesample] | Promotes the specified ad-hoc script execution to a persisted script. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PromoteLinuxHadoopScriptAction.json | | [scriptExecutionHistoryListByClusterSample.js][scriptexecutionhistorylistbyclustersample] | Lists all scripts' execution history for the specified cluster. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetScriptExecutionHistory.json |
| [virtualMachinesGetAsyncOperationStatusSample.js][virtualmachinesgetasyncoperationstatussample] | Gets the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetRestartHostsAsyncOperationStatus.json | | [scriptExecutionHistoryPromoteSample.js][scriptexecutionhistorypromotesample] | Promotes the specified ad-hoc script execution to a persisted script. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PromoteLinuxHadoopScriptAction.json |
| [virtualMachinesListHostsSample.js][virtualmachineslisthostssample] | Lists the HDInsight clusters hosts x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetClusterVirtualMachines.json | | [virtualMachinesGetAsyncOperationStatusSample.js][virtualmachinesgetasyncoperationstatussample] | Gets the async operation status. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetRestartHostsAsyncOperationStatus.json |
| [virtualMachinesRestartHostsSample.js][virtualmachinesrestarthostssample] | Restarts the specified HDInsight cluster hosts. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json | | [virtualMachinesListHostsSample.js][virtualmachineslisthostssample] | Lists the HDInsight clusters hosts x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetClusterVirtualMachines.json |
| [virtualMachinesRestartHostsSample.js][virtualmachinesrestarthostssample] | Restarts the specified HDInsight cluster hosts. x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/RestartVirtualMachinesOperation.json |
## Prerequisites ## Prerequisites
@ -96,59 +97,60 @@ npx cross-env HDINSIGHT_SUBSCRIPTION_ID="<hdinsight subscription id>" HDINSIGHT_
Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients.
[applicationscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/applicationsCreateSample.js [applicationscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/applicationsCreateSample.js
[applicationsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/applicationsDeleteSample.js [applicationsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/applicationsDeleteSample.js
[applicationsgetazureasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/applicationsGetAzureAsyncOperationStatusSample.js [applicationsgetazureasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/applicationsGetAzureAsyncOperationStatusSample.js
[applicationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/applicationsGetSample.js [applicationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/applicationsGetSample.js
[applicationslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/applicationsListByClusterSample.js [applicationslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/applicationsListByClusterSample.js
[clusterscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersCreateSample.js [clusterscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersCreateSample.js
[clustersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersDeleteSample.js [clustersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersDeleteSample.js
[clustersexecutescriptactionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersExecuteScriptActionsSample.js [clustersexecutescriptactionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersExecuteScriptActionsSample.js
[clustersgetazureasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersGetAzureAsyncOperationStatusSample.js [clustersgetazureasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersGetAzureAsyncOperationStatusSample.js
[clustersgetgatewaysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersGetGatewaySettingsSample.js [clustersgetgatewaysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersGetGatewaySettingsSample.js
[clustersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersGetSample.js [clustersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersGetSample.js
[clusterslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersListByResourceGroupSample.js [clusterslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersListByResourceGroupSample.js
[clusterslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersListSample.js [clusterslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersListSample.js
[clustersresizesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersResizeSample.js [clustersresizesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersResizeSample.js
[clustersrotatediskencryptionkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersRotateDiskEncryptionKeySample.js [clustersrotatediskencryptionkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersRotateDiskEncryptionKeySample.js
[clustersupdateautoscaleconfigurationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersUpdateAutoScaleConfigurationSample.js [clustersupdateautoscaleconfigurationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersUpdateAutoScaleConfigurationSample.js
[clustersupdategatewaysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersUpdateGatewaySettingsSample.js [clustersupdategatewaysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersUpdateGatewaySettingsSample.js
[clustersupdateidentitycertificatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersUpdateIdentityCertificateSample.js [clustersupdateidentitycertificatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersUpdateIdentityCertificateSample.js
[clustersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/clustersUpdateSample.js [clustersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/clustersUpdateSample.js
[configurationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/configurationsGetSample.js [configurationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/configurationsGetSample.js
[configurationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/configurationsListSample.js [configurationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/configurationsListSample.js
[configurationsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/configurationsUpdateSample.js [configurationsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/configurationsUpdateSample.js
[extensionscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsCreateSample.js [extensionscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsCreateSample.js
[extensionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsDeleteSample.js [extensionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsDeleteSample.js
[extensionsdisableazuremonitorsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsDisableAzureMonitorSample.js [extensionsdisableazuremonitorsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsDisableAzureMonitorSample.js
[extensionsdisablemonitoringsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsDisableMonitoringSample.js [extensionsdisablemonitoringsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsDisableMonitoringSample.js
[extensionsenableazuremonitorsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsEnableAzureMonitorSample.js [extensionsenableazuremonitorsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsEnableAzureMonitorSample.js
[extensionsenablemonitoringsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsEnableMonitoringSample.js [extensionsenablemonitoringsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsEnableMonitoringSample.js
[extensionsgetazureasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsGetAzureAsyncOperationStatusSample.js [extensionsgetazureasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsGetAzureAsyncOperationStatusSample.js
[extensionsgetazuremonitorstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsGetAzureMonitorStatusSample.js [extensionsgetazuremonitorstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsGetAzureMonitorStatusSample.js
[extensionsgetmonitoringstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsGetMonitoringStatusSample.js [extensionsgetmonitoringstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsGetMonitoringStatusSample.js
[extensionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/extensionsGetSample.js [extensionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/extensionsGetSample.js
[locationschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/locationsCheckNameAvailabilitySample.js [locationschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/locationsCheckNameAvailabilitySample.js
[locationsgetazureasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/locationsGetAzureAsyncOperationStatusSample.js [locationsgetazureasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/locationsGetAzureAsyncOperationStatusSample.js
[locationsgetcapabilitiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/locationsGetCapabilitiesSample.js [locationsgetcapabilitiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/locationsGetCapabilitiesSample.js
[locationslistbillingspecssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/locationsListBillingSpecsSample.js [locationslistbillingspecssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/locationsListBillingSpecsSample.js
[locationslistusagessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/locationsListUsagesSample.js [locationslistusagessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/locationsListUsagesSample.js
[locationsvalidateclustercreaterequestsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/locationsValidateClusterCreateRequestSample.js [locationsvalidateclustercreaterequestsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/locationsValidateClusterCreateRequestSample.js
[privateendpointconnectionscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/privateEndpointConnectionsCreateOrUpdateSample.js [operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/operationsListSample.js
[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/privateEndpointConnectionsDeleteSample.js [privateendpointconnectionscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/privateEndpointConnectionsCreateOrUpdateSample.js
[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/privateEndpointConnectionsGetSample.js [privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/privateEndpointConnectionsDeleteSample.js
[privateendpointconnectionslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/privateEndpointConnectionsListByClusterSample.js [privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/privateEndpointConnectionsGetSample.js
[privatelinkresourcesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/privateLinkResourcesGetSample.js [privateendpointconnectionslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/privateEndpointConnectionsListByClusterSample.js
[privatelinkresourceslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/privateLinkResourcesListByClusterSample.js [privatelinkresourcesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/privateLinkResourcesGetSample.js
[scriptactionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/scriptActionsDeleteSample.js [privatelinkresourceslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/privateLinkResourcesListByClusterSample.js
[scriptactionsgetexecutionasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/scriptActionsGetExecutionAsyncOperationStatusSample.js [scriptactionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/scriptActionsDeleteSample.js
[scriptactionsgetexecutiondetailsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/scriptActionsGetExecutionDetailSample.js [scriptactionsgetexecutionasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/scriptActionsGetExecutionAsyncOperationStatusSample.js
[scriptactionslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/scriptActionsListByClusterSample.js [scriptactionsgetexecutiondetailsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/scriptActionsGetExecutionDetailSample.js
[scriptexecutionhistorylistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/scriptExecutionHistoryListByClusterSample.js [scriptactionslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/scriptActionsListByClusterSample.js
[scriptexecutionhistorypromotesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/scriptExecutionHistoryPromoteSample.js [scriptexecutionhistorylistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/scriptExecutionHistoryListByClusterSample.js
[virtualmachinesgetasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/virtualMachinesGetAsyncOperationStatusSample.js [scriptexecutionhistorypromotesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/scriptExecutionHistoryPromoteSample.js
[virtualmachineslisthostssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/virtualMachinesListHostsSample.js [virtualmachinesgetasyncoperationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/virtualMachinesGetAsyncOperationStatusSample.js
[virtualmachinesrestarthostssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1/javascript/virtualMachinesRestartHostsSample.js [virtualmachineslisthostssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/virtualMachinesListHostsSample.js
[virtualmachinesrestarthostssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/hdinsight/arm-hdinsight/samples/v1-beta/javascript/virtualMachinesRestartHostsSample.js
[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-hdinsight?view=azure-node-preview [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-hdinsight?view=azure-node-preview
[freesub]: https://azure.microsoft.com/free/ [freesub]: https://azure.microsoft.com/free/
[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hdinsight/arm-hdinsight/README.md [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hdinsight/arm-hdinsight/README.md

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Creates applications for the HDInsight cluster. * This sample demonstrates how to Creates applications for the HDInsight cluster.
* *
* @summary Creates applications for the HDInsight cluster. * @summary Creates applications for the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateApplication.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateApplication.json
*/ */
async function createApplication() { async function createApplication() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Deletes the specified application on the HDInsight cluster. * This sample demonstrates how to Deletes the specified application on the HDInsight cluster.
* *
* @summary Deletes the specified application on the HDInsight cluster. * @summary Deletes the specified application on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteApplication.json
*/ */
async function deleteApplicationFromHdInsightCluster() { async function deleteApplicationFromHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets the async operation status. * This sample demonstrates how to Gets the async operation status.
* *
* @summary Gets the async operation status. * @summary Gets the async operation status.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetApplicationCreationAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationCreationAsyncOperationStatus.json
*/ */
async function getTheAzureAsyncOperationStatus() { async function getTheAzureAsyncOperationStatus() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets properties of the specified application. * This sample demonstrates how to Gets properties of the specified application.
* *
* @summary Gets properties of the specified application. * @summary Gets properties of the specified application.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetApplicationInProgress.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationInProgress.json
*/ */
async function getApplicationOnHdInsightClusterCreationInProgress() { async function getApplicationOnHdInsightClusterCreationInProgress() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -33,7 +33,7 @@ async function getApplicationOnHdInsightClusterCreationInProgress() {
* This sample demonstrates how to Gets properties of the specified application. * This sample demonstrates how to Gets properties of the specified application.
* *
* @summary Gets properties of the specified application. * @summary Gets properties of the specified application.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetApplicationCreated.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationCreated.json
*/ */
async function getApplicationOnHdInsightClusterSuccessfullyCreated() { async function getApplicationOnHdInsightClusterSuccessfullyCreated() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Lists all of the applications for the HDInsight cluster. * This sample demonstrates how to Lists all of the applications for the HDInsight cluster.
* *
* @summary Lists all of the applications for the HDInsight cluster. * @summary Lists all of the applications for the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetAllApplications.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllApplications.json
*/ */
async function getAllApplicationsForAnHdInsightCluster() { async function getAllApplicationsForAnHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAutoscaleConfig.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
*/ */
async function createHdInsightClusterWithAutoscaleConfiguration() { async function createHdInsightClusterWithAutoscaleConfiguration() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -100,6 +100,7 @@ async function createHdInsightClusterWithAutoscaleConfiguration() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z", container: "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey", key: "storagekey",
}, },
@ -122,7 +123,7 @@ async function createHdInsightClusterWithAutoscaleConfiguration() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopAdlsGen2.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopAdlsGen2.json
*/ */
async function createHadoopClusterWithAzureDataLakeStorageGen2() { async function createHadoopClusterWithAzureDataLakeStorageGen2() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -186,6 +187,7 @@ async function createHadoopClusterWithAzureDataLakeStorageGen2() {
storageaccounts: [ storageaccounts: [
{ {
name: "mystorage.dfs.core.windows.net", name: "mystorage.dfs.core.windows.net",
enableSecureChannel: true,
fileSystem: "default", fileSystem: "default",
isDefault: true, isDefault: true,
key: "storagekey", key: "storagekey",
@ -210,7 +212,7 @@ async function createHadoopClusterWithAzureDataLakeStorageGen2() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPassword.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopSshPassword.json
*/ */
async function createHadoopOnLinuxClusterWithSshPassword() { async function createHadoopOnLinuxClusterWithSshPassword() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -275,6 +277,7 @@ async function createHadoopOnLinuxClusterWithSshPassword() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey", key: "storagekey",
}, },
@ -298,7 +301,7 @@ async function createHadoopOnLinuxClusterWithSshPassword() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPublicKey.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopSshPublicKey.json
*/ */
async function createHadoopOnLinuxClusterWithSshPublicKey() { async function createHadoopOnLinuxClusterWithSshPublicKey() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -363,6 +366,7 @@ async function createHadoopOnLinuxClusterWithSshPublicKey() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey", key: "storagekey",
}, },
@ -386,7 +390,7 @@ async function createHadoopOnLinuxClusterWithSshPublicKey() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateKafkaClusterWithKafkaRestProxy.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json
*/ */
async function createKafkaClusterWithKafkaRestProxy() { async function createKafkaClusterWithKafkaRestProxy() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -467,6 +471,7 @@ async function createKafkaClusterWithKafkaRestProxy() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey", key: "storagekey",
}, },
@ -489,7 +494,7 @@ async function createKafkaClusterWithKafkaRestProxy() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSecureHadoop.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopSecureHadoop.json
*/ */
async function createSecureHadoopCluster() { async function createSecureHadoopCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -584,6 +589,7 @@ async function createSecureHadoopCluster() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storage account key", key: "storage account key",
}, },
@ -607,7 +613,7 @@ async function createSecureHadoopCluster() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxSparkSshPassword.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxSparkSshPassword.json
*/ */
async function createSparkOnLinuxClusterWithSshPassword() { async function createSparkOnLinuxClusterWithSshPassword() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -661,6 +667,7 @@ async function createSparkOnLinuxClusterWithSshPassword() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storageapikey*", key: "storageapikey*",
}, },
@ -684,7 +691,7 @@ async function createSparkOnLinuxClusterWithSshPassword() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithTLS12.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithTLS12.json
*/ */
async function createClusterWithTls12() { async function createClusterWithTls12() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -747,6 +754,7 @@ async function createClusterWithTls12() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "default8525", container: "default8525",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey", key: "storagekey",
}, },
@ -769,7 +777,7 @@ async function createClusterWithTls12() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAvailabilityZones.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithAvailabilityZones.json
*/ */
async function createClusterWithAvailabilityZones() { async function createClusterWithAvailabilityZones() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId";
@ -869,6 +877,7 @@ async function createClusterWithAvailabilityZones() {
{ {
name: "mystorage", name: "mystorage",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storage account key", key: "storage account key",
}, },
@ -891,7 +900,7 @@ async function createClusterWithAvailabilityZones() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithComputeIsolationProperties.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithComputeIsolationProperties.json
*/ */
async function createClusterWithComputeIsolationProperties() { async function createClusterWithComputeIsolationProperties() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId";
@ -948,6 +957,7 @@ async function createClusterWithComputeIsolationProperties() {
{ {
name: "mystorage", name: "mystorage",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storage account key", key: "storage account key",
}, },
@ -969,7 +979,7 @@ async function createClusterWithComputeIsolationProperties() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionAtHost.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithEncryptionAtHost.json
*/ */
async function createClusterWithEncryptionAtHost() { async function createClusterWithEncryptionAtHost() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -1032,6 +1042,7 @@ async function createClusterWithEncryptionAtHost() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "default8525", container: "default8525",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey", key: "storagekey",
}, },
@ -1054,7 +1065,7 @@ async function createClusterWithEncryptionAtHost() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionInTransit.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithEncryptionInTransit.json
*/ */
async function createClusterWithEncryptionInTransit() { async function createClusterWithEncryptionInTransit() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -1117,6 +1128,7 @@ async function createClusterWithEncryptionInTransit() {
{ {
name: "mystorage.blob.core.windows.net", name: "mystorage.blob.core.windows.net",
container: "default8525", container: "default8525",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storagekey", key: "storagekey",
}, },
@ -1139,7 +1151,7 @@ async function createClusterWithEncryptionInTransit() {
* This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters. * This sample demonstrates how to Creates a new HDInsight cluster with the specified parameters.
* *
* @summary Creates a new HDInsight cluster with the specified parameters. * @summary Creates a new HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithCustomNetworkProperties.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithCustomNetworkProperties.json
*/ */
async function createClusterWithNetworkProperties() { async function createClusterWithNetworkProperties() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subId";
@ -1206,6 +1218,7 @@ async function createClusterWithNetworkProperties() {
{ {
name: "mystorage", name: "mystorage",
container: "containername", container: "containername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "storage account key", key: "storage account key",
}, },

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Deletes the specified HDInsight cluster. * This sample demonstrates how to Deletes the specified HDInsight cluster.
* *
* @summary Deletes the specified HDInsight cluster. * @summary Deletes the specified HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteLinuxHadoopCluster.json
*/ */
async function deleteHadoopOnLinuxCluster() { async function deleteHadoopOnLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Executes script actions on the specified HDInsight cluster. * This sample demonstrates how to Executes script actions on the specified HDInsight cluster.
* *
* @summary Executes script actions on the specified HDInsight cluster. * @summary Executes script actions on the specified HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PostExecuteScriptAction.json
*/ */
async function executeScriptActionOnHdInsightCluster() { async function executeScriptActionOnHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to The the async operation status. * This sample demonstrates how to The the async operation status.
* *
* @summary The the async operation status. * @summary The the async operation status.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetClusterCreatingAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetClusterCreatingAsyncOperationStatus.json
*/ */
async function getAsyncOperationStatusOfCreatingCluster() { async function getAsyncOperationStatusOfCreatingCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets the gateway settings for the specified cluster. * This sample demonstrates how to Gets the gateway settings for the specified cluster.
* *
* @summary Gets the gateway settings for the specified cluster. * @summary Gets the gateway settings for the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_GetGatewaySettings.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_GetGatewaySettings.json
*/ */
async function getHttpSettings() { async function getHttpSettings() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets the specified cluster. * This sample demonstrates how to Gets the specified cluster.
* *
* @summary Gets the specified cluster. * @summary Gets the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopCluster.json
*/ */
async function getHadoopOnLinuxCluster() { async function getHadoopOnLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -32,7 +32,7 @@ async function getHadoopOnLinuxCluster() {
* This sample demonstrates how to Gets the specified cluster. * This sample demonstrates how to Gets the specified cluster.
* *
* @summary Gets the specified cluster. * @summary Gets the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxSparkCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxSparkCluster.json
*/ */
async function getSparkOnLinuxCluster() { async function getSparkOnLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Lists the HDInsight clusters in a resource group. * This sample demonstrates how to Lists the HDInsight clusters in a resource group.
* *
* @summary Lists the HDInsight clusters in a resource group. * @summary Lists the HDInsight clusters in a resource group.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopAllClustersInResourceGroup.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json
*/ */
async function getAllHadoopOnLinuxClustersInAResourceGroup() { async function getAllHadoopOnLinuxClustersInAResourceGroup() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Lists all the HDInsight clusters under the subscription. * This sample demonstrates how to Lists all the HDInsight clusters under the subscription.
* *
* @summary Lists all the HDInsight clusters under the subscription. * @summary Lists all the HDInsight clusters under the subscription.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxHadoopAllClusters.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopAllClusters.json
*/ */
async function getAllHadoopOnLinuxClusters() { async function getAllHadoopOnLinuxClusters() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Resizes the specified HDInsight cluster to the specified size. * This sample demonstrates how to Resizes the specified HDInsight cluster to the specified size.
* *
* @summary Resizes the specified HDInsight cluster to the specified size. * @summary Resizes the specified HDInsight cluster to the specified size.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ResizeLinuxHadoopCluster.json
*/ */
async function resizeTheWorkerNodesForAHadoopOnLinuxCluster() { async function resizeTheWorkerNodesForAHadoopOnLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Rotate disk encryption key of the specified HDInsight cluster. * This sample demonstrates how to Rotate disk encryption key of the specified HDInsight cluster.
* *
* @summary Rotate disk encryption key of the specified HDInsight cluster. * @summary Rotate disk encryption key of the specified HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json
*/ */
async function rotateDiskEncryptionKeyOfTheSpecifiedHdInsightCluster() { async function rotateDiskEncryptionKeyOfTheSpecifiedHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster. * This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster.
* *
* @summary Updates the Autoscale Configuration for HDInsight cluster. * @summary Updates the Autoscale Configuration for HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableClusterAutoScale.json
*/ */
async function disableAutoscaleForTheHdInsightCluster() { async function disableAutoscaleForTheHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -39,7 +39,7 @@ async function disableAutoscaleForTheHdInsightCluster() {
* This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster. * This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster.
* *
* @summary Updates the Autoscale Configuration for HDInsight cluster. * @summary Updates the Autoscale Configuration for HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json
*/ */
async function enableOrUpdateAutoscaleWithTheLoadBasedConfigurationForHdInsightCluster() { async function enableOrUpdateAutoscaleWithTheLoadBasedConfigurationForHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -64,7 +64,7 @@ async function enableOrUpdateAutoscaleWithTheLoadBasedConfigurationForHdInsightC
* This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster. * This sample demonstrates how to Updates the Autoscale Configuration for HDInsight cluster.
* *
* @summary Updates the Autoscale Configuration for HDInsight cluster. * @summary Updates the Autoscale Configuration for HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json
*/ */
async function enableOrUpdateAutoscaleWithTheScheduleBasedConfigurationForHdInsightCluster() { async function enableOrUpdateAutoscaleWithTheScheduleBasedConfigurationForHdInsightCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Configures the gateway settings on the specified cluster. * This sample demonstrates how to Configures the gateway settings on the specified cluster.
* *
* @summary Configures the gateway settings on the specified cluster. * @summary Configures the gateway settings on the specified cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
*/ */
async function enableHttpConnectivity() { async function enableHttpConnectivity() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Updates the cluster identity certificate. * This sample demonstrates how to Updates the cluster identity certificate.
* *
* @summary Updates the cluster identity certificate. * @summary Updates the cluster identity certificate.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json
*/ */
async function updateClusterIdentityCertificate() { async function updateClusterIdentityCertificate() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Patch HDInsight cluster with the specified parameters. * This sample demonstrates how to Patch HDInsight cluster with the specified parameters.
* *
* @summary Patch HDInsight cluster with the specified parameters. * @summary Patch HDInsight cluster with the specified parameters.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PatchLinuxHadoopCluster.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PatchLinuxHadoopCluster.json
*/ */
async function patchHdInsightLinuxClusters() { async function patchHdInsightLinuxClusters() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead. * This sample demonstrates how to The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.
* *
* @summary The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead. * @summary The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Configurations_Get.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Configurations_Get.json
*/ */
async function getCoreSiteSettings() { async function getCoreSiteSettings() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets all configuration information for an HDI cluster. * This sample demonstrates how to Gets all configuration information for an HDI cluster.
* *
* @summary Gets all configuration information for an HDI cluster. * @summary Gets all configuration information for an HDI cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Configurations_List.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Configurations_List.json
*/ */
async function getAllConfigurationInformation() { async function getAllConfigurationInformation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. * This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
* *
* @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. * @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ChangeHttpConnectivityDisable.json
*/ */
async function disableHttpConnectivity() { async function disableHttpConnectivity() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -41,7 +41,7 @@ async function disableHttpConnectivity() {
* This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. * This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
* *
* @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. * @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ChangeHttpConnectivityEnable.json
*/ */
async function enableHttpConnectivity() { async function enableHttpConnectivity() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Creates an HDInsight cluster extension. * This sample demonstrates how to Creates an HDInsight cluster extension.
* *
* @summary Creates an HDInsight cluster extension. * @summary Creates an HDInsight cluster extension.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateExtension.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateExtension.json
*/ */
async function createAMonitoringExtensionOnHadoopLinuxCluster() { async function createAMonitoringExtensionOnHadoopLinuxCluster() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Deletes the specified extension for HDInsight cluster. * This sample demonstrates how to Deletes the specified extension for HDInsight cluster.
* *
* @summary Deletes the specified extension for HDInsight cluster. * @summary Deletes the specified extension for HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteExtension.json
*/ */
async function deleteAnExtension() { async function deleteAnExtension() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Disables the Azure Monitor on the HDInsight cluster. * This sample demonstrates how to Disables the Azure Monitor on the HDInsight cluster.
* *
* @summary Disables the Azure Monitor on the HDInsight cluster. * @summary Disables the Azure Monitor on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterAzureMonitor.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Disables the Operations Management Suite (OMS) on the HDInsight cluster. * This sample demonstrates how to Disables the Operations Management Suite (OMS) on the HDInsight cluster.
* *
* @summary Disables the Operations Management Suite (OMS) on the HDInsight cluster. * @summary Disables the Operations Management Suite (OMS) on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterMonitoring.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Enables the Azure Monitor on the HDInsight cluster. * This sample demonstrates how to Enables the Azure Monitor on the HDInsight cluster.
* *
* @summary Enables the Azure Monitor on the HDInsight cluster. * @summary Enables the Azure Monitor on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableLinuxClusterAzureMonitor.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterAzureMonitor.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Enables the Operations Management Suite (OMS) on the HDInsight cluster. * This sample demonstrates how to Enables the Operations Management Suite (OMS) on the HDInsight cluster.
* *
* @summary Enables the Operations Management Suite (OMS) on the HDInsight cluster. * @summary Enables the Operations Management Suite (OMS) on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableLinuxClusterMonitoring.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterMonitoring.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets the async operation status. * This sample demonstrates how to Gets the async operation status.
* *
* @summary Gets the async operation status. * @summary Gets the async operation status.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetExtensionCreationAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtensionCreationAsyncOperationStatus.json
*/ */
async function getsTheAzureAsyncOperationStatus() { async function getsTheAzureAsyncOperationStatus() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets the status of Azure Monitor on the HDInsight cluster. * This sample demonstrates how to Gets the status of Azure Monitor on the HDInsight cluster.
* *
* @summary Gets the status of Azure Monitor on the HDInsight cluster. * @summary Gets the status of Azure Monitor on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxClusterAzureMonitorStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterAzureMonitorStatus.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. * This sample demonstrates how to Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.
* *
* @summary Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. * @summary Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetLinuxClusterMonitoringStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterMonitoringStatus.json
*/ */
async function enableClusterMonitoring() { async function enableClusterMonitoring() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets the extension properties for the specified HDInsight cluster extension. * This sample demonstrates how to Gets the extension properties for the specified HDInsight cluster extension.
* *
* @summary Gets the extension properties for the specified HDInsight cluster extension. * @summary Gets the extension properties for the specified HDInsight cluster extension.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetExtension.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtension.json
*/ */
async function getAnExtension() { async function getAnExtension() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Check the cluster name is available or not. * This sample demonstrates how to Check the cluster name is available or not.
* *
* @summary Check the cluster name is available or not. * @summary Check the cluster name is available or not.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_CheckClusterNameAvailability.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_CheckClusterNameAvailability.json
*/ */
async function getTheSubscriptionUsagesForSpecificLocation() { async function getTheSubscriptionUsagesForSpecificLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Get the async operation status. * This sample demonstrates how to Get the async operation status.
* *
* @summary Get the async operation status. * @summary Get the async operation status.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_GetAsyncOperationStatus.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_GetAsyncOperationStatus.json
*/ */
async function getsTheAzureAsyncOperationStatus() { async function getsTheAzureAsyncOperationStatus() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets the capabilities for the specified location. * This sample demonstrates how to Gets the capabilities for the specified location.
* *
* @summary Gets the capabilities for the specified location. * @summary Gets the capabilities for the specified location.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetHDInsightCapabilities.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightCapabilities.json
*/ */
async function getTheSubscriptionCapabilitiesForSpecificLocation() { async function getTheSubscriptionCapabilitiesForSpecificLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Lists the billingSpecs for the specified subscription and location. * This sample demonstrates how to Lists the billingSpecs for the specified subscription and location.
* *
* @summary Lists the billingSpecs for the specified subscription and location. * @summary Lists the billingSpecs for the specified subscription and location.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_ListBillingSpecs.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_ListBillingSpecs.json
*/ */
async function getTheSubscriptionBillingSpecsForTheSpecifiedLocation() { async function getTheSubscriptionBillingSpecsForTheSpecifiedLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Lists the usages for the specified location. * This sample demonstrates how to Lists the usages for the specified location.
* *
* @summary Lists the usages for the specified location. * @summary Lists the usages for the specified location.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/GetHDInsightUsages.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightUsages.json
*/ */
async function getTheSubscriptionUsagesForSpecificLocation() { async function getTheSubscriptionUsagesForSpecificLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Validate the cluster create request spec is valid or not. * This sample demonstrates how to Validate the cluster create request spec is valid or not.
* *
* @summary Validate the cluster create request spec is valid or not. * @summary Validate the cluster create request spec is valid or not.
* x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Locations_ValidateClusterCreateRequest.json * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_ValidateClusterCreateRequest.json
*/ */
async function getTheSubscriptionUsagesForSpecificLocation() { async function getTheSubscriptionUsagesForSpecificLocation() {
const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid"; const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
@ -97,6 +97,7 @@ async function getTheSubscriptionUsagesForSpecificLocation() {
{ {
name: "storagename.blob.core.windows.net", name: "storagename.blob.core.windows.net",
container: "contianername", container: "contianername",
enableSecureChannel: true,
isDefault: true, isDefault: true,
key: "*******", key: "*******",
resourceId: resourceId:

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше