diff --git a/Tasks/AzureNLBManagementV1/_buildConfigs/Node16/FilesOverriddenForConfigGoHereREADME.txt b/Tasks/AzureNLBManagementV1/_buildConfigs/Node16/FilesOverriddenForConfigGoHereREADME.txt deleted file mode 100644 index b338e624afcd..000000000000 --- a/Tasks/AzureNLBManagementV1/_buildConfigs/Node16/FilesOverriddenForConfigGoHereREADME.txt +++ /dev/null @@ -1 +0,0 @@ -Place files overridden for this config in this directory \ No newline at end of file diff --git a/Tasks/AzureNLBManagementV1/_buildConfigs/Node16/package-lock.json b/Tasks/AzureNLBManagementV1/_buildConfigs/Node16/package-lock.json deleted file mode 100644 index 0d6ce4c1e5e1..000000000000 --- a/Tasks/AzureNLBManagementV1/_buildConfigs/Node16/package-lock.json +++ /dev/null @@ -1,521 +0,0 @@ -{ - "name": "nlbtask", - "version": "1.0.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "@types/concat-stream": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.1.tgz", - "integrity": "sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==", - "requires": { - "@types/node": "*" - } - }, - "@types/form-data": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz", - "integrity": "sha512-8BSvG1kGm83cyJITQMZSulnl6QV8jqAGreJsc5tPu1Jq0vTSOiY/k24Wx82JRpWwZSqrala6sd5rWi6aNXvqcw==", - "requires": { - "@types/node": "*" - } - }, - "@types/mocha": { - "version": "5.2.7", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-5.2.7.tgz", - "integrity": "sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==" - }, - "@types/node": { - "version": "16.18.39", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.39.tgz", - "integrity": "sha512-8q9ZexmdYYyc5/cfujaXb4YOucpQxAV4RMG0himLyDUOEr8Mr79VrqsFI+cQ2M2h89YIuy95lbxuYjxT4Hk4kQ==" - }, - "@types/q": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/q/-/q-1.0.7.tgz", - "integrity": "sha512-0WS7XU7sXzQ7J1nbnMKKYdjrrFoO3YtZYgUzeV8JFXffPnHfvSJQleR70I8BOAsOm14i4dyaAZ3YzqIl1YhkXQ==" - }, - "@types/qs": { - "version": "6.9.7", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", - "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" - }, - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" - }, - "azure-pipelines-task-lib": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-4.4.0.tgz", - "integrity": "sha512-JgtxfjxjRA+KWY0Q5UC1fo48nkbVxFHgKEuasKdJMSNxHydOyNlB5MNw4UTiTXp9b0nnqKeOQOBn5RN3go3aPg==", - "requires": { - "minimatch": "3.0.5", - "mockery": "^2.1.0", - "q": "^1.5.1", - "semver": "^5.1.0", - "shelljs": "^0.8.5", - "sync-request": "6.1.0", - "uuid": "^3.0.1" - }, - "dependencies": { - "q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==" - } - } - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" - }, - "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" - } - }, - "get-port": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", - "integrity": "sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==" - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "dependencies": { - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" - }, - "has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" - }, - "http-basic": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/http-basic/-/http-basic-8.1.3.tgz", - "integrity": "sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==", - "requires": { - "caseless": "^0.12.0", - "concat-stream": "^1.6.2", - "http-response-object": "^3.0.1", - "parse-cache-control": "^1.0.1" - } - }, - "http-response-object": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz", - "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==", - "requires": { - "@types/node": "^10.0.3" - }, - "dependencies": { - "@types/node": { - "version": "10.17.60", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", - "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" - } - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" - }, - "is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", - "requires": { - "has": "^1.0.3" - } - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" - }, - "mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" - }, - "mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "requires": { - "mime-db": "1.52.0" - } - }, - "minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "mockery": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mockery/-/mockery-2.1.0.tgz", - "integrity": "sha512-9VkOmxKlWXoDO/h1jDZaS4lH33aWfRiJiNT/tKj+8OGzrcFDLo8d0syGdbsc3Bc4GvRXPb+NMMvojotmuGJTvA==" - }, - "object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "requires": { - "wrappy": "1" - } - }, - "parse-cache-control": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", - "integrity": "sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==" - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "promise": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz", - "integrity": "sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==", - "requires": { - "asap": "~2.0.6" - } - }, - "q": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", - "integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=" - }, - "qs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz", - "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", - "requires": { - "side-channel": "^1.0.4" - } - }, - "readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", - "requires": { - "resolve": "^1.1.6" - } - }, - "resolve": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", - "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", - "requires": { - "is-core-module": "^2.11.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" - }, - "shelljs": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", - "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", - "requires": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - } - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" - }, - "sync-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/sync-request/-/sync-request-6.1.0.tgz", - "integrity": "sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==", - "requires": { - "http-response-object": "^3.0.1", - "sync-rpc": "^1.2.1", - "then-request": "^6.0.0" - } - }, - "sync-rpc": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/sync-rpc/-/sync-rpc-1.3.6.tgz", - "integrity": "sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==", - "requires": { - "get-port": "^3.1.0" - } - }, - "then-request": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/then-request/-/then-request-6.0.2.tgz", - "integrity": "sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==", - "requires": { - "@types/concat-stream": "^1.6.0", - "@types/form-data": "0.0.33", - "@types/node": "^8.0.0", - "@types/qs": "^6.2.31", - "caseless": "~0.12.0", - "concat-stream": "^1.6.0", - "form-data": "^2.2.0", - "http-basic": "^8.1.1", - "http-response-object": "^3.0.1", - "promise": "^8.0.0", - "qs": "^6.4.0" - }, - "dependencies": { - "@types/node": { - "version": "8.10.66", - "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.66.tgz", - "integrity": "sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==" - } - } - }, - "tunnel": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz", - "integrity": "sha1-LTeFoVjBdMmhbcLARuxfxfF0IhM=" - }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" - }, - "typescript": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", - "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", - "dev": true - }, - "underscore": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.4.tgz", - "integrity": "sha512-BQFnUDuAQ4Yf/cYY5LNrK9NCJFKriaRbD9uR1fTeXnBeoa97W0i41qkZfGO9pSo8I5KzjAcSY2XYtdf0oKd7KQ==" - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" - }, - "vso-node-api": { - "version": "6.0.1-preview", - "resolved": "https://registry.npmjs.org/vso-node-api/-/vso-node-api-6.0.1-preview.tgz", - "integrity": "sha1-RBprv5s8aNpiTbAeo1y6jwpMLKs=", - "requires": { - "q": "^1.0.1", - "tunnel": "0.0.4", - "underscore": "^1.8.3" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - } - } -} diff --git a/Tasks/AzureNLBManagementV1/_buildConfigs/Node16/package.json b/Tasks/AzureNLBManagementV1/_buildConfigs/Node16/package.json deleted file mode 100644 index b72c24514a14..000000000000 --- a/Tasks/AzureNLBManagementV1/_buildConfigs/Node16/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "nlbtask", - "version": "1.0.0", - "description": "Add/Remove a Virtual Machine's Network Interface to the Load Balancer", - "main": "nlbtask.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "Microsoft Corporation", - "license": "MIT", - "dependencies": { - "q": "1.4.1", - "vso-node-api": "6.0.1-preview", - "azure-pipelines-task-lib": "^4.4.0", - "@types/mocha": "^5.2.7", - "@types/node": "^16.11.39", - "@types/q": "1.0.7" - }, - "devDependencies": { - "typescript": "4.0.2" - } -} diff --git a/Tasks/AzureNLBManagementV1/package-lock.json b/Tasks/AzureNLBManagementV1/package-lock.json index e3fcf6d933a6..0d6ce4c1e5e1 100644 --- a/Tasks/AzureNLBManagementV1/package-lock.json +++ b/Tasks/AzureNLBManagementV1/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@types/concat-stream": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.0.tgz", - "integrity": "sha1-OU2+C7X+5Gs42JZzXoto7yOQ0A0=", + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.1.tgz", + "integrity": "sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==", "requires": { "@types/node": "*" } @@ -15,7 +15,7 @@ "@types/form-data": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz", - "integrity": "sha1-yayFsqX9GENbjIXZ7LUObWyJP/g=", + "integrity": "sha512-8BSvG1kGm83cyJITQMZSulnl6QV8jqAGreJsc5tPu1Jq0vTSOiY/k24Wx82JRpWwZSqrala6sd5rWi6aNXvqcw==", "requires": { "@types/node": "*" } @@ -26,9 +26,9 @@ "integrity": "sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==" }, "@types/node": { - "version": "10.17.50", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.50.tgz", - "integrity": "sha512-vwX+/ija9xKc/z9VqMCdbf4WYcMTGsI0I/L/6shIF3qXURxZOhPQlPRHtjTpiNhAwn0paMJzlOQqw6mAGEQnTA==" + "version": "16.18.39", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.39.tgz", + "integrity": "sha512-8q9ZexmdYYyc5/cfujaXb4YOucpQxAV4RMG0himLyDUOEr8Mr79VrqsFI+cQ2M2h89YIuy95lbxuYjxT4Hk4kQ==" }, "@types/q": { "version": "1.0.7", @@ -36,30 +36,30 @@ "integrity": "sha512-0WS7XU7sXzQ7J1nbnMKKYdjrrFoO3YtZYgUzeV8JFXffPnHfvSJQleR70I8BOAsOm14i4dyaAZ3YzqIl1YhkXQ==" }, "@types/qs": { - "version": "6.9.5", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.5.tgz", - "integrity": "sha512-/JHkVHtx/REVG0VVToGRGH2+23hsYLHdyG+GrvoUGlGAd0ErauXDyvHtRI/7H7mzLm+tBCKA7pfcpkQ1lf58iQ==" + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" }, "asap": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "azure-pipelines-task-lib": { - "version": "3.0.6-preview.0", - "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-3.0.6-preview.0.tgz", - "integrity": "sha512-Fx+7p5GzvYqVXOQI+LhPk56Pio9yBeEyypKZoPI9cQyti8WTVkmJ7YZwn9HRXurftcLumi2Xq+TC3PwnDq5U5Q==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-4.4.0.tgz", + "integrity": "sha512-JgtxfjxjRA+KWY0Q5UC1fo48nkbVxFHgKEuasKdJMSNxHydOyNlB5MNw4UTiTXp9b0nnqKeOQOBn5RN3go3aPg==", "requires": { - "minimatch": "3.0.4", - "mockery": "^1.7.0", + "minimatch": "3.0.5", + "mockery": "^2.1.0", "q": "^1.5.1", "semver": "^5.1.0", - "shelljs": "^0.8.4", + "shelljs": "^0.8.5", "sync-request": "6.1.0", "uuid": "^3.0.1" }, @@ -67,14 +67,14 @@ "q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=" + "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==" } } }, "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "brace-expansion": { "version": "1.1.11", @@ -86,9 +86,9 @@ } }, "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" }, "call-bind": { "version": "1.0.2", @@ -102,7 +102,7 @@ "caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" }, "combined-stream": { "version": "1.0.8", @@ -115,7 +115,7 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "concat-stream": { "version": "1.6.2", @@ -129,14 +129,14 @@ } }, "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" }, "form-data": { "version": "2.5.1", @@ -151,7 +151,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "function-bind": { "version": "1.1.1", @@ -172,7 +172,7 @@ "get-port": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", - "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=" + "integrity": "sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==" }, "glob": { "version": "7.2.3", @@ -232,12 +232,19 @@ "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==", "requires": { "@types/node": "^10.0.3" + }, + "dependencies": { + "@types/node": { + "version": "10.17.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", + "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" + } } }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "requires": { "once": "^1.3.0", "wrappy": "1" @@ -254,9 +261,9 @@ "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" }, "is-core-module": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz", - "integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", "requires": { "has": "^1.0.3" } @@ -264,33 +271,33 @@ "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" }, "mime-db": { - "version": "1.45.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz", - "integrity": "sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w==" + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" }, "mime-types": { - "version": "2.1.28", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz", - "integrity": "sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ==", + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "requires": { - "mime-db": "1.45.0" + "mime-db": "1.52.0" } }, "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", "requires": { "brace-expansion": "^1.1.7" } }, "mockery": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/mockery/-/mockery-1.7.0.tgz", - "integrity": "sha1-9O3g2HUMHJcnwnLqLGBiniyaHE8=" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mockery/-/mockery-2.1.0.tgz", + "integrity": "sha512-9VkOmxKlWXoDO/h1jDZaS4lH33aWfRiJiNT/tKj+8OGzrcFDLo8d0syGdbsc3Bc4GvRXPb+NMMvojotmuGJTvA==" }, "object-inspect": { "version": "1.12.3", @@ -300,7 +307,7 @@ "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "requires": { "wrappy": "1" } @@ -308,12 +315,12 @@ "parse-cache-control": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", - "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=" + "integrity": "sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==" }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" }, "path-parse": { "version": "1.0.7", @@ -326,9 +333,9 @@ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, "promise": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/promise/-/promise-8.1.0.tgz", - "integrity": "sha512-W04AqnILOL/sPRXziNicCjSNRruLAuIHEOVBazepu0545DDNGYHz7ar9ZgZ1fMU8/MA4mVxp5rkBWRi6OXIy3Q==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz", + "integrity": "sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==", "requires": { "asap": "~2.0.6" } @@ -347,9 +354,9 @@ } }, "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -363,17 +370,17 @@ "rechoir": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", "requires": { "resolve": "^1.1.6" } }, "resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", "requires": { - "is-core-module": "^2.9.0", + "is-core-module": "^2.11.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -384,9 +391,9 @@ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" }, "shelljs": { "version": "0.8.5", @@ -472,7 +479,7 @@ "typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" }, "typescript": { "version": "4.0.2", @@ -488,7 +495,7 @@ "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "uuid": { "version": "3.4.0", @@ -508,7 +515,7 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" } } } diff --git a/Tasks/AzureNLBManagementV1/package.json b/Tasks/AzureNLBManagementV1/package.json index f22bce66b987..b72c24514a14 100644 --- a/Tasks/AzureNLBManagementV1/package.json +++ b/Tasks/AzureNLBManagementV1/package.json @@ -11,9 +11,9 @@ "dependencies": { "q": "1.4.1", "vso-node-api": "6.0.1-preview", - "azure-pipelines-task-lib": "3.0.6-preview.0", + "azure-pipelines-task-lib": "^4.4.0", "@types/mocha": "^5.2.7", - "@types/node": "^10.17.0", + "@types/node": "^16.11.39", "@types/q": "1.0.7" }, "devDependencies": { diff --git a/Tasks/AzureNLBManagementV1/task.json b/Tasks/AzureNLBManagementV1/task.json index 92a41525f2f1..35cdc4c26bcd 100644 --- a/Tasks/AzureNLBManagementV1/task.json +++ b/Tasks/AzureNLBManagementV1/task.json @@ -16,8 +16,8 @@ ], "version": { "Major": 1, - "Minor": 226, - "Patch": 1 + "Minor": 228, + "Patch": 0 }, "minimumAgentVersion": "1.95.0", "instanceNameFormat": "Azure Network Load Balancer: $(LoadBalancer) - $(Action)", @@ -84,6 +84,10 @@ "execution": { "Node10": { "target": "nlbtask.js" + }, + "Node16": { + "target": "nlbtask.js", + "argumentFormat": "" } }, "messages": { diff --git a/Tasks/AzureNLBManagementV1/task.loc.json b/Tasks/AzureNLBManagementV1/task.loc.json index bdb990a3a790..a37132acde9e 100644 --- a/Tasks/AzureNLBManagementV1/task.loc.json +++ b/Tasks/AzureNLBManagementV1/task.loc.json @@ -16,8 +16,8 @@ ], "version": { "Major": 1, - "Minor": 226, - "Patch": 1 + "Minor": 228, + "Patch": 0 }, "minimumAgentVersion": "1.95.0", "instanceNameFormat": "ms-resource:loc.instanceNameFormat", @@ -84,6 +84,10 @@ "execution": { "Node10": { "target": "nlbtask.js" + }, + "Node16": { + "target": "nlbtask.js", + "argumentFormat": "" } }, "messages": { diff --git a/_generated/AzureNLBManagementV1.versionmap.txt b/_generated/AzureNLBManagementV1.versionmap.txt deleted file mode 100644 index 5b23f81e932d..000000000000 --- a/_generated/AzureNLBManagementV1.versionmap.txt +++ /dev/null @@ -1,2 +0,0 @@ -Default|1.226.1 -Node16-225|1.226.0 diff --git a/_generated/AzureNLBManagementV1/README.md b/_generated/AzureNLBManagementV1/README.md deleted file mode 100644 index 8b137891791f..000000000000 --- a/_generated/AzureNLBManagementV1/README.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/de-DE/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/de-DE/resources.resjson deleted file mode 100644 index eb0189996612..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/de-DE/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure-Netzwerklastenausgleich", - "loc.helpMarkDown": "[Weitere Informationen zu dieser Aufgabe](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Hiermit wird die Netzwerkschnittstelle einer Azure-VM mit einem Load Balancer-Back-End-Adresspool verbunden oder von diesem getrennt.", - "loc.instanceNameFormat": "Azure-Netzwerklastenausgleich: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure-Abonnement", - "loc.input.help.ConnectedServiceName": "Wählen Sie das Azure Resource Manager-Abonnement für die Bereitstellung aus.", - "loc.input.label.ResourceGroupName": "Ressourcengruppe", - "loc.input.help.ResourceGroupName": "Wählen Sie den Namen der Ressourcengruppe aus.", - "loc.input.label.LoadBalancer": "Name des Lastenausgleichs", - "loc.input.help.LoadBalancer": "Wählen Sie den Lastenausgleich aus, oder geben Sie ihn an.", - "loc.input.label.Action": "Aktion", - "loc.input.help.Action": "Verbindung trennen: Trennt die primäre Netzwerkschnittstelle des virtuellen Computers vom Back-End-Pool des Lastenausgleichs. So empfängt sie keinen Netzwerkdatenverkehr mehr.\n\nVerbindung herstellen: Fügt die primäre Netzwerkschnittstelle des virtuellen Computers zum Back-End-Pool des Lastenausgleichs hinzu. So empfängt sie Netzwerkdatenverkehr ausgehend von den Lastenausgleichsregeln der Lastenausgleichsressource.", - "loc.messages.CouldNotFetchNicDetails": "Primäre Konfiguration der Netzwerkschnittstelle für den virtuellen Azure-Computer %s konnte nicht abgerufen werden.", - "loc.messages.ConnectingVMtoLB": "Eine Verbindung zwischen dem virtuellen Azure-Computer und dem Back-End-Pool des Lastenausgleichs %s wird hegestellt.", - "loc.messages.DisconnectingVMfromLB": "Die Verbindung zwischen dem virtuellen Azure-Computer und dem Back-End-Pool des Lastenausgleichs %s wird getrennt.", - "loc.messages.setNICStatusSuccess": "Netzwerkschnittstelle %s erfolgreich festgelegt", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "Maximale Anzahl erneuter Versuche zum Festlegen der Netzwerkschnittstelle überschritten: %s", - "loc.messages.ActionCompletedSuccefully": "Die Aktion %s wurde für den virtuellen Computer %s und den Lastenausgleich %s erfolgreich abgeschlossen.", - "loc.messages.CouldNotFetchAcessToken": "Zugriffstoken konnte nicht abgerufen werden.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Netzwerkschnittstellen in der Ressourcengruppe %s konnten nicht abgerufen werden.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Lastenausgleich %s konnte nicht abgerufen werden.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Netzwerkschnittstelle %s konnte nicht abgerufen werden.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Fehler beim Festlegen der Netzwerkschnittstelle %s.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Festlegen der Netzwerkschnittstelle %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/en-US/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/en-US/resources.resjson deleted file mode 100644 index 7336e0058106..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/en-US/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure Network Load Balancer", - "loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Connect or disconnect an Azure virtual machine's network interface to a Load Balancer's back end address pool", - "loc.instanceNameFormat": "Azure Network Load Balancer: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure Subscription", - "loc.input.help.ConnectedServiceName": "Select the Azure Resource Manager subscription for the deployment.", - "loc.input.label.ResourceGroupName": "Resource Group", - "loc.input.help.ResourceGroupName": "Select the resource group name.", - "loc.input.label.LoadBalancer": "Load Balancer Name", - "loc.input.help.LoadBalancer": "Select or enter the load balancer.", - "loc.input.label.Action": "Action", - "loc.input.help.Action": "Disconnect: Removes the virtual machine’s primary network interface from the load balancer’s backend pool. So that it stops receiving network traffic.\n\nConnect: Adds the virtual machine’s primary network interface to load balancer backend pool. So that it starts receiving network traffic based on the load balancing rules for the load balancer resource.", - "loc.messages.CouldNotFetchNicDetails": "Could not fetch primary network interface configuration for the Azure Virtual Machine : %s", - "loc.messages.ConnectingVMtoLB": "Connecting the Azure Virtual Machine to the Load Balancer - %s's backend pool.", - "loc.messages.DisconnectingVMfromLB": "Disconnecting the Azure Virtual Machine from the Load Balancer - %s's backend pool.", - "loc.messages.setNICStatusSuccess": "Network interface %s set successfully", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "Maximum retries exceeded for setting the Network Interface : %s", - "loc.messages.ActionCompletedSuccefully": "The Action - %s completed successfully for the virtual machine %s and load balancer %s", - "loc.messages.CouldNotFetchAcessToken": "Could not fetch access token.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Could not fetch Network Interfaces in the resource group %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Could not fetch Load Balancer %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Could not fetch Network Interface %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Failed setting the Network Interface %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Setting the network interface %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/es-ES/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/es-ES/resources.resjson deleted file mode 100644 index dd516751f2e1..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/es-ES/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure Network Load Balancer", - "loc.helpMarkDown": "[Obtener más información acerca de esta tarea](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Conecta o desconecta la interfaz de red de una máquina virtual de Azure para un grupo de direcciones de back-end de Load Balancer.", - "loc.instanceNameFormat": "Azure Network Load Balancer: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Suscripción a Azure", - "loc.input.help.ConnectedServiceName": "Seleccione la suscripción de Azure Resource Manager para la implementación.", - "loc.input.label.ResourceGroupName": "Grupo de recursos", - "loc.input.help.ResourceGroupName": "Seleccione el nombre del grupo de recursos.", - "loc.input.label.LoadBalancer": "Nombre del equilibrador de carga", - "loc.input.help.LoadBalancer": "Seleccione o especifique el equilibrador de carga.", - "loc.input.label.Action": "Acción", - "loc.input.help.Action": "Desconectar: quita la interfaz de red principal de la máquina virtual del grupo de back-end del equilibrador de carga, así que deja de recibir tráfico de red.\n\nConectar: agrega la interfaz de red principal de la máquina virtual al grupo de back-end del equilibrador de carga, así que comienza a recibir tráfico de red en función de las reglas de equilibrio de carga del recurso del equilibrador de carga.", - "loc.messages.CouldNotFetchNicDetails": "No se pudo capturar la configuración de la interfaz de red principal para la máquina virtual de Azure : %s", - "loc.messages.ConnectingVMtoLB": "Se conectará la máquina virtual de Azure al equilibrador de carga: grupo de back-end de %s.", - "loc.messages.DisconnectingVMfromLB": "Se desconectará la máquina virtual de Azure de Load Balancer: grupo de back-end de %s", - "loc.messages.setNICStatusSuccess": "Interfaz de red %s configurada correctamente", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "El número máximo de reintentos superó el valor de configuración de la interfaz de red : %s", - "loc.messages.ActionCompletedSuccefully": "La acción - %s se realizó correctamente para la máquina virtual %s y el equilibrador de carga %s", - "loc.messages.CouldNotFetchAcessToken": "No se pudo capturar el token de acceso.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "No se pudieron capturar las interfaces de red del grupo de recursos %s.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "No se pudo capturar el equilibrador de carga %s.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "No se pudo capturar la interfaz de red %s.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "No se pudo configurar la interfaz de red %s.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Configurando la interfaz de red %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/fr-FR/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/fr-FR/resources.resjson deleted file mode 100644 index abf5a28bb08b..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/fr-FR/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Équilibreur de charge réseau Azure", - "loc.helpMarkDown": "[En savoir plus sur cette tâche](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Connecter ou déconnecter l'interface réseau d'une machine virtuelle Azure du pool d'adresses back-end d'un équilibreur de charge", - "loc.instanceNameFormat": "Équilibreur de charge réseau Azure : $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Abonnement Azure", - "loc.input.help.ConnectedServiceName": "Sélectionnez l'abonnement Azure Resource Manager pour le déploiement.", - "loc.input.label.ResourceGroupName": "Groupe de ressources", - "loc.input.help.ResourceGroupName": "Sélectionnez le nom du groupe de ressources.", - "loc.input.label.LoadBalancer": "Nom de l'équilibreur de charge", - "loc.input.help.LoadBalancer": "Sélectionnez ou entrez l'équilibreur de charge.", - "loc.input.label.Action": "Action", - "loc.input.help.Action": "Déconnecter : supprime l'interface réseau principale de la machine virtuelle du pool principal de l'équilibreur de charge. Le trafic réseau n'est donc plus reçu.\n\nConnecter : ajoute l'interface réseau principale de la machine virtuelle au pool principal de l'équilibreur de charge. Le trafic réseau est donc reçu en fonction des règles d'équilibrage de charge définies pour la ressource de l'équilibreur de charge.", - "loc.messages.CouldNotFetchNicDetails": "Impossible de récupérer la configuration de l'interface réseau principale pour la machine virtuelle Azure : %s", - "loc.messages.ConnectingVMtoLB": "Connexion de la machine virtuelle Azure au pool principal de l'équilibreur de charge - %s.", - "loc.messages.DisconnectingVMfromLB": "Déconnexion de la machine virtuelle Azure du pool principal de l'équilibreur de charge - %s.", - "loc.messages.setNICStatusSuccess": "Interface réseau %s définie", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "Nombre maximum de tentatives de définition de l'interface réseau dépassé : %s", - "loc.messages.ActionCompletedSuccefully": "L'action - %s a été exécutée pour la machine virtuelle %s et l'équilibreur de charge %s", - "loc.messages.CouldNotFetchAcessToken": "Impossible de récupérer le jeton d'accès.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Impossible de récupérer les interfaces réseau dans le groupe de ressources %s.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Impossible de récupérer l'équilibreur de charge %s.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Impossible de récupérer l'interface réseau %s.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Échec de la définition de l'interface réseau %s.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Définition de l'interface réseau %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/it-IT/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/it-IT/resources.resjson deleted file mode 100644 index d35c496c8e9d..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/it-IT/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Bilanciamento del carico di rete di Azure", - "loc.helpMarkDown": "[Altre informazioni su questa attività](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Consente di connettere o disconnettere l'interfaccia di rete di una macchina virtuale di Azure al/dal pool di indirizzi back-end di un servizio di bilanciamento del carico", - "loc.instanceNameFormat": "Bilanciamento del carico di rete di Azure: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Sottoscrizione di Azure", - "loc.input.help.ConnectedServiceName": "Selezionare la sottoscrizione di Azure Resource Manager per la distribuzione.", - "loc.input.label.ResourceGroupName": "Gruppo di risorse", - "loc.input.help.ResourceGroupName": "Consente di selezionare il nome del gruppo di risorse.", - "loc.input.label.LoadBalancer": "Nome del servizio di bilanciamento del carico", - "loc.input.help.LoadBalancer": "Consente di selezionare o immettere il servizio di bilanciamento del carico.", - "loc.input.label.Action": "Azione", - "loc.input.help.Action": "Disconnetti: rimuove l'interfaccia di rete primaria della macchina virtuale dal pool di back-end del servizio di bilanciamento del carico in modo che non riceva più il traffico di rete.\n\nConnetti: aggiunge l'interfaccia di rete primaria della macchina virtuale al pool di back-end del servizio di bilanciamento del carico in modo che inizi a ricevere il traffico di rete in base alle regole di bilanciamento del carico definite per la risorsa di bilanciamento del carico.", - "loc.messages.CouldNotFetchNicDetails": "Non è stato possibile recuperare la configurazione dell'interfaccia di rete primaria per la macchina virtuale di Azure: %s", - "loc.messages.ConnectingVMtoLB": "Connessione della macchina virtuale di Azure al pool di back-end del servizio di bilanciamento del carico - %s.", - "loc.messages.DisconnectingVMfromLB": "Disconnessione della macchina virtuale di Azure dal pool di back-end del servizio di bilanciamento del carico - %s.", - "loc.messages.setNICStatusSuccess": "L'interfaccia di rete %s è stata impostata", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "È stato superato il numero massimo di tentativi per l'impostazione dell'interfaccia di rete: %s", - "loc.messages.ActionCompletedSuccefully": "L'azione - %s è stata completata per la macchina virtuale %s e il servizio di bilanciamento del carico %s", - "loc.messages.CouldNotFetchAcessToken": "Non è stato possibile recuperare il token di accesso.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Non è stato possibile recuperare le interfacce di rete nel gruppo di risorse %s.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Non è stato possibile recuperare il servizio di bilanciamento del carico %s.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Non è stato possibile recuperare l'interfaccia di rete %s.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Non è stato possibile impostare l'interfaccia di rete %s.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Impostazione dell'interfaccia di rete %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/ja-JP/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/ja-JP/resources.resjson deleted file mode 100644 index 0c05b63933f4..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/ja-JP/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure ネットワーク ロード バランサー", - "loc.helpMarkDown": "[このタスクの詳細](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Azure 仮想マシンのネットワーク インターフェイスを Load Balancer のバックエンド アドレス プールに接続するか、接続を切断します", - "loc.instanceNameFormat": "Azure ネットワーク ロード バランサー: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure サブスクリプション", - "loc.input.help.ConnectedServiceName": "デプロイ用の Azure Resource Manager サブスクリプションを選択します。", - "loc.input.label.ResourceGroupName": "リソース グループ", - "loc.input.help.ResourceGroupName": "リソース グループ名を選択します。", - "loc.input.label.LoadBalancer": "ロード バランサー名", - "loc.input.help.LoadBalancer": "ロード バランサーを選択または入力します。", - "loc.input.label.Action": "アクション", - "loc.input.help.Action": "切断: 仮想マシンのプライマリ ネットワーク インターフェイスをロード バランサーのバックエンド プールから削除すると、ネットワーク トラフィックの受信が停止されます。\n\n接続: 仮想マシンのプライマリ ネットワーク インターフェイスをロード バランサーのバックエンド プールに追加します。これでロード バランサー リソースの負荷分散規則に基づいてネットワーク トラフィックの受信が開始されます。", - "loc.messages.CouldNotFetchNicDetails": "Azure 仮想マシンのプライマリ ネットワーク インターフェイス構成をフェッチできませんでした : %s", - "loc.messages.ConnectingVMtoLB": "Azure 仮想マシンをロード バランサー - %s のバックエンド プールに接続しています。", - "loc.messages.DisconnectingVMfromLB": "Azure 仮想マシンをロード バランサー - %s のバックエンド プールから切断しています。", - "loc.messages.setNICStatusSuccess": "ネットワーク インターフェイス %s が正常に設定されました", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "ネットワーク インターフェイス設定の最大再試行回数を超えました : %s", - "loc.messages.ActionCompletedSuccefully": "アクション - %s は仮想マシン %s とロード バランサー %s に対して、正常に完了しました", - "loc.messages.CouldNotFetchAcessToken": "アクセス トークンをフェッチできませんでした。\n状態コード : %s\nステータス メッセージ: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "リソース グループ %s のネットワーク インターフェイスをフェッチできませんでした。\n状態コード : %s\nステータス メッセージ: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "ロード バランサー %s をフェッチできませんでした。\n状態コード : %s\nステータス メッセージ: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "ネットワーク インターフェイス %s をフェッチできませんでした。\n状態コード : %s\nステータス メッセージ: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "ネットワーク インターフェイス %s の設定に失敗しました。\n状態コード : %s\nステータス メッセージ : %s\n%s", - "loc.messages.SettingTheNetworkInterface": "ネットワーク インターフェイス %s を設定しています" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/ko-KR/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/ko-KR/resources.resjson deleted file mode 100644 index 795bb9d59ce8..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/ko-KR/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure 네트워크 부하 분산 장치", - "loc.helpMarkDown": "[이 작업에 대한 자세한 정보](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Azure 가상 머신의 네트워크 인터페이스를 Load Balancer의 백 엔드 주소 풀에 연결하거나 연결을 끊습니다.", - "loc.instanceNameFormat": "Azure 네트워크 부하 분산 장치: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure 구독", - "loc.input.help.ConnectedServiceName": "배포에 대한 Azure Resource Manager 구독을 선택합니다.", - "loc.input.label.ResourceGroupName": "리소스 그룹", - "loc.input.help.ResourceGroupName": "리소스 그룹 이름을 선택하세요.", - "loc.input.label.LoadBalancer": "부하 분산 장치 이름", - "loc.input.help.LoadBalancer": "부하 분산 장치를 선택하거나 입력하세요.", - "loc.input.label.Action": "작업", - "loc.input.help.Action": "연결 끊기: 가상 머신의 주 네트워크 인터페이스를 부하 분산 장치의 백 엔드 풀에서 제거하여 이 인터페이스가 네트워크 트래픽을 받지 못하게 합니다.\n\n연결: 가상 머신의 주 네트워크 인터페이스를 부하 분산 장치 백 엔드 풀에 추가하여 이 인터페이스가 부하 분산 장치 리소스의 부하 분산 규칙에 따라 네트워크 트래픽 수신을 시작하도록 합니다.", - "loc.messages.CouldNotFetchNicDetails": "Azure 가상 머신 %s에 대한 주 네트워크 인터페이스 구성을 가져올 수 없습니다.", - "loc.messages.ConnectingVMtoLB": "Azure 가상 머신을 부하 분산 장치 %s의 백 엔드 풀에 연결하는 중입니다.", - "loc.messages.DisconnectingVMfromLB": "부하 분산 장치 %s의 백 엔드 풀에서 Azure 가상 머신의 연결을 끊는 중입니다.", - "loc.messages.setNICStatusSuccess": "네트워크 인터페이스 %s을(를) 설정했습니다.", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "네트워크 인터페이스를 설정하기 위한 최대 다시 시도 횟수를 초과했습니다. %s", - "loc.messages.ActionCompletedSuccefully": "%s 작업이 가상 머신 %s 및 부하 분산 장치 %s에 대해 완료되었습니다.", - "loc.messages.CouldNotFetchAcessToken": "액세스 토큰을 가져올 수 없습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "리소스 그룹 %s에서 네트워크 인터페이스를 가져올 수 없습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "부하 분산 장치 %s을(를) 가져올 수 없습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "네트워크 인터페이스 %s을(를) 가져올 수 없습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "네트워크 인터페이스 %s을(를) 설정하지 못했습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "네트워크 인터페이스 %s을(를) 설정하는 중입니다." -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/ru-RU/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/ru-RU/resources.resjson deleted file mode 100644 index 44443561dab2..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/ru-RU/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Балансировщик сетевой нагрузки Azure", - "loc.helpMarkDown": "[Подробнее об этой задаче](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Подключение или отключение сетевого интерфейса виртуальной машины Azure для серверного пула адресов Load Balancer", - "loc.instanceNameFormat": "Балансировщик сетевой нагрузки Azure: $(LoadBalancer) — $(Action)", - "loc.input.label.ConnectedServiceName": "Подписка Azure", - "loc.input.help.ConnectedServiceName": "Выберите подписку на Azure Resource Manager для развертывания.", - "loc.input.label.ResourceGroupName": "Группа ресурсов", - "loc.input.help.ResourceGroupName": "Выберите имя группы ресурсов.", - "loc.input.label.LoadBalancer": "Название балансировщика нагрузки", - "loc.input.help.LoadBalancer": "Выберите или укажите балансировщик нагрузки.", - "loc.input.label.Action": "Действие", - "loc.input.help.Action": "Отключить: удаляет основной сетевой интерфейс виртуальной машины из серверного пула балансировщика нагрузки (входящий сетевой трафик перекрывается).\n\nПодключить: добавляет основной сетевой интерфейс виртуальной машины в серверный пул балансировщика нагрузки, после чего он начинает получать сетевой трафик для ресурса балансировщика нагрузки на основе правил.", - "loc.messages.CouldNotFetchNicDetails": "Не удалось получить конфигурацию основного сетевого интерфейса для виртуальной машины Azure: %s", - "loc.messages.ConnectingVMtoLB": "Виртуальная машина Azure подключается к серверному пулу %s балансировщика нагрузки.", - "loc.messages.DisconnectingVMfromLB": "Виртуальная машина Azure отключается от серверного пула %s балансировщика нагрузки.", - "loc.messages.setNICStatusSuccess": "Сетевой интерфейс %s настроен", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "Превышено максимальное число повторных попыток настроить сетевой интерфейс: %s", - "loc.messages.ActionCompletedSuccefully": "Действие %s завершено для виртуальной машины %s и балансировщика нагрузки %s", - "loc.messages.CouldNotFetchAcessToken": "Не удалось получить токен доступа.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Не удалось получить сетевые интерфейсы в группе ресурсов %s.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Не удалось получить балансировщик нагрузки %s.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Не удалось получить сетевой интерфейс %s.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Не удалось настроить сетевой интерфейс %s.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Сетевой интерфейс %s настраивается" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/zh-CN/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/zh-CN/resources.resjson deleted file mode 100644 index b92e7fe0bf3b..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/zh-CN/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure 网络负载均衡器", - "loc.helpMarkDown": "[详细了解此任务](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "将 Azure 虚拟机的网络接口连接到负载均衡器的后端地址池,或者断开与该地址池的连接", - "loc.instanceNameFormat": "Azure 网络负载均衡器: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure 订阅", - "loc.input.help.ConnectedServiceName": "为部署选择 Azure 资源管理器订阅。", - "loc.input.label.ResourceGroupName": "资源组", - "loc.input.help.ResourceGroupName": "选择资源组名称。", - "loc.input.label.LoadBalancer": "负载均衡器名称", - "loc.input.help.LoadBalancer": "选择或输入负载均衡器。", - "loc.input.label.Action": "操作", - "loc.input.help.Action": "断开连接: 从负载均衡器的后端池删除虚拟机的主要网络接口,以使其停止接收网络流量。\n\n连接: 将虚拟机的主要网络接口添加到负载均衡器后端池,以使其根据负载均衡器资源的负载均衡规则开始接收网络流量。", - "loc.messages.CouldNotFetchNicDetails": "无法提取 Azure 虚拟机 %s 的主要网络接口配置", - "loc.messages.ConnectingVMtoLB": "正在将 Azure 虚拟机连接到负载均衡器 - %s 的后端池。", - "loc.messages.DisconnectingVMfromLB": "正在将 Azure 虚拟机与负载均衡器 - %s 的后端池断开连接。", - "loc.messages.setNICStatusSuccess": "已成功设置网络接口 %s", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "设置网络接口 %s 的次数超过最大重试次数", - "loc.messages.ActionCompletedSuccefully": "操作 - %s 已成功完成(对虚拟机 %s 和负载均衡器 %s 而言)", - "loc.messages.CouldNotFetchAcessToken": "无法提取访问令牌。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "无法提取资源组 %s 中的网络接口。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "无法提取负载均衡器 %s。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "无法提取网络接口 %s。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "未能设置网络接口 %s。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "设置网络接口 %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Strings/resources.resjson/zh-TW/resources.resjson b/_generated/AzureNLBManagementV1/Strings/resources.resjson/zh-TW/resources.resjson deleted file mode 100644 index 9b3f654ece80..000000000000 --- a/_generated/AzureNLBManagementV1/Strings/resources.resjson/zh-TW/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure 網路負載平衡器", - "loc.helpMarkDown": "[深入了解此工作](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "將 Azure 虛擬機器的網路介面連線至負載平衡器的後端位址集區,或將其中斷連線。", - "loc.instanceNameFormat": "Azure 網路負載平衡器: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure 訂用帳戶", - "loc.input.help.ConnectedServiceName": "選取部署的 Azure Resource Manager 訂用帳戶。", - "loc.input.label.ResourceGroupName": "資源群組", - "loc.input.help.ResourceGroupName": "請選取資源群組名稱。", - "loc.input.label.LoadBalancer": "負載平衡器名稱", - "loc.input.help.LoadBalancer": "請選取或輸入負載平衡器。", - "loc.input.label.Action": "動作", - "loc.input.help.Action": "中斷連線: 從負載平衡器的後端集區移除虛擬機器的主要網路介面,從而讓該網路介面停止接收網路流量。\n\n連線: 將虛擬機器的主要網路介面新增到負載平衡器後端集區,從而讓該網路介面可以依據負載平衡器資源的負載平衡規則,開始接收網路流量。", - "loc.messages.CouldNotFetchNicDetails": "無法擷取 Azure 虛擬機器的主要網路介面組態: %s", - "loc.messages.ConnectingVMtoLB": "正在將 Azure 虛擬機器連線到負載平衡器 - %s 的後端集區。", - "loc.messages.DisconnectingVMfromLB": "正在中斷 Azure 虛擬機器與負載平衡器之間的連線 - %s 的後端集區。", - "loc.messages.setNICStatusSuccess": "網路介面 %s 設定成功", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "超過設定網路介面的次數上限: %s", - "loc.messages.ActionCompletedSuccefully": "已成功為下列兩個項目完成動作 - %s: 虛擬機器 %s 及負載平衡器 %s", - "loc.messages.CouldNotFetchAcessToken": "無法擷取存取權杖。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "無法擷取資源群組 %s 中的網路介面。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "無法擷取負載平衡器 %s。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "無法擷取網路介面 %s。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "設定網路介面 %s 失敗。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "正在設定網路介面 %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Tests/L0.ts b/_generated/AzureNLBManagementV1/Tests/L0.ts deleted file mode 100644 index a1a8630b0f80..000000000000 --- a/_generated/AzureNLBManagementV1/Tests/L0.ts +++ /dev/null @@ -1,92 +0,0 @@ -import * as ttm from 'azure-pipelines-task-lib/mock-test'; -import * as path from 'path'; -import * as assert from 'assert'; - -describe('AzureNLBManagement Suite', function () { - - this.timeout(60000); - - it('disconnects the virtual machine successfully from the load balancer\'s backend pool', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0DisconnectSuccess.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length == 0 && tmr.errorIssues.length == 0, 'should not have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"), "should have said : Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"); - assert(tmr.stdOutContained("loc_mock_DisconnectingVMfromLB"), "should have said : loc_mock_DisconnectingVMfromLB"); - assert(tmr.stdOutContained("loc_mock_SettingTheNetworkInterface"), "should have said : loc_mock_SettingTheNetworkInterface"); - assert(tmr.stdOutContained("loc_mock_setNICStatusSuccess"), "should have said : loc_mock_setNICStatusSuccess"); - assert(tmr.stdOutContained("loc_mock_ActionCompletedSuccefully"), "should have said : loc_mock_ActionCompletedSuccefully"); - assert(tmr.succeeded, 'task should have succeeded'); - done(); - }); - - it('connects the virtual machine successfully to the load balancer\'s backend pool', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0ConnectSuccess.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length == 0 && tmr.errorIssues.length == 0, 'should not have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"), "should have said : Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"); - assert(tmr.stdOutContained("loc_mock_ConnectingVMtoLB"), "should have said : loc_mock_ConnectingVMtoLB"); - assert(tmr.stdOutContained("Getting the load balancer: testLB"), "should have said : Getting the load balancer: testLB"); - assert(tmr.stdOutContained("loc_mock_SettingTheNetworkInterface"), "should have said : loc_mock_SettingTheNetworkInterface"); - assert(tmr.stdOutContained("loc_mock_setNICStatusSuccess"), "should have said : loc_mock_setNICStatusSuccess"); - assert(tmr.stdOutContained("loc_mock_ActionCompletedSuccefully"), "should have said : loc_mock_ActionCompletedSuccefully"); - assert(tmr.succeeded, 'task should have succeeded'); - done(); - }); - - it('fails if primary network interface not found', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0TaskFail.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length > 0 || tmr.errorIssues.length > 0, 'should have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("loc_mock_CouldNotFetchNicDetails"), "should have said : loc_mock_CouldNotFetchNicDetails"); - assert(tmr.failed, 'task should have failed'); - done(); - }); - it('fails if could not fetch all network interfaces in resource group', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0TaskFailNetworkInterfaceRG.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length > 0 || tmr.errorIssues.length > 0, 'should have written to stderr'); - assert(tmr.stdErrContained("loc_mock_CouldNotFetchNetworkInterfacesInRg") || tmr.createdErrorIssue("loc_mock_CouldNotFetchNetworkInterfacesInRg"), "should have said : loc_mock_CouldNotFetchNicDetails"); - assert(tmr.failed, 'task should have failed'); - done(); - }); - it('fails if setting the network interface fails', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0TaskFailSetNetworkInterface.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length > 0 || tmr.errorIssues.length > 0, 'should have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"), "should have said : Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"); - assert(tmr.stdOutContained("loc_mock_DisconnectingVMfromLB"), "should have said : loc_mock_DisconnectingVMfromLB"); - assert(tmr.stdOutContained("loc_mock_SettingTheNetworkInterface"), "should have said : loc_mock_SettingTheNetworkInterface"); - assert(tmr.stdErrContained("loc_mock_FailedSettingNetworkInterface") || tmr.createdErrorIssue("loc_mock_FailedSettingNetworkInterface"), "should have said : loc_mock_FailedSettingNetworkInterface"); - assert(tmr.failed, 'task should have failed'); - done(); - }); - it('connect fails if load balancer not found', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0ConnectFailNoLB.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length > 0 || tmr.errorIssues.length > 0, 'should have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"), "should have said : Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"); - assert(tmr.stdOutContained("loc_mock_ConnectingVMtoLB"), "should have said : loc_mock_ConnectingVMtoLB"); - assert(tmr.stdOutContained("Getting the load balancer: testLB"), "should have said : Getting the load balancer: testLB"); - assert(tmr.stdErrContained("loc_mock_CouldNotFetchLoadBalancer") || tmr.createdErrorIssue("loc_mock_CouldNotFetchLoadBalancer"), "should have said : loc_mock_CouldNotFetchLoadBalancer"); - assert(tmr.failed, 'task should have failed'); - - done(); - }); -}); \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/Tests/L0ConnectFailNoLB.ts b/_generated/AzureNLBManagementV1/Tests/L0ConnectFailNoLB.ts deleted file mode 100644 index 0b656ff423db..000000000000 --- a/_generated/AzureNLBManagementV1/Tests/L0ConnectFailNoLB.ts +++ /dev/null @@ -1,117 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Connect"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - }, - getLoadBalancer: function(SPN, endpointUrl, name, resourceGroupName) { - tl.debug('Getting the load balancer: ' + name); - throw tl.loc("CouldNotFetchLoadBalancer"); - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["mac-nic1", "mac-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1/Tests/L0ConnectSuccess.ts b/_generated/AzureNLBManagementV1/Tests/L0ConnectSuccess.ts deleted file mode 100644 index 4365fb1ddd7d..000000000000 --- a/_generated/AzureNLBManagementV1/Tests/L0ConnectSuccess.ts +++ /dev/null @@ -1,143 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; -import taskinternal = require('azure-pipelines-task-lib/internal'); - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Connect"); -tmr.setInput("NICDetection", "AutoDetectNic"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - }, - setNetworkInterface: function(SPN, endpointUrl, nic, resourceGroupName) { - taskinternal._writeLine(tl.loc("SettingTheNetworkInterface")); - return "setNICStatusSuccess"; - }, - getLoadBalancer: function(SPN, endpointUrl, name, resourceGroupName) { - tl.debug('Getting the load balancer: ' + name); - return { - "name": "xlr8lb", - "id": "xlr8lb-id", - "properties": { - "provisioningState": "Succeeded", - "frontendIPConfigurations": [ - { - "name": "lbFrontend", - "id":"lbFrontend-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "xlr8lb-privateip", - } - }], - "backendAddressPools": [ - { - "name": "xlr8lb-Backend", - "id": "xlr8lb-Backend-id", - }], - } - }; - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["mac-nic1", "mac-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1/Tests/L0DisconnectSuccess.ts b/_generated/AzureNLBManagementV1/Tests/L0DisconnectSuccess.ts deleted file mode 100644 index a145c3bcc665..000000000000 --- a/_generated/AzureNLBManagementV1/Tests/L0DisconnectSuccess.ts +++ /dev/null @@ -1,118 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; -import taskinternal = require('azure-pipelines-task-lib/internal'); - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Disconnect"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - }, - setNetworkInterface: function(SPN, endpointUrl, nic, resourceGroupName) { - taskinternal._writeLine(tl.loc("SettingTheNetworkInterface")); - return "setNICStatusSuccess"; - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["mac-nic1", "mac-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1/Tests/L0TaskFail.ts b/_generated/AzureNLBManagementV1/Tests/L0TaskFail.ts deleted file mode 100644 index b04ce06dcdae..000000000000 --- a/_generated/AzureNLBManagementV1/Tests/L0TaskFail.ts +++ /dev/null @@ -1,114 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Disconnect"); -tmr.setInput("NICDetection", "AutoDetectNic"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["unmatched-nic1", "unmatched-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1/Tests/L0TaskFailNetworkInterfaceRG.ts b/_generated/AzureNLBManagementV1/Tests/L0TaskFailNetworkInterfaceRG.ts deleted file mode 100644 index ac699d9ae708..000000000000 --- a/_generated/AzureNLBManagementV1/Tests/L0TaskFailNetworkInterfaceRG.ts +++ /dev/null @@ -1,27 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Disconnect"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - throw tl.loc("CouldNotFetchNetworkInterfacesInRg"); - } -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1/Tests/L0TaskFailSetNetworkInterface.ts b/_generated/AzureNLBManagementV1/Tests/L0TaskFailSetNetworkInterface.ts deleted file mode 100644 index c2a09f9e6f50..000000000000 --- a/_generated/AzureNLBManagementV1/Tests/L0TaskFailSetNetworkInterface.ts +++ /dev/null @@ -1,119 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; -import taskinternal = require('azure-pipelines-task-lib/internal'); - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Disconnect"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); - -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - }, - setNetworkInterface: function(SPN, endpointUrl, nic, resourceGroupName) { - taskinternal._writeLine(tl.loc("SettingTheNetworkInterface")); - throw tl.loc("FailedSettingNetworkInterface"); - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["mac-nic1", "mac-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1/ThirdPartyNotices.txt b/_generated/AzureNLBManagementV1/ThirdPartyNotices.txt deleted file mode 100644 index 41d3f07e561e..000000000000 --- a/_generated/AzureNLBManagementV1/ThirdPartyNotices.txt +++ /dev/null @@ -1,641 +0,0 @@ - -THIRD-PARTY SOFTWARE NOTICES AND INFORMATION -Do Not Translate or Localize - -Azure NLB Management incorporates third party material from the projects listed below. The original copyright notice and the license under which Microsoft received such third party material are set forth below. Microsoft reserves all other rights not expressly granted, whether by implication, estoppel or otherwise. - -1. balanced-match (https://github.com/juliangruber/balanced-match) -2. brace-expansion (https://github.com/juliangruber/brace-expansion) -3. concat-map (https://github.com/substack/node-concat-map) -4. Glob (https://github.com/isaacs/node-glob) -5. inflight (https://github.com/npm/inflight) -6. inherits (https://github.com/isaacs/inherits) -7. minimatch (https://github.com/isaacs/minimatch) -8. Mockery (https://github.com/mfncooper/mockery) -9. Node.js (https://nodejs.org/) -10. node-uuid (https://github.com/broofa/node-uuid/) -11. once (https://github.com/isaacs/once) -12. path-is-absolute (https://github.com/sindresorhus/path-is-absolute) -13. Q (https://github.com/kriskowal/q) -14. semver (https://github.com/npm/node-semver/) -15. ShellJS (https://github.com/shelljs/shelljs) -16. tunnel (https://github.com/koichik/node-tunnel) -17. underscore.js (http://underscorejs.org/; https://github.com/jashkenas/underscore) -18. vso-node-api (https://github.com/Microsoft/vsts-node-api) -19. VSTS-task-lib (https://github.com/Microsoft/vsts-task-lib) -20. wrappy (https://github.com/npm/wrappy) -21. @types/node (https://www.github.com/DefinitelyTyped/DefinitelyTyped.git) -22. @types/q (https://www.github.com/DefinitelyTyped/DefinitelyTyped.git) -23. @types/mocha (https://github.com/DefinitelyTyped/DefinitelyTyped.git) - -%% balanced-match NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -(MIT) - -Copyright (c) 2013 Julian Gruber - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -========================================= -END OF balanced-match NOTICES, INFORMATION, AND LICENSE - -%% brace-expansion NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -(MIT) - -Copyright (c) 2013 Julian Gruber - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -========================================= -END OF brace-expansion NOTICES, INFORMATION, AND LICENSE - -%% concat-map NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright (c) James Halliday/substack - -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF concat-map NOTICES, INFORMATION, AND LICENSE - -%% Glob NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF Glob NOTICES, INFORMATION, AND LICENSE - -%% inflight NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF inflight NOTICES, INFORMATION, AND LICENSE - -%% inherits NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF inherits NOTICES, INFORMATION, AND LICENSE - -%% minimatch NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF minimatch NOTICES, INFORMATION, AND LICENSE - -%% Mockery NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyrights for code authored by Yahoo! Inc. is licensed under the following -terms: - - MIT License - - Copyright (c) 2011 Yahoo! Inc. All Rights Reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. -========================================= -END OF Mockery NOTICES, INFORMATION, AND LICENSE - -%% Node.js NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Node.js is licensed for use as follows: - -""" -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -This license applies to parts of Node.js originating from the -https://github.com/joyent/node repository: - -""" -Copyright Joyent, Inc. and other Node contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -The Node.js license applies to all parts of Node.js that are not externally -maintained libraries. -========================================= -END OF Node.js NOTICES, INFORMATION, AND LICENSE - -%% node-uuid NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) 2010-2012 Robert Kieffer - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF node-uuid NOTICES, INFORMATION, AND LICENSE - -%% once NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF once NOTICES, INFORMATION, AND LICENSE - -%% path-is-absolute NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -path-is-absolute - -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the Software), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -node.js: - -Copyright Joyent, Inc. and other Node contributors. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -Software), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to permit -persons to whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF path-is-absolute NOTICES, INFORMATION, AND LICENSE - -%% Q NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright 2009�2014 Kristopher Michael Kowal. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - -The file q.js is prefaced by the following additional third-party subcomponent information: - -/*! - * - * Copyright 2009-2012 Kris Kowal under the terms of the MIT - * license found at http://github.com/kriskowal/q/raw/master/LICENSE - * - * With parts by Tyler Close - * Copyright 2007-2009 Tyler Close under the terms of the MIT X license found - * at http://www.opensource.org/licenses/mit-license.html - * Forked at ref_send.js version: 2009-05-11 - * - * With parts by Mark Miller - * Copyright (C) 2011 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -========================================= -END OF Q NOTICES, INFORMATION, AND LICENSE - -%% semver NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF semver NOTICES, INFORMATION, AND LICENSE - -%% ShellJS NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright (c) 2012, Artur Adib -All rights reserved. - -You may use this project under the terms of the New BSD license as follows: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of Artur Adib nor the - names of the contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL ARTUR ADIB BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -========================================= -END OF ShellJS NOTICES, INFORMATION, AND LICENSE - -%% tunnel NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) 2012 Koichi Kobayashi - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -========================================= -END OF tunnel NOTICES, INFORMATION, AND LICENSE - -%% underscore.js NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright (c) 2009-2017 Jeremy Ashkenas, DocumentCloud and Investigative -Reporters & Editors - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -========================================= -END OF underscore.js NOTICES, INFORMATION, AND LICENSE - -%% vso-node-api NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright (c) Microsoft Corporation - -All rights reserved. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and -associated documentation files (the "Software"), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF vso-node-api NOTICES, INFORMATION, AND LICENSE - -%% VSTS-task-lib NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) Microsoft Corporation. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -========================================= -END OF VSTS-task-lib NOTICES, INFORMATION, AND LICENSE - -%% wrappy NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF wrappy NOTICES, INFORMATION, AND LICENSE - -%% @types/mocha NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) Microsoft Corporation. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -========================================= -END OF @types/mocha NOTICES, INFORMATION, AND LICENSE - -%% @types/node NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -MIT License - -Copyright (c) Microsoft Corporation. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -========================================= -END OF @types/node NOTICES, INFORMATION, AND LICENSE - -%% @types/q NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -MIT License - -Copyright (c) Microsoft Corporation. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -========================================= -END OF @types/q NOTICES, INFORMATION, AND LICENSE \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/icon.png b/_generated/AzureNLBManagementV1/icon.png deleted file mode 100644 index 2861efb02f6b..000000000000 Binary files a/_generated/AzureNLBManagementV1/icon.png and /dev/null differ diff --git a/_generated/AzureNLBManagementV1/icon.svg b/_generated/AzureNLBManagementV1/icon.svg deleted file mode 100644 index ac0acaa16544..000000000000 --- a/_generated/AzureNLBManagementV1/icon.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/_generated/AzureNLBManagementV1/nlbazureutility.ts b/_generated/AzureNLBManagementV1/nlbazureutility.ts deleted file mode 100644 index 4fd3abf6d455..000000000000 --- a/_generated/AzureNLBManagementV1/nlbazureutility.ts +++ /dev/null @@ -1,217 +0,0 @@ -import * as tl from 'azure-pipelines-task-lib/task'; -import taskinternal = require('azure-pipelines-task-lib/internal'); -import * as Q from 'q'; -import * as querystring from "querystring"; -import * as httpClient from 'vso-node-api/HttpClient'; - - -var httpObj = new httpClient.HttpCallbackClient(tl.getVariable("AZURE_HTTP_USER_AGENT")); -var defaultAuthUrl = 'https://login.windows.net/'; -var azureApiVersion = '2016-09-01'; - -function getAccessToken(SPN, endpointUrl: string): Q.Promise { - - var deferred = Q.defer(); - var envAuthUrl = (SPN.envAuthUrl) ? SPN.envAuthUrl : defaultAuthUrl; - var authorityUrl = envAuthUrl + SPN.tenantID + "/oauth2/token/"; - - var post_data = querystring.stringify({ - resource: endpointUrl, - client_id: SPN.servicePrincipalClientID, - grant_type: "client_credentials", - client_secret: SPN.servicePrincipalKey - }); - - var requestHeader = { - "Content-Type": "application/x-www-form-urlencoded; charset=utf-8" - }; - - tl.debug(`Requesting for bearer token ${authorityUrl}`); - httpObj.send("POST", authorityUrl, post_data, requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if (response.statusCode == 200) { - deferred.resolve(JSON.parse(body).access_token); - } - else { - deferred.reject(tl.loc("CouldNotFetchAcessToken", response.statusCode, response.statusMessage, body)); - }; - }); - - return deferred.promise; -} - -export async function getNetworkInterfacesInRG(SPN, endpointUrl: string, resourceGroupName: string) { - - var deferred = Q.defer(); - var restUrl = SPN.url + "subscriptions/" + SPN.subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.Network/networkInterfaces?api-version=" + azureApiVersion; - var accessToken = await getAccessToken(SPN, endpointUrl); - - var requestHeader = { - Authorization: 'Bearer ' + accessToken - }; - - tl.debug(`Getting all network interfaces in the resource group ${resourceGroupName}`); - httpObj.get('GET', restUrl, requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if(response.statusCode == 200) { - deferred.resolve(JSON.parse(body).value); - } - else { - deferred.reject(tl.loc("CouldNotFetchNetworkInterfacesInRg", resourceGroupName, response.statusCode, response.statusMessage, body)); - } - - }); - return deferred.promise; -} - -export async function getLoadBalancer(SPN, endpointUrl: string, name: string, resourceGroupName: string) { - - var deferred = Q.defer(); - var restUrl = SPN.url + "subscriptions/" + SPN.subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.Network/loadBalancers/" + name + "?api-version=" + azureApiVersion; - var accessToken = await getAccessToken(SPN, endpointUrl); - - var requestHeader = { - authorization: 'Bearer ' + accessToken - } - - tl.debug(`Getting the load balancer: ${name}`); - httpObj.get('GET', restUrl, requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if(response.statusCode === 200) { - deferred.resolve(JSON.parse(body)); - } - else { - deferred.reject(tl.loc("CouldNotFetchLoadBalancer", name, response.statusCode, response.statusMessage, body)); - } - }); - - return deferred.promise; -} - -export async function getNetworkInterface(SPN, endpointUrl, name: string, resourceGroupName: string) { - var deferred = Q.defer(); - var restUrl = SPN.url + "subscriptions/" + SPN.subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.Network/networkInterfaces/" + name + "?api-version=" + azureApiVersion; - var accessToken = await getAccessToken(SPN, endpointUrl); - - var requestHeader = { - authorization: 'Bearer ' + accessToken - } - - tl.debug(`Getting the Network Interface: ${name}`); - httpObj.get('GET', restUrl, requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if(response.statusCode === 200) { - deferred.resolve(JSON.parse(body)); - } - else { - deferred.reject(tl.loc("CouldNotFetchNetworkInterface", name, response.statusCode, response.statusMessage, body)); - } - }); - - return deferred.promise; -} - -async function checkProvisioningState(url: string, accessToken: string) { - var deferred = Q.defer(); - var headers = { - Authorization: "Bearer " + accessToken - }; - httpObj.get("GET", url, headers, (error, response, body) => { - if(error){ - deferred.reject(error); - } - else if(response.statusCode == 200) { - deferred.resolve(JSON.parse(body).status); - } - else { - deferred.reject(body); - } - }); - return deferred.promise; -} - -export async function setNetworkInterface(SPN, endpointUrl: string, nic, resourceGroupName: string){ - - var deferred = Q.defer(); - var restUrl = SPN.url + "subscriptions/" + SPN.subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.Network/networkInterfaces/" + nic.name + "?api-version=" + azureApiVersion; - var accessToken = await getAccessToken(SPN, endpointUrl); - var requestHeader = { - "Content-Type": "application/json; charset=utf-8", - "Authorization": 'Bearer ' + accessToken - }; - - taskinternal._writeLine(tl.loc("SettingTheNetworkInterface", nic.name)); - var maxRetries = 10; - var sleepTime = (Math.floor(Math.random() * 6) + 5) * 1000; // sleep time in ms - var retryCount = 1; - - setTimeout (function putNetworkInterface() { - if(retryCount > maxRetries) { - deferred.reject(tl.loc("MaxRetriesExceededForSettingNetworkInterface", nic.name)); - return; - } - - tl.debug(`Trial Count = ${retryCount}`); - httpObj.send("PUT", restUrl, JSON.stringify(nic, null, 2), requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if(response.statusCode == 200) { - - // wait for the provisioning state to be succeeded - // check after every 20 seconds - var asyncUrl = response.headers["azure-asyncoperation"]; - var checkStatusRetryCount = 0; - var checkStatusWaitTime = 20000; - setTimeout( async function checkSuccessStatus() { - try { - var provisioningState = await checkProvisioningState(asyncUrl, accessToken); - tl.debug("Status = " + provisioningState); - if(provisioningState == "Succeeded") { - return deferred.resolve("setNICStatusSuccess"); - } - } - catch(error) { - // ignore errors and retry setting the network interface - tl.debug(`Checking provisioning state errored out : ${error}`); - retryCount++; - tl.debug("Retrying setting network interface after " + sleepTime/1000 + " sec"); - return setTimeout(putNetworkInterface, sleepTime); - } - if(++checkStatusRetryCount == 10) { - // Retry setting the network interface - retryCount++; - tl.debug("Retrying setting network interface after " + sleepTime/1000 + " sec"); - setTimeout(putNetworkInterface, sleepTime); - } - else { - // Re-check the status of the provisioning state - setTimeout(checkSuccessStatus, checkStatusWaitTime); - } - }, 1); - } - else if(response.statusCode == 429){ - body = JSON.parse(body); - if(body["error"] && body["error"].code == "RetryableError") { - retryCount++; - tl.debug(JSON.stringify(body, null, 4)); - tl.debug("Retrying setting network interface after " + sleepTime/1000 + " sec"); - setTimeout(putNetworkInterface, sleepTime); - } - } - else { - deferred.reject(tl.loc("FailedSettingNetworkInterface", nic.name, response.statusCode, response.statusMessage, body)); - } - }); - }, 1); - - return deferred.promise; -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/nlbtask.ts b/_generated/AzureNLBManagementV1/nlbtask.ts deleted file mode 100644 index 507e8a61dcf2..000000000000 --- a/_generated/AzureNLBManagementV1/nlbtask.ts +++ /dev/null @@ -1,60 +0,0 @@ -import * as tl from 'azure-pipelines-task-lib/task'; -import taskinternal = require('azure-pipelines-task-lib/internal'); -import * as path from 'path' - -var nlbUtility = require('./nlbazureutility'); -var utility = require('./utility'); - -async function run() { - try { - - tl.setResourcePath(path.join( __dirname, 'task.json')); - var connectedServiceName = tl.getInput('ConnectedServiceName', true); - var resourceGroupName: string = tl.getInput("ResourceGroupName", true); - var loadBalancerName: string = tl.getInput("LoadBalancer", true); - var action: string = tl.getInput("Action", true); - var endPointAuthCreds = tl.getEndpointAuthorization(connectedServiceName, true); - var endpointUrl = tl.getEndpointUrl(connectedServiceName, true); - - var SPN = new Array(); - SPN["servicePrincipalClientID"] = endPointAuthCreds.parameters["serviceprincipalid"]; - SPN["servicePrincipalKey"] = endPointAuthCreds.parameters["serviceprincipalkey"]; - SPN["tenantID"] = endPointAuthCreds.parameters["tenantid"]; - SPN["subscriptionId"] = tl.getEndpointDataParameter(connectedServiceName, 'subscriptionid', true); - SPN["envAuthUrl"] = tl.getEndpointDataParameter(connectedServiceName, 'environmentAuthorityUrl', true); - SPN["url"] = tl.getEndpointUrl(connectedServiceName, true); - - var nicVm = await getNetworkInterface(SPN, endpointUrl, resourceGroupName); - tl.debug(`Network Interface - ${nicVm.name}'s configuration details fetched for the virtual machine ${process.env.COMPUTERNAME}`); - - var nicLbBackendPoolConfig = null; - if (action == "Connect") { - taskinternal._writeLine(tl.loc("ConnectingVMtoLB", loadBalancerName)); - var lb = await nlbUtility.getLoadBalancer(SPN, endpointUrl, loadBalancerName, resourceGroupName); - nicLbBackendPoolConfig = lb.properties.backendAddressPools; - } - else { - taskinternal._writeLine(tl.loc("DisconnectingVMfromLB", loadBalancerName)); - } - nicVm.properties.ipConfigurations[0].properties['loadBalancerBackendAddressPools'] = nicLbBackendPoolConfig; - var setNIStatus = await nlbUtility.setNetworkInterface(SPN, endpointUrl, nicVm, resourceGroupName); - taskinternal._writeLine(tl.loc(setNIStatus, nicVm.name)); - taskinternal._writeLine(tl.loc("ActionCompletedSuccefully", action, process.env.COMPUTERNAME, loadBalancerName)); - } - catch(error) { - tl.setResult(tl.TaskResult.Failed, error); - } -} - -async function getNetworkInterface(SPN, endpointUrl: string, resourceGroupName: string) { - var nics = await nlbUtility.getNetworkInterfacesInRG(SPN, endpointUrl, resourceGroupName); - tl.debug(`Getting Primary Network Interface for the virtual machine : ${process.env.COMPUTERNAME}`); - var nicVm = utility.getPrimaryNetworkInterface(nics); - - if (!nicVm) { - throw tl.loc("CouldNotFetchNicDetails", process.env.COMPUTERNAME); - } - return nicVm; -} - -run(); \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/package-lock.json b/_generated/AzureNLBManagementV1/package-lock.json deleted file mode 100644 index e3fcf6d933a6..000000000000 --- a/_generated/AzureNLBManagementV1/package-lock.json +++ /dev/null @@ -1,514 +0,0 @@ -{ - "name": "nlbtask", - "version": "1.0.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "@types/concat-stream": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.0.tgz", - "integrity": "sha1-OU2+C7X+5Gs42JZzXoto7yOQ0A0=", - "requires": { - "@types/node": "*" - } - }, - "@types/form-data": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz", - "integrity": "sha1-yayFsqX9GENbjIXZ7LUObWyJP/g=", - "requires": { - "@types/node": "*" - } - }, - "@types/mocha": { - "version": "5.2.7", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-5.2.7.tgz", - "integrity": "sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==" - }, - "@types/node": { - "version": "10.17.50", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.50.tgz", - "integrity": "sha512-vwX+/ija9xKc/z9VqMCdbf4WYcMTGsI0I/L/6shIF3qXURxZOhPQlPRHtjTpiNhAwn0paMJzlOQqw6mAGEQnTA==" - }, - "@types/q": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/q/-/q-1.0.7.tgz", - "integrity": "sha512-0WS7XU7sXzQ7J1nbnMKKYdjrrFoO3YtZYgUzeV8JFXffPnHfvSJQleR70I8BOAsOm14i4dyaAZ3YzqIl1YhkXQ==" - }, - "@types/qs": { - "version": "6.9.5", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.5.tgz", - "integrity": "sha512-/JHkVHtx/REVG0VVToGRGH2+23hsYLHdyG+GrvoUGlGAd0ErauXDyvHtRI/7H7mzLm+tBCKA7pfcpkQ1lf58iQ==" - }, - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "azure-pipelines-task-lib": { - "version": "3.0.6-preview.0", - "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-3.0.6-preview.0.tgz", - "integrity": "sha512-Fx+7p5GzvYqVXOQI+LhPk56Pio9yBeEyypKZoPI9cQyti8WTVkmJ7YZwn9HRXurftcLumi2Xq+TC3PwnDq5U5Q==", - "requires": { - "minimatch": "3.0.4", - "mockery": "^1.7.0", - "q": "^1.5.1", - "semver": "^5.1.0", - "shelljs": "^0.8.4", - "sync-request": "6.1.0", - "uuid": "^3.0.1" - }, - "dependencies": { - "q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=" - } - } - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" - }, - "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" - } - }, - "get-port": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", - "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=" - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "dependencies": { - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" - }, - "has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" - }, - "http-basic": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/http-basic/-/http-basic-8.1.3.tgz", - "integrity": "sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==", - "requires": { - "caseless": "^0.12.0", - "concat-stream": "^1.6.2", - "http-response-object": "^3.0.1", - "parse-cache-control": "^1.0.1" - } - }, - "http-response-object": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz", - "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==", - "requires": { - "@types/node": "^10.0.3" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" - }, - "is-core-module": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz", - "integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==", - "requires": { - "has": "^1.0.3" - } - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "mime-db": { - "version": "1.45.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz", - "integrity": "sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w==" - }, - "mime-types": { - "version": "2.1.28", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz", - "integrity": "sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ==", - "requires": { - "mime-db": "1.45.0" - } - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "mockery": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/mockery/-/mockery-1.7.0.tgz", - "integrity": "sha1-9O3g2HUMHJcnwnLqLGBiniyaHE8=" - }, - "object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1" - } - }, - "parse-cache-control": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", - "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=" - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "promise": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/promise/-/promise-8.1.0.tgz", - "integrity": "sha512-W04AqnILOL/sPRXziNicCjSNRruLAuIHEOVBazepu0545DDNGYHz7ar9ZgZ1fMU8/MA4mVxp5rkBWRi6OXIy3Q==", - "requires": { - "asap": "~2.0.6" - } - }, - "q": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", - "integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=" - }, - "qs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz", - "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", - "requires": { - "side-channel": "^1.0.4" - } - }, - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", - "requires": { - "resolve": "^1.1.6" - } - }, - "resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "shelljs": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", - "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", - "requires": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - } - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" - }, - "sync-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/sync-request/-/sync-request-6.1.0.tgz", - "integrity": "sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==", - "requires": { - "http-response-object": "^3.0.1", - "sync-rpc": "^1.2.1", - "then-request": "^6.0.0" - } - }, - "sync-rpc": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/sync-rpc/-/sync-rpc-1.3.6.tgz", - "integrity": "sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==", - "requires": { - "get-port": "^3.1.0" - } - }, - "then-request": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/then-request/-/then-request-6.0.2.tgz", - "integrity": "sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==", - "requires": { - "@types/concat-stream": "^1.6.0", - "@types/form-data": "0.0.33", - "@types/node": "^8.0.0", - "@types/qs": "^6.2.31", - "caseless": "~0.12.0", - "concat-stream": "^1.6.0", - "form-data": "^2.2.0", - "http-basic": "^8.1.1", - "http-response-object": "^3.0.1", - "promise": "^8.0.0", - "qs": "^6.4.0" - }, - "dependencies": { - "@types/node": { - "version": "8.10.66", - "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.66.tgz", - "integrity": "sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==" - } - } - }, - "tunnel": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz", - "integrity": "sha1-LTeFoVjBdMmhbcLARuxfxfF0IhM=" - }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" - }, - "typescript": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", - "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", - "dev": true - }, - "underscore": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.4.tgz", - "integrity": "sha512-BQFnUDuAQ4Yf/cYY5LNrK9NCJFKriaRbD9uR1fTeXnBeoa97W0i41qkZfGO9pSo8I5KzjAcSY2XYtdf0oKd7KQ==" - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" - }, - "vso-node-api": { - "version": "6.0.1-preview", - "resolved": "https://registry.npmjs.org/vso-node-api/-/vso-node-api-6.0.1-preview.tgz", - "integrity": "sha1-RBprv5s8aNpiTbAeo1y6jwpMLKs=", - "requires": { - "q": "^1.0.1", - "tunnel": "0.0.4", - "underscore": "^1.8.3" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - } - } -} diff --git a/_generated/AzureNLBManagementV1/package.json b/_generated/AzureNLBManagementV1/package.json deleted file mode 100644 index f22bce66b987..000000000000 --- a/_generated/AzureNLBManagementV1/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "nlbtask", - "version": "1.0.0", - "description": "Add/Remove a Virtual Machine's Network Interface to the Load Balancer", - "main": "nlbtask.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "Microsoft Corporation", - "license": "MIT", - "dependencies": { - "q": "1.4.1", - "vso-node-api": "6.0.1-preview", - "azure-pipelines-task-lib": "3.0.6-preview.0", - "@types/mocha": "^5.2.7", - "@types/node": "^10.17.0", - "@types/q": "1.0.7" - }, - "devDependencies": { - "typescript": "4.0.2" - } -} diff --git a/_generated/AzureNLBManagementV1/task.json b/_generated/AzureNLBManagementV1/task.json deleted file mode 100644 index 2a87d6e6cd58..000000000000 --- a/_generated/AzureNLBManagementV1/task.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "id": "e94f1750-a6a8-11e6-be69-bdf37a7b15d8", - "name": "AzureNLBManagement", - "friendlyName": "Azure Network Load Balancer", - "description": "Connect or disconnect an Azure virtual machine's network interface to a Load Balancer's back end address pool", - "author": "Microsoft Corporation", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/azure-nlb-management", - "helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=837723)", - "category": "Utility", - "visibility": [ - "Build", - "Release" - ], - "runsOn": [ - "DeploymentGroup" - ], - "version": { - "Major": 1, - "Minor": 226, - "Patch": 1 - }, - "minimumAgentVersion": "1.95.0", - "instanceNameFormat": "Azure Network Load Balancer: $(LoadBalancer) - $(Action)", - "inputs": [ - { - "name": "ConnectedServiceName", - "aliases": [ - "azureSubscription" - ], - "type": "connectedService:AzureRM", - "label": "Azure Subscription", - "defaultValue": "", - "required": true, - "helpMarkDown": "Select the Azure Resource Manager subscription for the deployment." - }, - { - "name": "ResourceGroupName", - "type": "pickList", - "label": "Resource Group", - "required": true, - "helpMarkDown": "Select the resource group name.", - "properties": { - "EditableOptions": "True" - } - }, - { - "name": "LoadBalancer", - "type": "pickList", - "label": "Load Balancer Name", - "required": true, - "helpMarkDown": "Select or enter the load balancer.", - "properties": { - "EditableOptions": "True" - } - }, - { - "name": "Action", - "type": "pickList", - "label": "Action", - "defaultValue": "", - "required": true, - "options": { - "Disconnect": "Disconnect Primary Network Interface", - "Connect": "Connect Primary Network Interface" - }, - "helpMarkDown": "Disconnect: Removes the virtual machine’s primary network interface from the load balancer’s backend pool. So that it stops receiving network traffic.\n\nConnect: Adds the virtual machine’s primary network interface to load balancer backend pool. So that it starts receiving network traffic based on the load balancing rules for the load balancer resource." - } - ], - "dataSourceBindings": [ - { - "target": "ResourceGroupName", - "endpointId": "$(ConnectedServiceName)", - "dataSourceName": "AzureResourceGroups" - }, - { - "target": "LoadBalancer", - "endpointId": "$(ConnectedServiceName)", - "dataSourceName": "AzureRMLoadBalancers", - "parameters": { - "ResourceGroupName": "$(ResourceGroupName)" - } - } - ], - "execution": { - "Node10": { - "target": "nlbtask.js" - } - }, - "messages": { - "CouldNotFetchNicDetails": "Could not fetch primary network interface configuration for the Azure Virtual Machine : %s", - "ConnectingVMtoLB": "Connecting the Azure Virtual Machine to the Load Balancer - %s's backend pool.", - "DisconnectingVMfromLB": "Disconnecting the Azure Virtual Machine from the Load Balancer - %s's backend pool.", - "setNICStatusSuccess": "Network interface %s set successfully", - "MaxRetriesExceededForSettingNetworkInterface": "Maximum retries exceeded for setting the Network Interface : %s", - "ActionCompletedSuccefully": "The Action - %s completed successfully for the virtual machine %s and load balancer %s", - "CouldNotFetchAcessToken": "Could not fetch access token.\nStatus Code : %s\nStatus Message : %s\n%s", - "CouldNotFetchNetworkInterfacesInRg": "Could not fetch Network Interfaces in the resource group %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "CouldNotFetchLoadBalancer": "Could not fetch Load Balancer %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "CouldNotFetchNetworkInterface": "Could not fetch Network Interface %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "FailedSettingNetworkInterface": "Failed setting the Network Interface %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "SettingTheNetworkInterface": "Setting the network interface %s" - }, - "_buildConfigMapping": { - "Default": "1.226.1", - "Node16-225": "1.226.0" - } -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/task.loc.json b/_generated/AzureNLBManagementV1/task.loc.json deleted file mode 100644 index dbcd6387440b..000000000000 --- a/_generated/AzureNLBManagementV1/task.loc.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "id": "e94f1750-a6a8-11e6-be69-bdf37a7b15d8", - "name": "AzureNLBManagement", - "friendlyName": "ms-resource:loc.friendlyName", - "description": "ms-resource:loc.description", - "author": "Microsoft Corporation", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/azure-nlb-management", - "helpMarkDown": "ms-resource:loc.helpMarkDown", - "category": "Utility", - "visibility": [ - "Build", - "Release" - ], - "runsOn": [ - "DeploymentGroup" - ], - "version": { - "Major": 1, - "Minor": 226, - "Patch": 1 - }, - "minimumAgentVersion": "1.95.0", - "instanceNameFormat": "ms-resource:loc.instanceNameFormat", - "inputs": [ - { - "name": "ConnectedServiceName", - "aliases": [ - "azureSubscription" - ], - "type": "connectedService:AzureRM", - "label": "ms-resource:loc.input.label.ConnectedServiceName", - "defaultValue": "", - "required": true, - "helpMarkDown": "ms-resource:loc.input.help.ConnectedServiceName" - }, - { - "name": "ResourceGroupName", - "type": "pickList", - "label": "ms-resource:loc.input.label.ResourceGroupName", - "required": true, - "helpMarkDown": "ms-resource:loc.input.help.ResourceGroupName", - "properties": { - "EditableOptions": "True" - } - }, - { - "name": "LoadBalancer", - "type": "pickList", - "label": "ms-resource:loc.input.label.LoadBalancer", - "required": true, - "helpMarkDown": "ms-resource:loc.input.help.LoadBalancer", - "properties": { - "EditableOptions": "True" - } - }, - { - "name": "Action", - "type": "pickList", - "label": "ms-resource:loc.input.label.Action", - "defaultValue": "", - "required": true, - "options": { - "Disconnect": "Disconnect Primary Network Interface", - "Connect": "Connect Primary Network Interface" - }, - "helpMarkDown": "ms-resource:loc.input.help.Action" - } - ], - "dataSourceBindings": [ - { - "target": "ResourceGroupName", - "endpointId": "$(ConnectedServiceName)", - "dataSourceName": "AzureResourceGroups" - }, - { - "target": "LoadBalancer", - "endpointId": "$(ConnectedServiceName)", - "dataSourceName": "AzureRMLoadBalancers", - "parameters": { - "ResourceGroupName": "$(ResourceGroupName)" - } - } - ], - "execution": { - "Node10": { - "target": "nlbtask.js" - } - }, - "messages": { - "CouldNotFetchNicDetails": "ms-resource:loc.messages.CouldNotFetchNicDetails", - "ConnectingVMtoLB": "ms-resource:loc.messages.ConnectingVMtoLB", - "DisconnectingVMfromLB": "ms-resource:loc.messages.DisconnectingVMfromLB", - "setNICStatusSuccess": "ms-resource:loc.messages.setNICStatusSuccess", - "MaxRetriesExceededForSettingNetworkInterface": "ms-resource:loc.messages.MaxRetriesExceededForSettingNetworkInterface", - "ActionCompletedSuccefully": "ms-resource:loc.messages.ActionCompletedSuccefully", - "CouldNotFetchAcessToken": "ms-resource:loc.messages.CouldNotFetchAcessToken", - "CouldNotFetchNetworkInterfacesInRg": "ms-resource:loc.messages.CouldNotFetchNetworkInterfacesInRg", - "CouldNotFetchLoadBalancer": "ms-resource:loc.messages.CouldNotFetchLoadBalancer", - "CouldNotFetchNetworkInterface": "ms-resource:loc.messages.CouldNotFetchNetworkInterface", - "FailedSettingNetworkInterface": "ms-resource:loc.messages.FailedSettingNetworkInterface", - "SettingTheNetworkInterface": "ms-resource:loc.messages.SettingTheNetworkInterface" - }, - "_buildConfigMapping": { - "Default": "1.226.1", - "Node16-225": "1.226.0" - } -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/tsconfig.json b/_generated/AzureNLBManagementV1/tsconfig.json deleted file mode 100644 index 1fdde76dae0e..000000000000 --- a/_generated/AzureNLBManagementV1/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "skipLibCheck": true - } -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1/utility.ts b/_generated/AzureNLBManagementV1/utility.ts deleted file mode 100644 index 180f3ee37b85..000000000000 --- a/_generated/AzureNLBManagementV1/utility.ts +++ /dev/null @@ -1,30 +0,0 @@ -import * as os from 'os'; - -export function getMacAddress(): string[] { - // Return an array of mac address of all the network interfaces - var macAddress = []; - var networkInterfaces = os.networkInterfaces(); - Object.keys(networkInterfaces).forEach( (interfaceName) => { - networkInterfaces[interfaceName].forEach( (interFace) => { - if (interFace.internal) { - return; - } - macAddress.push(interFace.mac.toUpperCase().replace(/:/g, "-")); - }); - }); - return macAddress; -} - -export function getPrimaryNetworkInterface(nics) { - var macAddress = this.getMacAddress(); - var primaryNic = null; - for (var mac in macAddress) { - for (var nic in nics) { - if(nics[nic].properties.macAddress == macAddress[mac] && nics[nic].properties.primary) { - primaryNic = nics[nic]; - break; - } - } - } - return primaryNic; -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/README.md b/_generated/AzureNLBManagementV1_Node16/README.md deleted file mode 100644 index 8b137891791f..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/README.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/de-DE/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/de-DE/resources.resjson deleted file mode 100644 index eb0189996612..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/de-DE/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure-Netzwerklastenausgleich", - "loc.helpMarkDown": "[Weitere Informationen zu dieser Aufgabe](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Hiermit wird die Netzwerkschnittstelle einer Azure-VM mit einem Load Balancer-Back-End-Adresspool verbunden oder von diesem getrennt.", - "loc.instanceNameFormat": "Azure-Netzwerklastenausgleich: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure-Abonnement", - "loc.input.help.ConnectedServiceName": "Wählen Sie das Azure Resource Manager-Abonnement für die Bereitstellung aus.", - "loc.input.label.ResourceGroupName": "Ressourcengruppe", - "loc.input.help.ResourceGroupName": "Wählen Sie den Namen der Ressourcengruppe aus.", - "loc.input.label.LoadBalancer": "Name des Lastenausgleichs", - "loc.input.help.LoadBalancer": "Wählen Sie den Lastenausgleich aus, oder geben Sie ihn an.", - "loc.input.label.Action": "Aktion", - "loc.input.help.Action": "Verbindung trennen: Trennt die primäre Netzwerkschnittstelle des virtuellen Computers vom Back-End-Pool des Lastenausgleichs. So empfängt sie keinen Netzwerkdatenverkehr mehr.\n\nVerbindung herstellen: Fügt die primäre Netzwerkschnittstelle des virtuellen Computers zum Back-End-Pool des Lastenausgleichs hinzu. So empfängt sie Netzwerkdatenverkehr ausgehend von den Lastenausgleichsregeln der Lastenausgleichsressource.", - "loc.messages.CouldNotFetchNicDetails": "Primäre Konfiguration der Netzwerkschnittstelle für den virtuellen Azure-Computer %s konnte nicht abgerufen werden.", - "loc.messages.ConnectingVMtoLB": "Eine Verbindung zwischen dem virtuellen Azure-Computer und dem Back-End-Pool des Lastenausgleichs %s wird hegestellt.", - "loc.messages.DisconnectingVMfromLB": "Die Verbindung zwischen dem virtuellen Azure-Computer und dem Back-End-Pool des Lastenausgleichs %s wird getrennt.", - "loc.messages.setNICStatusSuccess": "Netzwerkschnittstelle %s erfolgreich festgelegt", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "Maximale Anzahl erneuter Versuche zum Festlegen der Netzwerkschnittstelle überschritten: %s", - "loc.messages.ActionCompletedSuccefully": "Die Aktion %s wurde für den virtuellen Computer %s und den Lastenausgleich %s erfolgreich abgeschlossen.", - "loc.messages.CouldNotFetchAcessToken": "Zugriffstoken konnte nicht abgerufen werden.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Netzwerkschnittstellen in der Ressourcengruppe %s konnten nicht abgerufen werden.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Lastenausgleich %s konnte nicht abgerufen werden.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Netzwerkschnittstelle %s konnte nicht abgerufen werden.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Fehler beim Festlegen der Netzwerkschnittstelle %s.\nStatuscode: %s\nStatusmeldung: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Festlegen der Netzwerkschnittstelle %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/en-US/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/en-US/resources.resjson deleted file mode 100644 index 7336e0058106..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/en-US/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure Network Load Balancer", - "loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Connect or disconnect an Azure virtual machine's network interface to a Load Balancer's back end address pool", - "loc.instanceNameFormat": "Azure Network Load Balancer: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure Subscription", - "loc.input.help.ConnectedServiceName": "Select the Azure Resource Manager subscription for the deployment.", - "loc.input.label.ResourceGroupName": "Resource Group", - "loc.input.help.ResourceGroupName": "Select the resource group name.", - "loc.input.label.LoadBalancer": "Load Balancer Name", - "loc.input.help.LoadBalancer": "Select or enter the load balancer.", - "loc.input.label.Action": "Action", - "loc.input.help.Action": "Disconnect: Removes the virtual machine’s primary network interface from the load balancer’s backend pool. So that it stops receiving network traffic.\n\nConnect: Adds the virtual machine’s primary network interface to load balancer backend pool. So that it starts receiving network traffic based on the load balancing rules for the load balancer resource.", - "loc.messages.CouldNotFetchNicDetails": "Could not fetch primary network interface configuration for the Azure Virtual Machine : %s", - "loc.messages.ConnectingVMtoLB": "Connecting the Azure Virtual Machine to the Load Balancer - %s's backend pool.", - "loc.messages.DisconnectingVMfromLB": "Disconnecting the Azure Virtual Machine from the Load Balancer - %s's backend pool.", - "loc.messages.setNICStatusSuccess": "Network interface %s set successfully", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "Maximum retries exceeded for setting the Network Interface : %s", - "loc.messages.ActionCompletedSuccefully": "The Action - %s completed successfully for the virtual machine %s and load balancer %s", - "loc.messages.CouldNotFetchAcessToken": "Could not fetch access token.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Could not fetch Network Interfaces in the resource group %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Could not fetch Load Balancer %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Could not fetch Network Interface %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Failed setting the Network Interface %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Setting the network interface %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/es-ES/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/es-ES/resources.resjson deleted file mode 100644 index dd516751f2e1..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/es-ES/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure Network Load Balancer", - "loc.helpMarkDown": "[Obtener más información acerca de esta tarea](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Conecta o desconecta la interfaz de red de una máquina virtual de Azure para un grupo de direcciones de back-end de Load Balancer.", - "loc.instanceNameFormat": "Azure Network Load Balancer: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Suscripción a Azure", - "loc.input.help.ConnectedServiceName": "Seleccione la suscripción de Azure Resource Manager para la implementación.", - "loc.input.label.ResourceGroupName": "Grupo de recursos", - "loc.input.help.ResourceGroupName": "Seleccione el nombre del grupo de recursos.", - "loc.input.label.LoadBalancer": "Nombre del equilibrador de carga", - "loc.input.help.LoadBalancer": "Seleccione o especifique el equilibrador de carga.", - "loc.input.label.Action": "Acción", - "loc.input.help.Action": "Desconectar: quita la interfaz de red principal de la máquina virtual del grupo de back-end del equilibrador de carga, así que deja de recibir tráfico de red.\n\nConectar: agrega la interfaz de red principal de la máquina virtual al grupo de back-end del equilibrador de carga, así que comienza a recibir tráfico de red en función de las reglas de equilibrio de carga del recurso del equilibrador de carga.", - "loc.messages.CouldNotFetchNicDetails": "No se pudo capturar la configuración de la interfaz de red principal para la máquina virtual de Azure : %s", - "loc.messages.ConnectingVMtoLB": "Se conectará la máquina virtual de Azure al equilibrador de carga: grupo de back-end de %s.", - "loc.messages.DisconnectingVMfromLB": "Se desconectará la máquina virtual de Azure de Load Balancer: grupo de back-end de %s", - "loc.messages.setNICStatusSuccess": "Interfaz de red %s configurada correctamente", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "El número máximo de reintentos superó el valor de configuración de la interfaz de red : %s", - "loc.messages.ActionCompletedSuccefully": "La acción - %s se realizó correctamente para la máquina virtual %s y el equilibrador de carga %s", - "loc.messages.CouldNotFetchAcessToken": "No se pudo capturar el token de acceso.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "No se pudieron capturar las interfaces de red del grupo de recursos %s.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "No se pudo capturar el equilibrador de carga %s.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "No se pudo capturar la interfaz de red %s.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "No se pudo configurar la interfaz de red %s.\nCódigo de estado : %s\nMensaje de estado : %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Configurando la interfaz de red %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/fr-FR/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/fr-FR/resources.resjson deleted file mode 100644 index abf5a28bb08b..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/fr-FR/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Équilibreur de charge réseau Azure", - "loc.helpMarkDown": "[En savoir plus sur cette tâche](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Connecter ou déconnecter l'interface réseau d'une machine virtuelle Azure du pool d'adresses back-end d'un équilibreur de charge", - "loc.instanceNameFormat": "Équilibreur de charge réseau Azure : $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Abonnement Azure", - "loc.input.help.ConnectedServiceName": "Sélectionnez l'abonnement Azure Resource Manager pour le déploiement.", - "loc.input.label.ResourceGroupName": "Groupe de ressources", - "loc.input.help.ResourceGroupName": "Sélectionnez le nom du groupe de ressources.", - "loc.input.label.LoadBalancer": "Nom de l'équilibreur de charge", - "loc.input.help.LoadBalancer": "Sélectionnez ou entrez l'équilibreur de charge.", - "loc.input.label.Action": "Action", - "loc.input.help.Action": "Déconnecter : supprime l'interface réseau principale de la machine virtuelle du pool principal de l'équilibreur de charge. Le trafic réseau n'est donc plus reçu.\n\nConnecter : ajoute l'interface réseau principale de la machine virtuelle au pool principal de l'équilibreur de charge. Le trafic réseau est donc reçu en fonction des règles d'équilibrage de charge définies pour la ressource de l'équilibreur de charge.", - "loc.messages.CouldNotFetchNicDetails": "Impossible de récupérer la configuration de l'interface réseau principale pour la machine virtuelle Azure : %s", - "loc.messages.ConnectingVMtoLB": "Connexion de la machine virtuelle Azure au pool principal de l'équilibreur de charge - %s.", - "loc.messages.DisconnectingVMfromLB": "Déconnexion de la machine virtuelle Azure du pool principal de l'équilibreur de charge - %s.", - "loc.messages.setNICStatusSuccess": "Interface réseau %s définie", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "Nombre maximum de tentatives de définition de l'interface réseau dépassé : %s", - "loc.messages.ActionCompletedSuccefully": "L'action - %s a été exécutée pour la machine virtuelle %s et l'équilibreur de charge %s", - "loc.messages.CouldNotFetchAcessToken": "Impossible de récupérer le jeton d'accès.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Impossible de récupérer les interfaces réseau dans le groupe de ressources %s.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Impossible de récupérer l'équilibreur de charge %s.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Impossible de récupérer l'interface réseau %s.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Échec de la définition de l'interface réseau %s.\nCode d'état : %s\nMessage d'état : %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Définition de l'interface réseau %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/it-IT/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/it-IT/resources.resjson deleted file mode 100644 index d35c496c8e9d..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/it-IT/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Bilanciamento del carico di rete di Azure", - "loc.helpMarkDown": "[Altre informazioni su questa attività](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Consente di connettere o disconnettere l'interfaccia di rete di una macchina virtuale di Azure al/dal pool di indirizzi back-end di un servizio di bilanciamento del carico", - "loc.instanceNameFormat": "Bilanciamento del carico di rete di Azure: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Sottoscrizione di Azure", - "loc.input.help.ConnectedServiceName": "Selezionare la sottoscrizione di Azure Resource Manager per la distribuzione.", - "loc.input.label.ResourceGroupName": "Gruppo di risorse", - "loc.input.help.ResourceGroupName": "Consente di selezionare il nome del gruppo di risorse.", - "loc.input.label.LoadBalancer": "Nome del servizio di bilanciamento del carico", - "loc.input.help.LoadBalancer": "Consente di selezionare o immettere il servizio di bilanciamento del carico.", - "loc.input.label.Action": "Azione", - "loc.input.help.Action": "Disconnetti: rimuove l'interfaccia di rete primaria della macchina virtuale dal pool di back-end del servizio di bilanciamento del carico in modo che non riceva più il traffico di rete.\n\nConnetti: aggiunge l'interfaccia di rete primaria della macchina virtuale al pool di back-end del servizio di bilanciamento del carico in modo che inizi a ricevere il traffico di rete in base alle regole di bilanciamento del carico definite per la risorsa di bilanciamento del carico.", - "loc.messages.CouldNotFetchNicDetails": "Non è stato possibile recuperare la configurazione dell'interfaccia di rete primaria per la macchina virtuale di Azure: %s", - "loc.messages.ConnectingVMtoLB": "Connessione della macchina virtuale di Azure al pool di back-end del servizio di bilanciamento del carico - %s.", - "loc.messages.DisconnectingVMfromLB": "Disconnessione della macchina virtuale di Azure dal pool di back-end del servizio di bilanciamento del carico - %s.", - "loc.messages.setNICStatusSuccess": "L'interfaccia di rete %s è stata impostata", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "È stato superato il numero massimo di tentativi per l'impostazione dell'interfaccia di rete: %s", - "loc.messages.ActionCompletedSuccefully": "L'azione - %s è stata completata per la macchina virtuale %s e il servizio di bilanciamento del carico %s", - "loc.messages.CouldNotFetchAcessToken": "Non è stato possibile recuperare il token di accesso.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Non è stato possibile recuperare le interfacce di rete nel gruppo di risorse %s.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Non è stato possibile recuperare il servizio di bilanciamento del carico %s.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Non è stato possibile recuperare l'interfaccia di rete %s.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Non è stato possibile impostare l'interfaccia di rete %s.\nCodice di stato: %s\nMessaggio di stato: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Impostazione dell'interfaccia di rete %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/ja-JP/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/ja-JP/resources.resjson deleted file mode 100644 index 0c05b63933f4..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/ja-JP/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure ネットワーク ロード バランサー", - "loc.helpMarkDown": "[このタスクの詳細](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Azure 仮想マシンのネットワーク インターフェイスを Load Balancer のバックエンド アドレス プールに接続するか、接続を切断します", - "loc.instanceNameFormat": "Azure ネットワーク ロード バランサー: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure サブスクリプション", - "loc.input.help.ConnectedServiceName": "デプロイ用の Azure Resource Manager サブスクリプションを選択します。", - "loc.input.label.ResourceGroupName": "リソース グループ", - "loc.input.help.ResourceGroupName": "リソース グループ名を選択します。", - "loc.input.label.LoadBalancer": "ロード バランサー名", - "loc.input.help.LoadBalancer": "ロード バランサーを選択または入力します。", - "loc.input.label.Action": "アクション", - "loc.input.help.Action": "切断: 仮想マシンのプライマリ ネットワーク インターフェイスをロード バランサーのバックエンド プールから削除すると、ネットワーク トラフィックの受信が停止されます。\n\n接続: 仮想マシンのプライマリ ネットワーク インターフェイスをロード バランサーのバックエンド プールに追加します。これでロード バランサー リソースの負荷分散規則に基づいてネットワーク トラフィックの受信が開始されます。", - "loc.messages.CouldNotFetchNicDetails": "Azure 仮想マシンのプライマリ ネットワーク インターフェイス構成をフェッチできませんでした : %s", - "loc.messages.ConnectingVMtoLB": "Azure 仮想マシンをロード バランサー - %s のバックエンド プールに接続しています。", - "loc.messages.DisconnectingVMfromLB": "Azure 仮想マシンをロード バランサー - %s のバックエンド プールから切断しています。", - "loc.messages.setNICStatusSuccess": "ネットワーク インターフェイス %s が正常に設定されました", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "ネットワーク インターフェイス設定の最大再試行回数を超えました : %s", - "loc.messages.ActionCompletedSuccefully": "アクション - %s は仮想マシン %s とロード バランサー %s に対して、正常に完了しました", - "loc.messages.CouldNotFetchAcessToken": "アクセス トークンをフェッチできませんでした。\n状態コード : %s\nステータス メッセージ: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "リソース グループ %s のネットワーク インターフェイスをフェッチできませんでした。\n状態コード : %s\nステータス メッセージ: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "ロード バランサー %s をフェッチできませんでした。\n状態コード : %s\nステータス メッセージ: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "ネットワーク インターフェイス %s をフェッチできませんでした。\n状態コード : %s\nステータス メッセージ: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "ネットワーク インターフェイス %s の設定に失敗しました。\n状態コード : %s\nステータス メッセージ : %s\n%s", - "loc.messages.SettingTheNetworkInterface": "ネットワーク インターフェイス %s を設定しています" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/ko-KR/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/ko-KR/resources.resjson deleted file mode 100644 index 795bb9d59ce8..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/ko-KR/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure 네트워크 부하 분산 장치", - "loc.helpMarkDown": "[이 작업에 대한 자세한 정보](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Azure 가상 머신의 네트워크 인터페이스를 Load Balancer의 백 엔드 주소 풀에 연결하거나 연결을 끊습니다.", - "loc.instanceNameFormat": "Azure 네트워크 부하 분산 장치: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure 구독", - "loc.input.help.ConnectedServiceName": "배포에 대한 Azure Resource Manager 구독을 선택합니다.", - "loc.input.label.ResourceGroupName": "리소스 그룹", - "loc.input.help.ResourceGroupName": "리소스 그룹 이름을 선택하세요.", - "loc.input.label.LoadBalancer": "부하 분산 장치 이름", - "loc.input.help.LoadBalancer": "부하 분산 장치를 선택하거나 입력하세요.", - "loc.input.label.Action": "작업", - "loc.input.help.Action": "연결 끊기: 가상 머신의 주 네트워크 인터페이스를 부하 분산 장치의 백 엔드 풀에서 제거하여 이 인터페이스가 네트워크 트래픽을 받지 못하게 합니다.\n\n연결: 가상 머신의 주 네트워크 인터페이스를 부하 분산 장치 백 엔드 풀에 추가하여 이 인터페이스가 부하 분산 장치 리소스의 부하 분산 규칙에 따라 네트워크 트래픽 수신을 시작하도록 합니다.", - "loc.messages.CouldNotFetchNicDetails": "Azure 가상 머신 %s에 대한 주 네트워크 인터페이스 구성을 가져올 수 없습니다.", - "loc.messages.ConnectingVMtoLB": "Azure 가상 머신을 부하 분산 장치 %s의 백 엔드 풀에 연결하는 중입니다.", - "loc.messages.DisconnectingVMfromLB": "부하 분산 장치 %s의 백 엔드 풀에서 Azure 가상 머신의 연결을 끊는 중입니다.", - "loc.messages.setNICStatusSuccess": "네트워크 인터페이스 %s을(를) 설정했습니다.", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "네트워크 인터페이스를 설정하기 위한 최대 다시 시도 횟수를 초과했습니다. %s", - "loc.messages.ActionCompletedSuccefully": "%s 작업이 가상 머신 %s 및 부하 분산 장치 %s에 대해 완료되었습니다.", - "loc.messages.CouldNotFetchAcessToken": "액세스 토큰을 가져올 수 없습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "리소스 그룹 %s에서 네트워크 인터페이스를 가져올 수 없습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "부하 분산 장치 %s을(를) 가져올 수 없습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "네트워크 인터페이스 %s을(를) 가져올 수 없습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "네트워크 인터페이스 %s을(를) 설정하지 못했습니다.\n상태 코드: %s\n상태 메시지: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "네트워크 인터페이스 %s을(를) 설정하는 중입니다." -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/ru-RU/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/ru-RU/resources.resjson deleted file mode 100644 index 44443561dab2..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/ru-RU/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Балансировщик сетевой нагрузки Azure", - "loc.helpMarkDown": "[Подробнее об этой задаче](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "Подключение или отключение сетевого интерфейса виртуальной машины Azure для серверного пула адресов Load Balancer", - "loc.instanceNameFormat": "Балансировщик сетевой нагрузки Azure: $(LoadBalancer) — $(Action)", - "loc.input.label.ConnectedServiceName": "Подписка Azure", - "loc.input.help.ConnectedServiceName": "Выберите подписку на Azure Resource Manager для развертывания.", - "loc.input.label.ResourceGroupName": "Группа ресурсов", - "loc.input.help.ResourceGroupName": "Выберите имя группы ресурсов.", - "loc.input.label.LoadBalancer": "Название балансировщика нагрузки", - "loc.input.help.LoadBalancer": "Выберите или укажите балансировщик нагрузки.", - "loc.input.label.Action": "Действие", - "loc.input.help.Action": "Отключить: удаляет основной сетевой интерфейс виртуальной машины из серверного пула балансировщика нагрузки (входящий сетевой трафик перекрывается).\n\nПодключить: добавляет основной сетевой интерфейс виртуальной машины в серверный пул балансировщика нагрузки, после чего он начинает получать сетевой трафик для ресурса балансировщика нагрузки на основе правил.", - "loc.messages.CouldNotFetchNicDetails": "Не удалось получить конфигурацию основного сетевого интерфейса для виртуальной машины Azure: %s", - "loc.messages.ConnectingVMtoLB": "Виртуальная машина Azure подключается к серверному пулу %s балансировщика нагрузки.", - "loc.messages.DisconnectingVMfromLB": "Виртуальная машина Azure отключается от серверного пула %s балансировщика нагрузки.", - "loc.messages.setNICStatusSuccess": "Сетевой интерфейс %s настроен", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "Превышено максимальное число повторных попыток настроить сетевой интерфейс: %s", - "loc.messages.ActionCompletedSuccefully": "Действие %s завершено для виртуальной машины %s и балансировщика нагрузки %s", - "loc.messages.CouldNotFetchAcessToken": "Не удалось получить токен доступа.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "Не удалось получить сетевые интерфейсы в группе ресурсов %s.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "Не удалось получить балансировщик нагрузки %s.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "Не удалось получить сетевой интерфейс %s.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "Не удалось настроить сетевой интерфейс %s.\nКод состояния: %s\nСообщение о состоянии: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "Сетевой интерфейс %s настраивается" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/zh-CN/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/zh-CN/resources.resjson deleted file mode 100644 index b92e7fe0bf3b..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/zh-CN/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure 网络负载均衡器", - "loc.helpMarkDown": "[详细了解此任务](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "将 Azure 虚拟机的网络接口连接到负载均衡器的后端地址池,或者断开与该地址池的连接", - "loc.instanceNameFormat": "Azure 网络负载均衡器: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure 订阅", - "loc.input.help.ConnectedServiceName": "为部署选择 Azure 资源管理器订阅。", - "loc.input.label.ResourceGroupName": "资源组", - "loc.input.help.ResourceGroupName": "选择资源组名称。", - "loc.input.label.LoadBalancer": "负载均衡器名称", - "loc.input.help.LoadBalancer": "选择或输入负载均衡器。", - "loc.input.label.Action": "操作", - "loc.input.help.Action": "断开连接: 从负载均衡器的后端池删除虚拟机的主要网络接口,以使其停止接收网络流量。\n\n连接: 将虚拟机的主要网络接口添加到负载均衡器后端池,以使其根据负载均衡器资源的负载均衡规则开始接收网络流量。", - "loc.messages.CouldNotFetchNicDetails": "无法提取 Azure 虚拟机 %s 的主要网络接口配置", - "loc.messages.ConnectingVMtoLB": "正在将 Azure 虚拟机连接到负载均衡器 - %s 的后端池。", - "loc.messages.DisconnectingVMfromLB": "正在将 Azure 虚拟机与负载均衡器 - %s 的后端池断开连接。", - "loc.messages.setNICStatusSuccess": "已成功设置网络接口 %s", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "设置网络接口 %s 的次数超过最大重试次数", - "loc.messages.ActionCompletedSuccefully": "操作 - %s 已成功完成(对虚拟机 %s 和负载均衡器 %s 而言)", - "loc.messages.CouldNotFetchAcessToken": "无法提取访问令牌。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "无法提取资源组 %s 中的网络接口。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "无法提取负载均衡器 %s。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "无法提取网络接口 %s。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "未能设置网络接口 %s。\n状态代码: %s\n状态消息: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "设置网络接口 %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/zh-TW/resources.resjson b/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/zh-TW/resources.resjson deleted file mode 100644 index 9b3f654ece80..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Strings/resources.resjson/zh-TW/resources.resjson +++ /dev/null @@ -1,26 +0,0 @@ -{ - "loc.friendlyName": "Azure 網路負載平衡器", - "loc.helpMarkDown": "[深入了解此工作](https://go.microsoft.com/fwlink/?linkid=837723)", - "loc.description": "將 Azure 虛擬機器的網路介面連線至負載平衡器的後端位址集區,或將其中斷連線。", - "loc.instanceNameFormat": "Azure 網路負載平衡器: $(LoadBalancer) - $(Action)", - "loc.input.label.ConnectedServiceName": "Azure 訂用帳戶", - "loc.input.help.ConnectedServiceName": "選取部署的 Azure Resource Manager 訂用帳戶。", - "loc.input.label.ResourceGroupName": "資源群組", - "loc.input.help.ResourceGroupName": "請選取資源群組名稱。", - "loc.input.label.LoadBalancer": "負載平衡器名稱", - "loc.input.help.LoadBalancer": "請選取或輸入負載平衡器。", - "loc.input.label.Action": "動作", - "loc.input.help.Action": "中斷連線: 從負載平衡器的後端集區移除虛擬機器的主要網路介面,從而讓該網路介面停止接收網路流量。\n\n連線: 將虛擬機器的主要網路介面新增到負載平衡器後端集區,從而讓該網路介面可以依據負載平衡器資源的負載平衡規則,開始接收網路流量。", - "loc.messages.CouldNotFetchNicDetails": "無法擷取 Azure 虛擬機器的主要網路介面組態: %s", - "loc.messages.ConnectingVMtoLB": "正在將 Azure 虛擬機器連線到負載平衡器 - %s 的後端集區。", - "loc.messages.DisconnectingVMfromLB": "正在中斷 Azure 虛擬機器與負載平衡器之間的連線 - %s 的後端集區。", - "loc.messages.setNICStatusSuccess": "網路介面 %s 設定成功", - "loc.messages.MaxRetriesExceededForSettingNetworkInterface": "超過設定網路介面的次數上限: %s", - "loc.messages.ActionCompletedSuccefully": "已成功為下列兩個項目完成動作 - %s: 虛擬機器 %s 及負載平衡器 %s", - "loc.messages.CouldNotFetchAcessToken": "無法擷取存取權杖。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterfacesInRg": "無法擷取資源群組 %s 中的網路介面。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.CouldNotFetchLoadBalancer": "無法擷取負載平衡器 %s。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.CouldNotFetchNetworkInterface": "無法擷取網路介面 %s。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.FailedSettingNetworkInterface": "設定網路介面 %s 失敗。\n狀態碼: %s\n狀態訊息: %s\n%s", - "loc.messages.SettingTheNetworkInterface": "正在設定網路介面 %s" -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Tests/L0.ts b/_generated/AzureNLBManagementV1_Node16/Tests/L0.ts deleted file mode 100644 index a1a8630b0f80..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Tests/L0.ts +++ /dev/null @@ -1,92 +0,0 @@ -import * as ttm from 'azure-pipelines-task-lib/mock-test'; -import * as path from 'path'; -import * as assert from 'assert'; - -describe('AzureNLBManagement Suite', function () { - - this.timeout(60000); - - it('disconnects the virtual machine successfully from the load balancer\'s backend pool', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0DisconnectSuccess.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length == 0 && tmr.errorIssues.length == 0, 'should not have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"), "should have said : Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"); - assert(tmr.stdOutContained("loc_mock_DisconnectingVMfromLB"), "should have said : loc_mock_DisconnectingVMfromLB"); - assert(tmr.stdOutContained("loc_mock_SettingTheNetworkInterface"), "should have said : loc_mock_SettingTheNetworkInterface"); - assert(tmr.stdOutContained("loc_mock_setNICStatusSuccess"), "should have said : loc_mock_setNICStatusSuccess"); - assert(tmr.stdOutContained("loc_mock_ActionCompletedSuccefully"), "should have said : loc_mock_ActionCompletedSuccefully"); - assert(tmr.succeeded, 'task should have succeeded'); - done(); - }); - - it('connects the virtual machine successfully to the load balancer\'s backend pool', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0ConnectSuccess.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length == 0 && tmr.errorIssues.length == 0, 'should not have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"), "should have said : Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"); - assert(tmr.stdOutContained("loc_mock_ConnectingVMtoLB"), "should have said : loc_mock_ConnectingVMtoLB"); - assert(tmr.stdOutContained("Getting the load balancer: testLB"), "should have said : Getting the load balancer: testLB"); - assert(tmr.stdOutContained("loc_mock_SettingTheNetworkInterface"), "should have said : loc_mock_SettingTheNetworkInterface"); - assert(tmr.stdOutContained("loc_mock_setNICStatusSuccess"), "should have said : loc_mock_setNICStatusSuccess"); - assert(tmr.stdOutContained("loc_mock_ActionCompletedSuccefully"), "should have said : loc_mock_ActionCompletedSuccefully"); - assert(tmr.succeeded, 'task should have succeeded'); - done(); - }); - - it('fails if primary network interface not found', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0TaskFail.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length > 0 || tmr.errorIssues.length > 0, 'should have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("loc_mock_CouldNotFetchNicDetails"), "should have said : loc_mock_CouldNotFetchNicDetails"); - assert(tmr.failed, 'task should have failed'); - done(); - }); - it('fails if could not fetch all network interfaces in resource group', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0TaskFailNetworkInterfaceRG.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length > 0 || tmr.errorIssues.length > 0, 'should have written to stderr'); - assert(tmr.stdErrContained("loc_mock_CouldNotFetchNetworkInterfacesInRg") || tmr.createdErrorIssue("loc_mock_CouldNotFetchNetworkInterfacesInRg"), "should have said : loc_mock_CouldNotFetchNicDetails"); - assert(tmr.failed, 'task should have failed'); - done(); - }); - it('fails if setting the network interface fails', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0TaskFailSetNetworkInterface.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length > 0 || tmr.errorIssues.length > 0, 'should have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"), "should have said : Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"); - assert(tmr.stdOutContained("loc_mock_DisconnectingVMfromLB"), "should have said : loc_mock_DisconnectingVMfromLB"); - assert(tmr.stdOutContained("loc_mock_SettingTheNetworkInterface"), "should have said : loc_mock_SettingTheNetworkInterface"); - assert(tmr.stdErrContained("loc_mock_FailedSettingNetworkInterface") || tmr.createdErrorIssue("loc_mock_FailedSettingNetworkInterface"), "should have said : loc_mock_FailedSettingNetworkInterface"); - assert(tmr.failed, 'task should have failed'); - done(); - }); - it('connect fails if load balancer not found', (done: Mocha.Done) => { - let tp = path.join(__dirname, 'L0ConnectFailNoLB.js'); - let tmr : ttm.MockTestRunner = new ttm.MockTestRunner(tp); - tmr.run(); - - assert(tmr.stderr.length > 0 || tmr.errorIssues.length > 0, 'should have written to stderr'); - assert(tmr.stdOutContained("Getting Primary Network Interface for the virtual machine : test-vm"), "should have said : Getting Primary Network Interface for the virtual machine : test-vm"); - assert(tmr.stdOutContained("Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"), "should have said : Network Interface - test-nic1's configuration details fetched for the virtual machine test-vm"); - assert(tmr.stdOutContained("loc_mock_ConnectingVMtoLB"), "should have said : loc_mock_ConnectingVMtoLB"); - assert(tmr.stdOutContained("Getting the load balancer: testLB"), "should have said : Getting the load balancer: testLB"); - assert(tmr.stdErrContained("loc_mock_CouldNotFetchLoadBalancer") || tmr.createdErrorIssue("loc_mock_CouldNotFetchLoadBalancer"), "should have said : loc_mock_CouldNotFetchLoadBalancer"); - assert(tmr.failed, 'task should have failed'); - - done(); - }); -}); \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/Tests/L0ConnectFailNoLB.ts b/_generated/AzureNLBManagementV1_Node16/Tests/L0ConnectFailNoLB.ts deleted file mode 100644 index 0b656ff423db..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Tests/L0ConnectFailNoLB.ts +++ /dev/null @@ -1,117 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Connect"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - }, - getLoadBalancer: function(SPN, endpointUrl, name, resourceGroupName) { - tl.debug('Getting the load balancer: ' + name); - throw tl.loc("CouldNotFetchLoadBalancer"); - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["mac-nic1", "mac-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1_Node16/Tests/L0ConnectSuccess.ts b/_generated/AzureNLBManagementV1_Node16/Tests/L0ConnectSuccess.ts deleted file mode 100644 index 4365fb1ddd7d..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Tests/L0ConnectSuccess.ts +++ /dev/null @@ -1,143 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; -import taskinternal = require('azure-pipelines-task-lib/internal'); - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Connect"); -tmr.setInput("NICDetection", "AutoDetectNic"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - }, - setNetworkInterface: function(SPN, endpointUrl, nic, resourceGroupName) { - taskinternal._writeLine(tl.loc("SettingTheNetworkInterface")); - return "setNICStatusSuccess"; - }, - getLoadBalancer: function(SPN, endpointUrl, name, resourceGroupName) { - tl.debug('Getting the load balancer: ' + name); - return { - "name": "xlr8lb", - "id": "xlr8lb-id", - "properties": { - "provisioningState": "Succeeded", - "frontendIPConfigurations": [ - { - "name": "lbFrontend", - "id":"lbFrontend-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "xlr8lb-privateip", - } - }], - "backendAddressPools": [ - { - "name": "xlr8lb-Backend", - "id": "xlr8lb-Backend-id", - }], - } - }; - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["mac-nic1", "mac-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1_Node16/Tests/L0DisconnectSuccess.ts b/_generated/AzureNLBManagementV1_Node16/Tests/L0DisconnectSuccess.ts deleted file mode 100644 index a145c3bcc665..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Tests/L0DisconnectSuccess.ts +++ /dev/null @@ -1,118 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; -import taskinternal = require('azure-pipelines-task-lib/internal'); - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Disconnect"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - }, - setNetworkInterface: function(SPN, endpointUrl, nic, resourceGroupName) { - taskinternal._writeLine(tl.loc("SettingTheNetworkInterface")); - return "setNICStatusSuccess"; - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["mac-nic1", "mac-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1_Node16/Tests/L0TaskFail.ts b/_generated/AzureNLBManagementV1_Node16/Tests/L0TaskFail.ts deleted file mode 100644 index b04ce06dcdae..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Tests/L0TaskFail.ts +++ /dev/null @@ -1,114 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Disconnect"); -tmr.setInput("NICDetection", "AutoDetectNic"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["unmatched-nic1", "unmatched-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1_Node16/Tests/L0TaskFailNetworkInterfaceRG.ts b/_generated/AzureNLBManagementV1_Node16/Tests/L0TaskFailNetworkInterfaceRG.ts deleted file mode 100644 index ac699d9ae708..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Tests/L0TaskFailNetworkInterfaceRG.ts +++ /dev/null @@ -1,27 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Disconnect"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - throw tl.loc("CouldNotFetchNetworkInterfacesInRg"); - } -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1_Node16/Tests/L0TaskFailSetNetworkInterface.ts b/_generated/AzureNLBManagementV1_Node16/Tests/L0TaskFailSetNetworkInterface.ts deleted file mode 100644 index c2a09f9e6f50..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/Tests/L0TaskFailSetNetworkInterface.ts +++ /dev/null @@ -1,119 +0,0 @@ -import * as ma from 'azure-pipelines-task-lib/mock-answer'; -import * as tmrm from 'azure-pipelines-task-lib/mock-run'; -import * as path from 'path'; -import taskinternal = require('azure-pipelines-task-lib/internal'); - -let taskPath = path.join(__dirname, '..', 'nlbtask.js'); -let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); - -tmr.setInput('ConnectedServiceName', 'AzureRMSpn'); -tmr.setInput("ResourceGroupName", "testRG"); -tmr.setInput("LoadBalancer", "testLB"); -tmr.setInput("Action", "Disconnect"); - -process.env["ENDPOINT_AUTH_AzureRMSpn"] = "{\"parameters\":{\"serviceprincipalid\":\"spId\",\"serviceprincipalkey\":\"spKey\",\"tenantid\":\"tenant\"},\"scheme\":\"ServicePrincipal\"}"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONNAME"] = "sName"; -process.env["ENDPOINT_DATA_AzureRMSpn_SUBSCRIPTIONID"] = "sId"; -process.env["AZURE_HTTP_USER_AGENT"] = "TFS_useragent"; -process.env["SYSTEM_DEFAULTWORKINGDIRECTORY"] = "DefaultWorkingDirectory"; -process.env["COMPUTERNAME"] = "test-vm"; - -var tl = require('azure-pipelines-task-lib/mock-task'); - -tmr.registerMock('./nlbazureutility', { - getNetworkInterfacesInRG: function(SPN, endpointUrl, resourceGroupName) { - return [ - { - "name": "test-nic1", - "id": "test-nic1-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig1", - "id":"test-ipconfig1-id", - "properties": { - "provisioningState": "Succeeded", - "privateIPAddress": "test-privateip1", - "loadBalancerBackendAddressPools": [ - { - "id" : "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP1" - }] - } - }], - "macAddress": "mac-nic1", - "primary": true, - } - }, - { "name": "test-nic2", - "id": "test-nic2-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig2", - "id":"test-ipconfig2-id", - "properties": { - "privateIPAddress": "test-privateip2", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP2" - }] - } - }], - "macAddress": "mac-nic2", - "primary": false, - "virtualMachine": { - "id": "test-vm2" - } - } - }, - { "name": "test-nic3", - "id": "test-nic3-id", - "properties": { - "provisioningState": "Succeeded", - "ipConfigurations": [{ - "name": "test-ipconfig3", - "id":"test-ipconfig3-id", - "properties": { - "privateIPAddress": "test-privateip3", - "loadBalancerBackendAddressPools": [ - { - "id": "xlr8lb-id" - }], - "loadBalancerInboundNatRules": [ - { - "id": "xlr8lb-inboundNatRules-RDP3" - }] - } - }], - "macAddress": "mac-nic3", - "primary": true, - "virtualMachine": { - "id": "test-vm3" - } - } - } - ]; - }, - setNetworkInterface: function(SPN, endpointUrl, nic, resourceGroupName) { - taskinternal._writeLine(tl.loc("SettingTheNetworkInterface")); - throw tl.loc("FailedSettingNetworkInterface"); - } -}); - -var utility = require('../utility'); -tmr.registerMock("./utility", { - getMacAddress: function () { - return ["mac-nic1", "mac-nic2"]; - }, - getPrimaryNetworkInterface: utility.getPrimaryNetworkInterface -}); - -tmr.run(); diff --git a/_generated/AzureNLBManagementV1_Node16/ThirdPartyNotices.txt b/_generated/AzureNLBManagementV1_Node16/ThirdPartyNotices.txt deleted file mode 100644 index 41d3f07e561e..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/ThirdPartyNotices.txt +++ /dev/null @@ -1,641 +0,0 @@ - -THIRD-PARTY SOFTWARE NOTICES AND INFORMATION -Do Not Translate or Localize - -Azure NLB Management incorporates third party material from the projects listed below. The original copyright notice and the license under which Microsoft received such third party material are set forth below. Microsoft reserves all other rights not expressly granted, whether by implication, estoppel or otherwise. - -1. balanced-match (https://github.com/juliangruber/balanced-match) -2. brace-expansion (https://github.com/juliangruber/brace-expansion) -3. concat-map (https://github.com/substack/node-concat-map) -4. Glob (https://github.com/isaacs/node-glob) -5. inflight (https://github.com/npm/inflight) -6. inherits (https://github.com/isaacs/inherits) -7. minimatch (https://github.com/isaacs/minimatch) -8. Mockery (https://github.com/mfncooper/mockery) -9. Node.js (https://nodejs.org/) -10. node-uuid (https://github.com/broofa/node-uuid/) -11. once (https://github.com/isaacs/once) -12. path-is-absolute (https://github.com/sindresorhus/path-is-absolute) -13. Q (https://github.com/kriskowal/q) -14. semver (https://github.com/npm/node-semver/) -15. ShellJS (https://github.com/shelljs/shelljs) -16. tunnel (https://github.com/koichik/node-tunnel) -17. underscore.js (http://underscorejs.org/; https://github.com/jashkenas/underscore) -18. vso-node-api (https://github.com/Microsoft/vsts-node-api) -19. VSTS-task-lib (https://github.com/Microsoft/vsts-task-lib) -20. wrappy (https://github.com/npm/wrappy) -21. @types/node (https://www.github.com/DefinitelyTyped/DefinitelyTyped.git) -22. @types/q (https://www.github.com/DefinitelyTyped/DefinitelyTyped.git) -23. @types/mocha (https://github.com/DefinitelyTyped/DefinitelyTyped.git) - -%% balanced-match NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -(MIT) - -Copyright (c) 2013 Julian Gruber - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -========================================= -END OF balanced-match NOTICES, INFORMATION, AND LICENSE - -%% brace-expansion NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -(MIT) - -Copyright (c) 2013 Julian Gruber - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -========================================= -END OF brace-expansion NOTICES, INFORMATION, AND LICENSE - -%% concat-map NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright (c) James Halliday/substack - -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF concat-map NOTICES, INFORMATION, AND LICENSE - -%% Glob NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF Glob NOTICES, INFORMATION, AND LICENSE - -%% inflight NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF inflight NOTICES, INFORMATION, AND LICENSE - -%% inherits NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF inherits NOTICES, INFORMATION, AND LICENSE - -%% minimatch NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF minimatch NOTICES, INFORMATION, AND LICENSE - -%% Mockery NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyrights for code authored by Yahoo! Inc. is licensed under the following -terms: - - MIT License - - Copyright (c) 2011 Yahoo! Inc. All Rights Reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. -========================================= -END OF Mockery NOTICES, INFORMATION, AND LICENSE - -%% Node.js NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Node.js is licensed for use as follows: - -""" -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -This license applies to parts of Node.js originating from the -https://github.com/joyent/node repository: - -""" -Copyright Joyent, Inc. and other Node contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -The Node.js license applies to all parts of Node.js that are not externally -maintained libraries. -========================================= -END OF Node.js NOTICES, INFORMATION, AND LICENSE - -%% node-uuid NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) 2010-2012 Robert Kieffer - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF node-uuid NOTICES, INFORMATION, AND LICENSE - -%% once NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF once NOTICES, INFORMATION, AND LICENSE - -%% path-is-absolute NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -path-is-absolute - -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the Software), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -node.js: - -Copyright Joyent, Inc. and other Node contributors. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -Software), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to permit -persons to whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF path-is-absolute NOTICES, INFORMATION, AND LICENSE - -%% Q NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright 2009�2014 Kristopher Michael Kowal. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - -The file q.js is prefaced by the following additional third-party subcomponent information: - -/*! - * - * Copyright 2009-2012 Kris Kowal under the terms of the MIT - * license found at http://github.com/kriskowal/q/raw/master/LICENSE - * - * With parts by Tyler Close - * Copyright 2007-2009 Tyler Close under the terms of the MIT X license found - * at http://www.opensource.org/licenses/mit-license.html - * Forked at ref_send.js version: 2009-05-11 - * - * With parts by Mark Miller - * Copyright (C) 2011 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -========================================= -END OF Q NOTICES, INFORMATION, AND LICENSE - -%% semver NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF semver NOTICES, INFORMATION, AND LICENSE - -%% ShellJS NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright (c) 2012, Artur Adib -All rights reserved. - -You may use this project under the terms of the New BSD license as follows: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of Artur Adib nor the - names of the contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL ARTUR ADIB BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -========================================= -END OF ShellJS NOTICES, INFORMATION, AND LICENSE - -%% tunnel NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) 2012 Koichi Kobayashi - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -========================================= -END OF tunnel NOTICES, INFORMATION, AND LICENSE - -%% underscore.js NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright (c) 2009-2017 Jeremy Ashkenas, DocumentCloud and Investigative -Reporters & Editors - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -========================================= -END OF underscore.js NOTICES, INFORMATION, AND LICENSE - -%% vso-node-api NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -Copyright (c) Microsoft Corporation - -All rights reserved. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and -associated documentation files (the "Software"), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF vso-node-api NOTICES, INFORMATION, AND LICENSE - -%% VSTS-task-lib NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) Microsoft Corporation. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -========================================= -END OF VSTS-task-lib NOTICES, INFORMATION, AND LICENSE - -%% wrappy NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -========================================= -END OF wrappy NOTICES, INFORMATION, AND LICENSE - -%% @types/mocha NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) Microsoft Corporation. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -========================================= -END OF @types/mocha NOTICES, INFORMATION, AND LICENSE - -%% @types/node NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -MIT License - -Copyright (c) Microsoft Corporation. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -========================================= -END OF @types/node NOTICES, INFORMATION, AND LICENSE - -%% @types/q NOTICES, INFORMATION, AND LICENSE BEGIN HERE -========================================= -MIT License - -Copyright (c) Microsoft Corporation. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -========================================= -END OF @types/q NOTICES, INFORMATION, AND LICENSE \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/icon.png b/_generated/AzureNLBManagementV1_Node16/icon.png deleted file mode 100644 index 2861efb02f6b..000000000000 Binary files a/_generated/AzureNLBManagementV1_Node16/icon.png and /dev/null differ diff --git a/_generated/AzureNLBManagementV1_Node16/icon.svg b/_generated/AzureNLBManagementV1_Node16/icon.svg deleted file mode 100644 index ac0acaa16544..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/icon.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/_generated/AzureNLBManagementV1_Node16/nlbazureutility.ts b/_generated/AzureNLBManagementV1_Node16/nlbazureutility.ts deleted file mode 100644 index 4fd3abf6d455..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/nlbazureutility.ts +++ /dev/null @@ -1,217 +0,0 @@ -import * as tl from 'azure-pipelines-task-lib/task'; -import taskinternal = require('azure-pipelines-task-lib/internal'); -import * as Q from 'q'; -import * as querystring from "querystring"; -import * as httpClient from 'vso-node-api/HttpClient'; - - -var httpObj = new httpClient.HttpCallbackClient(tl.getVariable("AZURE_HTTP_USER_AGENT")); -var defaultAuthUrl = 'https://login.windows.net/'; -var azureApiVersion = '2016-09-01'; - -function getAccessToken(SPN, endpointUrl: string): Q.Promise { - - var deferred = Q.defer(); - var envAuthUrl = (SPN.envAuthUrl) ? SPN.envAuthUrl : defaultAuthUrl; - var authorityUrl = envAuthUrl + SPN.tenantID + "/oauth2/token/"; - - var post_data = querystring.stringify({ - resource: endpointUrl, - client_id: SPN.servicePrincipalClientID, - grant_type: "client_credentials", - client_secret: SPN.servicePrincipalKey - }); - - var requestHeader = { - "Content-Type": "application/x-www-form-urlencoded; charset=utf-8" - }; - - tl.debug(`Requesting for bearer token ${authorityUrl}`); - httpObj.send("POST", authorityUrl, post_data, requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if (response.statusCode == 200) { - deferred.resolve(JSON.parse(body).access_token); - } - else { - deferred.reject(tl.loc("CouldNotFetchAcessToken", response.statusCode, response.statusMessage, body)); - }; - }); - - return deferred.promise; -} - -export async function getNetworkInterfacesInRG(SPN, endpointUrl: string, resourceGroupName: string) { - - var deferred = Q.defer(); - var restUrl = SPN.url + "subscriptions/" + SPN.subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.Network/networkInterfaces?api-version=" + azureApiVersion; - var accessToken = await getAccessToken(SPN, endpointUrl); - - var requestHeader = { - Authorization: 'Bearer ' + accessToken - }; - - tl.debug(`Getting all network interfaces in the resource group ${resourceGroupName}`); - httpObj.get('GET', restUrl, requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if(response.statusCode == 200) { - deferred.resolve(JSON.parse(body).value); - } - else { - deferred.reject(tl.loc("CouldNotFetchNetworkInterfacesInRg", resourceGroupName, response.statusCode, response.statusMessage, body)); - } - - }); - return deferred.promise; -} - -export async function getLoadBalancer(SPN, endpointUrl: string, name: string, resourceGroupName: string) { - - var deferred = Q.defer(); - var restUrl = SPN.url + "subscriptions/" + SPN.subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.Network/loadBalancers/" + name + "?api-version=" + azureApiVersion; - var accessToken = await getAccessToken(SPN, endpointUrl); - - var requestHeader = { - authorization: 'Bearer ' + accessToken - } - - tl.debug(`Getting the load balancer: ${name}`); - httpObj.get('GET', restUrl, requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if(response.statusCode === 200) { - deferred.resolve(JSON.parse(body)); - } - else { - deferred.reject(tl.loc("CouldNotFetchLoadBalancer", name, response.statusCode, response.statusMessage, body)); - } - }); - - return deferred.promise; -} - -export async function getNetworkInterface(SPN, endpointUrl, name: string, resourceGroupName: string) { - var deferred = Q.defer(); - var restUrl = SPN.url + "subscriptions/" + SPN.subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.Network/networkInterfaces/" + name + "?api-version=" + azureApiVersion; - var accessToken = await getAccessToken(SPN, endpointUrl); - - var requestHeader = { - authorization: 'Bearer ' + accessToken - } - - tl.debug(`Getting the Network Interface: ${name}`); - httpObj.get('GET', restUrl, requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if(response.statusCode === 200) { - deferred.resolve(JSON.parse(body)); - } - else { - deferred.reject(tl.loc("CouldNotFetchNetworkInterface", name, response.statusCode, response.statusMessage, body)); - } - }); - - return deferred.promise; -} - -async function checkProvisioningState(url: string, accessToken: string) { - var deferred = Q.defer(); - var headers = { - Authorization: "Bearer " + accessToken - }; - httpObj.get("GET", url, headers, (error, response, body) => { - if(error){ - deferred.reject(error); - } - else if(response.statusCode == 200) { - deferred.resolve(JSON.parse(body).status); - } - else { - deferred.reject(body); - } - }); - return deferred.promise; -} - -export async function setNetworkInterface(SPN, endpointUrl: string, nic, resourceGroupName: string){ - - var deferred = Q.defer(); - var restUrl = SPN.url + "subscriptions/" + SPN.subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.Network/networkInterfaces/" + nic.name + "?api-version=" + azureApiVersion; - var accessToken = await getAccessToken(SPN, endpointUrl); - var requestHeader = { - "Content-Type": "application/json; charset=utf-8", - "Authorization": 'Bearer ' + accessToken - }; - - taskinternal._writeLine(tl.loc("SettingTheNetworkInterface", nic.name)); - var maxRetries = 10; - var sleepTime = (Math.floor(Math.random() * 6) + 5) * 1000; // sleep time in ms - var retryCount = 1; - - setTimeout (function putNetworkInterface() { - if(retryCount > maxRetries) { - deferred.reject(tl.loc("MaxRetriesExceededForSettingNetworkInterface", nic.name)); - return; - } - - tl.debug(`Trial Count = ${retryCount}`); - httpObj.send("PUT", restUrl, JSON.stringify(nic, null, 2), requestHeader, (error, response, body) => { - if(error) { - deferred.reject(error); - } - else if(response.statusCode == 200) { - - // wait for the provisioning state to be succeeded - // check after every 20 seconds - var asyncUrl = response.headers["azure-asyncoperation"]; - var checkStatusRetryCount = 0; - var checkStatusWaitTime = 20000; - setTimeout( async function checkSuccessStatus() { - try { - var provisioningState = await checkProvisioningState(asyncUrl, accessToken); - tl.debug("Status = " + provisioningState); - if(provisioningState == "Succeeded") { - return deferred.resolve("setNICStatusSuccess"); - } - } - catch(error) { - // ignore errors and retry setting the network interface - tl.debug(`Checking provisioning state errored out : ${error}`); - retryCount++; - tl.debug("Retrying setting network interface after " + sleepTime/1000 + " sec"); - return setTimeout(putNetworkInterface, sleepTime); - } - if(++checkStatusRetryCount == 10) { - // Retry setting the network interface - retryCount++; - tl.debug("Retrying setting network interface after " + sleepTime/1000 + " sec"); - setTimeout(putNetworkInterface, sleepTime); - } - else { - // Re-check the status of the provisioning state - setTimeout(checkSuccessStatus, checkStatusWaitTime); - } - }, 1); - } - else if(response.statusCode == 429){ - body = JSON.parse(body); - if(body["error"] && body["error"].code == "RetryableError") { - retryCount++; - tl.debug(JSON.stringify(body, null, 4)); - tl.debug("Retrying setting network interface after " + sleepTime/1000 + " sec"); - setTimeout(putNetworkInterface, sleepTime); - } - } - else { - deferred.reject(tl.loc("FailedSettingNetworkInterface", nic.name, response.statusCode, response.statusMessage, body)); - } - }); - }, 1); - - return deferred.promise; -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/nlbtask.ts b/_generated/AzureNLBManagementV1_Node16/nlbtask.ts deleted file mode 100644 index 507e8a61dcf2..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/nlbtask.ts +++ /dev/null @@ -1,60 +0,0 @@ -import * as tl from 'azure-pipelines-task-lib/task'; -import taskinternal = require('azure-pipelines-task-lib/internal'); -import * as path from 'path' - -var nlbUtility = require('./nlbazureutility'); -var utility = require('./utility'); - -async function run() { - try { - - tl.setResourcePath(path.join( __dirname, 'task.json')); - var connectedServiceName = tl.getInput('ConnectedServiceName', true); - var resourceGroupName: string = tl.getInput("ResourceGroupName", true); - var loadBalancerName: string = tl.getInput("LoadBalancer", true); - var action: string = tl.getInput("Action", true); - var endPointAuthCreds = tl.getEndpointAuthorization(connectedServiceName, true); - var endpointUrl = tl.getEndpointUrl(connectedServiceName, true); - - var SPN = new Array(); - SPN["servicePrincipalClientID"] = endPointAuthCreds.parameters["serviceprincipalid"]; - SPN["servicePrincipalKey"] = endPointAuthCreds.parameters["serviceprincipalkey"]; - SPN["tenantID"] = endPointAuthCreds.parameters["tenantid"]; - SPN["subscriptionId"] = tl.getEndpointDataParameter(connectedServiceName, 'subscriptionid', true); - SPN["envAuthUrl"] = tl.getEndpointDataParameter(connectedServiceName, 'environmentAuthorityUrl', true); - SPN["url"] = tl.getEndpointUrl(connectedServiceName, true); - - var nicVm = await getNetworkInterface(SPN, endpointUrl, resourceGroupName); - tl.debug(`Network Interface - ${nicVm.name}'s configuration details fetched for the virtual machine ${process.env.COMPUTERNAME}`); - - var nicLbBackendPoolConfig = null; - if (action == "Connect") { - taskinternal._writeLine(tl.loc("ConnectingVMtoLB", loadBalancerName)); - var lb = await nlbUtility.getLoadBalancer(SPN, endpointUrl, loadBalancerName, resourceGroupName); - nicLbBackendPoolConfig = lb.properties.backendAddressPools; - } - else { - taskinternal._writeLine(tl.loc("DisconnectingVMfromLB", loadBalancerName)); - } - nicVm.properties.ipConfigurations[0].properties['loadBalancerBackendAddressPools'] = nicLbBackendPoolConfig; - var setNIStatus = await nlbUtility.setNetworkInterface(SPN, endpointUrl, nicVm, resourceGroupName); - taskinternal._writeLine(tl.loc(setNIStatus, nicVm.name)); - taskinternal._writeLine(tl.loc("ActionCompletedSuccefully", action, process.env.COMPUTERNAME, loadBalancerName)); - } - catch(error) { - tl.setResult(tl.TaskResult.Failed, error); - } -} - -async function getNetworkInterface(SPN, endpointUrl: string, resourceGroupName: string) { - var nics = await nlbUtility.getNetworkInterfacesInRG(SPN, endpointUrl, resourceGroupName); - tl.debug(`Getting Primary Network Interface for the virtual machine : ${process.env.COMPUTERNAME}`); - var nicVm = utility.getPrimaryNetworkInterface(nics); - - if (!nicVm) { - throw tl.loc("CouldNotFetchNicDetails", process.env.COMPUTERNAME); - } - return nicVm; -} - -run(); \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/package-lock.json b/_generated/AzureNLBManagementV1_Node16/package-lock.json deleted file mode 100644 index 0d6ce4c1e5e1..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/package-lock.json +++ /dev/null @@ -1,521 +0,0 @@ -{ - "name": "nlbtask", - "version": "1.0.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "@types/concat-stream": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.1.tgz", - "integrity": "sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==", - "requires": { - "@types/node": "*" - } - }, - "@types/form-data": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz", - "integrity": "sha512-8BSvG1kGm83cyJITQMZSulnl6QV8jqAGreJsc5tPu1Jq0vTSOiY/k24Wx82JRpWwZSqrala6sd5rWi6aNXvqcw==", - "requires": { - "@types/node": "*" - } - }, - "@types/mocha": { - "version": "5.2.7", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-5.2.7.tgz", - "integrity": "sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==" - }, - "@types/node": { - "version": "16.18.39", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.39.tgz", - "integrity": "sha512-8q9ZexmdYYyc5/cfujaXb4YOucpQxAV4RMG0himLyDUOEr8Mr79VrqsFI+cQ2M2h89YIuy95lbxuYjxT4Hk4kQ==" - }, - "@types/q": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/q/-/q-1.0.7.tgz", - "integrity": "sha512-0WS7XU7sXzQ7J1nbnMKKYdjrrFoO3YtZYgUzeV8JFXffPnHfvSJQleR70I8BOAsOm14i4dyaAZ3YzqIl1YhkXQ==" - }, - "@types/qs": { - "version": "6.9.7", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", - "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" - }, - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" - }, - "azure-pipelines-task-lib": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-4.4.0.tgz", - "integrity": "sha512-JgtxfjxjRA+KWY0Q5UC1fo48nkbVxFHgKEuasKdJMSNxHydOyNlB5MNw4UTiTXp9b0nnqKeOQOBn5RN3go3aPg==", - "requires": { - "minimatch": "3.0.5", - "mockery": "^2.1.0", - "q": "^1.5.1", - "semver": "^5.1.0", - "shelljs": "^0.8.5", - "sync-request": "6.1.0", - "uuid": "^3.0.1" - }, - "dependencies": { - "q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==" - } - } - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" - }, - "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" - } - }, - "get-port": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", - "integrity": "sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==" - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "dependencies": { - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" - }, - "has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" - }, - "http-basic": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/http-basic/-/http-basic-8.1.3.tgz", - "integrity": "sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==", - "requires": { - "caseless": "^0.12.0", - "concat-stream": "^1.6.2", - "http-response-object": "^3.0.1", - "parse-cache-control": "^1.0.1" - } - }, - "http-response-object": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz", - "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==", - "requires": { - "@types/node": "^10.0.3" - }, - "dependencies": { - "@types/node": { - "version": "10.17.60", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", - "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" - } - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" - }, - "is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", - "requires": { - "has": "^1.0.3" - } - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" - }, - "mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" - }, - "mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "requires": { - "mime-db": "1.52.0" - } - }, - "minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "mockery": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mockery/-/mockery-2.1.0.tgz", - "integrity": "sha512-9VkOmxKlWXoDO/h1jDZaS4lH33aWfRiJiNT/tKj+8OGzrcFDLo8d0syGdbsc3Bc4GvRXPb+NMMvojotmuGJTvA==" - }, - "object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "requires": { - "wrappy": "1" - } - }, - "parse-cache-control": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", - "integrity": "sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==" - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "promise": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz", - "integrity": "sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==", - "requires": { - "asap": "~2.0.6" - } - }, - "q": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", - "integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=" - }, - "qs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz", - "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", - "requires": { - "side-channel": "^1.0.4" - } - }, - "readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", - "requires": { - "resolve": "^1.1.6" - } - }, - "resolve": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", - "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", - "requires": { - "is-core-module": "^2.11.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" - }, - "shelljs": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", - "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", - "requires": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - } - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" - }, - "sync-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/sync-request/-/sync-request-6.1.0.tgz", - "integrity": "sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==", - "requires": { - "http-response-object": "^3.0.1", - "sync-rpc": "^1.2.1", - "then-request": "^6.0.0" - } - }, - "sync-rpc": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/sync-rpc/-/sync-rpc-1.3.6.tgz", - "integrity": "sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==", - "requires": { - "get-port": "^3.1.0" - } - }, - "then-request": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/then-request/-/then-request-6.0.2.tgz", - "integrity": "sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==", - "requires": { - "@types/concat-stream": "^1.6.0", - "@types/form-data": "0.0.33", - "@types/node": "^8.0.0", - "@types/qs": "^6.2.31", - "caseless": "~0.12.0", - "concat-stream": "^1.6.0", - "form-data": "^2.2.0", - "http-basic": "^8.1.1", - "http-response-object": "^3.0.1", - "promise": "^8.0.0", - "qs": "^6.4.0" - }, - "dependencies": { - "@types/node": { - "version": "8.10.66", - "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.66.tgz", - "integrity": "sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==" - } - } - }, - "tunnel": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz", - "integrity": "sha1-LTeFoVjBdMmhbcLARuxfxfF0IhM=" - }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" - }, - "typescript": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", - "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", - "dev": true - }, - "underscore": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.4.tgz", - "integrity": "sha512-BQFnUDuAQ4Yf/cYY5LNrK9NCJFKriaRbD9uR1fTeXnBeoa97W0i41qkZfGO9pSo8I5KzjAcSY2XYtdf0oKd7KQ==" - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" - }, - "vso-node-api": { - "version": "6.0.1-preview", - "resolved": "https://registry.npmjs.org/vso-node-api/-/vso-node-api-6.0.1-preview.tgz", - "integrity": "sha1-RBprv5s8aNpiTbAeo1y6jwpMLKs=", - "requires": { - "q": "^1.0.1", - "tunnel": "0.0.4", - "underscore": "^1.8.3" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - } - } -} diff --git a/_generated/AzureNLBManagementV1_Node16/package.json b/_generated/AzureNLBManagementV1_Node16/package.json deleted file mode 100644 index b72c24514a14..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "nlbtask", - "version": "1.0.0", - "description": "Add/Remove a Virtual Machine's Network Interface to the Load Balancer", - "main": "nlbtask.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "Microsoft Corporation", - "license": "MIT", - "dependencies": { - "q": "1.4.1", - "vso-node-api": "6.0.1-preview", - "azure-pipelines-task-lib": "^4.4.0", - "@types/mocha": "^5.2.7", - "@types/node": "^16.11.39", - "@types/q": "1.0.7" - }, - "devDependencies": { - "typescript": "4.0.2" - } -} diff --git a/_generated/AzureNLBManagementV1_Node16/task.json b/_generated/AzureNLBManagementV1_Node16/task.json deleted file mode 100644 index 6eba6caedf61..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/task.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "id": "e94f1750-a6a8-11e6-be69-bdf37a7b15d8", - "name": "AzureNLBManagement", - "friendlyName": "Azure Network Load Balancer", - "description": "Connect or disconnect an Azure virtual machine's network interface to a Load Balancer's back end address pool", - "author": "Microsoft Corporation", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/azure-nlb-management", - "helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=837723)", - "category": "Utility", - "visibility": [ - "Build", - "Release" - ], - "runsOn": [ - "DeploymentGroup" - ], - "version": { - "Major": 1, - "Minor": 226, - "Patch": 0 - }, - "minimumAgentVersion": "1.95.0", - "instanceNameFormat": "Azure Network Load Balancer: $(LoadBalancer) - $(Action)", - "inputs": [ - { - "name": "ConnectedServiceName", - "aliases": [ - "azureSubscription" - ], - "type": "connectedService:AzureRM", - "label": "Azure Subscription", - "defaultValue": "", - "required": true, - "helpMarkDown": "Select the Azure Resource Manager subscription for the deployment." - }, - { - "name": "ResourceGroupName", - "type": "pickList", - "label": "Resource Group", - "required": true, - "helpMarkDown": "Select the resource group name.", - "properties": { - "EditableOptions": "True" - } - }, - { - "name": "LoadBalancer", - "type": "pickList", - "label": "Load Balancer Name", - "required": true, - "helpMarkDown": "Select or enter the load balancer.", - "properties": { - "EditableOptions": "True" - } - }, - { - "name": "Action", - "type": "pickList", - "label": "Action", - "defaultValue": "", - "required": true, - "options": { - "Disconnect": "Disconnect Primary Network Interface", - "Connect": "Connect Primary Network Interface" - }, - "helpMarkDown": "Disconnect: Removes the virtual machine’s primary network interface from the load balancer’s backend pool. So that it stops receiving network traffic.\n\nConnect: Adds the virtual machine’s primary network interface to load balancer backend pool. So that it starts receiving network traffic based on the load balancing rules for the load balancer resource." - } - ], - "dataSourceBindings": [ - { - "target": "ResourceGroupName", - "endpointId": "$(ConnectedServiceName)", - "dataSourceName": "AzureResourceGroups" - }, - { - "target": "LoadBalancer", - "endpointId": "$(ConnectedServiceName)", - "dataSourceName": "AzureRMLoadBalancers", - "parameters": { - "ResourceGroupName": "$(ResourceGroupName)" - } - } - ], - "execution": { - "Node10": { - "target": "nlbtask.js" - }, - "Node16": { - "target": "nlbtask.js", - "argumentFormat": "" - } - }, - "messages": { - "CouldNotFetchNicDetails": "Could not fetch primary network interface configuration for the Azure Virtual Machine : %s", - "ConnectingVMtoLB": "Connecting the Azure Virtual Machine to the Load Balancer - %s's backend pool.", - "DisconnectingVMfromLB": "Disconnecting the Azure Virtual Machine from the Load Balancer - %s's backend pool.", - "setNICStatusSuccess": "Network interface %s set successfully", - "MaxRetriesExceededForSettingNetworkInterface": "Maximum retries exceeded for setting the Network Interface : %s", - "ActionCompletedSuccefully": "The Action - %s completed successfully for the virtual machine %s and load balancer %s", - "CouldNotFetchAcessToken": "Could not fetch access token.\nStatus Code : %s\nStatus Message : %s\n%s", - "CouldNotFetchNetworkInterfacesInRg": "Could not fetch Network Interfaces in the resource group %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "CouldNotFetchLoadBalancer": "Could not fetch Load Balancer %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "CouldNotFetchNetworkInterface": "Could not fetch Network Interface %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "FailedSettingNetworkInterface": "Failed setting the Network Interface %s.\nStatus Code : %s\nStatus Message : %s\n%s", - "SettingTheNetworkInterface": "Setting the network interface %s" - }, - "_buildConfigMapping": { - "Default": "1.226.1", - "Node16-225": "1.226.0" - } -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/task.loc.json b/_generated/AzureNLBManagementV1_Node16/task.loc.json deleted file mode 100644 index e516f90e0df2..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/task.loc.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "id": "e94f1750-a6a8-11e6-be69-bdf37a7b15d8", - "name": "AzureNLBManagement", - "friendlyName": "ms-resource:loc.friendlyName", - "description": "ms-resource:loc.description", - "author": "Microsoft Corporation", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/azure-nlb-management", - "helpMarkDown": "ms-resource:loc.helpMarkDown", - "category": "Utility", - "visibility": [ - "Build", - "Release" - ], - "runsOn": [ - "DeploymentGroup" - ], - "version": { - "Major": 1, - "Minor": 226, - "Patch": 0 - }, - "minimumAgentVersion": "1.95.0", - "instanceNameFormat": "ms-resource:loc.instanceNameFormat", - "inputs": [ - { - "name": "ConnectedServiceName", - "aliases": [ - "azureSubscription" - ], - "type": "connectedService:AzureRM", - "label": "ms-resource:loc.input.label.ConnectedServiceName", - "defaultValue": "", - "required": true, - "helpMarkDown": "ms-resource:loc.input.help.ConnectedServiceName" - }, - { - "name": "ResourceGroupName", - "type": "pickList", - "label": "ms-resource:loc.input.label.ResourceGroupName", - "required": true, - "helpMarkDown": "ms-resource:loc.input.help.ResourceGroupName", - "properties": { - "EditableOptions": "True" - } - }, - { - "name": "LoadBalancer", - "type": "pickList", - "label": "ms-resource:loc.input.label.LoadBalancer", - "required": true, - "helpMarkDown": "ms-resource:loc.input.help.LoadBalancer", - "properties": { - "EditableOptions": "True" - } - }, - { - "name": "Action", - "type": "pickList", - "label": "ms-resource:loc.input.label.Action", - "defaultValue": "", - "required": true, - "options": { - "Disconnect": "Disconnect Primary Network Interface", - "Connect": "Connect Primary Network Interface" - }, - "helpMarkDown": "ms-resource:loc.input.help.Action" - } - ], - "dataSourceBindings": [ - { - "target": "ResourceGroupName", - "endpointId": "$(ConnectedServiceName)", - "dataSourceName": "AzureResourceGroups" - }, - { - "target": "LoadBalancer", - "endpointId": "$(ConnectedServiceName)", - "dataSourceName": "AzureRMLoadBalancers", - "parameters": { - "ResourceGroupName": "$(ResourceGroupName)" - } - } - ], - "execution": { - "Node10": { - "target": "nlbtask.js" - }, - "Node16": { - "target": "nlbtask.js", - "argumentFormat": "" - } - }, - "messages": { - "CouldNotFetchNicDetails": "ms-resource:loc.messages.CouldNotFetchNicDetails", - "ConnectingVMtoLB": "ms-resource:loc.messages.ConnectingVMtoLB", - "DisconnectingVMfromLB": "ms-resource:loc.messages.DisconnectingVMfromLB", - "setNICStatusSuccess": "ms-resource:loc.messages.setNICStatusSuccess", - "MaxRetriesExceededForSettingNetworkInterface": "ms-resource:loc.messages.MaxRetriesExceededForSettingNetworkInterface", - "ActionCompletedSuccefully": "ms-resource:loc.messages.ActionCompletedSuccefully", - "CouldNotFetchAcessToken": "ms-resource:loc.messages.CouldNotFetchAcessToken", - "CouldNotFetchNetworkInterfacesInRg": "ms-resource:loc.messages.CouldNotFetchNetworkInterfacesInRg", - "CouldNotFetchLoadBalancer": "ms-resource:loc.messages.CouldNotFetchLoadBalancer", - "CouldNotFetchNetworkInterface": "ms-resource:loc.messages.CouldNotFetchNetworkInterface", - "FailedSettingNetworkInterface": "ms-resource:loc.messages.FailedSettingNetworkInterface", - "SettingTheNetworkInterface": "ms-resource:loc.messages.SettingTheNetworkInterface" - }, - "_buildConfigMapping": { - "Default": "1.226.1", - "Node16-225": "1.226.0" - } -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/tsconfig.json b/_generated/AzureNLBManagementV1_Node16/tsconfig.json deleted file mode 100644 index 1fdde76dae0e..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "skipLibCheck": true - } -} \ No newline at end of file diff --git a/_generated/AzureNLBManagementV1_Node16/utility.ts b/_generated/AzureNLBManagementV1_Node16/utility.ts deleted file mode 100644 index 180f3ee37b85..000000000000 --- a/_generated/AzureNLBManagementV1_Node16/utility.ts +++ /dev/null @@ -1,30 +0,0 @@ -import * as os from 'os'; - -export function getMacAddress(): string[] { - // Return an array of mac address of all the network interfaces - var macAddress = []; - var networkInterfaces = os.networkInterfaces(); - Object.keys(networkInterfaces).forEach( (interfaceName) => { - networkInterfaces[interfaceName].forEach( (interFace) => { - if (interFace.internal) { - return; - } - macAddress.push(interFace.mac.toUpperCase().replace(/:/g, "-")); - }); - }); - return macAddress; -} - -export function getPrimaryNetworkInterface(nics) { - var macAddress = this.getMacAddress(); - var primaryNic = null; - for (var mac in macAddress) { - for (var nic in nics) { - if(nics[nic].properties.macAddress == macAddress[mac] && nics[nic].properties.primary) { - primaryNic = nics[nic]; - break; - } - } - } - return primaryNic; -} \ No newline at end of file diff --git a/make-options.json b/make-options.json index b05e7d59f336..d43e95540608 100644 --- a/make-options.json +++ b/make-options.json @@ -224,7 +224,6 @@ "KubectlInstallerV0", "HelmDeployV0", "AzureFunctionAppV1", - "AzureNLBManagementV1", "AzureFunctionAppV2", "PublishCodeCoverageResultsV1", "PublishSymbolsV2",