From 25610392de3011565ca90648b9e1e3243af36a58 Mon Sep 17 00:00:00 2001 From: Adithi Bhushan Turavi Date: Fri, 3 Jul 2026 14:19:06 +0530 Subject: [PATCH 1/2] release-23-06-2026 --- package-lock.json | 1728 ++++++++++++++++------------ package.json | 10 +- test/unit/vpc.v1.test.js | 767 ++++++++++--- vpc/v1.ts | 2296 +++++++++++++++++++++++++++++++++++--- 4 files changed, 3763 insertions(+), 1038 deletions(-) diff --git a/package-lock.json b/package-lock.json index df3709f..d161d14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,24 +1,24 @@ { "name": "ibm-vpc", - "version": "0.30.1", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ibm-vpc", - "version": "0.30.1", + "version": "0.0.1", "license": "Apache-2.0", "dependencies": { - "@types/node": "^18.19.80", + "@types/node": "^14.0.0", "extend": "^3.0.2", - "ibm-cloud-sdk-core": "^5.4.11", + "ibm-cloud-sdk-core": "^5.4.20", "uuid": "^9.0.0" }, "devDependencies": { "@ibm-cloud/sdk-test-utilities": "^1.0.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", - "axios": "1.15.0", + "axios": "1.12.2", "dotenv": "^16.4.5", "eslint": "^7.26.0", "eslint-config-google": "^0.14.0", @@ -62,9 +62,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.0.tgz", - "integrity": "sha512-60X7qkglvrap8mn1lh2ebxXdZYtUcpd7gsmy9kLaBJ4i/WdY8PqTSdxyA8qraikqKQK5C1KRBKXqznrVapyNaw==", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.8.tgz", + "integrity": "sha512-ZsysZyXY4Tlx+Q53XdnOFmqwfB9QDTHYxaZYajWRoBLuLEAwI2UIbtxOjWh/cFaa9IKUlcB+DDuoskLuKu56JA==", "dev": true, "license": "MIT", "engines": { @@ -72,23 +72,22 @@ } }, "node_modules/@babel/core": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.0.tgz", - "integrity": "sha512-UlLAnTPrFdNGoFtbSXwcGFQBtQZJCNjaN6hQNP3UPvuNXT1i82N26KL3dZeIpNalWywr9IuQuncaAfUaS1g6sQ==", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.8.tgz", + "integrity": "sha512-Oixnb+DzmRT30qu9d3tJSQkxuygWm32DFykT4bRoORPa9hZ/L4KhVB/XiRm6KG+roIEM7DBQlmg27kw2HZkdZg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.0", - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-module-transforms": "^7.27.3", - "@babel/helpers": "^7.27.6", - "@babel/parser": "^7.28.0", - "@babel/template": "^7.27.2", - "@babel/traverse": "^7.28.0", - "@babel/types": "^7.28.0", + "@babel/code-frame": "^7.25.7", + "@babel/generator": "^7.25.7", + "@babel/helper-compilation-targets": "^7.25.7", + "@babel/helper-module-transforms": "^7.25.7", + "@babel/helpers": "^7.25.7", + "@babel/parser": "^7.25.8", + "@babel/template": "^7.25.7", + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.8", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -104,15 +103,14 @@ } }, "node_modules/@babel/core/node_modules/@babel/code-frame": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", - "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", + "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", - "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" + "@babel/highlight": "^7.25.7", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" @@ -129,16 +127,15 @@ } }, "node_modules/@babel/generator": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.0.tgz", - "integrity": "sha512-lJjzvrbEeWrhB4P3QBsH7tey117PjLZnDbLiQEKjQ/fNJTjuq4HSqgFA+UNSwZT8D7dxxbnuSBMsa1lrWzKlQg==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.7.tgz", + "integrity": "sha512-5Dqpl5fyV9pIAD62yK9P7fcA768uVPUyrQmqpqstHWgMma4feF1x/oFysBCVZLY5wJ2GkMUCdsNDnGZrPoR6rA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.28.0", - "@babel/types": "^7.28.0", - "@jridgewell/gen-mapping": "^0.3.12", - "@jridgewell/trace-mapping": "^0.3.28", + "@babel/types": "^7.25.7", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^3.0.2" }, "engines": { @@ -146,14 +143,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.27.2", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz", - "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.7.tgz", + "integrity": "sha512-DniTEax0sv6isaw6qSQSfV4gVRNtw2rte8HHM45t9ZR0xILaufBRNkpMifCRiAPyvL4ACD6v0gfCwCmtOQaV4A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.27.2", - "@babel/helper-validator-option": "^7.27.1", + "@babel/compat-data": "^7.25.7", + "@babel/helper-validator-option": "^7.25.7", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -172,40 +169,31 @@ "semver": "bin/semver.js" } }, - "node_modules/@babel/helper-globals": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", - "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz", - "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.7.tgz", + "integrity": "sha512-o0xCgpNmRohmnoWKQ0Ij8IdddjyBFE4T2kagL/x6M3+4zUgc+4qTOUBoNe4XxDskt1HPKO007ZPiMgLDq2s7Kw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz", - "integrity": "sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.7.tgz", + "integrity": "sha512-k/6f8dKG3yDz/qCwSM+RKovjMix563SLxQFo0UhRNo239SP6n9u5/eLtKD6EAjwta2JHJ49CsD8pms2HdNiMMQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.27.3" + "@babel/helper-module-imports": "^7.25.7", + "@babel/helper-simple-access": "^7.25.7", + "@babel/helper-validator-identifier": "^7.25.7", + "@babel/traverse": "^7.25.7" }, "engines": { "node": ">=6.9.0" @@ -215,11 +203,25 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz", - "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.7.tgz", + "integrity": "sha512-eaPZai0PiqCi09pPs3pAFfl/zYgGaE6IdXtYvmf0qlcDTd3WCtO7JWCcRd64e0EQrcYgiHibEZnOGsSY4QSgaw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.25.7.tgz", + "integrity": "sha512-FPGAkJmyoChQeM+ruBGIDyrT2tKfZJO8NcxdC+CWNJi7N8/rZpSxK7yvBJ5O/nF1gfu5KzN7VKG3YVSLFfRSxQ==", "dev": true, "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.7" + }, "engines": { "node": ">=6.9.0" } @@ -245,9 +247,9 @@ } }, "node_modules/@babel/helper-validator-option": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", - "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.7.tgz", + "integrity": "sha512-ytbPLsm+GjArDYXJ8Ydr1c/KJuutjF2besPNbIZnZ6MKUxi/uTA22t2ymmA4WFjZFpjiAMO0xuuJPqK2nvDVfQ==", "dev": true, "license": "MIT", "engines": { @@ -255,27 +257,27 @@ } }, "node_modules/@babel/helpers": { - "version": "7.27.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.6.tgz", - "integrity": "sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug==", + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz", + "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==", "dev": true, "license": "MIT", "dependencies": { "@babel/template": "^7.27.2", - "@babel/types": "^7.27.6" + "@babel/types": "^7.28.4" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.9.tgz", - "integrity": "sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.7.tgz", + "integrity": "sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.7", "chalk": "^2.4.2", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" @@ -363,13 +365,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.0.tgz", - "integrity": "sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==", + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz", + "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.28.0" + "@babel/types": "^7.28.4" }, "bin": { "parser": "bin/babel-parser.js" @@ -434,13 +436,13 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz", - "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.7.tgz", + "integrity": "sha512-AqVo+dguCgmpi/3mYBdu9lkngOBlQ2w2vnNpa6gfiCxQZLzV4ZbhsXitJ2Yblkoe1VQwtHSaNmIaGll/26YWRw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.25.7" }, "engines": { "node": ">=6.9.0" @@ -476,13 +478,13 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz", - "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.7.tgz", + "integrity": "sha512-ruZOnKO+ajVL/MVx+PwNBPOkrnXTXoWMtte1MBpegfCArhqOe3Bj52avVj1huLLxNKYKXYaSxZ2F+woK1ekXfw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.25.7" }, "engines": { "node": ">=6.9.0" @@ -602,13 +604,13 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz", - "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.7.tgz", + "integrity": "sha512-rR+5FDjpCHqqZN2bzZm18bVYGaejGq5ZkpVCJLXor/+zlSrSoc4KWcHI0URVWjl/68Dyr1uwZUz/1njycEAv9g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.25.7" }, "engines": { "node": ">=6.9.0" @@ -648,43 +650,52 @@ } }, "node_modules/@babel/traverse": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.0.tgz", - "integrity": "sha512-mGe7UK5wWyh0bKRfupsUchrQGqvDbZDbKJw+kcRGSmdHVYrv+ltd0pnpDTVpiTqnaBru9iEvA8pz8W46v0Amwg==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.7.tgz", + "integrity": "sha512-jatJPT1Zjqvh/1FyJs6qAHL+Dzb7sTb+xr7Q+gM1b+1oBsMsQQ4FkVKb6dFlJvLlVssqkRzV05Jzervt9yhnzg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.0", - "@babel/helper-globals": "^7.28.0", - "@babel/parser": "^7.28.0", - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.0", - "debug": "^4.3.1" + "@babel/code-frame": "^7.25.7", + "@babel/generator": "^7.25.7", + "@babel/parser": "^7.25.7", + "@babel/template": "^7.25.7", + "@babel/types": "^7.25.7", + "debug": "^4.3.1", + "globals": "^11.1.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse/node_modules/@babel/code-frame": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", - "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", + "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", - "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" + "@babel/highlight": "^7.25.7", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" } }, + "node_modules/@babel/traverse/node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, "node_modules/@babel/types": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.0.tgz", - "integrity": "sha512-jYnje+JyZG5YThjHiF28oT4SIZLnYOcSBb6+SDaFIyzDVSkXQmQQYclJ2R+YxcdmK0AX6x1E5OQNtuh3jHDrUg==", + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz", + "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==", "dev": true, "license": "MIT", "dependencies": { @@ -799,6 +810,19 @@ "node": ">=12" } }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, "node_modules/@isaacs/cliui/node_modules/ansi-styles": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", @@ -1211,14 +1235,18 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.12", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.12.tgz", - "integrity": "sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { @@ -1231,17 +1259,27 @@ "node": ">=6.0.0" } }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.4.tgz", - "integrity": "sha512-VT2+G1VQs/9oz078bLrYbecdZKs912zQlkelYpuf+SXF+QvZDYJlbx/LSx+meSAwdDFnF8FVXW92AVjjkVmgFw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", "dev": true, "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.29", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.29.tgz", - "integrity": "sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1304,9 +1342,9 @@ } }, "node_modules/@npmcli/map-workspaces/node_modules/brace-expansion": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.3.tgz", - "integrity": "sha512-MCV/fYJEbqx68aE58kv2cA/kiky1G8vux3OR6/jbS+jIMe/6fJWa0DTzJU7dqijOWYwHi1t29FlfYI9uytqlpA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1314,10 +1352,9 @@ } }, "node_modules/@npmcli/map-workspaces/node_modules/glob": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", - "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "license": "ISC", "dependencies": { @@ -1336,13 +1373,13 @@ } }, "node_modules/@npmcli/map-workspaces/node_modules/minimatch": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", - "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.2" + "brace-expansion": "^2.0.1" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -1377,7 +1414,6 @@ "integrity": "sha512-oNXsh2ywth5aowwIa7RKtawnkdH6LgU1ztfP9AIUCQCvzysB+WeU8o2kyyosDPwBZutPpjZDKPQGIzzrfTWweQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@octokit/auth-token": "^6.0.0", "@octokit/graphql": "^9.0.1", @@ -2036,6 +2072,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@semantic-release/npm/node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@semantic-release/release-notes-generator": { "version": "14.0.3", "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.3.tgz", @@ -2165,9 +2214,9 @@ } }, "node_modules/@types/babel__generator": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", - "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", + "version": "7.6.8", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", + "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", "dev": true, "license": "MIT", "dependencies": { @@ -2186,9 +2235,9 @@ } }, "node_modules/@types/babel__traverse": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.7.tgz", - "integrity": "sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==", + "version": "7.20.6", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", + "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", "dev": true, "license": "MIT", "dependencies": { @@ -2252,19 +2301,16 @@ } }, "node_modules/@types/ms": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", - "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "version": "0.7.34", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==", "license": "MIT" }, "node_modules/@types/node": { - "version": "18.19.130", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.130.tgz", - "integrity": "sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==", - "license": "MIT", - "dependencies": { - "undici-types": "~5.26.4" - } + "version": "14.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", + "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", + "license": "MIT" }, "node_modules/@types/normalize-package-data": { "version": "2.4.4", @@ -2281,9 +2327,9 @@ "license": "MIT" }, "node_modules/@types/tough-cookie": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.0.tgz", + "integrity": "sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A==", "license": "MIT" }, "node_modules/@types/yargs": { @@ -2345,7 +2391,6 @@ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2388,9 +2433,9 @@ } }, "node_modules/ajv": { - "version": "6.14.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", - "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "license": "MIT", "dependencies": { @@ -2444,16 +2489,13 @@ } }, "node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "node": ">=8" } }, "node_modules/ansi-styles": { @@ -2534,15 +2576,14 @@ "license": "MIT" }, "node_modules/axios": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz", - "integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz", + "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==", "license": "MIT", - "peer": true, "dependencies": { - "follow-redirects": "^1.15.11", - "form-data": "^4.0.5", - "proxy-from-env": "^2.1.0" + "follow-redirects": "^1.15.6", + "form-data": "^4.0.4", + "proxy-from-env": "^1.1.0" } }, "node_modules/babel-jest": { @@ -2693,9 +2734,9 @@ "license": "MIT" }, "node_modules/brace-expansion": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.13.tgz", - "integrity": "sha512-9ZLprWS6EENmhEOpjCYW2c8VkmOvckIJZfkr7rBW6dObmfgJ/L1GpSYW5Hpo9lDz4D1+n0Ckz8rU7FwHDQiG/w==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "license": "MIT", "dependencies": { @@ -2717,9 +2758,9 @@ } }, "node_modules/browserslist": { - "version": "4.25.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.1.tgz", - "integrity": "sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.0.tgz", + "integrity": "sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A==", "dev": true, "funding": [ { @@ -2736,12 +2777,11 @@ } ], "license": "MIT", - "peer": true, "dependencies": { - "caniuse-lite": "^1.0.30001726", - "electron-to-chromium": "^1.5.173", - "node-releases": "^2.0.19", - "update-browserslist-db": "^1.1.3" + "caniuse-lite": "^1.0.30001663", + "electron-to-chromium": "^1.5.28", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.0" }, "bin": { "browserslist": "cli.js" @@ -2819,9 +2859,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001727", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001727.tgz", - "integrity": "sha512-pB68nIHmbN6L/4C6MH1DokyR3bYqFwjaSs/sWDHGj4CTcFtQUQMuJftVwWkXq7mNWOybD3KhUv3oWHoGxgP14Q==", + "version": "1.0.30001668", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001668.tgz", + "integrity": "sha512-nWLrdxqCdblixUO+27JtGJJE/txpJlyUy5YN1u53wLZkP0emYCo5zgS6QYft7VUYR42LGgi/S5hdLZTrnyIddw==", "dev": true, "funding": [ { @@ -2883,9 +2923,9 @@ } }, "node_modules/cjs-module-lexer": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz", - "integrity": "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz", + "integrity": "sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==", "dev": true, "license": "MIT" }, @@ -2952,16 +2992,6 @@ "node": ">=10" } }, - "node_modules/cli-highlight/node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, "node_modules/cli-table3": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", @@ -3225,9 +3255,9 @@ "license": "Python-2.0" }, "node_modules/cosmiconfig/node_modules/js-yaml": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", - "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "license": "MIT", "dependencies": { @@ -3321,9 +3351,9 @@ } }, "node_modules/dedent": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.6.0.tgz", - "integrity": "sha512-F1Z+5UCFpmQUzJa11agbyPVMbpgT/qA3/SKyJ1jyBgm7dUcUEa8v9JwDkerSQXfakBwFljIxhOJqGkjUwZ9FSA==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", + "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -3434,6 +3464,7 @@ "version": "16.6.1", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=12" @@ -3516,9 +3547,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.182", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.182.tgz", - "integrity": "sha512-Lv65Btwv9W4J9pyODI6EWpdnhfvrve/us5h1WspW8B2Fb0366REPtY3hX7ounk1CkV/TBjWCEvCBBbYbmV0qCA==", + "version": "1.5.38", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.38.tgz", + "integrity": "sha512-VbeVexmZ1IFh+5EfrYz1I0HTzHVIlJa112UEWhciPyeOcKJGeTv6N8WnG4wsQB81DGCaVEGhpSb6o6a8WYFXXg==", "dev": true, "license": "ISC" }, @@ -3564,9 +3595,9 @@ } }, "node_modules/env-ci": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.1.1.tgz", - "integrity": "sha512-mT3ks8F0kwpo7SYNds6nWj0PaRh+qJxIeBVBXAKTN9hphAzZv7s0QAZQbqnB1fAv/r4pJUGE15BV9UrS31FP2w==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.1.0.tgz", + "integrity": "sha512-Z8dnwSDbV1XYM9SBF2J0GcNVvmfmfh3a49qddGIROhBoVro6MZVTji15z/sJbQ2ko2ei8n988EU1wzoLU/tF+g==", "dev": true, "license": "MIT", "dependencies": { @@ -3829,7 +3860,6 @@ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "7.12.11", "@eslint/eslintrc": "^0.4.3", @@ -4318,21 +4348,11 @@ "license": "MIT" }, "node_modules/fast-uri": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", - "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.2.tgz", + "integrity": "sha512-GR6f0hD7XXyNJa25Tb9BuIdN0tdr+0BMi6/CJPH3wJO1JjNG3n/VsSw38AwRdKZABm8lGbPfakLRkYzx2V9row==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" + "license": "MIT" }, "node_modules/fastq": { "version": "1.19.1", @@ -4384,9 +4404,9 @@ } }, "node_modules/file-type": { - "version": "21.3.4", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.4.tgz", - "integrity": "sha512-Ievi/yy8DS3ygGvT47PjSfdFoX+2isQueoYP1cntFW1JLYAuS4GD7NUPGg4zv2iZfV52uDyk5w5Z0TdpRS6Q1g==", + "version": "21.3.2", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.2.tgz", + "integrity": "sha512-DLkUvGwep3poOV2wpzbHCOnSKGk1LzyXTv+aHFgN2VFl96wnp8YA9YjO2qPzg5PuL8q/SW9Pdi6WTkYOIh995w==", "license": "MIT", "dependencies": { "@tokenizer/inflate": "^0.4.1", @@ -4429,9 +4449,9 @@ } }, "node_modules/find-up-simple": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.1.tgz", - "integrity": "sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz", + "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==", "dev": true, "license": "MIT", "engines": { @@ -4474,16 +4494,16 @@ } }, "node_modules/flatted": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", - "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", "dev": true, "license": "ISC" }, "node_modules/follow-redirects": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", - "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==", + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", + "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", "funding": [ { "type": "individual", @@ -4531,16 +4551,16 @@ } }, "node_modules/form-data": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", - "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", + "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", - "hasown": "^2.0.2", - "mime-types": "^2.1.12" + "hasown": "^2.0.4", + "mime-types": "^2.1.35" }, "engines": { "node": ">= 6" @@ -4591,9 +4611,9 @@ } }, "node_modules/fs-extra": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", - "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", "dev": true, "license": "MIT", "dependencies": { @@ -4751,6 +4771,29 @@ "traverse": "0.6.8" } }, + "node_modules/git-log-parser/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "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" + } + }, + "node_modules/git-log-parser/node_modules/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==", + "dev": true, + "license": "MIT" + }, "node_modules/git-log-parser/node_modules/split2": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz", @@ -4761,6 +4804,27 @@ "through2": "~2.0.0" } }, + "node_modules/git-log-parser/node_modules/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/git-log-parser/node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -4869,6 +4933,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/globby/node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -4889,9 +4966,9 @@ "license": "ISC" }, "node_modules/handlebars": { - "version": "4.7.9", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", - "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4948,9 +5025,9 @@ } }, "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -5048,92 +5125,214 @@ } }, "node_modules/ibm-cloud-sdk-core": { - "version": "5.4.11", - "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-5.4.11.tgz", - "integrity": "sha512-UYm6i3OCcQ1sBOVIJh0gcwCNltiGCf7QBCPaDtqCXuHIPbn8m9sKqVBqfrgFuQpenAak/Yv/450Vw+tC59XVIQ==", + "version": "5.4.20", + "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-5.4.20.tgz", + "integrity": "sha512-3jdfmJvV67DOlzHfNgLFkRgitmly/qlq/MBqfVuFEugNe4zrYQar8IRIfby635ZpbKR4PmdmRjIjn5f0kQy2Ig==", "license": "Apache-2.0", "dependencies": { - "@types/debug": "^4.1.12", - "@types/node": "^18.19.80", - "@types/tough-cookie": "^4.0.0", - "axios": "1.15.0", - "camelcase": "^6.3.0", - "debug": "^4.3.4", - "dotenv": "^16.4.5", + "@types/debug": "4.1.12", + "@types/node": "18.19.80", + "@types/tough-cookie": "4.0.0", + "axios": "1.16.1", + "camelcase": "6.3.0", + "debug": "4.3.4", + "dotenv": "16.4.5", "extend": "3.0.2", - "file-type": "^21.3.2", - "form-data": "^4.0.4", + "file-type": "21.3.2", + "form-data": "4.0.4", "isstream": "0.1.2", - "jsonwebtoken": "^9.0.3", - "load-esm": "^1.0.3", + "jsonwebtoken": "9.0.3", + "load-esm": "1.0.3", "mime-types": "2.1.35", - "retry-axios": "^2.6.0", - "tough-cookie": "^4.1.3" + "retry-axios": "2.6.0", + "tough-cookie": "4.1.3" }, "engines": { "node": ">=20" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true, + "node_modules/ibm-cloud-sdk-core/node_modules/@types/node": { + "version": "18.19.80", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.80.tgz", + "integrity": "sha512-kEWeMwMeIvxYkeg1gTc01awpwLbfMRZXdIhwRcakd/KlK53jmRC26LqcbIt7fnAQTu5GzlnWmzA3H6+l1u6xxQ==", "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/ignore-walk": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", - "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", - "dev": true, - "license": "ISC", "dependencies": { - "minimatch": "^3.0.4" + "undici-types": "~5.26.4" } }, - "node_modules/import-fresh": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", - "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", - "dev": true, + "node_modules/ibm-cloud-sdk-core/node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "license": "MIT", "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" + "debug": "4" }, "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 6.0.0" } }, - "node_modules/import-from-esm": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-2.0.0.tgz", + "node_modules/ibm-cloud-sdk-core/node_modules/axios": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.16.1.tgz", + "integrity": "sha512-caYkukvroVPO8KrzuJEb50Hm07KwfBZPEC3VeFHTsqWHvKTsy54hjJz9BS/cdaypROE2rH6xvm9mHX4fgWkr3A==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.16.0", + "form-data": "^4.0.5", + "https-proxy-agent": "^5.0.1", + "proxy-from-env": "^2.1.0" + } + }, + "node_modules/ibm-cloud-sdk-core/node_modules/axios/node_modules/form-data": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", + "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.4", + "mime-types": "^2.1.35" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ibm-cloud-sdk-core/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/ibm-cloud-sdk-core/node_modules/dotenv": { + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/ibm-cloud-sdk-core/node_modules/form-data": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ibm-cloud-sdk-core/node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ibm-cloud-sdk-core/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "license": "MIT" + }, + "node_modules/ibm-cloud-sdk-core/node_modules/proxy-from-env": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", + "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/ignore-walk": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", + "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minimatch": "^3.0.4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-from-esm": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-2.0.0.tgz", "integrity": "sha512-YVt14UZCgsX1vZQ3gKjkWVdBdHQ6eu3MPU1TBgL1H5orXe2+jWD006WCPPtOuwlQm10NuzOW5WawiF1Q9veW8g==", "dev": true, "license": "MIT", @@ -5197,9 +5396,9 @@ } }, "node_modules/index-to-position": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.1.0.tgz", - "integrity": "sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-0.1.2.tgz", + "integrity": "sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==", "dev": true, "license": "MIT", "engines": { @@ -5274,9 +5473,9 @@ } }, "node_modules/installed-check-core/node_modules/picomatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", - "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", "engines": { @@ -5324,9 +5523,9 @@ "license": "MIT" }, "node_modules/is-core-module": { - "version": "2.16.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", - "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5881,15 +6080,14 @@ } }, "node_modules/jest-message-util/node_modules/@babel/code-frame": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", - "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", + "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", - "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" + "@babel/highlight": "^7.25.7", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" @@ -6168,9 +6366,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "3.14.2", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", - "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, "license": "MIT", "dependencies": { @@ -6182,9 +6380,9 @@ } }, "node_modules/jsesc": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", - "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", "dev": true, "license": "MIT", "bin": { @@ -6445,16 +6643,16 @@ } }, "node_modules/lodash": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", - "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true, "license": "MIT" }, "node_modules/lodash-es": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz", - "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==", + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", "dev": true, "license": "MIT" }, @@ -6577,7 +6775,6 @@ "integrity": "sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA==", "dev": true, "license": "MIT", - "peer": true, "bin": { "marked": "bin/marked.js" }, @@ -6623,6 +6820,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/marked-terminal/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, "node_modules/marked-terminal/node_modules/chalk": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", @@ -6737,9 +6947,9 @@ } }, "node_modules/minimatch": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", - "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "license": "ISC", "dependencies": { @@ -6809,9 +7019,9 @@ "license": "MIT" }, "node_modules/nock": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.6.tgz", - "integrity": "sha512-o2zOYiCpzRqSzPj0Zt/dQ/DqZeYoaQ7TUonc/xUPjCGl9WeHpNbxgVvOquXYAaJzI0M9BXV3HTzG0p8IUAbBTQ==", + "version": "13.5.5", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.5.tgz", + "integrity": "sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA==", "dev": true, "license": "MIT", "dependencies": { @@ -6847,9 +7057,9 @@ "license": "MIT" }, "node_modules/node-releases": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", - "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "dev": true, "license": "MIT" }, @@ -6877,9 +7087,9 @@ } }, "node_modules/npm": { - "version": "10.9.8", - "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.8.tgz", - "integrity": "sha512-fYwb6ODSmHkqrJQQaCxY3M2lPf/mpgC7ik0HSzzIwG5CGtabRp4bNqikatvCoT42b5INQSqudVH0R7yVmC9hVg==", + "version": "10.9.3", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.3.tgz", + "integrity": "sha512-6Eh1u5Q+kIVXeA8e7l2c/HpnFFcwrkt37xDMujD5be1gloWa9p6j3Fsv3mByXXmqJHy+2cElRMML8opNT7xIJQ==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -6961,24 +7171,24 @@ ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^8.0.5", + "@npmcli/arborist": "^8.0.1", "@npmcli/config": "^9.0.0", "@npmcli/fs": "^4.0.0", "@npmcli/map-workspaces": "^4.0.2", "@npmcli/package-json": "^6.2.0", - "@npmcli/promise-spawn": "^8.0.3", + "@npmcli/promise-spawn": "^8.0.2", "@npmcli/redact": "^3.2.2", "@npmcli/run-script": "^9.1.0", "@sigstore/tuf": "^3.1.1", "abbrev": "^3.0.1", "archy": "~1.0.0", "cacache": "^19.0.1", - "chalk": "^5.6.2", - "ci-info": "^4.4.0", + "chalk": "^5.4.1", + "ci-info": "^4.2.0", "cli-columns": "^4.0.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3", - "glob": "^10.5.0", + "glob": "^10.4.5", "graceful-fs": "^4.2.11", "hosted-git-info": "^8.1.0", "ini": "^5.0.0", @@ -6986,46 +7196,46 @@ "is-cidr": "^5.1.1", "json-parse-even-better-errors": "^4.0.0", "libnpmaccess": "^9.0.0", - "libnpmdiff": "^7.0.5", - "libnpmexec": "^9.0.5", - "libnpmfund": "^6.0.5", + "libnpmdiff": "^7.0.1", + "libnpmexec": "^9.0.1", + "libnpmfund": "^6.0.1", "libnpmhook": "^11.0.0", "libnpmorg": "^7.0.0", - "libnpmpack": "^8.0.5", - "libnpmpublish": "^10.0.2", + "libnpmpack": "^8.0.1", + "libnpmpublish": "^10.0.1", "libnpmsearch": "^8.0.0", "libnpmteam": "^7.0.0", "libnpmversion": "^7.0.0", "make-fetch-happen": "^14.0.3", - "minimatch": "^9.0.9", - "minipass": "^7.1.3", + "minimatch": "^9.0.5", + "minipass": "^7.1.1", "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", - "node-gyp": "^11.5.0", + "node-gyp": "^11.2.0", "nopt": "^8.1.0", - "normalize-package-data": "^7.0.1", + "normalize-package-data": "^7.0.0", "npm-audit-report": "^6.0.0", - "npm-install-checks": "^7.1.2", + "npm-install-checks": "^7.1.1", "npm-package-arg": "^12.0.2", "npm-pick-manifest": "^10.0.0", "npm-profile": "^11.0.1", "npm-registry-fetch": "^18.0.2", "npm-user-validate": "^3.0.0", - "p-map": "^7.0.4", + "p-map": "^7.0.3", "pacote": "^19.0.1", "parse-conflict-json": "^4.0.0", "proc-log": "^5.0.0", "qrcode-terminal": "^0.12.0", "read": "^4.1.0", - "semver": "^7.7.4", + "semver": "^7.7.2", "spdx-expression-parse": "^4.0.0", "ssri": "^12.0.0", "supports-color": "^9.4.0", - "tar": "^7.5.11", + "tar": "^6.2.1", "text-table": "~0.2.0", "tiny-relative-date": "^1.3.0", "treeverse": "^3.0.0", - "validate-npm-package-name": "^6.0.2", + "validate-npm-package-name": "^6.0.1", "which": "^5.0.0", "write-file-atomic": "^6.0.0" }, @@ -7078,7 +7288,7 @@ } }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.2.2", + "version": "6.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -7113,12 +7323,12 @@ } }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi": { - "version": "7.2.0", + "version": "7.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "ansi-regex": "^6.2.2" + "ansi-regex": "^6.0.1" }, "engines": { "node": ">=12" @@ -7162,7 +7372,7 @@ } }, "node_modules/npm/node_modules/@npmcli/arborist": { - "version": "8.0.5", + "version": "8.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -7197,7 +7407,6 @@ "proggy": "^3.0.0", "promise-all-reject-late": "^1.0.0", "promise-call-limit": "^3.0.1", - "promise-retry": "^2.0.1", "read-package-json-fast": "^4.0.0", "semver": "^7.3.7", "ssri": "^12.0.0", @@ -7309,7 +7518,7 @@ } }, "node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote": { - "version": "20.0.1", + "version": "20.0.0", "dev": true, "inBundle": true, "license": "ISC", @@ -7330,7 +7539,7 @@ "promise-retry": "^2.0.1", "sigstore": "^3.0.0", "ssri": "^12.0.0", - "tar": "^7.5.10" + "tar": "^6.1.11" }, "bin": { "pacote": "bin/index.js" @@ -7376,7 +7585,7 @@ } }, "node_modules/npm/node_modules/@npmcli/promise-spawn": { - "version": "8.0.3", + "version": "8.0.2", "dev": true, "inBundle": true, "license": "ISC", @@ -7435,27 +7644,6 @@ "node": ">=14" } }, - "node_modules/npm/node_modules/@sigstore/bundle": { - "version": "3.1.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/protobuf-specs": "^0.4.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/@sigstore/core": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, "node_modules/npm/node_modules/@sigstore/protobuf-specs": { "version": "0.4.3", "dev": true, @@ -7465,23 +7653,6 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/@sigstore/sign": { - "version": "3.1.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/bundle": "^3.1.0", - "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.4.0", - "make-fetch-happen": "^14.0.2", - "proc-log": "^5.0.0", - "promise-retry": "^2.0.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, "node_modules/npm/node_modules/@sigstore/tuf": { "version": "3.1.1", "dev": true, @@ -7495,20 +7666,6 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/@sigstore/verify": { - "version": "2.1.1", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/bundle": "^3.1.0", - "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.4.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, "node_modules/npm/node_modules/@tufjs/canonical-json": { "version": "2.0.0", "dev": true, @@ -7528,7 +7685,7 @@ } }, "node_modules/npm/node_modules/agent-base": { - "version": "7.1.4", + "version": "7.1.3", "dev": true, "inBundle": true, "license": "MIT", @@ -7546,7 +7703,7 @@ } }, "node_modules/npm/node_modules/ansi-styles": { - "version": "6.2.3", + "version": "6.2.1", "dev": true, "inBundle": true, "license": "MIT", @@ -7558,7 +7715,7 @@ } }, "node_modules/npm/node_modules/aproba": { - "version": "2.1.0", + "version": "2.0.0", "dev": true, "inBundle": true, "license": "ISC" @@ -7635,8 +7792,58 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/npm/node_modules/cacache/node_modules/chownr": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/mkdirp": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/tar": { + "version": "7.4.3", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/yallist": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, "node_modules/npm/node_modules/chalk": { - "version": "5.6.2", + "version": "5.4.1", "dev": true, "inBundle": true, "license": "MIT", @@ -7648,16 +7855,16 @@ } }, "node_modules/npm/node_modules/chownr": { - "version": "3.0.0", + "version": "2.0.0", "dev": true, "inBundle": true, - "license": "BlueOak-1.0.0", + "license": "ISC", "engines": { - "node": ">=18" + "node": ">=10" } }, "node_modules/npm/node_modules/ci-info": { - "version": "4.4.0", + "version": "4.2.0", "dev": true, "funding": [ { @@ -7771,7 +7978,7 @@ } }, "node_modules/npm/node_modules/debug": { - "version": "4.4.3", + "version": "4.4.1", "dev": true, "inBundle": true, "license": "MIT", @@ -7788,7 +7995,7 @@ } }, "node_modules/npm/node_modules/diff": { - "version": "5.2.2", + "version": "5.2.0", "dev": true, "inBundle": true, "license": "BSD-3-Clause", @@ -7834,7 +8041,7 @@ "license": "MIT" }, "node_modules/npm/node_modules/exponential-backoff": { - "version": "3.1.3", + "version": "3.1.2", "dev": true, "inBundle": true, "license": "Apache-2.0" @@ -7848,23 +8055,6 @@ "node": ">= 4.9.1" } }, - "node_modules/npm/node_modules/fdir": { - "version": "6.5.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, "node_modules/npm/node_modules/foreground-child": { "version": "3.3.1", "dev": true, @@ -7894,7 +8084,7 @@ } }, "node_modules/npm/node_modules/glob": { - "version": "10.5.0", + "version": "10.4.5", "dev": true, "inBundle": true, "license": "ISC", @@ -8025,10 +8215,14 @@ } }, "node_modules/npm/node_modules/ip-address": { - "version": "10.1.0", + "version": "9.0.5", "dev": true, "inBundle": true, "license": "MIT", + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, "engines": { "node": ">= 12" } @@ -8087,6 +8281,12 @@ "@pkgjs/parseargs": "^0.11.0" } }, + "node_modules/npm/node_modules/jsbn": { + "version": "1.1.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, "node_modules/npm/node_modules/json-parse-even-better-errors": { "version": "4.0.0", "dev": true, @@ -8140,31 +8340,31 @@ } }, "node_modules/npm/node_modules/libnpmdiff": { - "version": "7.0.5", + "version": "7.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.5", + "@npmcli/arborist": "^8.0.1", "@npmcli/installed-package-contents": "^3.0.0", "binary-extensions": "^2.3.0", "diff": "^5.1.0", "minimatch": "^9.0.4", "npm-package-arg": "^12.0.0", "pacote": "^19.0.0", - "tar": "^7.5.11" + "tar": "^6.2.1" }, "engines": { "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "9.0.5", + "version": "9.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.5", + "@npmcli/arborist": "^8.0.1", "@npmcli/run-script": "^9.0.1", "ci-info": "^4.0.0", "npm-package-arg": "^12.0.0", @@ -8180,12 +8380,12 @@ } }, "node_modules/npm/node_modules/libnpmfund": { - "version": "6.0.5", + "version": "6.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.5" + "@npmcli/arborist": "^8.0.1" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -8218,12 +8418,12 @@ } }, "node_modules/npm/node_modules/libnpmpack": { - "version": "8.0.5", + "version": "8.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.5", + "@npmcli/arborist": "^8.0.1", "@npmcli/run-script": "^9.0.1", "npm-package-arg": "^12.0.0", "pacote": "^19.0.0" @@ -8233,7 +8433,7 @@ } }, "node_modules/npm/node_modules/libnpmpublish": { - "version": "10.0.2", + "version": "10.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -8320,13 +8520,22 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator": { + "version": "1.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/npm/node_modules/minimatch": { - "version": "9.0.9", + "version": "9.0.5", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.2" + "brace-expansion": "^2.0.1" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -8336,10 +8545,10 @@ } }, "node_modules/npm/node_modules/minipass": { - "version": "7.1.3", + "version": "7.1.2", "dev": true, "inBundle": true, - "license": "BlueOak-1.0.0", + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } @@ -8397,12 +8606,6 @@ "node": ">=8" } }, - "node_modules/npm/node_modules/minipass-flush/node_modules/yallist": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, "node_modules/npm/node_modules/minipass-pipeline": { "version": "1.2.4", "dev": true, @@ -8427,12 +8630,6 @@ "node": ">=8" } }, - "node_modules/npm/node_modules/minipass-pipeline/node_modules/yallist": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, "node_modules/npm/node_modules/minipass-sized": { "version": "1.0.3", "dev": true, @@ -8457,14 +8654,8 @@ "node": ">=8" } }, - "node_modules/npm/node_modules/minipass-sized/node_modules/yallist": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, "node_modules/npm/node_modules/minizlib": { - "version": "3.1.0", + "version": "3.0.2", "dev": true, "inBundle": true, "license": "MIT", @@ -8475,6 +8666,18 @@ "node": ">= 18" } }, + "node_modules/npm/node_modules/mkdirp": { + "version": "1.0.4", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/npm/node_modules/ms": { "version": "2.1.3", "dev": true, @@ -8490,17 +8693,8 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/negotiator": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/npm/node_modules/node-gyp": { - "version": "11.5.0", + "version": "11.2.0", "dev": true, "inBundle": true, "license": "MIT", @@ -8523,6 +8717,56 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/npm/node_modules/node-gyp/node_modules/chownr": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/mkdirp": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/tar": { + "version": "7.4.3", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/yallist": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, "node_modules/npm/node_modules/nopt": { "version": "8.1.0", "dev": true, @@ -8539,7 +8783,7 @@ } }, "node_modules/npm/node_modules/normalize-package-data": { - "version": "7.0.1", + "version": "7.0.0", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -8574,7 +8818,7 @@ } }, "node_modules/npm/node_modules/npm-install-checks": { - "version": "7.1.2", + "version": "7.1.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -8678,7 +8922,7 @@ } }, "node_modules/npm/node_modules/p-map": { - "version": "7.0.4", + "version": "7.0.3", "dev": true, "inBundle": true, "license": "MIT", @@ -8696,7 +8940,7 @@ "license": "BlueOak-1.0.0" }, "node_modules/npm/node_modules/pacote": { - "version": "19.0.2", + "version": "19.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -8717,7 +8961,7 @@ "promise-retry": "^2.0.1", "sigstore": "^3.0.0", "ssri": "^12.0.0", - "tar": "^7.5.10" + "tar": "^6.1.11" }, "bin": { "pacote": "bin/index.js" @@ -8765,21 +9009,8 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/npm/node_modules/picomatch": { - "version": "4.0.3", - "dev": true, - "inBundle": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/npm/node_modules/postcss-selector-parser": { - "version": "7.1.1", + "version": "7.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -8911,7 +9142,7 @@ "optional": true }, "node_modules/npm/node_modules/semver": { - "version": "7.7.4", + "version": "7.7.2", "dev": true, "inBundle": true, "license": "ISC", @@ -8972,6 +9203,58 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle": { + "version": "3.1.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.4.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign": { + "version": "3.1.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.0", + "make-fetch-happen": "^14.0.2", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify": { + "version": "2.1.1", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, "node_modules/npm/node_modules/smart-buffer": { "version": "4.2.0", "dev": true, @@ -8983,12 +9266,12 @@ } }, "node_modules/npm/node_modules/socks": { - "version": "2.8.7", + "version": "2.8.5", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "ip-address": "^10.0.1", + "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" }, "engines": { @@ -9047,11 +9330,17 @@ } }, "node_modules/npm/node_modules/spdx-license-ids": { - "version": "3.0.23", + "version": "3.0.21", "dev": true, "inBundle": true, "license": "CC0-1.0" }, + "node_modules/npm/node_modules/sprintf-js": { + "version": "1.1.3", + "dev": true, + "inBundle": true, + "license": "BSD-3-Clause" + }, "node_modules/npm/node_modules/ssri": { "version": "12.0.0", "dev": true, @@ -9131,19 +9420,78 @@ } }, "node_modules/npm/node_modules/tar": { - "version": "7.5.11", + "version": "6.2.1", "dev": true, "inBundle": true, - "license": "BlueOak-1.0.0", + "license": "ISC", "dependencies": { - "@isaacs/fs-minipass": "^4.0.0", - "chownr": "^3.0.0", - "minipass": "^7.1.2", - "minizlib": "^3.1.0", - "yallist": "^5.0.0" + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" }, "engines": { - "node": ">=18" + "node": ">=10" + } + }, + "node_modules/npm/node_modules/tar/node_modules/fs-minipass": { + "version": "2.1.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/minipass": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/minizlib": { + "version": "2.1.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, "node_modules/npm/node_modules/text-table": { @@ -9159,13 +9507,13 @@ "license": "MIT" }, "node_modules/npm/node_modules/tinyglobby": { - "version": "0.2.15", + "version": "0.2.14", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "fdir": "^6.5.0", - "picomatch": "^4.0.3" + "fdir": "^6.4.4", + "picomatch": "^4.0.2" }, "engines": { "node": ">=12.0.0" @@ -9174,6 +9522,32 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, + "node_modules/npm/node_modules/tinyglobby/node_modules/fdir": { + "version": "6.4.6", + "dev": true, + "inBundle": true, + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/npm/node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/npm/node_modules/treeverse": { "version": "3.0.0", "dev": true, @@ -9184,14 +9558,14 @@ } }, "node_modules/npm/node_modules/tuf-js": { - "version": "3.1.0", + "version": "3.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@tufjs/models": "3.0.1", - "debug": "^4.4.1", - "make-fetch-happen": "^14.0.3" + "debug": "^4.3.6", + "make-fetch-happen": "^14.0.1" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -9261,7 +9635,7 @@ } }, "node_modules/npm/node_modules/validate-npm-package-name": { - "version": "6.0.2", + "version": "6.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -9291,12 +9665,12 @@ } }, "node_modules/npm/node_modules/which/node_modules/isexe": { - "version": "3.1.5", + "version": "3.1.1", "dev": true, "inBundle": true, - "license": "BlueOak-1.0.0", + "license": "ISC", "engines": { - "node": ">=18" + "node": ">=16" } }, "node_modules/npm/node_modules/wrap-ansi": { @@ -9350,7 +9724,7 @@ } }, "node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.2.2", + "version": "6.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -9385,12 +9759,12 @@ } }, "node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "7.2.0", + "version": "7.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "ansi-regex": "^6.2.2" + "ansi-regex": "^6.0.1" }, "engines": { "node": ">=12" @@ -9413,13 +9787,10 @@ } }, "node_modules/npm/node_modules/yallist": { - "version": "5.0.0", + "version": "4.0.0", "dev": true, "inBundle": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } + "license": "ISC" }, "node_modules/object-assign": { "version": "4.1.1", @@ -9747,9 +10118,9 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", - "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, "license": "MIT", "engines": { @@ -9770,9 +10141,9 @@ } }, "node_modules/pirates": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", - "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", "dev": true, "license": "MIT", "engines": { @@ -9905,7 +10276,6 @@ "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin-prettier.js" }, @@ -10022,13 +10392,10 @@ "license": "ISC" }, "node_modules/proxy-from-env": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", - "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", - "license": "MIT", - "engines": { - "node": ">=10" - } + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" }, "node_modules/psl": { "version": "1.15.0", @@ -10171,9 +10538,9 @@ } }, "node_modules/read-package-up/node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "version": "4.26.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.26.1.tgz", + "integrity": "sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -10204,15 +10571,15 @@ } }, "node_modules/read-pkg/node_modules/@babel/code-frame": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", - "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", + "@babel/helper-validator-identifier": "^7.25.9", "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" @@ -10254,15 +10621,15 @@ } }, "node_modules/read-pkg/node_modules/parse-json": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", - "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.1.0.tgz", + "integrity": "sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.26.2", - "index-to-position": "^1.1.0", - "type-fest": "^4.39.1" + "@babel/code-frame": "^7.22.13", + "index-to-position": "^0.1.2", + "type-fest": "^4.7.1" }, "engines": { "node": ">=18" @@ -10272,9 +10639,9 @@ } }, "node_modules/read-pkg/node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "version": "4.26.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.26.1.tgz", + "integrity": "sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -10284,19 +10651,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/read-pkg/node_modules/unicorn-magic": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", - "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/read-workspaces": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/read-workspaces/-/read-workspaces-1.2.2.tgz", @@ -10334,9 +10688,9 @@ "license": "Python-2.0" }, "node_modules/read-yaml-file/node_modules/js-yaml": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", - "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "license": "MIT", "dependencies": { @@ -10399,22 +10753,19 @@ "license": "MIT" }, "node_modules/resolve": { - "version": "1.22.10", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", - "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, "license": "MIT", "dependencies": { - "is-core-module": "^2.16.0", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" }, - "engines": { - "node": ">= 0.4" - }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -10453,9 +10804,9 @@ } }, "node_modules/resolve.exports": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", - "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", + "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", "dev": true, "license": "MIT", "engines": { @@ -10552,7 +10903,6 @@ "integrity": "sha512-g7RssbTAbir1k/S7uSwSVZFfFXwpomUB9Oas0+xi9KStSCmeDXcA7rNhiskjLqvUe/Evhx8fVCT16OSa34eM5g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@semantic-release/commit-analyzer": "^13.0.0-beta.1", "@semantic-release/error": "^4.0.0", @@ -10661,24 +11011,24 @@ } }, "node_modules/semantic-release/node_modules/execa": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-9.6.0.tgz", - "integrity": "sha512-jpWzZ1ZhwUmeWRhS7Qv3mhpOhLfwI+uAX4e5fOcXqwMR7EcJ0pj2kV1CVzHVMX/LphnKWD3LObjZCoJ71lKpHw==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.5.1.tgz", + "integrity": "sha512-QY5PPtSonnGwhhHDNI7+3RvY285c7iuJFFB+lU+oEzMY/gEGJ808owqJsrr8Otd1E/x07po1LkUBmdAc5duPAg==", "dev": true, "license": "MIT", "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", - "cross-spawn": "^7.0.6", + "cross-spawn": "^7.0.3", "figures": "^6.1.0", "get-stream": "^9.0.0", - "human-signals": "^8.0.1", + "human-signals": "^8.0.0", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^6.0.0", - "pretty-ms": "^9.2.0", + "pretty-ms": "^9.0.0", "signal-exit": "^4.1.0", "strip-final-newline": "^4.0.0", - "yoctocolors": "^2.1.1" + "yoctocolors": "^2.0.0" }, "engines": { "node": "^18.19.0 || >=20.5.0" @@ -10705,9 +11055,9 @@ } }, "node_modules/semantic-release/node_modules/human-signals": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz", - "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.0.tgz", + "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -10819,10 +11169,23 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/semantic-release/node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/semver": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -11102,9 +11465,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.21", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.21.tgz", - "integrity": "sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==", + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", "dev": true, "license": "CC0-1.0" }, @@ -11254,26 +11617,6 @@ "node": ">=8" } }, - "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/strip-bom": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", @@ -11384,9 +11727,9 @@ } }, "node_modules/table": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", - "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", + "version": "6.8.2", + "resolved": "https://registry.npmjs.org/table/-/table-6.8.2.tgz", + "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -11401,9 +11744,9 @@ } }, "node_modules/table/node_modules/ajv": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", - "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", "dependencies": { @@ -11524,50 +11867,6 @@ "node": ">=0.8" } }, - "node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/through2/node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dev": true, - "license": "MIT", - "dependencies": { - "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" - } - }, - "node_modules/through2/node_modules/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==", - "dev": true, - "license": "MIT" - }, - "node_modules/through2/node_modules/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==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, "node_modules/time-span": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/time-span/-/time-span-5.1.0.tgz", @@ -11623,9 +11922,9 @@ } }, "node_modules/tough-cookie": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", - "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", + "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", "license": "BSD-3-Clause", "dependencies": { "psl": "^1.1.33", @@ -11727,7 +12026,6 @@ "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -11779,9 +12077,9 @@ } }, "node_modules/unicorn-magic": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", - "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", "dev": true, "license": "MIT", "engines": { @@ -11825,9 +12123,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", - "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", "dev": true, "funding": [ { @@ -11846,7 +12144,7 @@ "license": "MIT", "dependencies": { "escalade": "^3.2.0", - "picocolors": "^1.1.1" + "picocolors": "^1.1.0" }, "bin": { "update-browserslist-db": "cli.js" @@ -12096,6 +12394,16 @@ } }, "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs/node_modules/yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", diff --git a/package.json b/package.json index c7ab410..5aacfb1 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "ibm-vpc", - "version": "0.30.1", + "version": "0.0.1", "description": "IBM Cloud VPC Node.js SDK", "repository": { "type": "git", - "url": "https://github.com/IBM/vpc-node-sdk" + "url": "https://github.ibm.com/ibmcloud/vpc-node-sdk" }, "keywords": [ "ibm" @@ -33,16 +33,16 @@ "node": ">=20.0.0" }, "dependencies": { - "@types/node": "^18.19.80", + "@types/node": "^14.0.0", "extend": "^3.0.2", - "ibm-cloud-sdk-core": "^5.4.11", + "ibm-cloud-sdk-core": "^5.4.20", "uuid": "^9.0.0" }, "devDependencies": { "@ibm-cloud/sdk-test-utilities": "^1.0.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", - "axios": "1.15.0", + "axios": "1.12.2", "dotenv": "^16.4.5", "eslint": "^7.26.0", "eslint-config-google": "^0.14.0", diff --git a/test/unit/vpc.v1.test.js b/test/unit/vpc.v1.test.js index d3cf309..1521e05 100644 --- a/test/unit/vpc.v1.test.js +++ b/test/unit/vpc.v1.test.js @@ -37,7 +37,7 @@ const vpcServiceOptions = { authenticator: new NoAuthAuthenticator(), url: 'https://us-south.iaas.cloud.ibm.com/v1', generation: 2, - version: '2026-03-24', + version: '2026-06-23', }; const vpcService = new VpcV1(vpcServiceOptions); @@ -68,7 +68,7 @@ describe('VpcV1', () => { mock_createRequest(); // these are changed when passed into the factory/constructor, so re-init requiredGlobals = { - version: '2026-03-24', + version: '2026-06-23', }; }); @@ -1903,9 +1903,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/bare_metal_servers'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"bare_metal_servers":[{"bandwidth":20000,"boot_target":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk"},"cpu":{"architecture":"amd64","core_count":80,"socket_count":4,"threads_per_core":2},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::bare-metal-server:0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","disks":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true"},"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","interface_type":"fcp","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk","size":100}],"enable_secure_boot":false,"firmware":{"update":"none"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","id":"0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":1536,"metadata_service":{"enabled":true,"protocol":"http"},"name":"my-bare-metal-server","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_server/profiles/bx2-metal-192x768","name":"bx2-metal-192x768","resource_type":"bare_metal_server_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"bare_metal_server","status":"deleting","status_reasons":[{"code":"cannot_start_capacity","message":"The bare metal server cannot start as there is no more capacity in this\\nzone for a bare metal server with the requested profile.","more_info":"https://console.bluemix.net/docs/iaas/bare_metal_server.html"}],"trusted_platform_module":{"enabled":true,"mode":"disabled","supported_modes":["disabled"]},"vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"bare_metal_servers":[{"bandwidth":20000,"boot_target":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk"},"cpu":{"architecture":"amd64","core_count":80,"socket_count":4,"threads_per_core":2},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::bare-metal-server:0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","disks":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true"},"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","interface_type":"fcp","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk","size":100}],"enable_secure_boot":false,"firmware":{"update":"none"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","id":"0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":1536,"metadata_service":{"enabled":true,"protocol":"http"},"name":"my-bare-metal-server","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_server/profiles/bx2-metal-192x768","name":"bx2-metal-192x768","resource_type":"bare_metal_server_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"bare_metal_server","status":"deleting","status_reasons":[{"code":"cannot_start_capacity","message":"The bare metal server cannot start as there is no more capacity in this\\nzone for a bare metal server with the requested profile.","more_info":"https://console.bluemix.net/docs/iaas/bare_metal_server.html"}],"trusted_platform_module":{"enabled":true,"mode":"disabled","supported_modes":["disabled"]},"vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; const mockPagerResponse2 = - '{"total_count":2,"limit":1,"bare_metal_servers":[{"bandwidth":20000,"boot_target":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk"},"cpu":{"architecture":"amd64","core_count":80,"socket_count":4,"threads_per_core":2},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::bare-metal-server:0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","disks":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true"},"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","interface_type":"fcp","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk","size":100}],"enable_secure_boot":false,"firmware":{"update":"none"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","id":"0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":1536,"metadata_service":{"enabled":true,"protocol":"http"},"name":"my-bare-metal-server","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_server/profiles/bx2-metal-192x768","name":"bx2-metal-192x768","resource_type":"bare_metal_server_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"bare_metal_server","status":"deleting","status_reasons":[{"code":"cannot_start_capacity","message":"The bare metal server cannot start as there is no more capacity in this\\nzone for a bare metal server with the requested profile.","more_info":"https://console.bluemix.net/docs/iaas/bare_metal_server.html"}],"trusted_platform_module":{"enabled":true,"mode":"disabled","supported_modes":["disabled"]},"vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; + '{"total_count":2,"limit":1,"bare_metal_servers":[{"bandwidth":20000,"boot_target":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk"},"cpu":{"architecture":"amd64","core_count":80,"socket_count":4,"threads_per_core":2},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::bare-metal-server:0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","disks":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true"},"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","interface_type":"fcp","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk","size":100}],"enable_secure_boot":false,"firmware":{"update":"none"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","id":"0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":1536,"metadata_service":{"enabled":true,"protocol":"http"},"name":"my-bare-metal-server","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_server/profiles/bx2-metal-192x768","name":"bx2-metal-192x768","resource_type":"bare_metal_server_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"bare_metal_server","status":"deleting","status_reasons":[{"code":"cannot_start_capacity","message":"The bare metal server cannot start as there is no more capacity in this\\nzone for a bare metal server with the requested profile.","more_info":"https://console.bluemix.net/docs/iaas/bare_metal_server.html"}],"trusted_platform_module":{"enabled":true,"mode":"disabled","supported_modes":["disabled"]},"vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; beforeEach(() => { unmock_createRequest(); @@ -2043,18 +2043,14 @@ describe('VpcV1', () => { name: 'us-south-1', }; - // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext + // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById const virtualNetworkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById const virtualNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // SecurityGroupIdentityById @@ -2749,18 +2745,14 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext + // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById const virtualNetworkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById const virtualNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // ResourceGroupIdentityById @@ -3356,11 +3348,9 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext + // NetworkInterfaceIPPrototypeReservedIPIdentityById const networkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // SecurityGroupIdentityById @@ -5942,11 +5932,9 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPPrototypeClusterNetworkInterfacePrimaryIPContext + // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPIdentityClusterNetworkInterfacePrimaryIPContextById const clusterNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-cluster-network-subnet-reserved-ip', + id: '0717-d4d6489a-3bf5-4104-a33a-3572faf2d117', }; // ClusterNetworkSubnetIdentityById @@ -12346,9 +12334,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/images'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"images":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"catalog_offering":{"managed":false,"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deprecation_at":"2026-01-02T03:04:05.006Z","encryption":"user_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"file":{"checksums":{"sha256":"e992a84f113d3a35d2145ca3e7aca4fc95fe6daf470a08d8af3422ee59c92e15"},"size":1},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","minimum_provisioned_size":24,"name":"my-image","obsolescence_at":"2026-01-02T03:04:05.006Z","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"}},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"image","source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"user_data_format":"cloud_init","visibility":"private"}],"total_count":2,"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"images":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"catalog_offering":{"managed":false,"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deprecation_at":"2026-01-02T03:04:05.006Z","encryption":"user_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"file":{"checksums":{"sha256":"e992a84f113d3a35d2145ca3e7aca4fc95fe6daf470a08d8af3422ee59c92e15"},"size":1},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","minimum_provisioned_size":24,"name":"my-image","obsolescence_at":"2026-01-02T03:04:05.006Z","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"}},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"image","source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"user_data_format":"cloud_init","visibility":"private","zones":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}]}],"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"images":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"catalog_offering":{"managed":false,"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deprecation_at":"2026-01-02T03:04:05.006Z","encryption":"user_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"file":{"checksums":{"sha256":"e992a84f113d3a35d2145ca3e7aca4fc95fe6daf470a08d8af3422ee59c92e15"},"size":1},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","minimum_provisioned_size":24,"name":"my-image","obsolescence_at":"2026-01-02T03:04:05.006Z","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"}},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"image","source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"user_data_format":"cloud_init","visibility":"private"}],"total_count":2,"limit":1}'; + '{"images":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"catalog_offering":{"managed":false,"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deprecation_at":"2026-01-02T03:04:05.006Z","encryption":"user_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"file":{"checksums":{"sha256":"e992a84f113d3a35d2145ca3e7aca4fc95fe6daf470a08d8af3422ee59c92e15"},"size":1},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","minimum_provisioned_size":24,"name":"my-image","obsolescence_at":"2026-01-02T03:04:05.006Z","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"}},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"image","source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"user_data_format":"cloud_init","visibility":"private","zones":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}]}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -12409,7 +12397,7 @@ describe('VpcV1', () => { // ImageAllowedUsePrototype const imageAllowedUsePrototypeModel = { - api_version: '2026-03-24', + api_version: '2024-06-23', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -12709,7 +12697,7 @@ describe('VpcV1', () => { // ImageAllowedUsePatch const imageAllowedUsePatchModel = { - api_version: '2026-03-24', + api_version: '2024-06-23', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -16974,11 +16962,9 @@ describe('VpcV1', () => { preemption: 'delete', }; - // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPPrototypeClusterNetworkInterfacePrimaryIPContext + // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPIdentityClusterNetworkInterfacePrimaryIPContextById const clusterNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-cluster-network-subnet-reserved-ip', + id: '0717-d4d6489a-3bf5-4104-a33a-3572faf2d117', }; // ClusterNetworkSubnetIdentityById @@ -17074,7 +17060,7 @@ describe('VpcV1', () => { // VolumeAllowedUsePrototype const volumeAllowedUsePrototypeModel = { - api_version: '2026-03-24', + api_version: '2024-06-23', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -17130,18 +17116,14 @@ describe('VpcV1', () => { id: 'r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8', }; - // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext + // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById const virtualNetworkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById const virtualNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // SecurityGroupIdentityById @@ -17174,11 +17156,9 @@ describe('VpcV1', () => { virtual_network_interface: instanceNetworkAttachmentPrototypeVirtualNetworkInterfaceModel, }; - // NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext + // NetworkInterfaceIPPrototypeReservedIPIdentityById const networkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // NetworkInterfacePrototype @@ -17217,6 +17197,7 @@ describe('VpcV1', () => { profile: instanceProfileIdentityModel, reservation_affinity: instanceReservationAffinityPrototypeModel, resource_group: resourceGroupIdentityModel, + threads_per_core: 1, total_volume_bandwidth: 500, user_data: '[...]', vcpu: instanceVcpuPrototypeModel, @@ -17589,7 +17570,12 @@ describe('VpcV1', () => { describe('positive tests', () => { function __listInstanceProfilesTest() { // Construct the params object for operation listInstanceProfiles - const listInstanceProfilesParams = {}; + const start = 'testString'; + const limit = 50; + const listInstanceProfilesParams = { + start, + limit, + }; const listInstanceProfilesResult = vpcService.listInstanceProfiles( listInstanceProfilesParams @@ -17609,6 +17595,8 @@ describe('VpcV1', () => { checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); + expect(mockRequestOptions.qs.start).toEqual(start); + expect(mockRequestOptions.qs.limit).toEqual(limit); } test('should pass the right params to createRequest with enable and disable retries', () => { @@ -17647,6 +17635,54 @@ describe('VpcV1', () => { checkForSuccessfulExecution(createRequestMock); }); }); + + describe('InstanceProfilesPager tests', () => { + const serviceUrl = vpcServiceOptions.url; + const path = '/instance/profiles'; + const mockPagerResponse1 = + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"profiles":[{"availability_class":{"default":"standard","type":"enum","values":["standard"]},"bandwidth":{"type":"fixed","value":20000},"cluster_network_attachment_count":{"type":"dependent"},"confidential_compute_modes":{"default":"disabled","type":"enum","values":["disabled"]},"disks":[{"quantity":{"type":"fixed","value":4},"size":{"type":"fixed","value":100},"supported_interface_types":{"default":"nvme","type":"enum","values":["nvme"]}}],"family":"balanced","gpu_count":{"type":"fixed","value":2},"gpu_manufacturer":{"type":"enum","values":["amd"]},"gpu_memory":{"type":"fixed","value":16},"gpu_model":{"type":"enum","values":["Tesla V100"]},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","memory":{"type":"fixed","value":16},"name":"bx2-4x16","network_attachment_count":{"max":5,"min":1,"type":"range"},"network_bandwidth_mode":{"default":"divided","type":"enum","values":["divided"]},"network_interface_count":{"max":5,"min":1,"type":"range"},"numa_count":{"type":"fixed","value":2},"os_architecture":{"default":"amd64","type":"enum","values":["amd64"]},"port_speed":{"type":"fixed","value":1000},"reservation_terms":{"type":"enum","values":["one_year"]},"resource_type":"instance_profile","secure_boot_modes":{"default":false,"type":"enum","values":[true]},"status":"current","supported_cluster_network_profiles":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_network/profiles/h100","name":"h100","resource_type":"cluster_network_profile"}],"supported_vcpu_count":{"type":"enum","values":[6]},"threads_per_core":{"default":7,"type":"enum","values":[6]},"total_volume_bandwidth":{"type":"fixed","value":20000},"vcpu_architecture":{"type":"fixed","value":"amd64"},"vcpu_burst_limit":{"type":"fixed","value":200},"vcpu_count":{"type":"fixed","value":16},"vcpu_manufacturer":{"type":"fixed","value":"intel"},"vcpu_percentage":{"default":7,"type":"enum","values":[6]},"volume_bandwidth_qos_modes":{"default":"pooled","type":"enum","values":["pooled"]},"zones":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}]}]}'; + const mockPagerResponse2 = + '{"total_count":2,"limit":1,"profiles":[{"availability_class":{"default":"standard","type":"enum","values":["standard"]},"bandwidth":{"type":"fixed","value":20000},"cluster_network_attachment_count":{"type":"dependent"},"confidential_compute_modes":{"default":"disabled","type":"enum","values":["disabled"]},"disks":[{"quantity":{"type":"fixed","value":4},"size":{"type":"fixed","value":100},"supported_interface_types":{"default":"nvme","type":"enum","values":["nvme"]}}],"family":"balanced","gpu_count":{"type":"fixed","value":2},"gpu_manufacturer":{"type":"enum","values":["amd"]},"gpu_memory":{"type":"fixed","value":16},"gpu_model":{"type":"enum","values":["Tesla V100"]},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","memory":{"type":"fixed","value":16},"name":"bx2-4x16","network_attachment_count":{"max":5,"min":1,"type":"range"},"network_bandwidth_mode":{"default":"divided","type":"enum","values":["divided"]},"network_interface_count":{"max":5,"min":1,"type":"range"},"numa_count":{"type":"fixed","value":2},"os_architecture":{"default":"amd64","type":"enum","values":["amd64"]},"port_speed":{"type":"fixed","value":1000},"reservation_terms":{"type":"enum","values":["one_year"]},"resource_type":"instance_profile","secure_boot_modes":{"default":false,"type":"enum","values":[true]},"status":"current","supported_cluster_network_profiles":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_network/profiles/h100","name":"h100","resource_type":"cluster_network_profile"}],"supported_vcpu_count":{"type":"enum","values":[6]},"threads_per_core":{"default":7,"type":"enum","values":[6]},"total_volume_bandwidth":{"type":"fixed","value":20000},"vcpu_architecture":{"type":"fixed","value":"amd64"},"vcpu_burst_limit":{"type":"fixed","value":200},"vcpu_count":{"type":"fixed","value":16},"vcpu_manufacturer":{"type":"fixed","value":"intel"},"vcpu_percentage":{"default":7,"type":"enum","values":[6]},"volume_bandwidth_qos_modes":{"default":"pooled","type":"enum","values":["pooled"]},"zones":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}]}]}'; + + beforeEach(() => { + unmock_createRequest(); + const scope = nock(serviceUrl) + .get((uri) => uri.includes(path)) + .reply(200, mockPagerResponse1) + .get((uri) => uri.includes(path)) + .reply(200, mockPagerResponse2); + }); + + afterEach(() => { + nock.cleanAll(); + mock_createRequest(); + }); + + test('getNext()', async () => { + const params = { + limit: 10, + }; + const allResults = []; + const pager = new VpcV1.InstanceProfilesPager(vpcService, params); + while (pager.hasNext()) { + const nextPage = await pager.getNext(); + expect(nextPage).not.toBeNull(); + allResults.push(...nextPage); + } + expect(allResults).not.toBeNull(); + expect(allResults).toHaveLength(2); + }); + + test('getAll()', async () => { + const params = { + limit: 10, + }; + const pager = new VpcV1.InstanceProfilesPager(vpcService, params); + const allResults = await pager.getAll(); + expect(allResults).not.toBeNull(); + expect(allResults).toHaveLength(2); + }); + }); }); describe('getInstanceProfile', () => { @@ -17882,9 +17918,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/instances'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"instances":[{"availability":{"class":"standard"},"availability_policy":{"host_failure":"restart","preemption":"delete"},"bandwidth":1000,"boot_volume_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}},"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"cluster_network":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::cluster-network:0717-da0df18c-7598-4633-a648-fdaac28a5573","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_networks/0717-da0df18c-7598-4633-a648-fdaac28a5573","id":"0717-da0df18c-7598-4633-a648-fdaac28a5573","name":"my-cluster-network","resource_type":"cluster_network"},"cluster_network_attachments":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/cluster_network_attachments/0717-fb880975-db45-4459-8548-64e3995ac213","id":"0717-fb880975-db45-4459-8548-64e3995ac213","name":"my-instance-network-attachment","resource_type":"instance_cluster_network_attachment"}],"confidential_compute_mode":"disabled","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","dedicated_host":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host:0717-1e09281b-f177-46fb-baf1-bc152b2e391a","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_hosts/0717-1e09281b-f177-46fb-baf1-bc152b2e391a","id":"0717-1e09281b-f177-46fb-baf1-bc152b2e391a","name":"my-host","resource_type":"dedicated_host"},"disks":[{"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/disks/10c02d81-0ecb-4dc5-897d-28392913b81e","id":"10c02d81-0ecb-4dc5-897d-28392913b81e","interface_type":"nvme","name":"my-instance-disk","resource_type":"instance_disk","size":100}],"enable_secure_boot":true,"gpu":{"count":1,"manufacturer":"amd","memory":1,"model":"Tesla V100"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"instance_group_membership":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60/memberships/r006-32c8210b-fd1a-409f-8966-de85bbfd3741","id":"r006-32c8210b-fd1a-409f-8966-de85bbfd3741","instance_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::instance-group:r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","id":"r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","name":"my-instance-group"},"name":"my-instance-group-membership"},"lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":64,"metadata_service":{"enabled":false,"protocol":"http","response_hop_limit":1},"name":"my-instance","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"numa_count":2,"placement_target":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host-group:0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_host/groups/0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","id":"0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","name":"my-dedicated-host-group","resource_type":"dedicated_host_group"},"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","name":"bx2-4x16","resource_type":"instance_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"instance","startable":false,"status":"deleting","status_reasons":[{"code":"cannot_start_storage","message":"The virtual server instance is unusable because the encryption key for the boot volume\\nhas been deleted","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"total_network_bandwidth":500,"total_volume_bandwidth":500,"vcpu":{"architecture":"amd64","burst":{"limit":200},"count":4,"manufacturer":"intel","percentage":100},"volume_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}}],"volume_bandwidth_qos_mode":"pooled","vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"total_count":2,"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"instances":[{"availability":{"class":"standard"},"availability_policy":{"host_failure":"restart","preemption":"delete"},"bandwidth":1000,"boot_volume_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}},"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"cluster_network":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::cluster-network:0717-da0df18c-7598-4633-a648-fdaac28a5573","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_networks/0717-da0df18c-7598-4633-a648-fdaac28a5573","id":"0717-da0df18c-7598-4633-a648-fdaac28a5573","name":"my-cluster-network","resource_type":"cluster_network"},"cluster_network_attachments":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/cluster_network_attachments/0717-fb880975-db45-4459-8548-64e3995ac213","id":"0717-fb880975-db45-4459-8548-64e3995ac213","name":"my-instance-network-attachment","resource_type":"instance_cluster_network_attachment"}],"confidential_compute_mode":"disabled","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","dedicated_host":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host:0717-1e09281b-f177-46fb-baf1-bc152b2e391a","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_hosts/0717-1e09281b-f177-46fb-baf1-bc152b2e391a","id":"0717-1e09281b-f177-46fb-baf1-bc152b2e391a","name":"my-host","resource_type":"dedicated_host"},"disks":[{"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/disks/10c02d81-0ecb-4dc5-897d-28392913b81e","id":"10c02d81-0ecb-4dc5-897d-28392913b81e","interface_type":"nvme","name":"my-instance-disk","resource_type":"instance_disk","size":100}],"enable_secure_boot":true,"gpu":{"count":1,"manufacturer":"amd","memory":1,"model":"Tesla V100"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"instance_group_membership":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60/memberships/r006-32c8210b-fd1a-409f-8966-de85bbfd3741","id":"r006-32c8210b-fd1a-409f-8966-de85bbfd3741","instance_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::instance-group:r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","id":"r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","name":"my-instance-group"},"name":"my-instance-group-membership"},"lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":64,"metadata_service":{"enabled":false,"protocol":"http","response_hop_limit":1},"name":"my-instance","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"numa_count":2,"placement_target":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host-group:0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_host/groups/0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","id":"0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","name":"my-dedicated-host-group","resource_type":"dedicated_host_group"},"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","name":"bx2-4x16","resource_type":"instance_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"instance","software_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-software-attachment","resource_type":"instance_software_attachment"}],"startable":false,"status":"deleting","status_reasons":[{"code":"cannot_start_storage","message":"The virtual server instance is unusable because the encryption key for the boot volume\\nhas been deleted","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"threads_per_core":1,"total_network_bandwidth":500,"total_volume_bandwidth":500,"vcpu":{"architecture":"amd64","burst":{"limit":200},"count":4,"manufacturer":"intel","percentage":100},"volume_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}}],"volume_bandwidth_qos_mode":"pooled","vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"instances":[{"availability":{"class":"standard"},"availability_policy":{"host_failure":"restart","preemption":"delete"},"bandwidth":1000,"boot_volume_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}},"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"cluster_network":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::cluster-network:0717-da0df18c-7598-4633-a648-fdaac28a5573","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_networks/0717-da0df18c-7598-4633-a648-fdaac28a5573","id":"0717-da0df18c-7598-4633-a648-fdaac28a5573","name":"my-cluster-network","resource_type":"cluster_network"},"cluster_network_attachments":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/cluster_network_attachments/0717-fb880975-db45-4459-8548-64e3995ac213","id":"0717-fb880975-db45-4459-8548-64e3995ac213","name":"my-instance-network-attachment","resource_type":"instance_cluster_network_attachment"}],"confidential_compute_mode":"disabled","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","dedicated_host":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host:0717-1e09281b-f177-46fb-baf1-bc152b2e391a","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_hosts/0717-1e09281b-f177-46fb-baf1-bc152b2e391a","id":"0717-1e09281b-f177-46fb-baf1-bc152b2e391a","name":"my-host","resource_type":"dedicated_host"},"disks":[{"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/disks/10c02d81-0ecb-4dc5-897d-28392913b81e","id":"10c02d81-0ecb-4dc5-897d-28392913b81e","interface_type":"nvme","name":"my-instance-disk","resource_type":"instance_disk","size":100}],"enable_secure_boot":true,"gpu":{"count":1,"manufacturer":"amd","memory":1,"model":"Tesla V100"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"instance_group_membership":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60/memberships/r006-32c8210b-fd1a-409f-8966-de85bbfd3741","id":"r006-32c8210b-fd1a-409f-8966-de85bbfd3741","instance_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::instance-group:r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","id":"r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","name":"my-instance-group"},"name":"my-instance-group-membership"},"lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":64,"metadata_service":{"enabled":false,"protocol":"http","response_hop_limit":1},"name":"my-instance","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"numa_count":2,"placement_target":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host-group:0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_host/groups/0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","id":"0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","name":"my-dedicated-host-group","resource_type":"dedicated_host_group"},"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","name":"bx2-4x16","resource_type":"instance_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"instance","startable":false,"status":"deleting","status_reasons":[{"code":"cannot_start_storage","message":"The virtual server instance is unusable because the encryption key for the boot volume\\nhas been deleted","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"total_network_bandwidth":500,"total_volume_bandwidth":500,"vcpu":{"architecture":"amd64","burst":{"limit":200},"count":4,"manufacturer":"intel","percentage":100},"volume_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}}],"volume_bandwidth_qos_mode":"pooled","vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"total_count":2,"limit":1}'; + '{"instances":[{"availability":{"class":"standard"},"availability_policy":{"host_failure":"restart","preemption":"delete"},"bandwidth":1000,"boot_volume_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}},"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"cluster_network":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::cluster-network:0717-da0df18c-7598-4633-a648-fdaac28a5573","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_networks/0717-da0df18c-7598-4633-a648-fdaac28a5573","id":"0717-da0df18c-7598-4633-a648-fdaac28a5573","name":"my-cluster-network","resource_type":"cluster_network"},"cluster_network_attachments":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/cluster_network_attachments/0717-fb880975-db45-4459-8548-64e3995ac213","id":"0717-fb880975-db45-4459-8548-64e3995ac213","name":"my-instance-network-attachment","resource_type":"instance_cluster_network_attachment"}],"confidential_compute_mode":"disabled","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","dedicated_host":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host:0717-1e09281b-f177-46fb-baf1-bc152b2e391a","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_hosts/0717-1e09281b-f177-46fb-baf1-bc152b2e391a","id":"0717-1e09281b-f177-46fb-baf1-bc152b2e391a","name":"my-host","resource_type":"dedicated_host"},"disks":[{"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/disks/10c02d81-0ecb-4dc5-897d-28392913b81e","id":"10c02d81-0ecb-4dc5-897d-28392913b81e","interface_type":"nvme","name":"my-instance-disk","resource_type":"instance_disk","size":100}],"enable_secure_boot":true,"gpu":{"count":1,"manufacturer":"amd","memory":1,"model":"Tesla V100"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"instance_group_membership":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60/memberships/r006-32c8210b-fd1a-409f-8966-de85bbfd3741","id":"r006-32c8210b-fd1a-409f-8966-de85bbfd3741","instance_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::instance-group:r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","id":"r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","name":"my-instance-group"},"name":"my-instance-group-membership"},"lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":64,"metadata_service":{"enabled":false,"protocol":"http","response_hop_limit":1},"name":"my-instance","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"numa_count":2,"placement_target":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host-group:0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_host/groups/0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","id":"0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","name":"my-dedicated-host-group","resource_type":"dedicated_host_group"},"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","name":"bx2-4x16","resource_type":"instance_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"instance","software_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-software-attachment","resource_type":"instance_software_attachment"}],"startable":false,"status":"deleting","status_reasons":[{"code":"cannot_start_storage","message":"The virtual server instance is unusable because the encryption key for the boot volume\\nhas been deleted","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"threads_per_core":1,"total_network_bandwidth":500,"total_volume_bandwidth":500,"vcpu":{"architecture":"amd64","burst":{"limit":200},"count":4,"manufacturer":"intel","percentage":100},"volume_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}}],"volume_bandwidth_qos_mode":"pooled","vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -17996,11 +18032,9 @@ describe('VpcV1', () => { preemption: 'delete', }; - // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPPrototypeClusterNetworkInterfacePrimaryIPContext + // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPIdentityClusterNetworkInterfacePrimaryIPContextById const clusterNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-cluster-network-subnet-reserved-ip', + id: '0717-d4d6489a-3bf5-4104-a33a-3572faf2d117', }; // ClusterNetworkSubnetIdentityById @@ -18096,7 +18130,7 @@ describe('VpcV1', () => { // VolumeAllowedUsePrototype const volumeAllowedUsePrototypeModel = { - api_version: '2026-03-24', + api_version: '2024-06-23', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -18152,18 +18186,14 @@ describe('VpcV1', () => { id: 'r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8', }; - // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext + // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById const virtualNetworkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById const virtualNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // SecurityGroupIdentityById @@ -18196,11 +18226,9 @@ describe('VpcV1', () => { virtual_network_interface: instanceNetworkAttachmentPrototypeVirtualNetworkInterfaceModel, }; - // NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext + // NetworkInterfaceIPPrototypeReservedIPIdentityById const networkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // NetworkInterfacePrototype @@ -18239,6 +18267,7 @@ describe('VpcV1', () => { profile: instanceProfileIdentityModel, reservation_affinity: instanceReservationAffinityPrototypeModel, resource_group: resourceGroupIdentityModel, + threads_per_core: 1, total_volume_bandwidth: 500, user_data: '[...]', vcpu: instanceVcpuPrototypeModel, @@ -18575,6 +18604,7 @@ describe('VpcV1', () => { const placementTarget = instancePlacementTargetPatchModel; const profile = instancePatchProfileModel; const reservationAffinity = instanceReservationAffinityPatchModel; + const threadsPerCore = 1; const totalVolumeBandwidth = 500; const vcpu = instanceVcpuPatchModel; const volumeBandwidthQosMode = 'pooled'; @@ -18590,6 +18620,7 @@ describe('VpcV1', () => { placementTarget, profile, reservationAffinity, + threadsPerCore, totalVolumeBandwidth, vcpu, volumeBandwidthQosMode, @@ -18620,6 +18651,7 @@ describe('VpcV1', () => { expect(mockRequestOptions.body.placement_target).toEqual(placementTarget); expect(mockRequestOptions.body.profile).toEqual(profile); expect(mockRequestOptions.body.reservation_affinity).toEqual(reservationAffinity); + expect(mockRequestOptions.body.threads_per_core).toEqual(threadsPerCore); expect(mockRequestOptions.body.total_volume_bandwidth).toEqual(totalVolumeBandwidth); expect(mockRequestOptions.body.vcpu).toEqual(vcpu); expect(mockRequestOptions.body.volume_bandwidth_qos_mode).toEqual(volumeBandwidthQosMode); @@ -19025,11 +19057,9 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPPrototypeClusterNetworkInterfacePrimaryIPContext + // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPIdentityClusterNetworkInterfacePrimaryIPContextById const clusterNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-cluster-network-subnet-reserved-ip', + id: '0717-d4d6489a-3bf5-4104-a33a-3572faf2d117', }; // ClusterNetworkSubnetIdentityById @@ -19919,18 +19949,14 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext + // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById const virtualNetworkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById const virtualNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // ResourceGroupIdentityById @@ -20453,11 +20479,9 @@ describe('VpcV1', () => { id: '0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e', }; - // NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext + // NetworkInterfaceIPPrototypeReservedIPIdentityById const networkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // SecurityGroupIdentityById @@ -21541,6 +21565,295 @@ describe('VpcV1', () => { }); }); + describe('listInstanceSoftwareAttachments', () => { + describe('positive tests', () => { + function __listInstanceSoftwareAttachmentsTest() { + // Construct the params object for operation listInstanceSoftwareAttachments + const instanceId = 'testString'; + const listInstanceSoftwareAttachmentsParams = { + instanceId, + }; + + const listInstanceSoftwareAttachmentsResult = vpcService.listInstanceSoftwareAttachments( + listInstanceSoftwareAttachmentsParams + ); + + // all methods should return a Promise + expectToBePromise(listInstanceSoftwareAttachmentsResult); + + // assert that create request was called + expect(createRequestMock).toHaveBeenCalledTimes(1); + + const mockRequestOptions = getOptions(createRequestMock); + + checkUrlAndMethod( + mockRequestOptions, + '/instances/{instance_id}/software_attachments', + 'GET' + ); + const expectedAccept = 'application/json'; + const expectedContentType = undefined; + checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); + expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); + expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); + expect(mockRequestOptions.path.instance_id).toEqual(instanceId); + } + + test('should pass the right params to createRequest with enable and disable retries', () => { + // baseline test + __listInstanceSoftwareAttachmentsTest(); + + // enable retries and test again + createRequestMock.mockClear(); + vpcService.enableRetries(); + __listInstanceSoftwareAttachmentsTest(); + + // disable retries and test again + createRequestMock.mockClear(); + vpcService.disableRetries(); + __listInstanceSoftwareAttachmentsTest(); + }); + + test('should prioritize user-given headers', () => { + // parameters + const instanceId = 'testString'; + const userAccept = 'fake/accept'; + const userContentType = 'fake/contentType'; + const listInstanceSoftwareAttachmentsParams = { + instanceId, + headers: { + Accept: userAccept, + 'Content-Type': userContentType, + }, + }; + + vpcService.listInstanceSoftwareAttachments(listInstanceSoftwareAttachmentsParams); + checkMediaHeaders(createRequestMock, userAccept, userContentType); + }); + }); + + describe('negative tests', () => { + test('should enforce required parameters', async () => { + let err; + try { + await vpcService.listInstanceSoftwareAttachments({}); + } catch (e) { + err = e; + } + + expect(err.message).toMatch(/Missing required parameters/); + }); + + test('should reject promise when required params are not given', async () => { + let err; + try { + await vpcService.listInstanceSoftwareAttachments(); + } catch (e) { + err = e; + } + + expect(err.message).toMatch(/Missing required parameters/); + }); + }); + }); + + describe('getInstanceSoftwareAttachment', () => { + describe('positive tests', () => { + function __getInstanceSoftwareAttachmentTest() { + // Construct the params object for operation getInstanceSoftwareAttachment + const instanceId = 'testString'; + const id = 'testString'; + const getInstanceSoftwareAttachmentParams = { + instanceId, + id, + }; + + const getInstanceSoftwareAttachmentResult = vpcService.getInstanceSoftwareAttachment( + getInstanceSoftwareAttachmentParams + ); + + // all methods should return a Promise + expectToBePromise(getInstanceSoftwareAttachmentResult); + + // assert that create request was called + expect(createRequestMock).toHaveBeenCalledTimes(1); + + const mockRequestOptions = getOptions(createRequestMock); + + checkUrlAndMethod( + mockRequestOptions, + '/instances/{instance_id}/software_attachments/{id}', + 'GET' + ); + const expectedAccept = 'application/json'; + const expectedContentType = undefined; + checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); + expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); + expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); + expect(mockRequestOptions.path.instance_id).toEqual(instanceId); + expect(mockRequestOptions.path.id).toEqual(id); + } + + test('should pass the right params to createRequest with enable and disable retries', () => { + // baseline test + __getInstanceSoftwareAttachmentTest(); + + // enable retries and test again + createRequestMock.mockClear(); + vpcService.enableRetries(); + __getInstanceSoftwareAttachmentTest(); + + // disable retries and test again + createRequestMock.mockClear(); + vpcService.disableRetries(); + __getInstanceSoftwareAttachmentTest(); + }); + + test('should prioritize user-given headers', () => { + // parameters + const instanceId = 'testString'; + const id = 'testString'; + const userAccept = 'fake/accept'; + const userContentType = 'fake/contentType'; + const getInstanceSoftwareAttachmentParams = { + instanceId, + id, + headers: { + Accept: userAccept, + 'Content-Type': userContentType, + }, + }; + + vpcService.getInstanceSoftwareAttachment(getInstanceSoftwareAttachmentParams); + checkMediaHeaders(createRequestMock, userAccept, userContentType); + }); + }); + + describe('negative tests', () => { + test('should enforce required parameters', async () => { + let err; + try { + await vpcService.getInstanceSoftwareAttachment({}); + } catch (e) { + err = e; + } + + expect(err.message).toMatch(/Missing required parameters/); + }); + + test('should reject promise when required params are not given', async () => { + let err; + try { + await vpcService.getInstanceSoftwareAttachment(); + } catch (e) { + err = e; + } + + expect(err.message).toMatch(/Missing required parameters/); + }); + }); + }); + + describe('updateInstanceSoftwareAttachment', () => { + describe('positive tests', () => { + function __updateInstanceSoftwareAttachmentTest() { + // Construct the params object for operation updateInstanceSoftwareAttachment + const instanceId = 'testString'; + const id = 'testString'; + const name = 'my-software-attachment-patch'; + const updateInstanceSoftwareAttachmentParams = { + instanceId, + id, + name, + }; + + const updateInstanceSoftwareAttachmentResult = vpcService.updateInstanceSoftwareAttachment( + updateInstanceSoftwareAttachmentParams + ); + + // all methods should return a Promise + expectToBePromise(updateInstanceSoftwareAttachmentResult); + + // assert that create request was called + expect(createRequestMock).toHaveBeenCalledTimes(1); + + const mockRequestOptions = getOptions(createRequestMock); + + checkUrlAndMethod( + mockRequestOptions, + '/instances/{instance_id}/software_attachments/{id}', + 'PATCH' + ); + const expectedAccept = 'application/json'; + const expectedContentType = 'application/merge-patch+json'; + checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); + expect(mockRequestOptions.body.name).toEqual(name); + expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); + expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); + expect(mockRequestOptions.path.instance_id).toEqual(instanceId); + expect(mockRequestOptions.path.id).toEqual(id); + } + + test('should pass the right params to createRequest with enable and disable retries', () => { + // baseline test + __updateInstanceSoftwareAttachmentTest(); + + // enable retries and test again + createRequestMock.mockClear(); + vpcService.enableRetries(); + __updateInstanceSoftwareAttachmentTest(); + + // disable retries and test again + createRequestMock.mockClear(); + vpcService.disableRetries(); + __updateInstanceSoftwareAttachmentTest(); + }); + + test('should prioritize user-given headers', () => { + // parameters + const instanceId = 'testString'; + const id = 'testString'; + const userAccept = 'fake/accept'; + const userContentType = 'fake/contentType'; + const updateInstanceSoftwareAttachmentParams = { + instanceId, + id, + headers: { + Accept: userAccept, + 'Content-Type': userContentType, + }, + }; + + vpcService.updateInstanceSoftwareAttachment(updateInstanceSoftwareAttachmentParams); + checkMediaHeaders(createRequestMock, userAccept, userContentType); + }); + }); + + describe('negative tests', () => { + test('should enforce required parameters', async () => { + let err; + try { + await vpcService.updateInstanceSoftwareAttachment({}); + } catch (e) { + err = e; + } + + expect(err.message).toMatch(/Missing required parameters/); + }); + + test('should reject promise when required params are not given', async () => { + let err; + try { + await vpcService.updateInstanceSoftwareAttachment(); + } catch (e) { + err = e; + } + + expect(err.message).toMatch(/Missing required parameters/); + }); + }); + }); + describe('listInstanceVolumeAttachments', () => { describe('positive tests', () => { function __listInstanceVolumeAttachmentsTest() { @@ -22601,9 +22914,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/load_balancer/profiles'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"profiles":[{"access_modes":{"type":"enum","values":["private"]},"availability":{"type":"fixed","value":"region"},"failsafe_policy_actions":{"default":"fail","type":"enum","values":["forward"]},"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","instance_groups_supported":{"type":"fixed","value":true},"logging_supported":{"type":"fixed","value":["datapath"]},"name":"network-fixed","route_mode_supported":{"type":"fixed","value":true},"security_groups_supported":{"type":"fixed","value":true},"source_ip_session_persistence_supported":{"type":"fixed","value":true},"targetable_load_balancer_profiles":[{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"}],"targetable_resource_types":{"type":"enum","values":["instance"]},"udp_supported":{"type":"fixed","value":true}}]}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"profiles":[{"access_modes":{"type":"enum","values":["private"]},"advanced_health_checks_supported":{"type":"fixed","value":true},"availability":{"type":"fixed","value":"region"},"failsafe_policy_actions":{"default":"fail","type":"enum","values":["forward"]},"family":"application","fqdn_pool_members_supported":{"type":"fixed","value":true},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","instance_groups_supported":{"type":"fixed","value":true},"logging_supported":{"type":"fixed","value":["datapath"]},"mtls_supported":{"type":"fixed","value":true},"name":"network-fixed","route_mode_supported":{"type":"fixed","value":true},"security_groups_supported":{"type":"fixed","value":true},"source_ip_session_persistence_supported":{"type":"fixed","value":true},"targetable_load_balancer_profiles":[{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"}],"targetable_resource_types":{"type":"enum","values":["instance"]},"udp_supported":{"type":"fixed","value":true}}]}'; const mockPagerResponse2 = - '{"total_count":2,"limit":1,"profiles":[{"access_modes":{"type":"enum","values":["private"]},"availability":{"type":"fixed","value":"region"},"failsafe_policy_actions":{"default":"fail","type":"enum","values":["forward"]},"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","instance_groups_supported":{"type":"fixed","value":true},"logging_supported":{"type":"fixed","value":["datapath"]},"name":"network-fixed","route_mode_supported":{"type":"fixed","value":true},"security_groups_supported":{"type":"fixed","value":true},"source_ip_session_persistence_supported":{"type":"fixed","value":true},"targetable_load_balancer_profiles":[{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"}],"targetable_resource_types":{"type":"enum","values":["instance"]},"udp_supported":{"type":"fixed","value":true}}]}'; + '{"total_count":2,"limit":1,"profiles":[{"access_modes":{"type":"enum","values":["private"]},"advanced_health_checks_supported":{"type":"fixed","value":true},"availability":{"type":"fixed","value":"region"},"failsafe_policy_actions":{"default":"fail","type":"enum","values":["forward"]},"family":"application","fqdn_pool_members_supported":{"type":"fixed","value":true},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","instance_groups_supported":{"type":"fixed","value":true},"logging_supported":{"type":"fixed","value":["datapath"]},"mtls_supported":{"type":"fixed","value":true},"name":"network-fixed","route_mode_supported":{"type":"fixed","value":true},"security_groups_supported":{"type":"fixed","value":true},"source_ip_session_persistence_supported":{"type":"fixed","value":true},"targetable_load_balancer_profiles":[{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"}],"targetable_resource_types":{"type":"enum","values":["instance"]},"udp_supported":{"type":"fixed","value":true}}]}'; beforeEach(() => { unmock_createRequest(); @@ -22806,9 +23119,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/load_balancers'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"load_balancers":[{"access_mode":"private","attached_load_balancer_pool_members":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004/members/r006-4a4b345f-cf6b-4326-8202-6d8229e9833a","id":"r006-4a4b345f-cf6b-4326-8202-6d8229e9833a"}],"availability":"region","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::load-balancer:r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","dns":{"instance":{"crn":"crn:v1:bluemix:public:dns-svcs:global:a/bb1b52262f7441a586f49068482f1e60:f761b566-030a-4696-8649-cc9d09889e88::"},"zone":{"id":"d66662cc-aa23-4fe1-9987-858487a61f45"}},"failsafe_policy_actions":["forward"],"hostname":"6b88d615-us-south.lb.appdomain.cloud","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","id":"r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","instance_groups_supported":true,"is_private_path":true,"is_public":true,"listeners":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/listeners/r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091","id":"r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091"}],"logging":{"datapath":{"active":true}},"name":"my-load-balancer","operating_status":"offline","pools":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004","id":"r006-70294e14-4e61-11e8-bcf4-0242ac110004","name":"my-load-balancer-pool"}],"private_ips":[{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"}],"profile":{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"},"provisioning_status":"active","public_ips":[{"address":"192.168.3.4"}],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"load_balancer","route_mode":true,"security_groups":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::security-group:r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","id":"r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","name":"my-security-group"}],"security_groups_supported":false,"source_ip_session_persistence_supported":true,"subnets":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}],"udp_supported":true}]}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"load_balancers":[{"access_mode":"private","advanced_health_checks_supported":true,"attached_load_balancer_pool_members":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004/members/r006-4a4b345f-cf6b-4326-8202-6d8229e9833a","id":"r006-4a4b345f-cf6b-4326-8202-6d8229e9833a"}],"availability":"region","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::load-balancer:r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","dns":{"instance":{"crn":"crn:v1:bluemix:public:dns-svcs:global:a/bb1b52262f7441a586f49068482f1e60:f761b566-030a-4696-8649-cc9d09889e88::"},"zone":{"id":"d66662cc-aa23-4fe1-9987-858487a61f45"}},"failsafe_policy_actions":["forward"],"fqdn_pool_members_supported":false,"hostname":"6b88d615-us-south.lb.appdomain.cloud","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","id":"r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","instance_groups_supported":true,"is_private_path":true,"is_public":true,"listeners":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/listeners/r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091","id":"r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091"}],"logging":{"datapath":{"active":true}},"mtls_supported":false,"name":"my-load-balancer","operating_status":"offline","pools":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004","id":"r006-70294e14-4e61-11e8-bcf4-0242ac110004","name":"my-load-balancer-pool"}],"private_ips":[{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"}],"profile":{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"},"provisioning_status":"active","public_ips":[{"address":"192.168.3.4"}],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"load_balancer","route_mode":true,"security_groups":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::security-group:r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","id":"r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","name":"my-security-group"}],"security_groups_supported":false,"source_ip_session_persistence_supported":true,"subnets":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}],"udp_supported":true}]}'; const mockPagerResponse2 = - '{"total_count":2,"limit":1,"load_balancers":[{"access_mode":"private","attached_load_balancer_pool_members":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004/members/r006-4a4b345f-cf6b-4326-8202-6d8229e9833a","id":"r006-4a4b345f-cf6b-4326-8202-6d8229e9833a"}],"availability":"region","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::load-balancer:r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","dns":{"instance":{"crn":"crn:v1:bluemix:public:dns-svcs:global:a/bb1b52262f7441a586f49068482f1e60:f761b566-030a-4696-8649-cc9d09889e88::"},"zone":{"id":"d66662cc-aa23-4fe1-9987-858487a61f45"}},"failsafe_policy_actions":["forward"],"hostname":"6b88d615-us-south.lb.appdomain.cloud","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","id":"r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","instance_groups_supported":true,"is_private_path":true,"is_public":true,"listeners":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/listeners/r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091","id":"r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091"}],"logging":{"datapath":{"active":true}},"name":"my-load-balancer","operating_status":"offline","pools":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004","id":"r006-70294e14-4e61-11e8-bcf4-0242ac110004","name":"my-load-balancer-pool"}],"private_ips":[{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"}],"profile":{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"},"provisioning_status":"active","public_ips":[{"address":"192.168.3.4"}],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"load_balancer","route_mode":true,"security_groups":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::security-group:r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","id":"r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","name":"my-security-group"}],"security_groups_supported":false,"source_ip_session_persistence_supported":true,"subnets":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}],"udp_supported":true}]}'; + '{"total_count":2,"limit":1,"load_balancers":[{"access_mode":"private","advanced_health_checks_supported":true,"attached_load_balancer_pool_members":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004/members/r006-4a4b345f-cf6b-4326-8202-6d8229e9833a","id":"r006-4a4b345f-cf6b-4326-8202-6d8229e9833a"}],"availability":"region","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::load-balancer:r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","dns":{"instance":{"crn":"crn:v1:bluemix:public:dns-svcs:global:a/bb1b52262f7441a586f49068482f1e60:f761b566-030a-4696-8649-cc9d09889e88::"},"zone":{"id":"d66662cc-aa23-4fe1-9987-858487a61f45"}},"failsafe_policy_actions":["forward"],"fqdn_pool_members_supported":false,"hostname":"6b88d615-us-south.lb.appdomain.cloud","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","id":"r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","instance_groups_supported":true,"is_private_path":true,"is_public":true,"listeners":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/listeners/r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091","id":"r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091"}],"logging":{"datapath":{"active":true}},"mtls_supported":false,"name":"my-load-balancer","operating_status":"offline","pools":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004","id":"r006-70294e14-4e61-11e8-bcf4-0242ac110004","name":"my-load-balancer-pool"}],"private_ips":[{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"}],"profile":{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"},"provisioning_status":"active","public_ips":[{"address":"192.168.3.4"}],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"load_balancer","route_mode":true,"security_groups":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::security-group:r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","id":"r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","name":"my-security-group"}],"security_groups_supported":false,"source_ip_session_persistence_supported":true,"subnets":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}],"udp_supported":true}]}'; beforeEach(() => { unmock_createRequest(); @@ -22881,6 +23194,13 @@ describe('VpcV1', () => { crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', }; + // LoadBalancerListenerClientAuthenticationPrototype + const loadBalancerListenerClientAuthenticationPrototypeModel = { + certificate_authority: certificateInstanceIdentityModel, + certificate_revocation_list: + '-----BEGIN X509 CRL-----\nMIICvTCBpgIBATANBgkqhkiG9w0BAQsFADBMMQswCQYDVQQGEwJVUzEOMAwGA1UE\nCAwFZGVsYXMxDDAKBgNVBAoMA0lCTTENMAsGA1UECwwEcm9vdDEQMA4GA1UEAwwH\ncm9vdC1jYRcNMjUwOTA4MDUwMjQwWhcNMjUxMDA4MDUwMjQwWjAVMBMCAhAAFw0y\nNTA5MDgwNTAxNTlaoA8wDTALBgNVHRQEBAICEAAwDQYJKoZIhvcNAQELBQADggIB\nACeEcj7ompUepc5qTvTrNA5PoK5bN71gNI7Rbhq/Bxf1YPMp2iU3qMSj7YpVP7aw\nGNrxFoIZcQ4X7PYyHMfDk6Z83PSTVMnSOVk09fZW49tyVTWmzBVLz3R1bPasnWTZ\n0hRIv9j9n7Lemin+0ubIR/2zmsfBs1JFAFEbbRcgwg+qotsfZNLkX6bjHDpsRQzE\nmXUEu4/AqAsWPbFzG2uMKZ9pKOK+Nn3bt/NEK+AFlnSmgjEqzQ+0zhsrCExIReJV\nc2oiLBkLG6rBwxlGDog+PqwjP+1wGNIL1J3c2lMW1IGMNcts/aDBO5LtPVIY1LsQ\nFoeaTfm3U3GKC/pTczoDk/pKN756f8O05nTWUHgktcNsPvgqDKnpvEkI3VPf9Y4a\nfMOzKgVTgY1dSgjzHO8+4ZfcVGpBePsjOe0/RCUwkgtgOyGtcmBPTMJa0elJzjaM\njD9myqIXkB359sqbuEmcrjgo5uUUvubFYpmT/W0YxOi/py/bDK+7uUs38nUElNkZ\n+YFRpNWjLF9JtAghX5MhA5BwhTTuATvWYuDdK769ifi9qcYvE4u+VNxYfOpPY6sv\nx4FnkZ9+A7s2hk11d+DEq29Efa0xak8rO1LzT5hCSFT0P3KfZEZMpbuXpzVGiZoM\ng5cWHgYcNnzhUatKodvzZizAOVGRR7UFg42O4ylhxDVe\n-----END X509 CRL-----\n', + }; + // LoadBalancerPoolIdentityByName const loadBalancerPoolIdentityByNameModel = { name: 'my-load-balancer-pool', @@ -22902,6 +23222,7 @@ describe('VpcV1', () => { const loadBalancerListenerPrototypeLoadBalancerContextModel = { accept_proxy_protocol: true, certificate_instance: certificateInstanceIdentityModel, + client_authentication: loadBalancerListenerClientAuthenticationPrototypeModel, connection_limit: 2000, default_pool: loadBalancerPoolIdentityByNameModel, https_redirect: loadBalancerListenerHttpsRedirectPrototypeModel, @@ -22922,6 +23243,11 @@ describe('VpcV1', () => { datapath: loadBalancerLoggingDatapathPrototypeModel, }; + // LoadBalancerPoolClientAuthenticationPrototype + const loadBalancerPoolClientAuthenticationPrototypeModel = { + certificate_instance: certificateInstanceIdentityModel, + }; + // LoadBalancerPoolHealthMonitorPrototypeLoadBalancerPoolHealthMonitorTypeTCPPrototype const loadBalancerPoolHealthMonitorPrototypeModel = { delay: 5, @@ -22943,6 +23269,12 @@ describe('VpcV1', () => { weight: 50, }; + // LoadBalancerPoolServerAuthenticationPrototype + const loadBalancerPoolServerAuthenticationPrototypeModel = { + certificate_authority: certificateInstanceIdentityModel, + verify_certificate: true, + }; + // LoadBalancerPoolSessionPersistencePrototype const loadBalancerPoolSessionPersistencePrototypeModel = { cookie_name: 'my-cookie-name', @@ -22952,11 +23284,13 @@ describe('VpcV1', () => { // LoadBalancerPoolPrototypeLoadBalancerContext const loadBalancerPoolPrototypeLoadBalancerContextModel = { algorithm: 'least_connections', + client_authentication: loadBalancerPoolClientAuthenticationPrototypeModel, health_monitor: loadBalancerPoolHealthMonitorPrototypeModel, members: [loadBalancerPoolMemberPrototypeModel], name: 'my-load-balancer-pool', protocol: 'http', proxy_protocol: 'disabled', + server_authentication: loadBalancerPoolServerAuthenticationPrototypeModel, session_persistence: loadBalancerPoolSessionPersistencePrototypeModel, }; @@ -23592,6 +23926,13 @@ describe('VpcV1', () => { crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', }; + // LoadBalancerListenerClientAuthenticationPrototype + const loadBalancerListenerClientAuthenticationPrototypeModel = { + certificate_authority: certificateInstanceIdentityModel, + certificate_revocation_list: + '-----BEGIN X509 CRL-----\nMIICvTCBpgIBATANBgkqhkiG9w0BAQsFADBMMQswCQYDVQQGEwJVUzEOMAwGA1UE\nCAwFZGVsYXMxDDAKBgNVBAoMA0lCTTENMAsGA1UECwwEcm9vdDEQMA4GA1UEAwwH\ncm9vdC1jYRcNMjUwOTA4MDUwMjQwWhcNMjUxMDA4MDUwMjQwWjAVMBMCAhAAFw0y\nNTA5MDgwNTAxNTlaoA8wDTALBgNVHRQEBAICEAAwDQYJKoZIhvcNAQELBQADggIB\nACeEcj7ompUepc5qTvTrNA5PoK5bN71gNI7Rbhq/Bxf1YPMp2iU3qMSj7YpVP7aw\nGNrxFoIZcQ4X7PYyHMfDk6Z83PSTVMnSOVk09fZW49tyVTWmzBVLz3R1bPasnWTZ\n0hRIv9j9n7Lemin+0ubIR/2zmsfBs1JFAFEbbRcgwg+qotsfZNLkX6bjHDpsRQzE\nmXUEu4/AqAsWPbFzG2uMKZ9pKOK+Nn3bt/NEK+AFlnSmgjEqzQ+0zhsrCExIReJV\nc2oiLBkLG6rBwxlGDog+PqwjP+1wGNIL1J3c2lMW1IGMNcts/aDBO5LtPVIY1LsQ\nFoeaTfm3U3GKC/pTczoDk/pKN756f8O05nTWUHgktcNsPvgqDKnpvEkI3VPf9Y4a\nfMOzKgVTgY1dSgjzHO8+4ZfcVGpBePsjOe0/RCUwkgtgOyGtcmBPTMJa0elJzjaM\njD9myqIXkB359sqbuEmcrjgo5uUUvubFYpmT/W0YxOi/py/bDK+7uUs38nUElNkZ\n+YFRpNWjLF9JtAghX5MhA5BwhTTuATvWYuDdK769ifi9qcYvE4u+VNxYfOpPY6sv\nx4FnkZ9+A7s2hk11d+DEq29Efa0xak8rO1LzT5hCSFT0P3KfZEZMpbuXpzVGiZoM\ng5cWHgYcNnzhUatKodvzZizAOVGRR7UFg42O4ylhxDVe\n-----END X509 CRL-----\n', + }; + // LoadBalancerPoolIdentityLoadBalancerPoolIdentityById const loadBalancerPoolIdentityModel = { id: 'r006-70294e14-4e61-11e8-bcf4-0242ac110004', @@ -23637,6 +23978,7 @@ describe('VpcV1', () => { const protocol = 'http'; const acceptProxyProtocol = true; const certificateInstance = certificateInstanceIdentityModel; + const clientAuthentication = loadBalancerListenerClientAuthenticationPrototypeModel; const connectionLimit = 2000; const defaultPool = loadBalancerPoolIdentityModel; const httpsRedirect = loadBalancerListenerHttpsRedirectPrototypeModel; @@ -23650,6 +23992,7 @@ describe('VpcV1', () => { protocol, acceptProxyProtocol, certificateInstance, + clientAuthentication, connectionLimit, defaultPool, httpsRedirect, @@ -23683,6 +24026,7 @@ describe('VpcV1', () => { expect(mockRequestOptions.body.protocol).toEqual(protocol); expect(mockRequestOptions.body.accept_proxy_protocol).toEqual(acceptProxyProtocol); expect(mockRequestOptions.body.certificate_instance).toEqual(certificateInstance); + expect(mockRequestOptions.body.client_authentication).toEqual(clientAuthentication); expect(mockRequestOptions.body.connection_limit).toEqual(connectionLimit); expect(mockRequestOptions.body.default_pool).toEqual(defaultPool); expect(mockRequestOptions.body.https_redirect).toEqual(httpsRedirect); @@ -23959,6 +24303,19 @@ describe('VpcV1', () => { crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', }; + // LoadBalancerListenerClientAuthenticationCertificateAuthorityPatchByCRN + const loadBalancerListenerClientAuthenticationCertificateAuthorityPatchModel = { + crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', + }; + + // LoadBalancerListenerClientAuthenticationPatch + const loadBalancerListenerClientAuthenticationPatchModel = { + certificate_authority: + loadBalancerListenerClientAuthenticationCertificateAuthorityPatchModel, + certificate_revocation_list: + '-----BEGIN X509 CRL-----\nMIICvTCBpgIBATANBgkqhkiG9w0BAQsFADBMMQswCQYDVQQGEwJVUzEOMAwGA1UE\nCAwFZGVsYXMxDDAKBgNVBAoMA0lCTTENMAsGA1UECwwEcm9vdDEQMA4GA1UEAwwH\ncm9vdC1jYRcNMjUwOTA4MDUwMjQwWhcNMjUxMDA4MDUwMjQwWjAVMBMCAhAAFw0y\nNTA5MDgwNTAxNTlaoA8wDTALBgNVHRQEBAICEAAwDQYJKoZIhvcNAQELBQADggIB\nACeEcj7ompUepc5qTvTrNA5PoK5bN71gNI7Rbhq/Bxf1YPMp2iU3qMSj7YpVP7aw\nGNrxFoIZcQ4X7PYyHMfDk6Z83PSTVMnSOVk09fZW49tyVTWmzBVLz3R1bPasnWTZ\n0hRIv9j9n7Lemin+0ubIR/2zmsfBs1JFAFEbbRcgwg+qotsfZNLkX6bjHDpsRQzE\nmXUEu4/AqAsWPbFzG2uMKZ9pKOK+Nn3bt/NEK+AFlnSmgjEqzQ+0zhsrCExIReJV\nc2oiLBkLG6rBwxlGDog+PqwjP+1wGNIL1J3c2lMW1IGMNcts/aDBO5LtPVIY1LsQ\nFoeaTfm3U3GKC/pTczoDk/pKN756f8O05nTWUHgktcNsPvgqDKnpvEkI3VPf9Y4a\nfMOzKgVTgY1dSgjzHO8+4ZfcVGpBePsjOe0/RCUwkgtgOyGtcmBPTMJa0elJzjaM\njD9myqIXkB359sqbuEmcrjgo5uUUvubFYpmT/W0YxOi/py/bDK+7uUs38nUElNkZ\n+YFRpNWjLF9JtAghX5MhA5BwhTTuATvWYuDdK769ifi9qcYvE4u+VNxYfOpPY6sv\nx4FnkZ9+A7s2hk11d+DEq29Efa0xak8rO1LzT5hCSFT0P3KfZEZMpbuXpzVGiZoM\ng5cWHgYcNnzhUatKodvzZizAOVGRR7UFg42O4ylhxDVe\n-----END X509 CRL-----\n', + }; + // LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityById const loadBalancerListenerDefaultPoolPatchModel = { id: 'r006-70294e14-4e61-11e8-bcf4-0242ac110004', @@ -23982,6 +24339,7 @@ describe('VpcV1', () => { const id = 'testString'; const acceptProxyProtocol = true; const certificateInstance = certificateInstanceIdentityModel; + const clientAuthentication = loadBalancerListenerClientAuthenticationPatchModel; const connectionLimit = 2000; const defaultPool = loadBalancerListenerDefaultPoolPatchModel; const httpsRedirect = loadBalancerListenerHttpsRedirectPatchModel; @@ -23995,6 +24353,7 @@ describe('VpcV1', () => { id, acceptProxyProtocol, certificateInstance, + clientAuthentication, connectionLimit, defaultPool, httpsRedirect, @@ -24027,6 +24386,7 @@ describe('VpcV1', () => { checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.body.accept_proxy_protocol).toEqual(acceptProxyProtocol); expect(mockRequestOptions.body.certificate_instance).toEqual(certificateInstance); + expect(mockRequestOptions.body.client_authentication).toEqual(clientAuthentication); expect(mockRequestOptions.body.connection_limit).toEqual(connectionLimit); expect(mockRequestOptions.body.default_pool).toEqual(defaultPool); expect(mockRequestOptions.body.https_redirect).toEqual(httpsRedirect); @@ -25308,6 +25668,16 @@ describe('VpcV1', () => { type: 'http', }; + // CertificateInstanceIdentityByCRN + const certificateInstanceIdentityModel = { + crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', + }; + + // LoadBalancerPoolClientAuthenticationPrototype + const loadBalancerPoolClientAuthenticationPrototypeModel = { + certificate_instance: certificateInstanceIdentityModel, + }; + // LoadBalancerPoolIdentityLoadBalancerPoolIdentityById const loadBalancerPoolIdentityModel = { id: 'r006-70294e14-4e61-11e8-bcf4-0242ac110004', @@ -25331,6 +25701,12 @@ describe('VpcV1', () => { weight: 50, }; + // LoadBalancerPoolServerAuthenticationPrototype + const loadBalancerPoolServerAuthenticationPrototypeModel = { + certificate_authority: certificateInstanceIdentityModel, + verify_certificate: true, + }; + // LoadBalancerPoolSessionPersistencePrototype const loadBalancerPoolSessionPersistencePrototypeModel = { cookie_name: 'my-cookie-name', @@ -25343,20 +25719,24 @@ describe('VpcV1', () => { const algorithm = 'least_connections'; const healthMonitor = loadBalancerPoolHealthMonitorPrototypeModel; const protocol = 'http'; + const clientAuthentication = loadBalancerPoolClientAuthenticationPrototypeModel; const failsafePolicy = loadBalancerPoolFailsafePolicyPrototypeModel; const members = [loadBalancerPoolMemberPrototypeModel]; const name = 'my-load-balancer-pool'; const proxyProtocol = 'disabled'; + const serverAuthentication = loadBalancerPoolServerAuthenticationPrototypeModel; const sessionPersistence = loadBalancerPoolSessionPersistencePrototypeModel; const createLoadBalancerPoolParams = { loadBalancerId, algorithm, healthMonitor, protocol, + clientAuthentication, failsafePolicy, members, name, proxyProtocol, + serverAuthentication, sessionPersistence, }; @@ -25379,10 +25759,12 @@ describe('VpcV1', () => { expect(mockRequestOptions.body.algorithm).toEqual(algorithm); expect(mockRequestOptions.body.health_monitor).toEqual(healthMonitor); expect(mockRequestOptions.body.protocol).toEqual(protocol); + expect(mockRequestOptions.body.client_authentication).toEqual(clientAuthentication); expect(mockRequestOptions.body.failsafe_policy).toEqual(failsafePolicy); expect(mockRequestOptions.body.members).toEqual(members); expect(mockRequestOptions.body.name).toEqual(name); expect(mockRequestOptions.body.proxy_protocol).toEqual(proxyProtocol); + expect(mockRequestOptions.body.server_authentication).toEqual(serverAuthentication); expect(mockRequestOptions.body.session_persistence).toEqual(sessionPersistence); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); @@ -25649,6 +26031,16 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. + // CertificateInstanceIdentityByCRN + const certificateInstanceIdentityModel = { + crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', + }; + + // LoadBalancerPoolClientAuthenticationPatch + const loadBalancerPoolClientAuthenticationPatchModel = { + certificate_instance: certificateInstanceIdentityModel, + }; + // LoadBalancerPoolFailsafePolicyTargetPatchLoadBalancerPoolIdentityById const loadBalancerPoolFailsafePolicyTargetPatchModel = { id: 'r006-70294e14-4e61-11e8-bcf4-0242ac110004', @@ -25660,16 +26052,43 @@ describe('VpcV1', () => { target: loadBalancerPoolFailsafePolicyTargetPatchModel, }; + // LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype + const loadBalancerPoolHealthMonitorTypeHttphttpsRequestHeaderPrototypeModel = { + field: 'Content-Type', + value: 'text/plain', + }; + + // LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch + const loadBalancerPoolHealthMonitorTypeHttphttpsRequestPatchModel = { + body: 'ACTIVE', + headers: [loadBalancerPoolHealthMonitorTypeHttphttpsRequestHeaderPrototypeModel], + method: 'get', + }; + + // LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePatch + const loadBalancerPoolHealthMonitorTypeHttphttpsResponsePatchModel = { + body_regex: 'ACTIVE', + codes: ['2XX'], + }; + // LoadBalancerPoolHealthMonitorPatch const loadBalancerPoolHealthMonitorPatchModel = { delay: 5, max_retries: 2, port: 22, + request: loadBalancerPoolHealthMonitorTypeHttphttpsRequestPatchModel, + response: loadBalancerPoolHealthMonitorTypeHttphttpsResponsePatchModel, timeout: 2, type: 'http', url_path: '/', }; + // LoadBalancerPoolServerAuthenticationPatch + const loadBalancerPoolServerAuthenticationPatchModel = { + certificate_authority: certificateInstanceIdentityModel, + verify_certificate: true, + }; + // LoadBalancerPoolSessionPersistencePatch const loadBalancerPoolSessionPersistencePatchModel = { cookie_name: 'my-cookie-name', @@ -25681,22 +26100,28 @@ describe('VpcV1', () => { const loadBalancerId = 'testString'; const id = 'testString'; const algorithm = 'least_connections'; + const clientAuthentication = loadBalancerPoolClientAuthenticationPatchModel; const failsafePolicy = loadBalancerPoolFailsafePolicyPatchModel; const healthMonitor = loadBalancerPoolHealthMonitorPatchModel; const name = 'my-load-balancer-pool'; const protocol = 'http'; const proxyProtocol = 'disabled'; + const serverAuthentication = loadBalancerPoolServerAuthenticationPatchModel; const sessionPersistence = loadBalancerPoolSessionPersistencePatchModel; + const ifMatch = 'W/"96d225c4-56bd-43d9-98fc-d7148e5c5028"'; const updateLoadBalancerPoolParams = { loadBalancerId, id, algorithm, + clientAuthentication, failsafePolicy, healthMonitor, name, protocol, proxyProtocol, + serverAuthentication, sessionPersistence, + ifMatch, }; const updateLoadBalancerPoolResult = vpcService.updateLoadBalancerPool( @@ -25719,12 +26144,15 @@ describe('VpcV1', () => { const expectedAccept = 'application/json'; const expectedContentType = 'application/merge-patch+json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); + checkUserHeader(createRequestMock, 'If-Match', ifMatch); expect(mockRequestOptions.body.algorithm).toEqual(algorithm); + expect(mockRequestOptions.body.client_authentication).toEqual(clientAuthentication); expect(mockRequestOptions.body.failsafe_policy).toEqual(failsafePolicy); expect(mockRequestOptions.body.health_monitor).toEqual(healthMonitor); expect(mockRequestOptions.body.name).toEqual(name); expect(mockRequestOptions.body.protocol).toEqual(protocol); expect(mockRequestOptions.body.proxy_protocol).toEqual(proxyProtocol); + expect(mockRequestOptions.body.server_authentication).toEqual(serverAuthentication); expect(mockRequestOptions.body.session_persistence).toEqual(sessionPersistence); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); @@ -31752,15 +32180,13 @@ describe('VpcV1', () => { address: '192.168.3.4', }; - // SecurityGroupRulePrototypeSecurityGroupRuleProtocolTCPUDP + // SecurityGroupRulePrototypeSecurityGroupRuleProtocolAnyPrototype const securityGroupRulePrototypeModel = { direction: 'inbound', ip_version: 'ipv4', local: securityGroupRuleLocalPrototypeModel, name: 'my-rule-1', remote: securityGroupRuleRemotePrototypeModel, - port_max: 22, - port_min: 22, protocol: 'ah', }; @@ -32220,15 +32646,13 @@ describe('VpcV1', () => { address: '192.168.3.4', }; - // SecurityGroupRulePrototypeSecurityGroupRuleProtocolTCPUDP + // SecurityGroupRulePrototypeSecurityGroupRuleProtocolAnyPrototype const securityGroupRulePrototypeModel = { direction: 'inbound', ip_version: 'ipv4', local: securityGroupRuleLocalPrototypeModel, name: 'my-rule-1', remote: securityGroupRuleRemotePrototypeModel, - port_max: 22, - port_min: 22, protocol: 'ah', }; @@ -33441,18 +33865,14 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext + // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById const virtualNetworkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById const virtualNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // ResourceGroupIdentityById @@ -34511,18 +34931,14 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext + // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById const virtualNetworkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById const virtualNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // ResourceGroupIdentityById @@ -35646,6 +36062,7 @@ describe('VpcV1', () => { const name = 'my-name'; const sort = 'name'; const backupPolicyPlanId = 'testString'; + const backupPolicyJobId = 'testString'; const listSnapshotConsistencyGroupsParams = { start, limit, @@ -35653,6 +36070,7 @@ describe('VpcV1', () => { name, sort, backupPolicyPlanId, + backupPolicyJobId, }; const listSnapshotConsistencyGroupsResult = vpcService.listSnapshotConsistencyGroups( @@ -35679,6 +36097,7 @@ describe('VpcV1', () => { expect(mockRequestOptions.qs.name).toEqual(name); expect(mockRequestOptions.qs.sort).toEqual(sort); expect(mockRequestOptions.qs['backup_policy_plan.id']).toEqual(backupPolicyPlanId); + expect(mockRequestOptions.qs['backup_policy_job.id']).toEqual(backupPolicyJobId); } test('should pass the right params to createRequest with enable and disable retries', () => { @@ -35722,9 +36141,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/snapshot_consistency_groups'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"snapshot_consistency_groups":[{"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","delete_snapshots_on_delete":true,"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","name":"my-snapshot-consistency-group","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot_consistency_group","service_tags":["service_tags"],"snapshots":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}]}],"total_count":2,"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"snapshot_consistency_groups":[{"backup_policy_job":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/jobs/r006-fc4b7fbc-38af-45d9-9fb6-bf0533acbf90","id":"r006-fc4b7fbc-38af-45d9-9fb6-bf0533acbf90","resource_type":"backup_policy_job"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","delete_snapshots_on_delete":true,"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","name":"my-snapshot-consistency-group","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot_consistency_group","service_tags":["service_tags"],"snapshots":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}]}],"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"snapshot_consistency_groups":[{"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","delete_snapshots_on_delete":true,"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","name":"my-snapshot-consistency-group","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot_consistency_group","service_tags":["service_tags"],"snapshots":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}]}],"total_count":2,"limit":1}'; + '{"snapshot_consistency_groups":[{"backup_policy_job":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/jobs/r006-fc4b7fbc-38af-45d9-9fb6-bf0533acbf90","id":"r006-fc4b7fbc-38af-45d9-9fb6-bf0533acbf90","resource_type":"backup_policy_job"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","delete_snapshots_on_delete":true,"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","name":"my-snapshot-consistency-group","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot_consistency_group","service_tags":["service_tags"],"snapshots":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}]}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -35747,6 +36166,7 @@ describe('VpcV1', () => { name: 'my-name', sort: 'name', backupPolicyPlanId: 'testString', + backupPolicyJobId: 'testString', }; const allResults = []; const pager = new VpcV1.SnapshotConsistencyGroupsPager(vpcService, params); @@ -35766,6 +36186,7 @@ describe('VpcV1', () => { name: 'my-name', sort: 'name', backupPolicyPlanId: 'testString', + backupPolicyJobId: 'testString', }; const pager = new VpcV1.SnapshotConsistencyGroupsPager(vpcService, params); const allResults = await pager.getAll(); @@ -36397,9 +36818,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/snapshots'; const mockPagerResponse1 = - '{"snapshots":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"bootable":true,"captured_at":"2026-01-02T03:04:05.006Z","catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"clones":[{"available":false,"created_at":"2026-01-02T03:04:05.006Z","zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"copies":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}],"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deletable":false,"encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","minimum_capacity":1,"name":"my-snapshot","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"progress":55,"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot","service_tags":["service_tags"],"size":1,"snapshot_consistency_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","name":"my-snapshot-consistency-group","resource_type":"snapshot_consistency_group"},"source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"storage_generation":1,"user_tags":["user_tags"]}],"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1}'; + '{"snapshots":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"bootable":true,"captured_at":"2026-01-02T03:04:05.006Z","catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"clones":[{"available":false,"created_at":"2026-01-02T03:04:05.006Z","zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"copies":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}],"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deletable":false,"encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","minimum_capacity":1,"name":"my-snapshot","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"progress":55,"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot","service_tags":["service_tags"],"size":1,"snapshot_consistency_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","name":"my-snapshot-consistency-group","resource_type":"snapshot_consistency_group"},"source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"storage_generation":1,"user_tags":["user_tags"]}],"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"snapshots":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"bootable":true,"captured_at":"2026-01-02T03:04:05.006Z","catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"clones":[{"available":false,"created_at":"2026-01-02T03:04:05.006Z","zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"copies":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}],"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deletable":false,"encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","minimum_capacity":1,"name":"my-snapshot","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"progress":55,"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot","service_tags":["service_tags"],"size":1,"snapshot_consistency_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","name":"my-snapshot-consistency-group","resource_type":"snapshot_consistency_group"},"source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"storage_generation":1,"user_tags":["user_tags"]}],"total_count":2,"limit":1}'; + '{"snapshots":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"bootable":true,"captured_at":"2026-01-02T03:04:05.006Z","catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"clones":[{"available":false,"created_at":"2026-01-02T03:04:05.006Z","zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"copies":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}],"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deletable":false,"encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","minimum_capacity":1,"name":"my-snapshot","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"progress":55,"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot","service_tags":["service_tags"],"size":1,"snapshot_consistency_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","name":"my-snapshot-consistency-group","resource_type":"snapshot_consistency_group"},"source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"storage_generation":1,"user_tags":["user_tags"]}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -36496,7 +36917,7 @@ describe('VpcV1', () => { // SnapshotAllowedUsePrototype const snapshotAllowedUsePrototypeModel = { - api_version: '2026-03-24', + api_version: '2024-06-23', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -36796,7 +37217,7 @@ describe('VpcV1', () => { // SnapshotAllowedUsePatch const snapshotAllowedUsePatchModel = { - api_version: '2026-03-24', + api_version: '2024-06-23', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -39313,18 +39734,14 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext + // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById const virtualNetworkInterfaceIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById const virtualNetworkInterfacePrimaryIpPrototypeModel = { - address: '10.0.0.5', - auto_delete: false, - name: 'my-reserved-ip', + id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', }; // ResourceGroupIdentityById @@ -40929,9 +41346,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/volumes'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"volumes":[{"active":true,"adjustable_capacity_states":["attached"],"adjustable_iops_states":["attached"],"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"attachment_state":"attached","bandwidth":1000,"busy":true,"capacity":1000,"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"health_reasons":[{"code":"initializing_from_snapshot","message":"Performance will be degraded while this volume is being initialized from its snapshot","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-troubleshooting&interface=ui#snapshot_ts_degraded_perf"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","iops":10000,"name":"my-volume","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/volume/profiles/general-purpose","name":"general-purpose"},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"volume","source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"storage_generation":1,"user_tags":["user_tags"],"volume_attachments":[{"delete_volume_on_instance_delete":true,"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","instance":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","name":"my-instance"},"name":"my-volume-attachment","type":"boot"}],"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"volumes":[{"active":true,"adjustable_capacity_states":["attached"],"adjustable_iops_states":["attached"],"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"attachment_state":"attached","bandwidth":1000,"busy":true,"capacity":1000,"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"health_reasons":[{"code":"initializing_from_snapshot","message":"Performance will be degraded while this volume is being initialized from its snapshot","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-troubleshooting&interface=ui#snapshot_ts_degraded_perf"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","iops":10000,"name":"my-volume","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/volume/profiles/general-purpose","name":"general-purpose"},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"volume","source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"storage_generation":1,"user_tags":["user_tags"],"volume_attachments":[{"delete_volume_on_instance_delete":true,"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","instance":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","name":"my-instance"},"name":"my-volume-attachment","type":"boot"}],"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; const mockPagerResponse2 = - '{"total_count":2,"limit":1,"volumes":[{"active":true,"adjustable_capacity_states":["attached"],"adjustable_iops_states":["attached"],"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"attachment_state":"attached","bandwidth":1000,"busy":true,"capacity":1000,"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"health_reasons":[{"code":"initializing_from_snapshot","message":"Performance will be degraded while this volume is being initialized from its snapshot","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-troubleshooting&interface=ui#snapshot_ts_degraded_perf"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","iops":10000,"name":"my-volume","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/volume/profiles/general-purpose","name":"general-purpose"},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"volume","source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"storage_generation":1,"user_tags":["user_tags"],"volume_attachments":[{"delete_volume_on_instance_delete":true,"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","instance":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","name":"my-instance"},"name":"my-volume-attachment","type":"boot"}],"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; + '{"total_count":2,"limit":1,"volumes":[{"active":true,"adjustable_capacity_states":["attached"],"adjustable_iops_states":["attached"],"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"attachment_state":"attached","bandwidth":1000,"busy":true,"capacity":1000,"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"health_reasons":[{"code":"initializing_from_snapshot","message":"Performance will be degraded while this volume is being initialized from its snapshot","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-troubleshooting&interface=ui#snapshot_ts_degraded_perf"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","iops":10000,"name":"my-volume","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/volume/profiles/general-purpose","name":"general-purpose"},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"volume","source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"storage_generation":1,"user_tags":["user_tags"],"volume_attachments":[{"delete_volume_on_instance_delete":true,"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","instance":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","name":"my-instance"},"name":"my-volume-attachment","type":"boot"}],"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; beforeEach(() => { unmock_createRequest(); @@ -41292,7 +41709,7 @@ describe('VpcV1', () => { // VolumeAllowedUsePatch const volumeAllowedUsePatchModel = { - api_version: '2026-03-24', + api_version: '2024-06-23', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -45936,9 +46353,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/ike_policies'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"ike_policies":[{"authentication_algorithm":"md5","connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","dh_group":14,"encryption_algorithm":"aes128","href":"https://us-south.iaas.cloud.ibm.com/v1/ike_policies/r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","id":"r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","ike_version":1,"key_lifetime":28800,"name":"my-ike-policy","negotiation_mode":"main","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ike_policy"}],"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"ike_policies":[{"authentication_algorithm":"md5","authentication_algorithms":["sha256"],"connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","dh_group":14,"dh_groups":[14],"encryption_algorithm":"aes128","encryption_algorithms":["aes128"],"href":"https://us-south.iaas.cloud.ibm.com/v1/ike_policies/r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","id":"r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","ike_version":1,"key_lifetime":28800,"name":"my-ike-policy","negotiation_mode":"main","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ike_policy"}],"limit":1}'; const mockPagerResponse2 = - '{"total_count":2,"ike_policies":[{"authentication_algorithm":"md5","connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","dh_group":14,"encryption_algorithm":"aes128","href":"https://us-south.iaas.cloud.ibm.com/v1/ike_policies/r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","id":"r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","ike_version":1,"key_lifetime":28800,"name":"my-ike-policy","negotiation_mode":"main","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ike_policy"}],"limit":1}'; + '{"total_count":2,"ike_policies":[{"authentication_algorithm":"md5","authentication_algorithms":["sha256"],"connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","dh_group":14,"dh_groups":[14],"encryption_algorithm":"aes128","encryption_algorithms":["aes128"],"href":"https://us-south.iaas.cloud.ibm.com/v1/ike_policies/r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","id":"r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","ike_version":1,"key_lifetime":28800,"name":"my-ike-policy","negotiation_mode":"main","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ike_policy"}],"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -45992,18 +46409,24 @@ describe('VpcV1', () => { function __createIkePolicyTest() { // Construct the params object for operation createIkePolicy + const ikeVersion = 1; const authenticationAlgorithm = 'sha256'; + const authenticationAlgorithms = ['sha256']; const dhGroup = 14; + const dhGroups = [14]; const encryptionAlgorithm = 'aes128'; - const ikeVersion = 1; + const encryptionAlgorithms = ['aes128']; const keyLifetime = 28800; const name = 'my-ike-policy'; const resourceGroup = resourceGroupIdentityModel; const createIkePolicyParams = { + ikeVersion, authenticationAlgorithm, + authenticationAlgorithms, dhGroup, + dhGroups, encryptionAlgorithm, - ikeVersion, + encryptionAlgorithms, keyLifetime, name, resourceGroup, @@ -46023,10 +46446,13 @@ describe('VpcV1', () => { const expectedAccept = 'application/json'; const expectedContentType = 'application/json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); + expect(mockRequestOptions.body.ike_version).toEqual(ikeVersion); expect(mockRequestOptions.body.authentication_algorithm).toEqual(authenticationAlgorithm); + expect(mockRequestOptions.body.authentication_algorithms).toEqual(authenticationAlgorithms); expect(mockRequestOptions.body.dh_group).toEqual(dhGroup); + expect(mockRequestOptions.body.dh_groups).toEqual(dhGroups); expect(mockRequestOptions.body.encryption_algorithm).toEqual(encryptionAlgorithm); - expect(mockRequestOptions.body.ike_version).toEqual(ikeVersion); + expect(mockRequestOptions.body.encryption_algorithms).toEqual(encryptionAlgorithms); expect(mockRequestOptions.body.key_lifetime).toEqual(keyLifetime); expect(mockRequestOptions.body.name).toEqual(name); expect(mockRequestOptions.body.resource_group).toEqual(resourceGroup); @@ -46051,16 +46477,10 @@ describe('VpcV1', () => { test('should prioritize user-given headers', () => { // parameters - const authenticationAlgorithm = 'sha256'; - const dhGroup = 14; - const encryptionAlgorithm = 'aes128'; const ikeVersion = 1; const userAccept = 'fake/accept'; const userContentType = 'fake/contentType'; const createIkePolicyParams = { - authenticationAlgorithm, - dhGroup, - encryptionAlgorithm, ikeVersion, headers: { Accept: userAccept, @@ -46276,16 +46696,22 @@ describe('VpcV1', () => { // Construct the params object for operation updateIkePolicy const id = 'testString'; const authenticationAlgorithm = 'sha256'; + const authenticationAlgorithms = ['sha256']; const dhGroup = 14; + const dhGroups = [14]; const encryptionAlgorithm = 'aes128'; + const encryptionAlgorithms = ['aes128']; const ikeVersion = 1; const keyLifetime = 28800; const name = 'my-ike-policy'; const updateIkePolicyParams = { id, authenticationAlgorithm, + authenticationAlgorithms, dhGroup, + dhGroups, encryptionAlgorithm, + encryptionAlgorithms, ikeVersion, keyLifetime, name, @@ -46306,8 +46732,11 @@ describe('VpcV1', () => { const expectedContentType = 'application/merge-patch+json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.body.authentication_algorithm).toEqual(authenticationAlgorithm); + expect(mockRequestOptions.body.authentication_algorithms).toEqual(authenticationAlgorithms); expect(mockRequestOptions.body.dh_group).toEqual(dhGroup); + expect(mockRequestOptions.body.dh_groups).toEqual(dhGroups); expect(mockRequestOptions.body.encryption_algorithm).toEqual(encryptionAlgorithm); + expect(mockRequestOptions.body.encryption_algorithms).toEqual(encryptionAlgorithms); expect(mockRequestOptions.body.ike_version).toEqual(ikeVersion); expect(mockRequestOptions.body.key_lifetime).toEqual(keyLifetime); expect(mockRequestOptions.body.name).toEqual(name); @@ -46590,9 +47019,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/ipsec_policies'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"ipsec_policies":[{"authentication_algorithm":"disabled","connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","encapsulation_mode":"tunnel","encryption_algorithm":"aes128","href":"https://us-south.iaas.cloud.ibm.com/v1/ipsec_policies/r006-51eae621-dbbc-4c47-b623-b57a43c19876","id":"r006-51eae621-dbbc-4c47-b623-b57a43c19876","key_lifetime":3600,"name":"my-ipsec-policy","pfs":"disabled","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ipsec_policy","transform_protocol":"esp"}],"total_count":2,"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"ipsec_policies":[{"authentication_algorithm":"disabled","authentication_algorithms":["disabled"],"connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","encapsulation_mode":"tunnel","encryption_algorithm":"aes128","encryption_algorithms":["aes128"],"href":"https://us-south.iaas.cloud.ibm.com/v1/ipsec_policies/r006-51eae621-dbbc-4c47-b623-b57a43c19876","id":"r006-51eae621-dbbc-4c47-b623-b57a43c19876","key_lifetime":3600,"name":"my-ipsec-policy","pfs":"disabled","pfs_groups":["disabled"],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ipsec_policy","transform_protocol":"esp"}],"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"ipsec_policies":[{"authentication_algorithm":"disabled","connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","encapsulation_mode":"tunnel","encryption_algorithm":"aes128","href":"https://us-south.iaas.cloud.ibm.com/v1/ipsec_policies/r006-51eae621-dbbc-4c47-b623-b57a43c19876","id":"r006-51eae621-dbbc-4c47-b623-b57a43c19876","key_lifetime":3600,"name":"my-ipsec-policy","pfs":"disabled","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ipsec_policy","transform_protocol":"esp"}],"total_count":2,"limit":1}'; + '{"ipsec_policies":[{"authentication_algorithm":"disabled","authentication_algorithms":["disabled"],"connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","encapsulation_mode":"tunnel","encryption_algorithm":"aes128","encryption_algorithms":["aes128"],"href":"https://us-south.iaas.cloud.ibm.com/v1/ipsec_policies/r006-51eae621-dbbc-4c47-b623-b57a43c19876","id":"r006-51eae621-dbbc-4c47-b623-b57a43c19876","key_lifetime":3600,"name":"my-ipsec-policy","pfs":"disabled","pfs_groups":["disabled"],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ipsec_policy","transform_protocol":"esp"}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -46647,17 +47076,23 @@ describe('VpcV1', () => { function __createIpsecPolicyTest() { // Construct the params object for operation createIpsecPolicy const authenticationAlgorithm = 'disabled'; + const authenticationAlgorithms = ['disabled']; const encryptionAlgorithm = 'aes128'; - const pfs = 'disabled'; + const encryptionAlgorithms = ['aes128']; const keyLifetime = 3600; const name = 'my-ipsec-policy'; + const pfs = 'disabled'; + const pfsGroups = ['disabled']; const resourceGroup = resourceGroupIdentityModel; const createIpsecPolicyParams = { authenticationAlgorithm, + authenticationAlgorithms, encryptionAlgorithm, - pfs, + encryptionAlgorithms, keyLifetime, name, + pfs, + pfsGroups, resourceGroup, }; @@ -46676,10 +47111,13 @@ describe('VpcV1', () => { const expectedContentType = 'application/json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.body.authentication_algorithm).toEqual(authenticationAlgorithm); + expect(mockRequestOptions.body.authentication_algorithms).toEqual(authenticationAlgorithms); expect(mockRequestOptions.body.encryption_algorithm).toEqual(encryptionAlgorithm); - expect(mockRequestOptions.body.pfs).toEqual(pfs); + expect(mockRequestOptions.body.encryption_algorithms).toEqual(encryptionAlgorithms); expect(mockRequestOptions.body.key_lifetime).toEqual(keyLifetime); expect(mockRequestOptions.body.name).toEqual(name); + expect(mockRequestOptions.body.pfs).toEqual(pfs); + expect(mockRequestOptions.body.pfs_groups).toEqual(pfsGroups); expect(mockRequestOptions.body.resource_group).toEqual(resourceGroup); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); @@ -46702,15 +47140,9 @@ describe('VpcV1', () => { test('should prioritize user-given headers', () => { // parameters - const authenticationAlgorithm = 'disabled'; - const encryptionAlgorithm = 'aes128'; - const pfs = 'disabled'; const userAccept = 'fake/accept'; const userContentType = 'fake/contentType'; const createIpsecPolicyParams = { - authenticationAlgorithm, - encryptionAlgorithm, - pfs, headers: { Accept: userAccept, 'Content-Type': userContentType, @@ -46720,29 +47152,11 @@ describe('VpcV1', () => { vpcService.createIpsecPolicy(createIpsecPolicyParams); checkMediaHeaders(createRequestMock, userAccept, userContentType); }); - }); - describe('negative tests', () => { - test('should enforce required parameters', async () => { - let err; - try { - await vpcService.createIpsecPolicy({}); - } catch (e) { - err = e; - } - - expect(err.message).toMatch(/Missing required parameters/); - }); - - test('should reject promise when required params are not given', async () => { - let err; - try { - await vpcService.createIpsecPolicy(); - } catch (e) { - err = e; - } - - expect(err.message).toMatch(/Missing required parameters/); + test('should not have any problems when no parameters are passed in', () => { + // invoke the method with no parameters + vpcService.createIpsecPolicy({}); + checkForSuccessfulExecution(createRequestMock); }); }); }); @@ -46925,17 +47339,23 @@ describe('VpcV1', () => { // Construct the params object for operation updateIpsecPolicy const id = 'testString'; const authenticationAlgorithm = 'disabled'; + const authenticationAlgorithms = ['disabled']; const encryptionAlgorithm = 'aes128'; + const encryptionAlgorithms = ['aes128']; const keyLifetime = 3600; const name = 'my-ipsec-policy'; const pfs = 'disabled'; + const pfsGroups = ['disabled']; const updateIpsecPolicyParams = { id, authenticationAlgorithm, + authenticationAlgorithms, encryptionAlgorithm, + encryptionAlgorithms, keyLifetime, name, pfs, + pfsGroups, }; const updateIpsecPolicyResult = vpcService.updateIpsecPolicy(updateIpsecPolicyParams); @@ -46953,10 +47373,13 @@ describe('VpcV1', () => { const expectedContentType = 'application/merge-patch+json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.body.authentication_algorithm).toEqual(authenticationAlgorithm); + expect(mockRequestOptions.body.authentication_algorithms).toEqual(authenticationAlgorithms); expect(mockRequestOptions.body.encryption_algorithm).toEqual(encryptionAlgorithm); + expect(mockRequestOptions.body.encryption_algorithms).toEqual(encryptionAlgorithms); expect(mockRequestOptions.body.key_lifetime).toEqual(keyLifetime); expect(mockRequestOptions.body.name).toEqual(name); expect(mockRequestOptions.body.pfs).toEqual(pfs); + expect(mockRequestOptions.body.pfs_groups).toEqual(pfsGroups); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); expect(mockRequestOptions.path.id).toEqual(id); diff --git a/vpc/v1.ts b/vpc/v1.ts index c511247..fc5a8c1 100644 --- a/vpc/v1.ts +++ b/vpc/v1.ts @@ -15,7 +15,7 @@ */ /** - * IBM OpenAPI SDK Code Generator Version: 3.111.0-1bfb72c2-20260206-185521 + * IBM OpenAPI SDK Code Generator Version: 3.114.4-9b56d441-20260612-210048 */ /* eslint-disable max-classes-per-file */ @@ -40,7 +40,7 @@ import { getSdkHeaders } from '../lib/common'; * The IBM Cloud Virtual Private Cloud (VPC) API can be used to programmatically provision and manage virtual server * instances, along with subnets, volumes, load balancers, and more. * - * API Version: 2026-03-24 + * API Version: 2026-06-23 */ class VpcV1 extends BaseService { @@ -110,7 +110,7 @@ class VpcV1 extends BaseService { generation?: number; /** The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between - * `2025-12-09` and `2026-03-25`. + * `2026-04-07` and `2026-06-23`. */ version: string; @@ -121,7 +121,7 @@ class VpcV1 extends BaseService { * @param {number} [options.generation] - The infrastructure generation. For the API behavior documented here, specify * `2`. * @param {string} options.version - The API version, in format `YYYY-MM-DD`. For the API behavior documented here, - * specify any date between `2025-12-09` and `2026-03-25`. + * specify any date between `2026-04-07` and `2026-06-23`. * @param {string} [options.serviceUrl] - The base URL for the service * @param {OutgoingHttpHeaders} [options.headers] - Default headers that shall be included with every request to the service. * @param {Authenticator} options.authenticator - The Authenticator object used to authenticate requests to the service @@ -141,7 +141,7 @@ class VpcV1 extends BaseService { if (!('generation' in options)) { this.generation = 2; } - this.version = options.version || '2026-03-24'; + this.version = options.version || '2026-06-23'; } /************************* @@ -2939,14 +2939,15 @@ class VpcV1 extends BaseService { * be added as SSH authorized keys for the [default * user](https://cloud.ibm.com/docs/vpc?topic=vpc-vsi_is_connecting_linux#determining-default-user-account). * - * For Windows images, at least one key must be specified, and one will be selected to encrypt the administrator - * password. Keys are optional for other images, but if no keys are specified, the bare metal server will be - * inaccessible unless the specified image provides another means of access. + * For Windows images, at least one SSH key of type `rsa` must be specified. One of the provided keys is selected to + * encrypt the administrator password. SSH keys are optional for other images; however, if no keys are specified, the + * bare metal server will be inaccessible unless the selected image provides an alternative access mechanism. * @param {BareMetalServerInitializationDefaultTrustedProfilePrototype} [params.defaultTrustedProfile] - The default * trusted profile to be used when initializing the bare metal server. * * If unspecified, no default trusted profile will be made available. - * @param {string} [params.userData] - The user data to be made available when initializing the bare metal server. + * @param {string} [params.userData] - The [user data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make + * available when setting up the bare metal server. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -7719,8 +7720,6 @@ class VpcV1 extends BaseService { * reversed. An image with `remote.account` set is not allowed to be deleted. Additionally, an image cannot be deleted * if it: * - has a `status` of `deleting` - * - has a `status` of `pending` with a `status_reasons` code of - * `image_request_in_progress` * - has `catalog_offering.managed` set to `true`. * * @param {Object} params - The parameters to send to the service. @@ -10674,6 +10673,8 @@ class VpcV1 extends BaseService { * region. An instance profile specifies the performance characteristics and pricing model for an instance. * * @param {Object} [params] - The parameters to send to the service. + * @param {string} [params.start] - A server-provided token determining what resource to start the page on. + * @param {number} [params.limit] - The number of resources to return on a page. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -10682,7 +10683,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = []; - const _validParams = ['signal', 'headers']; + const _validParams = ['start', 'limit', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -10691,6 +10692,8 @@ class VpcV1 extends BaseService { const query = { 'version': this.version, 'generation': this.generation, + 'start': _params.start, + 'limit': _params.limit, }; const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'listInstanceProfiles'); @@ -11107,9 +11110,11 @@ class VpcV1 extends BaseService { * @param {string} [params.name] - The name for this virtual server instance. The name must not be used by another * virtual server instance in the region. Changing the name will not affect the system hostname. * @param {InstancePlacementTargetPatch} [params.placementTarget] - The placement restrictions to use for the virtual - * server instance. + * server instance. For the + * placement restrictions to be changed, the instance `status` must be `stopping` or + * `stopped`. * - * If specified, `reservation_affinity.policy` must be `disabled`. If specifying a dedicated + * If set, `reservation_affinity.policy` must be `disabled`. If specifying a dedicated * host or dedicated host group, the `vcpu.percentage` must be `100` and the instance must * have two or more vCPUs. * @param {InstancePatchProfile} [params.profile] - The profile to use for this virtual server instance. Any disks @@ -11127,6 +11132,11 @@ class VpcV1 extends BaseService { * currently has. * - Have the `volume_bandwidth_qos_mode` listed in its `volume_bandwidth_qos_modes`. * @param {InstanceReservationAffinityPatch} [params.reservationAffinity] - + * @param {number} [params.threadsPerCore] - The threads per core to use for this virtual server instance. Must be one + * of the values in the profile's `threads_per_core.values`. + * + * For this property to be changed, the virtual server instance `status` must be + * `stopping` or `stopped`. * @param {number} [params.totalVolumeBandwidth] - The amount of bandwidth (in megabits per second) allocated * exclusively to instance storage volumes. An increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -11146,7 +11156,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['id']; - const _validParams = ['id', 'availability', 'availabilityPolicy', 'confidentialComputeMode', 'enableSecureBoot', 'metadataService', 'name', 'placementTarget', 'profile', 'reservationAffinity', 'totalVolumeBandwidth', 'vcpu', 'volumeBandwidthQosMode', 'ifMatch', 'signal', 'headers']; + const _validParams = ['id', 'availability', 'availabilityPolicy', 'confidentialComputeMode', 'enableSecureBoot', 'metadataService', 'name', 'placementTarget', 'profile', 'reservationAffinity', 'threadsPerCore', 'totalVolumeBandwidth', 'vcpu', 'volumeBandwidthQosMode', 'ifMatch', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -11162,6 +11172,7 @@ class VpcV1 extends BaseService { 'placement_target': _params.placementTarget, 'profile': _params.profile, 'reservation_affinity': _params.reservationAffinity, + 'threads_per_core': _params.threadsPerCore, 'total_volume_bandwidth': _params.totalVolumeBandwidth, 'vcpu': _params.vcpu, 'volume_bandwidth_qos_mode': _params.volumeBandwidthQosMode, @@ -13026,6 +13037,198 @@ class VpcV1 extends BaseService { return this.createRequest(parameters); } + /** + * List instance software attachments associated with an instance. + * + * This request lists software attachments associated with an instance. + * + * The instance software attachments will be sorted by their `created_at` property values, with newest instance + * software attachments first. Software attachments with identical + * `created_at` property values will in turn be sorted by ascending `name` property values. + * + * @param {Object} params - The parameters to send to the service. + * @param {string} params.instanceId - The virtual server instance identifier. + * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers + * @returns {Promise>} + */ + public listInstanceSoftwareAttachments( + params: VpcV1.ListInstanceSoftwareAttachmentsParams + ): Promise> { + const _params = { ...params }; + const _requiredParams = ['instanceId']; + const _validParams = ['instanceId', 'signal', 'headers']; + const _validationErrors = validateParams(_params, _requiredParams, _validParams); + if (_validationErrors) { + return Promise.reject(_validationErrors); + } + + const query = { + 'version': this.version, + 'generation': this.generation, + }; + + const path = { + 'instance_id': _params.instanceId, + }; + + const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'listInstanceSoftwareAttachments'); + + const parameters = { + options: { + url: '/instances/{instance_id}/software_attachments', + method: 'GET', + qs: query, + path, + }, + defaultOptions: extend(true, {}, this.baseOptions, { + headers: extend( + true, + sdkHeaders, + this.baseOptions.headers, + { + 'Accept': 'application/json', + }, + _params.headers + ), + axiosOptions: { + signal: _params.signal, + }, + }), + }; + + return this.createRequest(parameters); + } + + /** + * Retrieve an instance software attachment. + * + * This request retrieves a single instance software attachment specified by identifier in the URL. + * + * @param {Object} params - The parameters to send to the service. + * @param {string} params.instanceId - The virtual server instance identifier. + * @param {string} params.id - The instance software attachment identifier. + * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers + * @returns {Promise>} + */ + public getInstanceSoftwareAttachment( + params: VpcV1.GetInstanceSoftwareAttachmentParams + ): Promise> { + const _params = { ...params }; + const _requiredParams = ['instanceId', 'id']; + const _validParams = ['instanceId', 'id', 'signal', 'headers']; + const _validationErrors = validateParams(_params, _requiredParams, _validParams); + if (_validationErrors) { + return Promise.reject(_validationErrors); + } + + const query = { + 'version': this.version, + 'generation': this.generation, + }; + + const path = { + 'instance_id': _params.instanceId, + 'id': _params.id, + }; + + const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'getInstanceSoftwareAttachment'); + + const parameters = { + options: { + url: '/instances/{instance_id}/software_attachments/{id}', + method: 'GET', + qs: query, + path, + }, + defaultOptions: extend(true, {}, this.baseOptions, { + headers: extend( + true, + sdkHeaders, + this.baseOptions.headers, + { + 'Accept': 'application/json', + }, + _params.headers + ), + axiosOptions: { + signal: _params.signal, + }, + }), + }; + + return this.createRequest(parameters); + } + + /** + * Update an instance software attachment. + * + * This request updates an instance software attachment with the information provided in an instance software + * attachment patch object. The instance software attachment patch object is structured in the same way as a retrieved + * instance software attachment and needs to contain only the information to be updated. + * + * @param {Object} params - The parameters to send to the service. + * @param {string} params.instanceId - The virtual server instance identifier. + * @param {string} params.id - The instance software attachment identifier. + * @param {string} [params.name] - The name for this instance software attachment. The name must not be used by + * another software attachment for this instance. + * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers + * @returns {Promise>} + */ + public updateInstanceSoftwareAttachment( + params: VpcV1.UpdateInstanceSoftwareAttachmentParams + ): Promise> { + const _params = { ...params }; + const _requiredParams = ['instanceId', 'id']; + const _validParams = ['instanceId', 'id', 'name', 'signal', 'headers']; + const _validationErrors = validateParams(_params, _requiredParams, _validParams); + if (_validationErrors) { + return Promise.reject(_validationErrors); + } + + const body = { + 'name': _params.name, + }; + + const query = { + 'version': this.version, + 'generation': this.generation, + }; + + const path = { + 'instance_id': _params.instanceId, + 'id': _params.id, + }; + + const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'updateInstanceSoftwareAttachment'); + + const parameters = { + options: { + url: '/instances/{instance_id}/software_attachments/{id}', + method: 'PATCH', + body, + qs: query, + path, + }, + defaultOptions: extend(true, {}, this.baseOptions, { + headers: extend( + true, + sdkHeaders, + this.baseOptions.headers, + { + 'Accept': 'application/json', + 'Content-Type': 'application/merge-patch+json', + }, + _params.headers + ), + axiosOptions: { + signal: _params.signal, + }, + }), + }; + + return this.createRequest(parameters); + } + /** * List volumes attachments on an instance. * @@ -14319,6 +14522,11 @@ class VpcV1 extends BaseService { * @param {CertificateInstanceIdentity} [params.certificateInstance] - The certificate instance to use for SSL * termination. The listener must have a * `protocol` of `https`. + * @param {LoadBalancerListenerClientAuthenticationPrototype} [params.clientAuthentication] - The client + * authentication to use for this listener. + * + * Supported by load balancers with `mtls_supported` set to `true`. The listener must + * have a `protocol` of `https`. * @param {number} [params.connectionLimit] - The concurrent connection limit for the listener. If reached, incoming * connections may be queued or rejected. * @@ -14392,7 +14600,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['loadBalancerId', 'protocol']; - const _validParams = ['loadBalancerId', 'protocol', 'acceptProxyProtocol', 'certificateInstance', 'connectionLimit', 'defaultPool', 'httpsRedirect', 'idleConnectionTimeout', 'policies', 'port', 'portMax', 'portMin', 'signal', 'headers']; + const _validParams = ['loadBalancerId', 'protocol', 'acceptProxyProtocol', 'certificateInstance', 'clientAuthentication', 'connectionLimit', 'defaultPool', 'httpsRedirect', 'idleConnectionTimeout', 'policies', 'port', 'portMax', 'portMin', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -14402,6 +14610,7 @@ class VpcV1 extends BaseService { 'protocol': _params.protocol, 'accept_proxy_protocol': _params.acceptProxyProtocol, 'certificate_instance': _params.certificateInstance, + 'client_authentication': _params.clientAuthentication, 'connection_limit': _params.connectionLimit, 'default_pool': _params.defaultPool, 'https_redirect': _params.httpsRedirect, @@ -14589,6 +14798,13 @@ class VpcV1 extends BaseService { * @param {CertificateInstanceIdentity} [params.certificateInstance] - The certificate instance to use for SSL * termination. The listener must have a * `protocol` of `https`. + * @param {LoadBalancerListenerClientAuthenticationPatch} [params.clientAuthentication] - The client authentication to + * use for this listener. + * + * Supported by load balancers with `mtls_supported` set to `true`. The listener must + * have a `protocol` of `https`. + * + * Specify `null` to remove an existing client authentication. * @param {number} [params.connectionLimit] - The concurrent connection limit for the listener. If reached, incoming * connections may be queued or rejected. * @@ -14666,7 +14882,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['loadBalancerId', 'id']; - const _validParams = ['loadBalancerId', 'id', 'acceptProxyProtocol', 'certificateInstance', 'connectionLimit', 'defaultPool', 'httpsRedirect', 'idleConnectionTimeout', 'port', 'portMax', 'portMin', 'protocol', 'signal', 'headers']; + const _validParams = ['loadBalancerId', 'id', 'acceptProxyProtocol', 'certificateInstance', 'clientAuthentication', 'connectionLimit', 'defaultPool', 'httpsRedirect', 'idleConnectionTimeout', 'port', 'portMax', 'portMin', 'protocol', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -14675,6 +14891,7 @@ class VpcV1 extends BaseService { const body = { 'accept_proxy_protocol': _params.acceptProxyProtocol, 'certificate_instance': _params.certificateInstance, + 'client_authentication': _params.clientAuthentication, 'connection_limit': _params.connectionLimit, 'default_pool': _params.defaultPool, 'https_redirect': _params.httpsRedirect, @@ -15546,6 +15763,15 @@ class VpcV1 extends BaseService { * @param {string} params.protocol - The protocol used for this load balancer pool. Load balancers in the `network` * family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the * `application` family support `tcp`, `http`, and `https`. + * + * **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP + * has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to choose + * `https` instead of `http`. For more details, see: https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. + * @param {LoadBalancerPoolClientAuthenticationPrototype} [params.clientAuthentication] - The client authentication to + * use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. * @param {LoadBalancerPoolFailsafePolicyPrototype} [params.failsafePolicy] - The failsafe policy to use for this * pool. * @@ -15561,6 +15787,11 @@ class VpcV1 extends BaseService { * - `disabled`: Disabled * * For load balancers in the `network` family, this property must be `disabled`. + * @param {LoadBalancerPoolServerAuthenticationPrototype} [params.serverAuthentication] - The server authentication to + * use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. * @param {LoadBalancerPoolSessionPersistencePrototype} [params.sessionPersistence] - The session persistence of this * pool. If specified, the load balancer must have * `source_ip_session_persistence_supported` set to `true` in its profile. @@ -15575,7 +15806,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['loadBalancerId', 'algorithm', 'healthMonitor', 'protocol']; - const _validParams = ['loadBalancerId', 'algorithm', 'healthMonitor', 'protocol', 'failsafePolicy', 'members', 'name', 'proxyProtocol', 'sessionPersistence', 'signal', 'headers']; + const _validParams = ['loadBalancerId', 'algorithm', 'healthMonitor', 'protocol', 'clientAuthentication', 'failsafePolicy', 'members', 'name', 'proxyProtocol', 'serverAuthentication', 'sessionPersistence', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -15585,10 +15816,12 @@ class VpcV1 extends BaseService { 'algorithm': _params.algorithm, 'health_monitor': _params.healthMonitor, 'protocol': _params.protocol, + 'client_authentication': _params.clientAuthentication, 'failsafe_policy': _params.failsafePolicy, 'members': _params.members, 'name': _params.name, 'proxy_protocol': _params.proxyProtocol, + 'server_authentication': _params.serverAuthentication, 'session_persistence': _params.sessionPersistence, }; @@ -15762,6 +15995,13 @@ class VpcV1 extends BaseService { * @param {string} params.id - The pool identifier. * @param {string} [params.algorithm] - The load balancing algorithm. The `least_connections` algorithm is only * supported for load balancers that have `availability` with value `subnet` in the profile. + * @param {LoadBalancerPoolClientAuthenticationPatch} [params.clientAuthentication] - The client authentication to use + * for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + * + * Specify `null` to remove an existing client authentication. * @param {LoadBalancerPoolFailsafePolicyPatch} [params.failsafePolicy] - The failsafe policy for this load balancer * pool. * @param {LoadBalancerPoolHealthMonitorPatch} [params.healthMonitor] - The health monitor of this pool. @@ -15795,8 +16035,17 @@ class VpcV1 extends BaseService { * - `disabled`: Disabled * * For load balancers in the `network` family, this property must be `disabled`. + * @param {LoadBalancerPoolServerAuthenticationPatch} [params.serverAuthentication] - The server authentication to use + * for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + * + * Specify `null` to remove an existing server authentication. * @param {LoadBalancerPoolSessionPersistencePatch} [params.sessionPersistence] - The session persistence of this * pool. + * @param {string} [params.ifMatch] - If present, the request will fail if the specified ETag value does not match the + * resource's current ETag value. Required if the request body includes an array. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -15805,7 +16054,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['loadBalancerId', 'id']; - const _validParams = ['loadBalancerId', 'id', 'algorithm', 'failsafePolicy', 'healthMonitor', 'name', 'protocol', 'proxyProtocol', 'sessionPersistence', 'signal', 'headers']; + const _validParams = ['loadBalancerId', 'id', 'algorithm', 'clientAuthentication', 'failsafePolicy', 'healthMonitor', 'name', 'protocol', 'proxyProtocol', 'serverAuthentication', 'sessionPersistence', 'ifMatch', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -15813,11 +16062,13 @@ class VpcV1 extends BaseService { const body = { 'algorithm': _params.algorithm, + 'client_authentication': _params.clientAuthentication, 'failsafe_policy': _params.failsafePolicy, 'health_monitor': _params.healthMonitor, 'name': _params.name, 'protocol': _params.protocol, 'proxy_protocol': _params.proxyProtocol, + 'server_authentication': _params.serverAuthentication, 'session_persistence': _params.sessionPersistence, }; @@ -15849,6 +16100,7 @@ class VpcV1 extends BaseService { { 'Accept': 'application/json', 'Content-Type': 'application/merge-patch+json', + 'If-Match': _params.ifMatch, }, _params.headers ), @@ -20876,6 +21128,8 @@ class VpcV1 extends BaseService { * mount target control access to the mount target. * - `vpc`: All clients in the VPC for a mount target have access to the mount target. * + * The `vpc` access control mode has been deprecated. Use `security_group` instead. + * * For this property to be changed, the share must have no mount targets, * `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. * @param {string[]} [params.allowedAccessProtocols] - The access protocols to allow for this share (replacing any @@ -22084,6 +22338,8 @@ class VpcV1 extends BaseService { * in ascending order. * @param {string} [params.backupPolicyPlanId] - Filters the collection to backup policy jobs with a * `backup_policy_plan.id` property matching the specified identifier. + * @param {string} [params.backupPolicyJobId] - Filters the collection to snapshot consistency groups with a + * `backup_policy_job.id` property matching the specified identifier. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -22092,7 +22348,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = []; - const _validParams = ['start', 'limit', 'resourceGroupId', 'name', 'sort', 'backupPolicyPlanId', 'signal', 'headers']; + const _validParams = ['start', 'limit', 'resourceGroupId', 'name', 'sort', 'backupPolicyPlanId', 'backupPolicyJobId', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -22107,6 +22363,7 @@ class VpcV1 extends BaseService { 'name': _params.name, 'sort': _params.sort, 'backup_policy_plan.id': _params.backupPolicyPlanId, + 'backup_policy_job.id': _params.backupPolicyJobId, }; const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'listSnapshotConsistencyGroups'); @@ -28682,10 +28939,46 @@ class VpcV1 extends BaseService { * This request creates a new IKE policy. * * @param {Object} params - The parameters to send to the service. - * @param {string} params.authenticationAlgorithm - The authentication algorithm. - * @param {number} params.dhGroup - The Diffie-Hellman group. - * @param {string} params.encryptionAlgorithm - The encryption algorithm. * @param {number} params.ikeVersion - The IKE protocol version. + * @param {string} [params.authenticationAlgorithm] - Deprecated: The authentication algorithm. + * + * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + * + * If specified, `authentication_algorithms` must not be specified. + * @param {string[]} [params.authenticationAlgorithms] - The authentication algorithms to use for IKE Negotiation. + * + * If specified, `authentication_algorithm` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * @param {number} [params.dhGroup] - Deprecated: The Diffie-Hellman group. + * + * `dh_group` has been deprecated. Use `dh_groups` instead. + * + * If specified, `dh_groups` must not be specified. + * @param {number[]} [params.dhGroups] - The Diffie-Hellman groups to use for IKE negotiation. + * + * If specified, `dh_group` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each + * Diffie-Hellman group having priority over the one after it. + * @param {string} [params.encryptionAlgorithm] - Deprecated: The encryption algorithm. + * + * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + * + * If specified, `encryption_algorithms` must not be specified. + * @param {string[]} [params.encryptionAlgorithms] - The encryption algorithms to use for IKE Negotiation. + * + * If specified, `encryption_algorithm` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. * @param {number} [params.keyLifetime] - The key lifetime in seconds. * @param {string} [params.name] - The name for this IKE policy. The name must not be used by another IKE policy in * the region. If unspecified, the name will be a hyphenated list of randomly-selected words. @@ -28699,18 +28992,21 @@ class VpcV1 extends BaseService { params: VpcV1.CreateIkePolicyParams ): Promise> { const _params = { ...params }; - const _requiredParams = ['authenticationAlgorithm', 'dhGroup', 'encryptionAlgorithm', 'ikeVersion']; - const _validParams = ['authenticationAlgorithm', 'dhGroup', 'encryptionAlgorithm', 'ikeVersion', 'keyLifetime', 'name', 'resourceGroup', 'signal', 'headers']; + const _requiredParams = ['ikeVersion']; + const _validParams = ['ikeVersion', 'authenticationAlgorithm', 'authenticationAlgorithms', 'dhGroup', 'dhGroups', 'encryptionAlgorithm', 'encryptionAlgorithms', 'keyLifetime', 'name', 'resourceGroup', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); } const body = { + 'ike_version': _params.ikeVersion, 'authentication_algorithm': _params.authenticationAlgorithm, + 'authentication_algorithms': _params.authenticationAlgorithms, 'dh_group': _params.dhGroup, + 'dh_groups': _params.dhGroups, 'encryption_algorithm': _params.encryptionAlgorithm, - 'ike_version': _params.ikeVersion, + 'encryption_algorithms': _params.encryptionAlgorithms, 'key_lifetime': _params.keyLifetime, 'name': _params.name, 'resource_group': _params.resourceGroup, @@ -28873,9 +29169,60 @@ class VpcV1 extends BaseService { * * @param {Object} params - The parameters to send to the service. * @param {string} params.id - The IKE policy identifier. - * @param {string} [params.authenticationAlgorithm] - The authentication algorithm. - * @param {number} [params.dhGroup] - The Diffie-Hellman group. - * @param {string} [params.encryptionAlgorithm] - The encryption algorithm. + * @param {string} [params.authenticationAlgorithm] - Deprecated: The authentication algorithm. + * + * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + * + * If specified, `authentication_algorithms` must not be specified. + * + * Updating this property will also update the + * `authentication_algorithms` field accordingly. + * @param {string[]} [params.authenticationAlgorithms] - The authentication algorithms to use for IKE Negotiation. + * + * If specified, `authentication_algorithm` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * + * Updating this property will also update the + * `authentication_algorithm` field accordingly. + * @param {number} [params.dhGroup] - Deprecated: The Diffie-Hellman group. + * + * `dh_group` has been deprecated. Use `dh_groups` instead. + * + * If specified, `dh_groups` must not be specified. + * + * Updating this property will also update the `dh_groups` field accordingly. + * @param {number[]} [params.dhGroups] - The Diffie-Hellman groups to use for IKE Negotiation. + * + * If specified, `dh_group` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each + * Diffie-Hellman group having priority over the one after it. + * + * Updating this property will also update the `dh_group` field accordingly. + * @param {string} [params.encryptionAlgorithm] - Deprecated: The encryption algorithm. + * + * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + * + * If specified, `encryption_algorithms` must not be specified. + * + * Updating this property will also update the + * `encryption_algorithms` field accordingly. + * @param {string[]} [params.encryptionAlgorithms] - The encryption algorithms to use for IKE negotiation. + * + * If specified, `encryption_algorithm` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * + * Updating this property will also update the `encryption_algorithm` field accordingly. * @param {number} [params.ikeVersion] - The IKE protocol version. * @param {number} [params.keyLifetime] - The key lifetime in seconds. * @param {string} [params.name] - The name for this IKE policy. The name must not be used by another IKE policy in @@ -28888,7 +29235,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['id']; - const _validParams = ['id', 'authenticationAlgorithm', 'dhGroup', 'encryptionAlgorithm', 'ikeVersion', 'keyLifetime', 'name', 'signal', 'headers']; + const _validParams = ['id', 'authenticationAlgorithm', 'authenticationAlgorithms', 'dhGroup', 'dhGroups', 'encryptionAlgorithm', 'encryptionAlgorithms', 'ikeVersion', 'keyLifetime', 'name', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -28896,8 +29243,11 @@ class VpcV1 extends BaseService { const body = { 'authentication_algorithm': _params.authenticationAlgorithm, + 'authentication_algorithms': _params.authenticationAlgorithms, 'dh_group': _params.dhGroup, + 'dh_groups': _params.dhGroups, 'encryption_algorithm': _params.encryptionAlgorithm, + 'encryption_algorithms': _params.encryptionAlgorithms, 'ike_version': _params.ikeVersion, 'key_lifetime': _params.keyLifetime, 'name': _params.name, @@ -29065,25 +29415,67 @@ class VpcV1 extends BaseService { * * This request creates a new IPsec policy. * - * @param {Object} params - The parameters to send to the service. - * @param {string} params.authenticationAlgorithm - The authentication algorithm + * @param {Object} [params] - The parameters to send to the service. + * @param {string} [params.authenticationAlgorithm] - Deprecated: The authentication algorithm. + * + * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + * + * If specified, `authentication_algorithms` must not be specified. * * Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, * `aes192gcm16`, or `aes256gcm16` * * The `md5` and `sha1` algorithms have been deprecated. - * @param {string} params.encryptionAlgorithm - The encryption algorithm + * @param {string[]} [params.authenticationAlgorithms] - The authentication algorithms to use for IPsec negotiation. + * + * If specified, `authentication_algorithm` must not be specified. + * + * Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms + * (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). + * + * The `md5` and `sha1` algorithms have been deprecated. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * @param {string} [params.encryptionAlgorithm] - Deprecated: The encryption algorithm. + * + * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + * + * If specified, `encryption_algorithms` must not be specified. * * The `authentication_algorithm` must be `disabled` if and only if * `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` * * The `triple_des` algorithm has been deprecated. - * @param {string} params.pfs - The Perfect Forward Secrecy group. + * @param {string[]} [params.encryptionAlgorithms] - The encryption algorithms to use for IPsec negotiation. * - * Groups `group_2` and `group_5` have been deprecated. + * If specified, `encryption_algorithm` must not be specified. + * + * If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and + * `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. + * + * The `triple_des` algorithm has been deprecated. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. * @param {number} [params.keyLifetime] - The key lifetime in seconds. * @param {string} [params.name] - The name for this IPsec policy. The name must not be used by another IPsec policy * in the region. If unspecified, the name will be a hyphenated list of randomly-selected words. + * @param {string} [params.pfs] - Deprecated: The Perfect Forward Secrecy group. + * + * `pfs` has been deprecated. Use `pfs_groups` instead. + * + * If specified, `pfs_groups` must not be specified. + * + * Groups `group_2` and `group_5` have been deprecated. + * @param {string[]} [params.pfsGroups] - The Perfect Forward Secrecy groups to use for IPsec negotiation. + * + * If specified, `pfs` must not be specified. + * + * Groups `group_2` and `group_5` have been deprecated. + * + * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with each + * Perfect Forward Secrecy group having priority over the one after it. * @param {ResourceGroupIdentity} [params.resourceGroup] - The resource group to use. If unspecified, the account's * [default resource * group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. @@ -29091,11 +29483,11 @@ class VpcV1 extends BaseService { * @returns {Promise>} */ public createIpsecPolicy( - params: VpcV1.CreateIpsecPolicyParams + params?: VpcV1.CreateIpsecPolicyParams ): Promise> { const _params = { ...params }; - const _requiredParams = ['authenticationAlgorithm', 'encryptionAlgorithm', 'pfs']; - const _validParams = ['authenticationAlgorithm', 'encryptionAlgorithm', 'pfs', 'keyLifetime', 'name', 'resourceGroup', 'signal', 'headers']; + const _requiredParams = []; + const _validParams = ['authenticationAlgorithm', 'authenticationAlgorithms', 'encryptionAlgorithm', 'encryptionAlgorithms', 'keyLifetime', 'name', 'pfs', 'pfsGroups', 'resourceGroup', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -29103,10 +29495,13 @@ class VpcV1 extends BaseService { const body = { 'authentication_algorithm': _params.authenticationAlgorithm, + 'authentication_algorithms': _params.authenticationAlgorithms, 'encryption_algorithm': _params.encryptionAlgorithm, - 'pfs': _params.pfs, + 'encryption_algorithms': _params.encryptionAlgorithms, 'key_lifetime': _params.keyLifetime, 'name': _params.name, + 'pfs': _params.pfs, + 'pfs_groups': _params.pfsGroups, 'resource_group': _params.resourceGroup, }; @@ -29267,24 +29662,82 @@ class VpcV1 extends BaseService { * * @param {Object} params - The parameters to send to the service. * @param {string} params.id - The IPsec policy identifier. - * @param {string} [params.authenticationAlgorithm] - The authentication algorithm. + * @param {string} [params.authenticationAlgorithm] - Deprecated: The authentication algorithm. + * + * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + * + * If specified, `authentication_algorithms` must not be specified. * * Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, * `aes192gcm16`, or `aes256gcm16` * * The `md5` and `sha1` algorithms have been deprecated. - * @param {string} [params.encryptionAlgorithm] - The encryption algorithm. + * + * Updating this property will also update the + * `authentication_algorithms` field accordingly. + * @param {string[]} [params.authenticationAlgorithms] - The authentication algorithms to use for IPsec negotiation. + * + * If specified, `authentication_algorithm` must not be specified. + * + * Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms + * (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). + * + * The `md5` and `sha1` algorithms have been deprecated. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * + * Updating this property will also update the + * `authentication_algorithm` field accordingly. + * @param {string} [params.encryptionAlgorithm] - Deprecated: The encryption algorithm. + * + * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + * + * If specified, `encryption_algorithms` must not be specified. * * The `authentication_algorithm` must be `disabled` if and only if * `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` * * The `triple_des` algorithm has been deprecated. + * + * Updating this property will also update the + * `encryption_algorithms` field accordingly. + * @param {string[]} [params.encryptionAlgorithms] - The encryption algorithms to use for IPsec negotiation. + * + * If specified, `encryption_algorithm` must not be specified. + * + * If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and + * `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. + * + * The `triple_des` algorithm has been deprecated. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * + * Updating this property will also update the `encryption_algorithm` field accordingly. * @param {number} [params.keyLifetime] - The key lifetime in seconds. - * @param {string} [params.name] - The name for this IPsec policy. The name must not be used by another IPsec policy - * in the region. - * @param {string} [params.pfs] - The Perfect Forward Secrecy group. + * @param {string} [params.name] - The name for this IPsec policy. The name is unique across all IPsec policies in the + * region. + * @param {string} [params.pfs] - Deprecated: The Perfect Forward Secrecy group. + * + * `pfs` has been deprecated. Use `pfs_groups` instead. + * + * If specified, `pfs_groups` must not be specified. + * + * Groups `group_2` and `group_5` have been deprecated. + * + * Updating this property will also update the + * `pfs_groups` field accordingly. + * @param {string[]} [params.pfsGroups] - The Perfect Forward Secrecy groups to use for IPsec negotiation. + * + * If specified, `pfs_groups` must not be specified. * * Groups `group_2` and `group_5` have been deprecated. + * + * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with each + * Perfect Forward Secrecy group having priority over the one after it. + * + * Updating this property will also update the `pfs` field accordingly. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -29293,7 +29746,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['id']; - const _validParams = ['id', 'authenticationAlgorithm', 'encryptionAlgorithm', 'keyLifetime', 'name', 'pfs', 'signal', 'headers']; + const _validParams = ['id', 'authenticationAlgorithm', 'authenticationAlgorithms', 'encryptionAlgorithm', 'encryptionAlgorithms', 'keyLifetime', 'name', 'pfs', 'pfsGroups', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -29301,10 +29754,13 @@ class VpcV1 extends BaseService { const body = { 'authentication_algorithm': _params.authenticationAlgorithm, + 'authentication_algorithms': _params.authenticationAlgorithms, 'encryption_algorithm': _params.encryptionAlgorithm, + 'encryption_algorithms': _params.encryptionAlgorithms, 'key_lifetime': _params.keyLifetime, 'name': _params.name, 'pfs': _params.pfs, + 'pfs_groups': _params.pfsGroups, }; const query = { @@ -32003,7 +32459,7 @@ namespace VpcV1 { /** The infrastructure generation. For the API behavior documented here, specify `2`. */ generation?: number; /** The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between - * `2025-12-09` and `2026-03-25`. + * `2026-04-07` and `2026-06-23`. */ version: string; } @@ -32583,9 +33039,10 @@ namespace VpcV1 { * keys for the [default * user](https://cloud.ibm.com/docs/vpc?topic=vpc-vsi_is_connecting_linux#determining-default-user-account). * - * For Windows images, at least one key must be specified, and one will be selected to encrypt the administrator - * password. Keys are optional for other images, but if no keys are specified, the bare metal server will be - * inaccessible unless the specified image provides another means of access. + * For Windows images, at least one SSH key of type `rsa` must be specified. One of the provided keys is selected + * to encrypt the administrator password. SSH keys are optional for other images; however, if no keys are + * specified, the bare metal server will be inaccessible unless the selected image provides an alternative access + * mechanism. */ keys: KeyIdentity[]; /** The default trusted profile to be used when initializing the bare metal server. @@ -32593,7 +33050,9 @@ namespace VpcV1 { * If unspecified, no default trusted profile will be made available. */ defaultTrustedProfile?: BareMetalServerInitializationDefaultTrustedProfilePrototype; - /** The user data to be made available when initializing the bare metal server. */ + /** The [user data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the + * bare metal server. + */ userData?: string; } @@ -33626,6 +34085,7 @@ namespace VpcV1 { DEPRECATED = 'deprecated', FAILED = 'failed', OBSOLETE = 'obsolete', + PARTIALLY_AVAILABLE = 'partially_available', PENDING = 'pending', UNUSABLE = 'unusable', } @@ -34202,6 +34662,10 @@ namespace VpcV1 { /** Parameters for the `listInstanceProfiles` operation. */ export interface ListInstanceProfilesParams extends DefaultParams { + /** A server-provided token determining what resource to start the page on. */ + start?: string; + /** The number of resources to return on a page. */ + limit?: number; } /** Parameters for the `getInstanceProfile` operation. */ @@ -34358,6 +34822,13 @@ namespace VpcV1 { */ profile?: InstancePatchProfile; reservationAffinity?: InstanceReservationAffinityPatch; + /** The threads per core to use for this virtual server instance. Must be one of the values in the profile's + * `threads_per_core.values`. + * + * For this property to be changed, the virtual server instance `status` must be + * `stopping` or `stopped`. + */ + threadsPerCore?: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An * increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -34717,6 +35188,32 @@ namespace VpcV1 { id: string; } + /** Parameters for the `listInstanceSoftwareAttachments` operation. */ + export interface ListInstanceSoftwareAttachmentsParams extends DefaultParams { + /** The virtual server instance identifier. */ + instanceId: string; + } + + /** Parameters for the `getInstanceSoftwareAttachment` operation. */ + export interface GetInstanceSoftwareAttachmentParams extends DefaultParams { + /** The virtual server instance identifier. */ + instanceId: string; + /** The instance software attachment identifier. */ + id: string; + } + + /** Parameters for the `updateInstanceSoftwareAttachment` operation. */ + export interface UpdateInstanceSoftwareAttachmentParams extends DefaultParams { + /** The virtual server instance identifier. */ + instanceId: string; + /** The instance software attachment identifier. */ + id: string; + /** The name for this instance software attachment. The name must not be used by another software attachment for + * this instance. + */ + name?: string; + } + /** Parameters for the `listInstanceVolumeAttachments` operation. */ export interface ListInstanceVolumeAttachmentsParams extends DefaultParams { /** The virtual server instance identifier. */ @@ -35009,6 +35506,12 @@ namespace VpcV1 { acceptProxyProtocol?: boolean; /** The certificate instance to use for SSL termination. The listener must have a `protocol` of `https`. */ certificateInstance?: CertificateInstanceIdentity; + /** The client authentication to use for this listener. + * + * Supported by load balancers with `mtls_supported` set to `true`. The listener must + * have a `protocol` of `https`. + */ + clientAuthentication?: LoadBalancerListenerClientAuthenticationPrototype; /** The concurrent connection limit for the listener. If reached, incoming connections may be queued or * rejected. * @@ -35127,6 +35630,14 @@ namespace VpcV1 { acceptProxyProtocol?: boolean; /** The certificate instance to use for SSL termination. The listener must have a `protocol` of `https`. */ certificateInstance?: CertificateInstanceIdentity; + /** The client authentication to use for this listener. + * + * Supported by load balancers with `mtls_supported` set to `true`. The listener must + * have a `protocol` of `https`. + * + * Specify `null` to remove an existing client authentication. + */ + clientAuthentication?: LoadBalancerListenerClientAuthenticationPatch; /** The concurrent connection limit for the listener. If reached, incoming connections may be queued or * rejected. * @@ -35382,6 +35893,7 @@ namespace VpcV1 { CONTAINS = 'contains', EQUALS = 'equals', MATCHES_REGEX = 'matches_regex', + STARTS_WITH = 'starts_with', } /** The content the rule applies to: - `body`: The UTF-8 form-encoded HTTP request body - `header`: The HTTP header - `hostname`: The fully-qualified domain name of the server specified in the Host HTTP request header - `path`: The path of the HTTP request - `query`: The query of the HTTP request URL - `sni_hostname`: The fully-qualified domain name of the server provided in the "server name indicator" extension during TLS negotiation - For listeners with `protocol` `http` or `https`, any type may be specified. - For listeners with `protocol` `tcp`, only type `sni_hostname` may be specified. */ export enum Type { @@ -35464,6 +35976,7 @@ namespace VpcV1 { CONTAINS = 'contains', EQUALS = 'equals', MATCHES_REGEX = 'matches_regex', + STARTS_WITH = 'starts_with', } /** The content the rule applies to: - `body`: The UTF-8 form-encoded HTTP request body - `header`: The HTTP header - `hostname`: The fully-qualified domain name of the server specified in the Host HTTP request header - `path`: The path of the HTTP request - `query`: The query of the HTTP request URL - `sni_hostname`: The fully-qualified domain name of the server provided in the "server name indicator" extension during TLS negotiation - For listeners with `protocol` `http` or `https`, any type may be specified. - For listeners with `protocol` `tcp`, only type `sni_hostname` may be specified. */ export enum Type { @@ -35509,8 +36022,19 @@ namespace VpcV1 { /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and * `udp` (if `udp_supported` is `true`). Load balancers in the * `application` family support `tcp`, `http`, and `https`. + * + * **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP + * has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to + * choose `https` instead of `http`. For more details, see: + * https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. */ protocol: CreateLoadBalancerPoolConstants.Protocol | string; + /** The client authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + */ + clientAuthentication?: LoadBalancerPoolClientAuthenticationPrototype; /** The failsafe policy to use for this pool. * * If unspecified, the default failsafe policy action from the profile will be used. @@ -35532,6 +36056,12 @@ namespace VpcV1 { * For load balancers in the `network` family, this property must be `disabled`. */ proxyProtocol?: CreateLoadBalancerPoolConstants.ProxyProtocol | string; + /** The server authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + */ + serverAuthentication?: LoadBalancerPoolServerAuthenticationPrototype; /** The session persistence of this pool. If specified, the load balancer must have * `source_ip_session_persistence_supported` set to `true` in its profile. * @@ -35549,7 +36079,7 @@ namespace VpcV1 { ROUND_ROBIN = 'round_robin', WEIGHTED_ROUND_ROBIN = 'weighted_round_robin', } - /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`. */ + /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`. **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to choose `https` instead of `http`. For more details, see: https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. */ export enum Protocol { HTTP = 'http', HTTPS = 'https', @@ -35590,6 +36120,14 @@ namespace VpcV1 { * have `availability` with value `subnet` in the profile. */ algorithm?: UpdateLoadBalancerPoolConstants.Algorithm | string; + /** The client authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + * + * Specify `null` to remove an existing client authentication. + */ + clientAuthentication?: LoadBalancerPoolClientAuthenticationPatch; /** The failsafe policy for this load balancer pool. */ failsafePolicy?: LoadBalancerPoolFailsafePolicyPatch; /** The health monitor of this pool. @@ -35629,8 +36167,20 @@ namespace VpcV1 { * For load balancers in the `network` family, this property must be `disabled`. */ proxyProtocol?: UpdateLoadBalancerPoolConstants.ProxyProtocol | string; + /** The server authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + * + * Specify `null` to remove an existing server authentication. + */ + serverAuthentication?: LoadBalancerPoolServerAuthenticationPatch; /** The session persistence of this pool. */ sessionPersistence?: LoadBalancerPoolSessionPersistencePatch; + /** If present, the request will fail if the specified ETag value does not match the resource's current ETag + * value. Required if the request body includes an array. + */ + ifMatch?: string; } /** Constants for the `updateLoadBalancerPool` operation. */ @@ -36779,6 +37329,8 @@ namespace VpcV1 { * mount target control access to the mount target. * - `vpc`: All clients in the VPC for a mount target have access to the mount target. * + * The `vpc` access control mode has been deprecated. Use `security_group` instead. + * * For this property to be changed, the share must have no mount targets, * `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. */ @@ -36846,7 +37398,7 @@ namespace VpcV1 { /** Constants for the `updateShare` operation. */ export namespace UpdateShareConstants { - /** The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. - `vpc`: All clients in the VPC for a mount target have access to the mount target. For this property to be changed, the share must have no mount targets, `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. */ + /** The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. - `vpc`: All clients in the VPC for a mount target have access to the mount target. The `vpc` access control mode has been deprecated. Use `security_group` instead. For this property to be changed, the share must have no mount targets, `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. */ export enum AccessControlMode { SECURITY_GROUP = 'security_group', VPC = 'vpc', @@ -37073,6 +37625,10 @@ namespace VpcV1 { * identifier. */ backupPolicyPlanId?: string; + /** Filters the collection to snapshot consistency groups with a `backup_policy_job.id` property matching the + * specified identifier. + */ + backupPolicyJobId?: string; } /** Constants for the `listSnapshotConsistencyGroups` operation. */ @@ -38700,14 +39256,59 @@ namespace VpcV1 { /** Parameters for the `createIkePolicy` operation. */ export interface CreateIkePolicyParams extends DefaultParams { - /** The authentication algorithm. */ - authenticationAlgorithm: CreateIkePolicyConstants.AuthenticationAlgorithm | string; - /** The Diffie-Hellman group. */ - dhGroup: number; - /** The encryption algorithm. */ - encryptionAlgorithm: CreateIkePolicyConstants.EncryptionAlgorithm | string; /** The IKE protocol version. */ ikeVersion: number; + /** Deprecated: The authentication algorithm. + * + * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + * + * If specified, `authentication_algorithms` must not be specified. + */ + authenticationAlgorithm?: CreateIkePolicyConstants.AuthenticationAlgorithm | string; + /** The authentication algorithms to use for IKE Negotiation. + * + * If specified, `authentication_algorithm` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + */ + authenticationAlgorithms?: CreateIkePolicyConstants.AuthenticationAlgorithms[] | string[]; + /** Deprecated: The Diffie-Hellman group. + * + * `dh_group` has been deprecated. Use `dh_groups` instead. + * + * If specified, `dh_groups` must not be specified. + */ + dhGroup?: number; + /** The Diffie-Hellman groups to use for IKE negotiation. + * + * If specified, `dh_group` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each + * Diffie-Hellman group having priority over the one after it. + */ + dhGroups?: number[]; + /** Deprecated: The encryption algorithm. + * + * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + * + * If specified, `encryption_algorithms` must not be specified. + */ + encryptionAlgorithm?: CreateIkePolicyConstants.EncryptionAlgorithm | string; + /** The encryption algorithms to use for IKE Negotiation. + * + * If specified, `encryption_algorithm` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + */ + encryptionAlgorithms?: CreateIkePolicyConstants.EncryptionAlgorithms[] | string[]; /** The key lifetime in seconds. */ keyLifetime?: number; /** The name for this IKE policy. The name must not be used by another IKE policy in the region. If unspecified, @@ -38722,18 +39323,30 @@ namespace VpcV1 { /** Constants for the `createIkePolicy` operation. */ export namespace CreateIkePolicyConstants { - /** The authentication algorithm. */ + /** The authentication algorithm. `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. If specified, `authentication_algorithms` must not be specified. */ export enum AuthenticationAlgorithm { SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** The encryption algorithm. */ + /** AuthenticationAlgorithms */ + export enum AuthenticationAlgorithms { + SHA256 = 'sha256', + SHA384 = 'sha384', + SHA512 = 'sha512', + } + /** The encryption algorithm. `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. If specified, `encryption_algorithms` must not be specified. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES192 = 'aes192', AES256 = 'aes256', } + /** EncryptionAlgorithms */ + export enum EncryptionAlgorithms { + AES128 = 'aes128', + AES192 = 'aes192', + AES256 = 'aes256', + } } /** Parameters for the `deleteIkePolicy` operation. */ @@ -38752,12 +39365,72 @@ namespace VpcV1 { export interface UpdateIkePolicyParams extends DefaultParams { /** The IKE policy identifier. */ id: string; - /** The authentication algorithm. */ + /** Deprecated: The authentication algorithm. + * + * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + * + * If specified, `authentication_algorithms` must not be specified. + * + * Updating this property will also update the + * `authentication_algorithms` field accordingly. + */ authenticationAlgorithm?: UpdateIkePolicyConstants.AuthenticationAlgorithm | string; - /** The Diffie-Hellman group. */ + /** The authentication algorithms to use for IKE Negotiation. + * + * If specified, `authentication_algorithm` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * + * Updating this property will also update the + * `authentication_algorithm` field accordingly. + */ + authenticationAlgorithms?: UpdateIkePolicyConstants.AuthenticationAlgorithms[] | string[]; + /** Deprecated: The Diffie-Hellman group. + * + * `dh_group` has been deprecated. Use `dh_groups` instead. + * + * If specified, `dh_groups` must not be specified. + * + * Updating this property will also update the `dh_groups` field accordingly. + */ dhGroup?: number; - /** The encryption algorithm. */ + /** The Diffie-Hellman groups to use for IKE Negotiation. + * + * If specified, `dh_group` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each + * Diffie-Hellman group having priority over the one after it. + * + * Updating this property will also update the `dh_group` field accordingly. + */ + dhGroups?: number[]; + /** Deprecated: The encryption algorithm. + * + * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + * + * If specified, `encryption_algorithms` must not be specified. + * + * Updating this property will also update the + * `encryption_algorithms` field accordingly. + */ encryptionAlgorithm?: UpdateIkePolicyConstants.EncryptionAlgorithm | string; + /** The encryption algorithms to use for IKE negotiation. + * + * If specified, `encryption_algorithm` must not be specified. + * + * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * + * Updating this property will also update the `encryption_algorithm` field accordingly. + */ + encryptionAlgorithms?: UpdateIkePolicyConstants.EncryptionAlgorithms[] | string[]; /** The IKE protocol version. */ ikeVersion?: number; /** The key lifetime in seconds. */ @@ -38768,18 +39441,30 @@ namespace VpcV1 { /** Constants for the `updateIkePolicy` operation. */ export namespace UpdateIkePolicyConstants { - /** The authentication algorithm. */ + /** The authentication algorithm. `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. If specified, `authentication_algorithms` must not be specified. Updating this property will also update the `authentication_algorithms` field accordingly. */ export enum AuthenticationAlgorithm { SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** The encryption algorithm. */ + /** AuthenticationAlgorithms */ + export enum AuthenticationAlgorithms { + SHA256 = 'sha256', + SHA384 = 'sha384', + SHA512 = 'sha512', + } + /** The encryption algorithm. `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. If specified, `encryption_algorithms` must not be specified. Updating this property will also update the `encryption_algorithms` field accordingly. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES192 = 'aes192', AES256 = 'aes256', } + /** EncryptionAlgorithms */ + export enum EncryptionAlgorithms { + AES128 = 'aes128', + AES192 = 'aes192', + AES256 = 'aes256', + } } /** Parameters for the `listIkePolicyConnections` operation. */ @@ -38802,33 +39487,81 @@ namespace VpcV1 { /** Parameters for the `createIpsecPolicy` operation. */ export interface CreateIpsecPolicyParams extends DefaultParams { - /** The authentication algorithm + /** Deprecated: The authentication algorithm. + * + * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + * + * If specified, `authentication_algorithms` must not be specified. * * Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, * `aes192gcm16`, or `aes256gcm16` * * The `md5` and `sha1` algorithms have been deprecated. */ - authenticationAlgorithm: CreateIpsecPolicyConstants.AuthenticationAlgorithm | string; - /** The encryption algorithm + authenticationAlgorithm?: CreateIpsecPolicyConstants.AuthenticationAlgorithm | string; + /** The authentication algorithms to use for IPsec negotiation. + * + * If specified, `authentication_algorithm` must not be specified. + * + * Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms + * (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). + * + * The `md5` and `sha1` algorithms have been deprecated. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + */ + authenticationAlgorithms?: CreateIpsecPolicyConstants.AuthenticationAlgorithms[] | string[]; + /** Deprecated: The encryption algorithm. + * + * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + * + * If specified, `encryption_algorithms` must not be specified. * * The `authentication_algorithm` must be `disabled` if and only if * `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` * * The `triple_des` algorithm has been deprecated. */ - encryptionAlgorithm: CreateIpsecPolicyConstants.EncryptionAlgorithm | string; - /** The Perfect Forward Secrecy group. + encryptionAlgorithm?: CreateIpsecPolicyConstants.EncryptionAlgorithm | string; + /** The encryption algorithms to use for IPsec negotiation. * - * Groups `group_2` and `group_5` have been deprecated. + * If specified, `encryption_algorithm` must not be specified. + * + * If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and + * `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. + * + * The `triple_des` algorithm has been deprecated. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. */ - pfs: CreateIpsecPolicyConstants.Pfs | string; + encryptionAlgorithms?: CreateIpsecPolicyConstants.EncryptionAlgorithms[] | string[]; /** The key lifetime in seconds. */ keyLifetime?: number; /** The name for this IPsec policy. The name must not be used by another IPsec policy in the region. If * unspecified, the name will be a hyphenated list of randomly-selected words. */ name?: string; + /** Deprecated: The Perfect Forward Secrecy group. + * + * `pfs` has been deprecated. Use `pfs_groups` instead. + * + * If specified, `pfs_groups` must not be specified. + * + * Groups `group_2` and `group_5` have been deprecated. + */ + pfs?: CreateIpsecPolicyConstants.Pfs | string; + /** The Perfect Forward Secrecy groups to use for IPsec negotiation. + * + * If specified, `pfs` must not be specified. + * + * Groups `group_2` and `group_5` have been deprecated. + * + * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with + * each Perfect Forward Secrecy group having priority over the one after it. + */ + pfsGroups?: CreateIpsecPolicyConstants.PfsGroups[] | string[]; /** The resource group to use. If unspecified, the account's [default resource * group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. */ @@ -38837,14 +39570,21 @@ namespace VpcV1 { /** Constants for the `createIpsecPolicy` operation. */ export namespace CreateIpsecPolicyConstants { - /** The authentication algorithm Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `md5` and `sha1` algorithms have been deprecated. */ + /** The authentication algorithm. `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. If specified, `authentication_algorithms` must not be specified. Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `md5` and `sha1` algorithms have been deprecated. */ export enum AuthenticationAlgorithm { DISABLED = 'disabled', SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** The encryption algorithm The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `triple_des` algorithm has been deprecated. */ + /** AuthenticationAlgorithms */ + export enum AuthenticationAlgorithms { + DISABLED = 'disabled', + SHA256 = 'sha256', + SHA384 = 'sha384', + SHA512 = 'sha512', + } + /** The encryption algorithm. `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. If specified, `encryption_algorithms` must not be specified. The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `triple_des` algorithm has been deprecated. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES128GCM16 = 'aes128gcm16', @@ -38853,7 +39593,16 @@ namespace VpcV1 { AES256 = 'aes256', AES256GCM16 = 'aes256gcm16', } - /** The Perfect Forward Secrecy group. Groups `group_2` and `group_5` have been deprecated. */ + /** EncryptionAlgorithms */ + export enum EncryptionAlgorithms { + AES128 = 'aes128', + AES128GCM16 = 'aes128gcm16', + AES192 = 'aes192', + AES192GCM16 = 'aes192gcm16', + AES256 = 'aes256', + AES256GCM16 = 'aes256gcm16', + } + /** The Perfect Forward Secrecy group. `pfs` has been deprecated. Use `pfs_groups` instead. If specified, `pfs_groups` must not be specified. Groups `group_2` and `group_5` have been deprecated. */ export enum Pfs { DISABLED = 'disabled', GROUP_14 = 'group_14', @@ -38869,6 +39618,22 @@ namespace VpcV1 { GROUP_24 = 'group_24', GROUP_31 = 'group_31', } + /** PfsGroups */ + export enum PfsGroups { + DISABLED = 'disabled', + GROUP_14 = 'group_14', + GROUP_15 = 'group_15', + GROUP_16 = 'group_16', + GROUP_17 = 'group_17', + GROUP_18 = 'group_18', + GROUP_19 = 'group_19', + GROUP_20 = 'group_20', + GROUP_21 = 'group_21', + GROUP_22 = 'group_22', + GROUP_23 = 'group_23', + GROUP_24 = 'group_24', + GROUP_31 = 'group_31', + } } /** Parameters for the `deleteIpsecPolicy` operation. */ @@ -38887,43 +39652,114 @@ namespace VpcV1 { export interface UpdateIpsecPolicyParams extends DefaultParams { /** The IPsec policy identifier. */ id: string; - /** The authentication algorithm. + /** Deprecated: The authentication algorithm. + * + * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + * + * If specified, `authentication_algorithms` must not be specified. * * Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, * `aes192gcm16`, or `aes256gcm16` * * The `md5` and `sha1` algorithms have been deprecated. + * + * Updating this property will also update the + * `authentication_algorithms` field accordingly. */ authenticationAlgorithm?: UpdateIpsecPolicyConstants.AuthenticationAlgorithm | string; - /** The encryption algorithm. + /** The authentication algorithms to use for IPsec negotiation. + * + * If specified, `authentication_algorithm` must not be specified. + * + * Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms + * (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). + * + * The `md5` and `sha1` algorithms have been deprecated. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * + * Updating this property will also update the + * `authentication_algorithm` field accordingly. + */ + authenticationAlgorithms?: UpdateIpsecPolicyConstants.AuthenticationAlgorithms[] | string[]; + /** Deprecated: The encryption algorithm. + * + * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + * + * If specified, `encryption_algorithms` must not be specified. * * The `authentication_algorithm` must be `disabled` if and only if * `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` * * The `triple_des` algorithm has been deprecated. + * + * Updating this property will also update the + * `encryption_algorithms` field accordingly. */ encryptionAlgorithm?: UpdateIpsecPolicyConstants.EncryptionAlgorithm | string; + /** The encryption algorithms to use for IPsec negotiation. + * + * If specified, `encryption_algorithm` must not be specified. + * + * If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and + * `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. + * + * The `triple_des` algorithm has been deprecated. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + * + * Updating this property will also update the `encryption_algorithm` field accordingly. + */ + encryptionAlgorithms?: UpdateIpsecPolicyConstants.EncryptionAlgorithms[] | string[]; /** The key lifetime in seconds. */ keyLifetime?: number; - /** The name for this IPsec policy. The name must not be used by another IPsec policy in the region. */ + /** The name for this IPsec policy. The name is unique across all IPsec policies in the region. */ name?: string; - /** The Perfect Forward Secrecy group. + /** Deprecated: The Perfect Forward Secrecy group. + * + * `pfs` has been deprecated. Use `pfs_groups` instead. + * + * If specified, `pfs_groups` must not be specified. * * Groups `group_2` and `group_5` have been deprecated. + * + * Updating this property will also update the + * `pfs_groups` field accordingly. */ pfs?: UpdateIpsecPolicyConstants.Pfs | string; + /** The Perfect Forward Secrecy groups to use for IPsec negotiation. + * + * If specified, `pfs_groups` must not be specified. + * + * Groups `group_2` and `group_5` have been deprecated. + * + * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with + * each Perfect Forward Secrecy group having priority over the one after it. + * + * Updating this property will also update the `pfs` field accordingly. + */ + pfsGroups?: UpdateIpsecPolicyConstants.PfsGroups[] | string[]; } /** Constants for the `updateIpsecPolicy` operation. */ export namespace UpdateIpsecPolicyConstants { - /** The authentication algorithm. Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `md5` and `sha1` algorithms have been deprecated. */ + /** The authentication algorithm. `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. If specified, `authentication_algorithms` must not be specified. Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `md5` and `sha1` algorithms have been deprecated. Updating this property will also update the `authentication_algorithms` field accordingly. */ export enum AuthenticationAlgorithm { DISABLED = 'disabled', SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** The encryption algorithm. The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `triple_des` algorithm has been deprecated. */ + /** AuthenticationAlgorithms */ + export enum AuthenticationAlgorithms { + DISABLED = 'disabled', + SHA256 = 'sha256', + SHA384 = 'sha384', + SHA512 = 'sha512', + } + /** The encryption algorithm. `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. If specified, `encryption_algorithms` must not be specified. The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `triple_des` algorithm has been deprecated. Updating this property will also update the `encryption_algorithms` field accordingly. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES128GCM16 = 'aes128gcm16', @@ -38932,7 +39768,16 @@ namespace VpcV1 { AES256 = 'aes256', AES256GCM16 = 'aes256gcm16', } - /** The Perfect Forward Secrecy group. Groups `group_2` and `group_5` have been deprecated. */ + /** EncryptionAlgorithms */ + export enum EncryptionAlgorithms { + AES128 = 'aes128', + AES128GCM16 = 'aes128gcm16', + AES192 = 'aes192', + AES192GCM16 = 'aes192gcm16', + AES256 = 'aes256', + AES256GCM16 = 'aes256gcm16', + } + /** The Perfect Forward Secrecy group. `pfs` has been deprecated. Use `pfs_groups` instead. If specified, `pfs_groups` must not be specified. Groups `group_2` and `group_5` have been deprecated. Updating this property will also update the `pfs_groups` field accordingly. */ export enum Pfs { DISABLED = 'disabled', GROUP_14 = 'group_14', @@ -38948,6 +39793,22 @@ namespace VpcV1 { GROUP_24 = 'group_24', GROUP_31 = 'group_31', } + /** PfsGroups */ + export enum PfsGroups { + DISABLED = 'disabled', + GROUP_14 = 'group_14', + GROUP_15 = 'group_15', + GROUP_16 = 'group_16', + GROUP_17 = 'group_17', + GROUP_18 = 'group_18', + GROUP_19 = 'group_19', + GROUP_20 = 'group_20', + GROUP_21 = 'group_21', + GROUP_22 = 'group_22', + GROUP_23 = 'group_23', + GROUP_24 = 'group_24', + GROUP_31 = 'group_31', + } } /** Parameters for the `listIpsecPolicyConnections` operation. */ @@ -39836,6 +40697,30 @@ namespace VpcV1 { total_count: number; } + /** + * BackupPolicyJobReference. + */ + export interface BackupPolicyJobReference { + /** If present, this property indicates the referenced resource has been deleted, and provides + * some supplementary information. + */ + deleted?: Deleted; + /** The URL for this backup policy job. */ + href: string; + /** The unique identifier for this backup policy job. */ + id: string; + /** The resource type. */ + resource_type: BackupPolicyJobReference.Constants.ResourceType | string; + } + export namespace BackupPolicyJobReference { + export namespace Constants { + /** The resource type. */ + export enum ResourceType { + BACKUP_POLICY_JOB = 'backup_policy_job', + } + } + } + /** * The source this backup was created from (may be * [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)). @@ -40596,12 +41481,15 @@ namespace VpcV1 { * keys for the [default * user](https://cloud.ibm.com/docs/vpc?topic=vpc-vsi_is_connecting_linux#determining-default-user-account). * - * For Windows images, at least one key must be specified, and one will be selected to encrypt the administrator - * password. Keys are optional for other images, but if no keys are specified, the bare metal server will be - * inaccessible unless the specified image provides another means of access. + * For Windows images, at least one SSH key of type `rsa` must be specified. One of the provided keys is selected + * to encrypt the administrator password. SSH keys are optional for other images; however, if no keys are + * specified, the bare metal server will be inaccessible unless the selected image provides an alternative access + * mechanism. */ keys: KeyIdentity[]; - /** The user data to be made available when initializing the bare metal server. */ + /** The [user data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the + * bare metal server. + */ user_data?: string; } @@ -44102,24 +44990,45 @@ namespace VpcV1 { * IKEPolicy. */ export interface IKEPolicy { - /** The authentication algorithm. + /** Deprecated: The authentication algorithm. * * The `md5` and `sha1` algorithms have been deprecated. * * The enumerated values for this property may * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. + * + * If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` + * property to retrieve all supported algorithms. */ authentication_algorithm: IKEPolicy.Constants.AuthenticationAlgorithm | string; + /** The authentication algorithms to use for IKE Negotiation. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + */ + authentication_algorithms: IKEPolicy.Constants.AuthenticationAlgorithms[] | string[]; /** The VPN gateway connections that use this IKE policy. */ connections: VPNGatewayConnectionReference[]; /** The date and time that this IKE policy was created. */ created_at: string; - /** The Diffie-Hellman group + /** Deprecated: The Diffie-Hellman group * * Groups `2` and `5` have been deprecated. + * + * If `65535`, the policy supports more than one Diffie-Hellman group. Use the `dh_groups` property to retrieve all + * supported Diffie-Hellman groups. */ dh_group: number; - /** The encryption algorithm. + /** The Diffie-Hellman groups to use for IKE negotiation. + * + * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each + * Diffie-Hellman group having priority over the one after it. + */ + dh_groups: number[]; + /** Deprecated: The encryption algorithm. + * + * If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property + * to retrieve all supported algorithms. * * The `triple_des` algorithm has been deprecated. * @@ -44127,6 +45036,12 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ encryption_algorithm: IKEPolicy.Constants.EncryptionAlgorithm | string; + /** The encryption algorithms to use for IKE Negotiation. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + */ + encryption_algorithms: IKEPolicy.Constants.EncryptionAlgorithms[] | string[]; /** The URL for this IKE policy. */ href: string; /** The unique identifier for this IKE policy. */ @@ -44150,21 +45065,35 @@ namespace VpcV1 { } export namespace IKEPolicy { export namespace Constants { - /** The authentication algorithm. The `md5` and `sha1` algorithms have been deprecated. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The authentication algorithm. The `md5` and `sha1` algorithms have been deprecated. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` property to retrieve all supported algorithms. */ export enum AuthenticationAlgorithm { MD5 = 'md5', + MULTIPLE = 'multiple', SHA1 = 'sha1', SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** The encryption algorithm. The `triple_des` algorithm has been deprecated. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The authentication algorithms to use for IKE Negotiation. The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having priority over the one after it. */ + export enum AuthenticationAlgorithms { + SHA256 = 'sha256', + SHA384 = 'sha384', + SHA512 = 'sha512', + } + /** The encryption algorithm. If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property to retrieve all supported algorithms. The `triple_des` algorithm has been deprecated. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES192 = 'aes192', AES256 = 'aes256', + MULTIPLE = 'multiple', TRIPLE_DES = 'triple_des', } + /** The encryption algorithms to use for IKE Negotiation. The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having priority over the one after it. */ + export enum EncryptionAlgorithms { + AES128 = 'aes128', + AES192 = 'aes192', + AES256 = 'aes256', + } /** The IKE negotiation mode. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum NegotiationMode { MAIN = 'main', @@ -44250,7 +45179,10 @@ namespace VpcV1 { * IPsecPolicy. */ export interface IPsecPolicy { - /** The authentication algorithm + /** Deprecated: The authentication algorithms. + * + * If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` + * property to retrieve all supported algorithms. * * The `md5` and `sha1` algorithms have been deprecated * @@ -44258,6 +45190,12 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ authentication_algorithm: IPsecPolicy.Constants.AuthenticationAlgorithm | string; + /** The authentication algorithms to use for IPsec Negotiation. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + */ + authentication_algorithms: IPsecPolicy.Constants.AuthenticationAlgorithms[] | string[]; /** The VPN gateway connections that use this IPsec policy. */ connections: VPNGatewayConnectionReference[]; /** The date and time that this IPsec policy was created. */ @@ -44268,7 +45206,10 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ encapsulation_mode: IPsecPolicy.Constants.EncapsulationMode | string; - /** The encryption algorithm + /** Deprecated: The encryption algorithm. + * + * If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property + * to retrieve all supported algorithms. * * The `triple_des` algorithm has been deprecated * @@ -44276,6 +45217,12 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ encryption_algorithm: IPsecPolicy.Constants.EncryptionAlgorithm | string; + /** The encryption algorithms to use for IKE Negotiation. + * + * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + * priority over the one after it. + */ + encryption_algorithms: IPsecPolicy.Constants.EncryptionAlgorithms[] | string[]; /** The URL for this IPsec policy. */ href: string; /** The unique identifier for this IPsec policy. */ @@ -44284,7 +45231,10 @@ namespace VpcV1 { key_lifetime: number; /** The name for this IPsec policy. The name is unique across all IPsec policies in the region. */ name: string; - /** The Perfect Forward Secrecy group + /** Deprecated: The Perfect Forward Secrecy group. + * + * If `multiple`, the policy supports more than one PFS group. Use the `pfs_groups` property to retrieve all + * supported PFS groups. * * Groups `group_2` and `group_5` have been deprecated * @@ -44292,6 +45242,12 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ pfs: IPsecPolicy.Constants.Pfs | string; + /** The Perfect Forward Secrecy groups to use for IPsec negotiation. + * + * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with + * each Perfect Forward Secrecy group having priority over the one after it. + */ + pfs_groups: IPsecPolicy.Constants.PfsGroups[] | string[]; /** The resource group for this IPsec policy. */ resource_group: ResourceGroupReference; /** The resource type. */ @@ -44305,11 +45261,17 @@ namespace VpcV1 { } export namespace IPsecPolicy { export namespace Constants { - /** The authentication algorithm The `md5` and `sha1` algorithms have been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The authentication algorithms. If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` property to retrieve all supported algorithms. The `md5` and `sha1` algorithms have been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum AuthenticationAlgorithm { DISABLED = 'disabled', - MD5 = 'md5', - SHA1 = 'sha1', + MULTIPLE = 'multiple', + SHA256 = 'sha256', + SHA384 = 'sha384', + SHA512 = 'sha512', + } + /** The authentication algorithms to use for IPsec Negotiation. The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having priority over the one after it. */ + export enum AuthenticationAlgorithms { + DISABLED = 'disabled', SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', @@ -44318,7 +45280,7 @@ namespace VpcV1 { export enum EncapsulationMode { TUNNEL = 'tunnel', } - /** The encryption algorithm The `triple_des` algorithm has been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The encryption algorithm. If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property to retrieve all supported algorithms. The `triple_des` algorithm has been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES128GCM16 = 'aes128gcm16', @@ -44326,9 +45288,19 @@ namespace VpcV1 { AES192GCM16 = 'aes192gcm16', AES256 = 'aes256', AES256GCM16 = 'aes256gcm16', + MULTIPLE = 'multiple', TRIPLE_DES = 'triple_des', } - /** The Perfect Forward Secrecy group Groups `group_2` and `group_5` have been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The encryption algorithms to use for IKE Negotiation. The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having priority over the one after it. */ + export enum EncryptionAlgorithms { + AES128 = 'aes128', + AES128GCM16 = 'aes128gcm16', + AES192 = 'aes192', + AES192GCM16 = 'aes192gcm16', + AES256 = 'aes256', + AES256GCM16 = 'aes256gcm16', + } + /** The Perfect Forward Secrecy group. If `multiple`, the policy supports more than one PFS group. Use the `pfs_groups` property to retrieve all supported PFS groups. Groups `group_2` and `group_5` have been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum Pfs { DISABLED = 'disabled', GROUP_14 = 'group_14', @@ -44345,6 +45317,23 @@ namespace VpcV1 { GROUP_24 = 'group_24', GROUP_31 = 'group_31', GROUP_5 = 'group_5', + MULTIPLE = 'multiple', + } + /** The Perfect Forward Secrecy groups to use for IPsec negotiation. The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with each Perfect Forward Secrecy group having priority over the one after it. */ + export enum PfsGroups { + DISABLED = 'disabled', + GROUP_14 = 'group_14', + GROUP_15 = 'group_15', + GROUP_16 = 'group_16', + GROUP_17 = 'group_17', + GROUP_18 = 'group_18', + GROUP_19 = 'group_19', + GROUP_20 = 'group_20', + GROUP_21 = 'group_21', + GROUP_22 = 'group_22', + GROUP_23 = 'group_23', + GROUP_24 = 'group_24', + GROUP_31 = 'group_31', } /** The resource type. */ export enum ResourceType { @@ -44475,17 +45464,19 @@ namespace VpcV1 { */ source_volume?: VolumeReference; /** The status of this image: - * - available: image can be used to create resources - * - deleting: image is being deleted, and can no longer be used to create + * - `available`: image can be used to create resources + * - `deleting`: image is being deleted, and can no longer be used to create * resources - * - deprecated: image is slated to be deleted, but can still be used to create + * - `deprecated`: image is slated to be deleted, but can still be used to create * resources - * - failed: image was not created successfully, and cannot be used to create + * - `failed`: image was not created successfully, and cannot be used to create * resources - * - obsolete: image is slated to be deleted, and can no longer be used to create + * - `obsolete`: image is slated to be deleted, and can no longer be used to create * resources - * - pending: image is being imported, and cannot yet be used to create resources - * - unusable: image cannot be used (see `status_reasons[]` for possible remediation) + * - `partially_available`: image can be used to create resources in the + * zones listed in the `zones` property. + * - `pending`: image is being imported, and cannot yet be used to create resources + * - `unusable`: image cannot be used (see `status_reasons[]` for possible remediation) * * The enumerated values for this property may * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. @@ -44504,6 +45495,15 @@ namespace VpcV1 { user_data_format: Image.Constants.UserDataFormat | string; /** The visibility of this image. - `private`: Visible only to this account - `public`: Visible to all accounts. */ visibility: Image.Constants.Visibility | string; + /** The zones in which this image is available for use. + * + * If the image has a status of `available` or `deprecated`, this will include all zones in the region. + * + * If the image has a status of `partially_available`, this will include one or more zones in the region. + * + * If the image has a status of `failed`, `obsolete`, `pending`, `unusable`, or `deleting`, this will be empty. + */ + zones: ZoneReference[]; } export namespace Image { export namespace Constants { @@ -44516,13 +45516,14 @@ namespace VpcV1 { export enum ResourceType { IMAGE = 'image', } - /** The status of this image: - available: image can be used to create resources - deleting: image is being deleted, and can no longer be used to create resources - deprecated: image is slated to be deleted, but can still be used to create resources - failed: image was not created successfully, and cannot be used to create resources - obsolete: image is slated to be deleted, and can no longer be used to create resources - pending: image is being imported, and cannot yet be used to create resources - unusable: image cannot be used (see `status_reasons[]` for possible remediation) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The status of this image: - `available`: image can be used to create resources - `deleting`: image is being deleted, and can no longer be used to create resources - `deprecated`: image is slated to be deleted, but can still be used to create resources - `failed`: image was not created successfully, and cannot be used to create resources - `obsolete`: image is slated to be deleted, and can no longer be used to create resources - `partially_available`: image can be used to create resources in the zones listed in the `zones` property. - `pending`: image is being imported, and cannot yet be used to create resources - `unusable`: image cannot be used (see `status_reasons[]` for possible remediation) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum Status { AVAILABLE = 'available', DELETING = 'deleting', DEPRECATED = 'deprecated', FAILED = 'failed', OBSOLETE = 'obsolete', + PARTIALLY_AVAILABLE = 'partially_available', PENDING = 'pending', UNUSABLE = 'unusable', } @@ -44566,7 +45567,11 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model. + * - `gpu.model` (string): The GPU model + * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled + * - `metadata_service.protocol` (string): The communication protocol used for the + * metadata service endpoint + * - `vcpu.count` (integer): The number of virtual CPUs. */ instance: string; } @@ -44600,7 +45605,11 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model. + * - `gpu.model` (string): The GPU model + * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled + * - `metadata_service.protocol` (string): The communication protocol used for the + * metadata service endpoint + * - `vcpu.count` (integer): The number of virtual CPUs. */ instance?: string; } @@ -44639,7 +45648,11 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model. + * - `gpu.model` (string): The GPU model + * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled + * - `metadata_service.protocol` (string): The communication protocol used for the + * metadata service endpoint. + * - `vcpu.count` (integer): The number of virtual CPUs. */ instance?: string; } @@ -45128,6 +46141,8 @@ namespace VpcV1 { resource_group: ResourceGroupReference; /** The resource type. */ resource_type: Instance.Constants.ResourceType | string; + /** The software attachments for this instance. */ + software_attachments: InstanceSoftwareAttachmentReference[]; /** Indicates whether the state of the virtual server instance permits a start request. */ startable: boolean; /** The status of the virtual server instance. @@ -45138,6 +46153,8 @@ namespace VpcV1 { status: Instance.Constants.Status | string; /** The reasons for the current status (if any). */ status_reasons: InstanceStatusReason[]; + /** The threads per core for this virtual server instance. */ + threads_per_core: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance network attachments or * instance network interfaces. */ @@ -46378,6 +47395,7 @@ namespace VpcV1 { */ export interface InstanceLifecycleReason { /** A reason code for this lifecycle state: + * - `failed_licensing`: Allocation of one or more software license(s) has failed. Delete * - `failed_registration`: The instance's registration to Resource Controller has * failed. Delete the instance and provision it again. If the problem persists, * contact IBM Support. @@ -46398,8 +47416,9 @@ namespace VpcV1 { } export namespace InstanceLifecycleReason { export namespace Constants { - /** A reason code for this lifecycle state: - `failed_registration`: The instance's registration to Resource Controller has failed. Delete the instance and provision it again. If the problem persists, contact IBM Support. - `internal_error`: Internal error (contact IBM support) - `pending_registration`: The instance's registration to Resource Controller is being processed. - `resource_suspended_by_provider`: The resource has been suspended (contact IBM support) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** A reason code for this lifecycle state: - `failed_licensing`: Allocation of one or more software license(s) has failed. Delete - `failed_registration`: The instance's registration to Resource Controller has failed. Delete the instance and provision it again. If the problem persists, contact IBM Support. - `internal_error`: Internal error (contact IBM support) - `pending_registration`: The instance's registration to Resource Controller is being processed. - `resource_suspended_by_provider`: The resource has been suspended (contact IBM support) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum Code { + FAILED_LICENSING = 'failed_licensing', FAILED_REGISTRATION = 'failed_registration', INTERNAL_ERROR = 'internal_error', PENDING_REGISTRATION = 'pending_registration', @@ -46636,10 +47655,12 @@ namespace VpcV1 { } /** - * The placement restrictions to use for the virtual server instance. + * The placement restrictions to use for the virtual server instance. For the placement restrictions to be changed, + * the instance `status` must be `stopping` or + * `stopped`. * - * If specified, `reservation_affinity.policy` must be `disabled`. If specifying a dedicated host or dedicated host - * group, the `vcpu.percentage` must be `100` and the instance must have two or more vCPUs. + * If set, `reservation_affinity.policy` must be `disabled`. If specifying a dedicated host or dedicated host group, + * the `vcpu.percentage` must be `100` and the instance must have two or more vCPUs. */ export interface InstancePlacementTargetPatch { } @@ -46699,6 +47720,9 @@ namespace VpcV1 { status: InstanceProfile.Constants.Status | string; /** The cluster network profiles that support this instance profile. */ supported_cluster_network_profiles: ClusterNetworkProfileReference[]; + /** The supported values for vcpu count for an instance with this profile. */ + supported_vcpu_count: InstanceProfileSupportedVCPUCountEnum; + threads_per_core: InstanceProfileThreadsPerCoreEnum; total_volume_bandwidth: InstanceProfileVolumeBandwidth; vcpu_architecture: InstanceProfileVCPUArchitecture; vcpu_burst_limit: InstanceProfileVCPUBurstLimit; @@ -46707,6 +47731,8 @@ namespace VpcV1 { /** The permitted values for VCPU percentage for an instance with this profile. */ vcpu_percentage: InstanceProfileVCPUPercentage; volume_bandwidth_qos_modes: InstanceProfileVolumeBandwidthQoSModes; + /** The zones in this region that support this instance profile. */ + zones: ZoneReference[]; } export namespace InstanceProfile { export namespace Constants { @@ -46744,8 +47770,16 @@ namespace VpcV1 { * InstanceProfileCollection. */ export interface InstanceProfileCollection { - /** The virtual server instance profiles. */ + /** A link to the first page of resources. */ + first: PageLink; + /** The maximum number of resources that can be returned by the request. */ + limit: number; + /** A link to the next page of resources. This property is present for all pages except the last page. */ + next?: PageLink; + /** A page of virtual server instance profiles. */ profiles: InstanceProfile[]; + /** The total number of resources across all pages. */ + total_count: number; } /** @@ -47014,6 +48048,44 @@ namespace VpcV1 { } } + /** + * The supported values for vcpu count for an instance with this profile. + */ + export interface InstanceProfileSupportedVCPUCountEnum { + /** The type for this profile field. */ + type: InstanceProfileSupportedVCPUCountEnum.Constants.Type | string; + /** The permitted values for this profile field. */ + values: number[]; + } + export namespace InstanceProfileSupportedVCPUCountEnum { + export namespace Constants { + /** The type for this profile field. */ + export enum Type { + ENUM = 'enum', + } + } + } + + /** + * InstanceProfileThreadsPerCoreEnum. + */ + export interface InstanceProfileThreadsPerCoreEnum { + /** The default threads per core value for an instance with this profile. */ + default: number; + /** The type for this profile field. */ + type: InstanceProfileThreadsPerCoreEnum.Constants.Type | string; + /** The permitted threads per core values for an instance with this profile. */ + values: number[]; + } + export namespace InstanceProfileThreadsPerCoreEnum { + export namespace Constants { + /** The type for this profile field. */ + export enum Type { + ENUM = 'enum', + } + } + } + /** * InstanceProfileVCPU. */ @@ -47162,6 +48234,12 @@ namespace VpcV1 { * group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. */ resource_group?: ResourceGroupIdentity; + /** The threads per core to use for this virtual server instance. Must be one of the values in the profile's + * `threads_per_core.values`. + * + * If unspecified, the default threads per core from the profile will be used. + */ + threads_per_core?: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An * increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -47329,6 +48407,176 @@ namespace VpcV1 { } } + /** + * InstanceSoftwareAttachment. + */ + export interface InstanceSoftwareAttachment { + /** The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) + * offering for this instance software attachment. May be absent if + * `software_attachment.lifecycle_state` is not `stable`. + */ + catalog_offering?: InstanceSoftwareAttachmentCatalogOffering; + /** The date and time that the instance software attachment was created. */ + created_at: string; + /** The entitlement for the licensed software for this instance software attachment. */ + entitlement?: InstanceSoftwareAttachmentEntitlement; + /** The URL for this instance software attachment. */ + href: string; + /** The unique identifier for this instance software attachment. */ + id: string; + /** The lifecycle reasons for this instance software attachment (if any). */ + lifecycle_reasons: InstanceSoftwareAttachmentLifecycleReason[]; + /** The lifecycle state of the instance software attachment. */ + lifecycle_state: InstanceSoftwareAttachment.Constants.LifecycleState | string; + /** The name for this instance software attachment. The name is unique across all instance software attachments + * for the instance. + */ + name: string; + offering_instance?: InstanceSoftwareAttachmentOfferingInstance; + /** The resource type. */ + resource_type: InstanceSoftwareAttachment.Constants.ResourceType | string; + } + export namespace InstanceSoftwareAttachment { + export namespace Constants { + /** The lifecycle state of the instance software attachment. */ + export enum LifecycleState { + DELETING = 'deleting', + FAILED = 'failed', + PENDING = 'pending', + STABLE = 'stable', + SUSPENDED = 'suspended', + UPDATING = 'updating', + WAITING = 'waiting', + } + /** The resource type. */ + export enum ResourceType { + INSTANCE_SOFTWARE_ATTACHMENT = 'instance_software_attachment', + } + } + } + + /** + * The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering for this instance + * software attachment. May be absent if + * `software_attachment.lifecycle_state` is not `stable`. + */ + export interface InstanceSoftwareAttachmentCatalogOffering { + /** The billing plan for the catalog offering version associated with this instance software + * attachment. + * + * If absent, no billing plan is associated with the catalog offering version (free). + */ + plan?: CatalogOfferingVersionPlanReference; + /** The catalog offering version associated with this instance software attachment. */ + version: CatalogOfferingVersionReference; + } + + /** + * InstanceSoftwareAttachmentCollection. + */ + export interface InstanceSoftwareAttachmentCollection { + /** The software attachments for the instance. */ + software_attachments: InstanceSoftwareAttachment[]; + } + + /** + * The entitlement for the licensed software for this instance software attachment. + */ + export interface InstanceSoftwareAttachmentEntitlement { + /** The licensed software for this instance software attachment entitlement. */ + licensed_software: InstanceSoftwareAttachmentEntitlementLicensedSoftware[]; + } + + /** + * The licensed software for the instance software attachment's entitlement. + */ + export interface InstanceSoftwareAttachmentEntitlementLicensedSoftware { + /** The SKU for this licensed software. */ + sku: string; + vendor: InstanceSoftwareAttachmentEntitlementLicensedSoftwareVendor; + } + + /** + * InstanceSoftwareAttachmentEntitlementLicensedSoftwareVendor. + */ + export interface InstanceSoftwareAttachmentEntitlementLicensedSoftwareVendor { + /** The name of the vendor providing this licensed software. */ + name: string; + } + + /** + * InstanceSoftwareAttachmentLifecycleReason. + */ + export interface InstanceSoftwareAttachmentLifecycleReason { + /** A reason code for this lifecycle state: + * - `failed_licensing`: Allocation of one or more software license(s) has failed. Delete + * the instance and provision it again. If the problem persists, contact IBM Support. + * - `failed_registration`: The software instance's registration to Resource Controller has + * failed. Delete the instance and provision it again. If the problem persists, contact IBM + * Support. + * - `internal_error`: Internal error (contact IBM support) + * - `pending_registration`: The software instance's registration to Resource Controller, + * and the creation of any required software license(s), is being processed. + * + * The enumerated values for this property may + * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. + */ + code: InstanceSoftwareAttachmentLifecycleReason.Constants.Code | string; + /** An explanation of the reason for this lifecycle state. */ + message: string; + /** A link to documentation about the reason for this lifecycle state. */ + more_info?: string; + } + export namespace InstanceSoftwareAttachmentLifecycleReason { + export namespace Constants { + /** A reason code for this lifecycle state: - `failed_licensing`: Allocation of one or more software license(s) has failed. Delete the instance and provision it again. If the problem persists, contact IBM Support. - `failed_registration`: The software instance's registration to Resource Controller has failed. Delete the instance and provision it again. If the problem persists, contact IBM Support. - `internal_error`: Internal error (contact IBM support) - `pending_registration`: The software instance's registration to Resource Controller, and the creation of any required software license(s), is being processed. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + export enum Code { + FAILED_LICENSING = 'failed_licensing', + FAILED_REGISTRATION = 'failed_registration', + INTERNAL_ERROR = 'internal_error', + PENDING_REGISTRATION = 'pending_registration', + } + } + } + + /** + * InstanceSoftwareAttachmentOfferingInstance. + */ + export interface InstanceSoftwareAttachmentOfferingInstance { + /** The CRN for the software offering instance registered with Resource Controller that is associated with the + * instance software attachment. + */ + crn: string; + } + + /** + * InstanceSoftwareAttachmentReference. + */ + export interface InstanceSoftwareAttachmentReference { + /** If present, this property indicates the referenced resource has been deleted, and provides + * some supplementary information. + */ + deleted?: Deleted; + /** The URL for this instance software attachment. */ + href: string; + /** The unique identifier for this instance software attachment. */ + id: string; + /** The name for this instance software attachment. The name is unique across all instance software attachments + * for the instance. + */ + name: string; + /** The resource type. */ + resource_type: InstanceSoftwareAttachmentReference.Constants.ResourceType | string; + } + export namespace InstanceSoftwareAttachmentReference { + export namespace Constants { + /** The resource type. */ + export enum ResourceType { + INSTANCE_SOFTWARE_ATTACHMENT = 'instance_software_attachment', + } + } + } + /** * InstanceStatusReason. */ @@ -47442,6 +48690,12 @@ namespace VpcV1 { reservation_affinity?: InstanceReservationAffinityPrototype; /** The resource group for this instance template. */ resource_group: ResourceGroupReference; + /** The threads per core to use for this virtual server instance. Must be one of the values in the profile's + * `threads_per_core.values`. + * + * If unspecified, the default threads per core from the profile will be used. + */ + threads_per_core?: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An * increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -47578,6 +48832,12 @@ namespace VpcV1 { * group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. */ resource_group?: ResourceGroupIdentity; + /** The threads per core to use for this virtual server instance. Must be one of the values in the profile's + * `threads_per_core.values`. + * + * If unspecified, the default threads per core from the profile will be used. + */ + threads_per_core?: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An * increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -47851,6 +49111,8 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ access_mode: LoadBalancer.Constants.AccessMode | string; + /** Indicates whether this load balancer supports advanced health checks. */ + advanced_health_checks_supported: boolean; /** The load balancer pool members attached to this load balancer. */ attached_load_balancer_pool_members: LoadBalancerPoolMemberReference[]; /** The availability of this load balancer: @@ -47876,6 +49138,8 @@ namespace VpcV1 { dns?: LoadBalancerDNS; /** The supported `failsafe_policy.action` values for this load balancer's pools. */ failsafe_policy_actions: LoadBalancer.Constants.FailsafePolicyActions[] | string[]; + /** Indicates whether this load balancer supports pool members specified by their fully qualified domain names. */ + fqdn_pool_members_supported: boolean; /** The fully qualified domain name assigned to this load balancer. */ hostname: string; /** The URL for this load balancer. */ @@ -47892,6 +49156,8 @@ namespace VpcV1 { listeners: LoadBalancerListenerReference[]; /** The logging configuration for this load balancer. */ logging: LoadBalancerLogging; + /** Indicates whether this load balancer supports mTLS. */ + mtls_supported: boolean; /** The name for this load balancer. The name is unique across all load balancers in the VPC. */ name: string; /** The operating status of this load balancer. @@ -48096,6 +49362,7 @@ namespace VpcV1 { * If absent, this listener is not using a certificate instance. */ certificate_instance?: CertificateInstanceReference; + client_authentication?: LoadBalancerListenerClientAuthentication; /** The concurrent connection limit for the listener. If reached, incoming connections may be queued or * rejected. * @@ -48161,6 +49428,72 @@ namespace VpcV1 { } } + /** + * LoadBalancerListenerClientAuthentication. + */ + export interface LoadBalancerListenerClientAuthentication { + /** The certificate instance used for the listener client certificate authority. */ + certificate_authority: CertificateInstanceReference; + /** A [PEM-encoded](https://www.rfc-editor.org/rfc/rfc7468) certificate revocation list + * (CRL) used for the listener. + */ + certificate_revocation_list?: string; + } + + /** + * The certificate instance to use for the listener client certificate authority. + * + * Specify `null` to remove an existing certificate authority. + */ + export interface LoadBalancerListenerClientAuthenticationCertificateAuthorityPatch { + } + + /** + * The client authentication to use for this listener. + * + * Supported by load balancers with `mtls_supported` set to `true`. The listener must have a `protocol` of `https`. + * + * Specify `null` to remove an existing client authentication. + */ + export interface LoadBalancerListenerClientAuthenticationPatch { + /** The certificate instance to use for the listener client certificate authority. + * + * Specify `null` to remove an existing certificate authority. + */ + certificate_authority?: LoadBalancerListenerClientAuthenticationCertificateAuthorityPatch; + /** A [PEM-encoded](https://www.rfc-editor.org/rfc/rfc7468) (with the label `X509 CRL`) certificate revocation + * list (CRL) to use for the listener. + * + * The CRL must be formatted using the X.509 standard as described in + * [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280). + * + * Specify `null` to remove an existing certificate revocation list. + */ + certificate_revocation_list?: string; + } + + /** + * The client authentication to use for this listener. + * + * Supported by load balancers with `mtls_supported` set to `true`. The listener must have a `protocol` of `https`. + */ + export interface LoadBalancerListenerClientAuthenticationPrototype { + /** The certificate instance to use for the listener client certificate authority. + * + * Required if `certificate_revocation_list` is specified. + */ + certificate_authority: CertificateInstanceIdentity; + /** A [PEM-encoded](https://www.rfc-editor.org/rfc/rfc7468) (with the label `X509 CRL`) certificate revocation + * list (CRL) to use for the listener. + * + * The CRL must be formatted using the X.509 standard as described in + * [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280). + * + * If specified, `certificate_authority` must also be specified. + */ + certificate_revocation_list?: string; + } + /** * LoadBalancerListenerCollection. */ @@ -48424,6 +49757,7 @@ namespace VpcV1 { CONTAINS = 'contains', EQUALS = 'equals', MATCHES_REGEX = 'matches_regex', + STARTS_WITH = 'starts_with', } /** The provisioning status of this rule The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum ProvisioningStatus { @@ -48492,6 +49826,7 @@ namespace VpcV1 { CONTAINS = 'contains', EQUALS = 'equals', MATCHES_REGEX = 'matches_regex', + STARTS_WITH = 'starts_with', } /** The content the rule applies to: - `body`: The UTF-8 form-encoded HTTP request body - `header`: The HTTP header - `hostname`: The fully-qualified domain name of the server specified in the Host HTTP request header - `path`: The path of the HTTP request - `query`: The query of the HTTP request URL - `sni_hostname`: The fully-qualified domain name of the server provided in the "server name indicator" extension during TLS negotiation - For listeners with `protocol` `http` or `https`, any type may be specified. - For listeners with `protocol` `tcp`, only type `sni_hostname` may be specified. */ export enum Type { @@ -48570,6 +49905,12 @@ namespace VpcV1 { accept_proxy_protocol?: boolean; /** The certificate instance to use for SSL termination. The listener must have a `protocol` of `https`. */ certificate_instance?: CertificateInstanceIdentity; + /** The client authentication to use for this listener. + * + * Supported by load balancers with `mtls_supported` set to `true`. The listener must + * have a `protocol` of `https`. + */ + client_authentication?: LoadBalancerListenerClientAuthenticationPrototype; /** The concurrent connection limit for the listener. If reached, incoming connections may be queued or * rejected. * @@ -48736,6 +50077,8 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ algorithm: LoadBalancerPool.Constants.Algorithm | string; + /** The client authentication used for this pool. */ + client_authentication?: LoadBalancerPoolClientAuthentication; /** The date and time that this pool was created. */ created_at: string; failsafe_policy: LoadBalancerPoolFailsafePolicy; @@ -48786,6 +50129,11 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ proxy_protocol: LoadBalancerPool.Constants.ProxyProtocol | string; + /** The server authentication used for this pool. + * + * This property will be absent if the `pool.protocol` is not `https`. + */ + server_authentication?: LoadBalancerPoolServerAuthentication; /** The session persistence of this pool. * * If absent, session persistence will be disabled, and traffic will be distributed @@ -48825,6 +50173,45 @@ namespace VpcV1 { } } + /** + * The client authentication used for this pool. + */ + export interface LoadBalancerPoolClientAuthentication { + certificate_instance: CertificateInstanceReference; + } + + /** + * The client authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must have a `protocol` of `https`. + * + * Specify `null` to remove an existing client authentication. + */ + export interface LoadBalancerPoolClientAuthenticationPatch { + /** The backend certificate instance to use for client + * certificate verification. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool + * must have a `protocol` of `https`. + */ + certificate_instance?: CertificateInstanceIdentity; + } + + /** + * The client authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must have a `protocol` of `https`. + */ + export interface LoadBalancerPoolClientAuthenticationPrototype { + /** The backend certificate instance to use for client + * certificate verification. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool + * must have a `protocol` of `https`. + */ + certificate_instance: CertificateInstanceIdentity; + } + /** * LoadBalancerPoolCollection. */ @@ -48893,11 +50280,24 @@ namespace VpcV1 { * - Belong to this load balancer * - Have the same `protocol` as this pool, or have a compatible protocol. * At present, the compatible protocols are `http` and `https`. - * - Not have a `failsafe_policy.action` of `forward` or `bypass`. + * + * For load balancers in the `application` family, the failsafe target pool must not + * already be the default pool or a failsafe target pool for the same listener. + * + * For load balancers in the `network` family, the pool specified in the URL must not + * be a failsafe target pool for another pool. * * If specified, `action` must be `forward`. * * Specify `null` to remove an existing failsafe target pool. + * + * **For more information, see:** + * - [Creating an application load balancer]( + * https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancers&interface=ui) + * - [Working with application load balancer pools]( + * https://cloud.ibm.com/docs/vpc?topic=vpc-alb-pools&interface=ui) + * - [Working with network load balancer pools]( + * https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-pools&interface=ui). */ target?: LoadBalancerPoolFailsafePolicyTargetPatch; } @@ -48934,9 +50334,22 @@ namespace VpcV1 { * - Belong to this load balancer * - Have the same `protocol` as this pool, or have a compatible protocol. * At present, the compatible protocols are `http` and `https`. - * - Have a `failsafe_policy.action` of `fail` or `drop` + * + * For load balancers in the `application` family, the failsafe target pool must not + * already be the default pool or a failsafe target pool for the same listener. + * + * For load balancers in the `network` family, the pool specified in the URL must not + * be a failsafe target pool for another pool. * * If specified, `action` must be `forward`. + * + * **For more information, see:** + * - [Creating an application load balancer]( + * https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancers&interface=ui) + * - [Working with application load balancer pools]( + * https://cloud.ibm.com/docs/vpc?topic=vpc-alb-pools&interface=ui) + * - [Working with network load balancer pools]( + * https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-pools&interface=ui). */ target?: LoadBalancerPoolIdentity; } @@ -48959,11 +50372,24 @@ namespace VpcV1 { * - Belong to this load balancer * - Have the same `protocol` as this pool, or have a compatible protocol. * At present, the compatible protocols are `http` and `https`. - * - Not have a `failsafe_policy.action` of `forward` or `bypass`. + * + * For load balancers in the `application` family, the failsafe target pool must not already be the default pool or a + * failsafe target pool for the same listener. + * + * For load balancers in the `network` family, the pool specified in the URL must not be a failsafe target pool for + * another pool. * * If specified, `action` must be `forward`. * * Specify `null` to remove an existing failsafe target pool. + * + * **For more information, see:** + * - [Creating an application load balancer]( + * https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancers&interface=ui) + * - [Working with application load balancer pools]( + * https://cloud.ibm.com/docs/vpc?topic=vpc-alb-pools&interface=ui) + * - [Working with network load balancer pools]( + * https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-pools&interface=ui). */ export interface LoadBalancerPoolFailsafePolicyTargetPatch { } @@ -49016,6 +50442,10 @@ namespace VpcV1 { * Specify `null` to remove an existing health check port. */ port?: number; + /** Supported by load balancers with `advanced_health_checks_supported` set to `true`. */ + request?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch; + /** Supported by load balancers with `advanced_health_checks_supported` set to `true`. */ + response?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePatch; /** The seconds to wait for a response to a health check. Must be less than `delay`. */ timeout: number; /** The protocol type to use for health checks. */ @@ -49068,6 +50498,148 @@ namespace VpcV1 { } } + /** + * LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest { + /** The HTTP request body used for health checks. + * + * If absent, the health checks will ignore the request body. + */ + body?: string; + /** The HTTP request headers used for health checks. + * + * If empty, the health checks will ignore the request headers. + */ + headers?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeader[]; + /** The HTTP request method used for health checks. */ + method: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest.Constants.Method | string; + } + export namespace LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest { + export namespace Constants { + /** The HTTP request method used for health checks. */ + export enum Method { + GET = 'get', + POST = 'post', + } + } + } + + /** + * An HTTP request header used for health checks. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeader { + /** The field of an HTTP request header used for health checks. */ + field: string; + /** The value of an HTTP request header used for health checks. */ + value: string; + } + + /** + * An HTTP request header to use for health checks. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype { + /** The field of an HTTP request header to use for health checks. */ + field: string; + /** The value of an HTTP request header to use for health checks. */ + value: string; + } + + /** + * Supported by load balancers with `advanced_health_checks_supported` set to `true`. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch { + /** The HTTP request body to use for health checks. If set, a corresponding `Content-Type` field must be + * included in the `request.headers` array. + * + * Specify `null` to remove the request body used for health checks. + * + * The body must be formatted in a way that will be understood by the backend server member. + */ + body?: string; + /** The HTTP request headers to use for health checks. + * + * Specify an empty array to remove the request headers for health checks. + * + * Include a `Host` field and its value to enable the `HTTP/1.1` protocol for health checks. If a `Host` header is + * not included, `HTTP/1.0` will be used by default. More than one + * `Host` header is not allowed. + * + * Include a `Content-Type` field and its value to indicate the media type of the + * `request.body` (if set). + * + * A header must not exceed 1000 characters, and all headers combined must not exceed 4000 characters. + */ + headers?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype[]; + /** The HTTP request method to use for health checks. If updating to `get`, the + * `health_monitor.request.body` property (if set) must be removed. + */ + method?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch.Constants.Method | string; + } + export namespace LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch { + export namespace Constants { + /** The HTTP request method to use for health checks. If updating to `get`, the `health_monitor.request.body` property (if set) must be removed. */ + export enum Method { + GET = 'get', + POST = 'post', + } + } + } + + /** + * The HTTP request to use for health checks. If unspecified, a `request.method` value of + * `get` will be used with no `request.headers`. + * + * Supported by load balancers with `advanced_health_checks_supported` set to `true`. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototype { + } + + /** + * LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponse. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponse { + /** The PCRE-flavor regular expression that HTTP response bodies must match for successful health checks. + * + * If absent, health checks will ignore any response body. + */ + body_regex?: string; + /** The HTTP response codes expected for successful health checks. */ + codes: string[]; + } + + /** + * Supported by load balancers with `advanced_health_checks_supported` set to `true`. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePatch { + /** The PCRE-flavor regular expression that HTTP response bodies will be expected to match for successful health + * checks. + * + * Specify `null` to remove the response body for successful health checks. If removed, health checks will ignore + * any response body. + */ + body_regex?: string; + /** The HTTP response codes to expect for successful health checks. */ + codes?: string[]; + } + + /** + * The HTTP response to use for health checks. If unspecified, a `response.codes` value of + * `["200"]` will be used with no `response.body_regex`. + * + * Supported by load balancers with `advanced_health_checks_supported` set to `true`. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePrototype { + /** The PCRE-flavor regular expression that HTTP response bodies will be expected to match for successful health + * checks. + * + * If unspecified, health checks will ignore any response body. + */ + body_regex?: string; + /** The HTTP response codes to expect for successful health checks. */ + codes?: string[]; + } + /** * Identifies a load balancer pool by a unique property. */ @@ -49223,6 +50795,12 @@ namespace VpcV1 { * have `availability` with value `subnet` in the profile. */ algorithm: LoadBalancerPoolPrototypeLoadBalancerContext.Constants.Algorithm | string; + /** The client authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + */ + client_authentication?: LoadBalancerPoolClientAuthenticationPrototype; /** The health monitor of this pool. * * If this pool has a member targeting a load balancer then: @@ -49250,6 +50828,11 @@ namespace VpcV1 { /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and * `udp` (if `udp_supported` is `true`). Load balancers in the * `application` family support `tcp`, `http`, and `https`. + * + * **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP + * has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to + * choose `https` instead of `http`. For more details, see: + * https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. */ protocol: LoadBalancerPoolPrototypeLoadBalancerContext.Constants.Protocol | string; /** The PROXY protocol setting for this pool: @@ -49260,6 +50843,12 @@ namespace VpcV1 { * For load balancers in the `network` family, this property must be `disabled`. */ proxy_protocol?: LoadBalancerPoolPrototypeLoadBalancerContext.Constants.ProxyProtocol | string; + /** The server authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + */ + server_authentication?: LoadBalancerPoolServerAuthenticationPrototype; /** The session persistence of this pool. If specified, the load balancer must have * `source_ip_session_persistence_supported` set to `true` in its profile. * @@ -49276,7 +50865,7 @@ namespace VpcV1 { ROUND_ROBIN = 'round_robin', WEIGHTED_ROUND_ROBIN = 'weighted_round_robin', } - /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`. */ + /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`. **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to choose `https` instead of `http`. For more details, see: https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. */ export enum Protocol { HTTP = 'http', HTTPS = 'https', @@ -49308,6 +50897,70 @@ namespace VpcV1 { name: string; } + /** + * The server authentication used for this pool. + * + * This property will be absent if the `pool.protocol` is not `https`. + */ + export interface LoadBalancerPoolServerAuthentication { + /** The backend server certificate authority instance used for server certificate verification. */ + certificate_authority?: CertificateInstanceReference; + /** If set to `true`, the backend server certificate is verified. */ + verify_certificate: boolean; + } + + /** + * The server authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must have a `protocol` of `https`. + * + * Specify `null` to remove an existing server authentication. + */ + export interface LoadBalancerPoolServerAuthenticationPatch { + /** The backend server certificate authority instance to use for server + * certificate verification. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + * + * If specified, `verify_certificate` must be `true`. + */ + certificate_authority?: CertificateInstanceIdentity; + /** Indicates whether server certificate verification is enabled. + * + * If set to `true`, the backend server certificate is verified by: + * - `certificate_authority`, if specified. + * - the system default certificate authorities, if `certificate_authority` + * is not specified. + */ + verify_certificate?: boolean; + } + + /** + * The server authentication to use for this pool. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must have a `protocol` of `https`. + */ + export interface LoadBalancerPoolServerAuthenticationPrototype { + /** The backend server certificate authority instance to use for server + * certificate verification. + * + * Supported by load balancers with `mtls_supported` set to `true`. The pool must + * have a `protocol` of `https`. + * + * If specified, `verify_certificate` must be `true`. + */ + certificate_authority?: CertificateInstanceIdentity; + /** Indicates whether server certificate verification is enabled. + * + * If set to `true`, the backend server certificate is verified by: + * - `certificate_authority`, if specified. + * - the system default certificate authorities, if `certificate_authority` + * is not specified. + */ + verify_certificate?: boolean; + } + /** * LoadBalancerPoolSessionPersistence. */ @@ -49391,6 +51044,7 @@ namespace VpcV1 { */ export interface LoadBalancerProfile { access_modes: LoadBalancerProfileAccessModes; + advanced_health_checks_supported: LoadBalancerProfileAdvancedHealthCheckSupported; availability: LoadBalancerProfileAvailability; failsafe_policy_actions: LoadBalancerProfileFailsafePolicyActions; /** The product family this load balancer profile belongs to. @@ -49399,11 +51053,13 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ family: LoadBalancerProfile.Constants.Family | string; + fqdn_pool_members_supported: LoadBalancerProfileFQDNSupported; /** The URL for this load balancer profile. */ href: string; instance_groups_supported: LoadBalancerProfileInstanceGroupsSupported; /** Indicates which logging type(s) are supported for a load balancer with this profile. */ logging_supported: LoadBalancerProfileLoggingSupported; + mtls_supported: LoadBalancerProfileMtlsSupported; /** The globally unique name for this load balancer profile. */ name: string; route_mode_supported: LoadBalancerProfileRouteModeSupported; @@ -49448,6 +51104,12 @@ namespace VpcV1 { } } + /** + * LoadBalancerProfileAdvancedHealthCheckSupported. + */ + export interface LoadBalancerProfileAdvancedHealthCheckSupported { + } + /** * LoadBalancerProfileAvailability. */ @@ -49470,6 +51132,12 @@ namespace VpcV1 { total_count: number; } + /** + * LoadBalancerProfileFQDNSupported. + */ + export interface LoadBalancerProfileFQDNSupported { + } + /** * LoadBalancerProfileFailsafePolicyActions. */ @@ -49506,6 +51174,12 @@ namespace VpcV1 { } } + /** + * LoadBalancerProfileMtlsSupported. + */ + export interface LoadBalancerProfileMtlsSupported { + } + /** * LoadBalancerProfileReference. */ @@ -55038,7 +56712,11 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model. + * - `gpu.model` (string): The GPU model + * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled + * - `metadata_service.protocol` (string): The communication protocol used for the + * metadata service endpoint + * - `vcpu.count` (integer): The number of virtual CPUs. */ instance: string; } @@ -55073,7 +56751,11 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model. + * - `gpu.model` (string): The GPU model + * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled + * - `metadata_service.protocol` (string): The communication protocol used for the + * metadata service endpoint + * - `vcpu.count` (integer): The number of virtual CPUs. */ instance?: string; } @@ -55113,7 +56795,11 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model. + * - `gpu.model` (string): The GPU model + * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled + * - `metadata_service.protocol` (string): The communication protocol used for the + * metadata service endpoint. + * - `vcpu.count` (integer): The number of virtual CPUs. */ instance?: string; } @@ -55182,6 +56868,11 @@ namespace VpcV1 { * SnapshotConsistencyGroup. */ export interface SnapshotConsistencyGroup { + /** If present, the backup policy job that created this snapshot consistency group. + * Snapshot consistency groups with the same backup policy job identifier represent + * snapshots of the same instance across different storage generations. + */ + backup_policy_job?: BackupPolicyJobReference; /** If present, the backup policy plan which created this snapshot consistency group. */ backup_policy_plan?: BackupPolicyPlanReference; /** The date and time that this snapshot consistency group was created. */ @@ -58115,7 +59806,11 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model. + * - `gpu.model` (string): The GPU model + * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled + * - `metadata_service.protocol` (string): The communication protocol used for the + * metadata service endpoint + * - `vcpu.count` (integer): The number of virtual CPUs. */ instance: string; } @@ -58150,7 +59845,11 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model. + * - `gpu.model` (string): The GPU model + * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled + * - `metadata_service.protocol` (string): The communication protocol used for the + * metadata service endpoint + * - `vcpu.count` (integer): The number of virtual CPUs. */ instance?: string; } @@ -58190,7 +59889,11 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model. + * - `gpu.model` (string): The GPU model + * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled + * - `metadata_service.protocol` (string): The communication protocol used for the + * metadata service endpoint + * - `vcpu.count` (integer): The number of virtual CPUs. */ instance?: string; } @@ -58262,7 +59965,9 @@ namespace VpcV1 { } /** - * VolumeAttachmentDevice. + * The configuration for the volume as a device in the instance operating system. + * + * This property may be absent if the volume attachment's `status` is not `attached`. */ export interface VolumeAttachmentDevice { /** A unique identifier for the device which is exposed to the instance operating system. */ @@ -58862,10 +60567,14 @@ namespace VpcV1 { */ bandwidth?: number; /** The capacity to use for the volume (in gigabytes). The specified value must be at least the image's - * `minimum_provisioned_size`, at most 250 gigabytes, and within the - * `boot_capacity` range of the volume's profile. + * `minimum_provisioned_size`, at most 250 gigabytes for + * `storage_generation: 1` or at most 32,000 gigabytes for `storage_generation: 2`, and within the `boot_capacity` + * range of the volume's profile. * - * If unspecified, the capacity will be the image's `minimum_provisioned_size`. + * If unspecified, the capacity will depend on the image: + * - When using a system-provided image, 100 gigabytes or the `minimum_provisioned_size` + * of the image, whichever is larger. + * - When using a custom image, the `minimum_provisioned_size` of the image. */ capacity?: number; /** The root key to use to wrap the data encryption key for the volume. @@ -58916,8 +60625,9 @@ namespace VpcV1 { */ bandwidth?: number; /** The capacity to use for the volume (in gigabytes). The specified value must be at least the snapshot's - * `minimum_capacity`, at most 250 gigabytes, and within the - * `boot_capacity` range of the volume's profile. + * `minimum_capacity`, at most 250 gigabytes for + * `storage_generation: 1` or at most 32,000 gigabytes for `storage_generation: 2`, and within the `boot_capacity` + * range of the volume's profile. */ capacity?: number; /** The root key to use to wrap the data encryption key for the volume. @@ -59360,8 +61070,8 @@ namespace VpcV1 { /** The resource type this backup policy will apply to. Resources that have both a matching type and a matching * user tag will be subject to the backup policy. * - * A backup policy of type `instance` will create a backup of all volumes with a - * `storage_generation` value of `1` attached to the instance. + * If the targeted instance contains volumes with different `storage_generation` values, a backup policy of type + * `instance` will create separate backups for each `storage_generation` present. */ match_resource_type: BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype.Constants.MatchResourceType | string; } @@ -59372,7 +61082,7 @@ namespace VpcV1 { BOOT_VOLUME = 'boot_volume', DATA_VOLUMES = 'data_volumes', } - /** The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag will be subject to the backup policy. A backup policy of type `instance` will create a backup of all volumes with a `storage_generation` value of `1` attached to the instance. */ + /** The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag will be subject to the backup policy. If the targeted instance contains volumes with different `storage_generation` values, a backup policy of type `instance` will create separate backups for each `storage_generation` present. */ export enum MatchResourceType { INSTANCE = 'instance', } @@ -63145,7 +64855,7 @@ namespace VpcV1 { } /** - * The VCPU count for an instance with this profile. + * The default VCPU count for an instance with this profile. */ export interface InstanceProfileVCPUFixed extends InstanceProfileVCPU { /** The type for this profile field. */ @@ -63847,6 +65557,14 @@ namespace VpcV1 { id: string; } + /** + * LoadBalancerListenerClientAuthenticationCertificateAuthorityPatchByCRN. + */ + export interface LoadBalancerListenerClientAuthenticationCertificateAuthorityPatchByCRN extends LoadBalancerListenerClientAuthenticationCertificateAuthorityPatch { + /** The CRN for this certificate instance. */ + crn: string; + } + /** * LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref. */ @@ -64077,6 +65795,18 @@ namespace VpcV1 { * LoadBalancerPoolHealthMonitorPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSPrototype. */ export interface LoadBalancerPoolHealthMonitorPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSPrototype extends LoadBalancerPoolHealthMonitorPrototype { + /** The HTTP request to use for health checks. If unspecified, a `request.method` value of + * `get` will be used with no `request.headers`. + * + * Supported by load balancers with `advanced_health_checks_supported` set to `true`. + */ + request?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototype; + /** The HTTP response to use for health checks. If unspecified, a `response.codes` value of + * `["200"]` will be used with no `response.body_regex`. + * + * Supported by load balancers with `advanced_health_checks_supported` set to `true`. + */ + response?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePrototype; /** The protocol type to use for health checks. * * Load balancers in the `network` family do not support the `https` protocol. @@ -64118,6 +65848,8 @@ namespace VpcV1 { * LoadBalancerPoolHealthMonitorTypeHTTPHTTPS. */ export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPS extends LoadBalancerPoolHealthMonitor { + request: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest; + response: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponse; /** The protocol type used for health checks. */ type: LoadBalancerPoolHealthMonitorTypeHTTPHTTPS.Constants.Type | string; /** The health check URL path, in the format of an [origin-form request @@ -64135,6 +65867,67 @@ namespace VpcV1 { } } + /** + * LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestGetPrototype. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestGetPrototype extends LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototype { + /** The HTTP request headers to use for health checks. If empty, health check HTTP requests will not have + * headers. + * + * Include a `Host` field and its value to enable the `HTTP/1.1` protocol for health checks. If a `Host` header is + * not included, `HTTP/1.0` will be used by default. More than one + * `Host` header is not allowed. + * + * A header must not exceed 1000 characters, and all headers combined must not exceed 4000 characters. + */ + headers?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype[]; + /** The HTTP request method to use for health checks. */ + method?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestGetPrototype.Constants.Method | string; + } + export namespace LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestGetPrototype { + export namespace Constants { + /** The HTTP request method to use for health checks. */ + export enum Method { + GET = 'get', + } + } + } + + /** + * LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPostPrototype. + */ + export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPostPrototype extends LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototype { + /** The HTTP request body to use for health checks. If unspecified, health check requests will not have a + * request body. + * + * The body must be formatted in a way that is understood by the backend member. If specified, the + * `request.headers` array must include a corresponding `Content-Type` header. + */ + body?: string; + /** The HTTP request headers to use for health checks. If empty, health check requests will not have headers. + * + * Include a `Host` field and its value to enable the `HTTP/1.1` protocol for health checks. If a `Host` header is + * not included, `HTTP/1.0` will be used by default. More than one + * `Host` header is not allowed. + * + * Include a `Content-Type` field and its value to indicate the media type of the + * `request.body` (if set). + * + * A header must not exceed 1000 characters, and all headers combined must not exceed 4000 characters. + */ + headers?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype[]; + /** The HTTP request method to use for health checks. */ + method?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPostPrototype.Constants.Method | string; + } + export namespace LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPostPrototype { + export namespace Constants { + /** The HTTP request method to use for health checks. */ + export enum Method { + POST = 'post', + } + } + } + /** * LoadBalancerPoolHealthMonitorTypeTCP. */ @@ -64201,6 +65994,14 @@ namespace VpcV1 { } } + /** + * LoadBalancerPoolMemberTargetPrototypeFQDN. + */ + export interface LoadBalancerPoolMemberTargetPrototypeFQDN extends LoadBalancerPoolMemberTargetPrototype { + /** A fully qualified domain name for this resource. */ + fqdn: string; + } + /** * LoadBalancerPoolMemberTargetPrototypeIP. */ @@ -64231,6 +66032,14 @@ namespace VpcV1 { export interface LoadBalancerPoolMemberTargetPrototypeReservedIPIdentity extends LoadBalancerPoolMemberTargetPrototype { } + /** + * LoadBalancerPoolMemberTargetFQDN. + */ + export interface LoadBalancerPoolMemberTargetFQDN extends LoadBalancerPoolMemberTarget { + /** A fully qualified domain name for this resource. */ + fqdn: string; + } + /** * LoadBalancerPoolMemberTargetIPNotReservedIP. */ @@ -64291,6 +66100,40 @@ namespace VpcV1 { } } + /** + * The advanced health check support for a load balancer with this profile depends on its configuration. + */ + export interface LoadBalancerProfileAdvancedHealthCheckSupportedDependent extends LoadBalancerProfileAdvancedHealthCheckSupported { + /** The type for this profile field. */ + type: LoadBalancerProfileAdvancedHealthCheckSupportedDependent.Constants.Type | string; + } + export namespace LoadBalancerProfileAdvancedHealthCheckSupportedDependent { + export namespace Constants { + /** The type for this profile field. */ + export enum Type { + DEPENDENT = 'dependent', + } + } + } + + /** + * The advanced health check support for a load balancer with this profile. + */ + export interface LoadBalancerProfileAdvancedHealthCheckSupportedFixed extends LoadBalancerProfileAdvancedHealthCheckSupported { + /** The type for this profile field. */ + type: LoadBalancerProfileAdvancedHealthCheckSupportedFixed.Constants.Type | string; + /** The value for this profile field. */ + value: boolean; + } + export namespace LoadBalancerProfileAdvancedHealthCheckSupportedFixed { + export namespace Constants { + /** The type for this profile field. */ + export enum Type { + FIXED = 'fixed', + } + } + } + /** * The availability mode for a load balancer with this profile depends on its configuration. */ @@ -64337,6 +66180,40 @@ namespace VpcV1 { } } + /** + * The FQDN support for a load balancer with this profile depends on its configuration. + */ + export interface LoadBalancerProfileFQDNSupportedDependent extends LoadBalancerProfileFQDNSupported { + /** The type for this profile field. */ + type: LoadBalancerProfileFQDNSupportedDependent.Constants.Type | string; + } + export namespace LoadBalancerProfileFQDNSupportedDependent { + export namespace Constants { + /** The type for this profile field. */ + export enum Type { + DEPENDENT = 'dependent', + } + } + } + + /** + * The FQDN support for a load balancer with this profile. + */ + export interface LoadBalancerProfileFQDNSupportedFixed extends LoadBalancerProfileFQDNSupported { + /** The type for this profile field. */ + type: LoadBalancerProfileFQDNSupportedFixed.Constants.Type | string; + /** The value for this profile field. */ + value: boolean; + } + export namespace LoadBalancerProfileFQDNSupportedFixed { + export namespace Constants { + /** The type for this profile field. */ + export enum Type { + FIXED = 'fixed', + } + } + } + /** * The failsafe policy action configuration for a load balancer with this profile depends on its configuration. */ @@ -64437,6 +66314,40 @@ namespace VpcV1 { } } + /** + * The mTLS support for a load balancer with this profile depends on its configuration. + */ + export interface LoadBalancerProfileMtlsSupportedDependent extends LoadBalancerProfileMtlsSupported { + /** The type for this profile field. */ + type: LoadBalancerProfileMtlsSupportedDependent.Constants.Type | string; + } + export namespace LoadBalancerProfileMtlsSupportedDependent { + export namespace Constants { + /** The type for this profile field. */ + export enum Type { + DEPENDENT = 'dependent', + } + } + } + + /** + * The mTLS support for a load balancer with this profile. + */ + export interface LoadBalancerProfileMtlsSupportedFixed extends LoadBalancerProfileMtlsSupported { + /** The type for this profile field. */ + type: LoadBalancerProfileMtlsSupportedFixed.Constants.Type | string; + /** The value for this profile field. */ + value: boolean; + } + export namespace LoadBalancerProfileMtlsSupportedFixed { + export namespace Constants { + /** The type for this profile field. */ + export enum Type { + FIXED = 'fixed', + } + } + } + /** * The [route mode](https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-vnf&interface=ui) support for a load balancer with * this profile depends on its configuration. @@ -64755,8 +66666,8 @@ namespace VpcV1 { export interface NetworkACLRuleItemNetworkACLRuleProtocolIndividual extends NetworkACLRuleItem { /** The network protocol. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - * protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + * `udp`. Names for well known protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -65190,8 +67101,8 @@ namespace VpcV1 { export interface NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIndividualPrototype extends NetworkACLRulePrototypeNetworkACLContext { /** The network protocol. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - * protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + * `udp`. Names for well known protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -65641,8 +67552,8 @@ namespace VpcV1 { export interface NetworkACLRulePrototypeNetworkACLRuleProtocolIndividualPrototype extends NetworkACLRulePrototype { /** The network protocol. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - * protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + * `udp`. Names for well known protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -66092,8 +68003,8 @@ namespace VpcV1 { export interface NetworkACLRuleNetworkACLRuleProtocolIndividual extends NetworkACLRule { /** The network protocol. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - * protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + * `udp`. Names for well known protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -67127,8 +69038,8 @@ namespace VpcV1 { export interface SecurityGroupRuleProtocolIndividual extends SecurityGroupRule { /** The network protocol to allow. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - * protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + * `udp`. Names for well known protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -67545,8 +69456,8 @@ namespace VpcV1 { export interface SecurityGroupRulePrototypeSecurityGroupRuleProtocolIndividualPrototype extends SecurityGroupRulePrototype { /** The network protocol to allow. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - * protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + * `udp`. Names for well known protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -68892,6 +70803,8 @@ namespace VpcV1 { * require a virtual network interface. * - `vpc`: All clients in the VPC for a mount target have access to the mount target. * Mount targets for this share require a VPC. + * + * The `vpc` access control mode has been deprecated. Use `security_group` instead. */ access_control_mode?: SharePrototypeShareBySize.Constants.AccessControlMode | string; /** The access protocols to allow for this share. If unspecified: @@ -68958,7 +70871,7 @@ namespace VpcV1 { NONE = 'none', STUNNEL = 'stunnel', } - /** The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. Mount targets for this share require a virtual network interface. - `vpc`: All clients in the VPC for a mount target have access to the mount target. Mount targets for this share require a VPC. */ + /** The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. Mount targets for this share require a virtual network interface. - `vpc`: All clients in the VPC for a mount target have access to the mount target. Mount targets for this share require a VPC. The `vpc` access control mode has been deprecated. Use `security_group` instead. */ export enum AccessControlMode { SECURITY_GROUP = 'security_group', VPC = 'vpc', @@ -69159,9 +71072,9 @@ namespace VpcV1 { * SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots. */ export interface SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots extends SnapshotConsistencyGroupPrototype { - /** The data-consistent member snapshots to create. Each snapshot must specify a - * `source_volume` attached to the same virtual server instance, and all source volumes must have a - * `storage_generation` value of `1`. + /** The data-consistent member snapshots to create. Each snapshot must specify a + * `source_volume` attached to the same virtual server instance, and all source volumes must have the same + * `storage_generation` value. */ snapshots: SnapshotPrototypeSnapshotConsistencyGroupContext[]; } @@ -75004,6 +76917,87 @@ namespace VpcV1 { } } + /** + * InstanceProfilesPager can be used to simplify the use of listInstanceProfiles(). + */ + export class InstanceProfilesPager { + protected _hasNext: boolean; + + protected pageContext: any; + + protected client: VpcV1; + + protected params: VpcV1.ListInstanceProfilesParams; + + /** + * Construct a InstanceProfilesPager object. + * + * @param {VpcV1} client - The service client instance used to invoke listInstanceProfiles() + * @param {Object} [params] - The parameters to be passed to listInstanceProfiles() + * @constructor + * @returns {InstanceProfilesPager} + */ + constructor(client: VpcV1, params?: VpcV1.ListInstanceProfilesParams) { + if (params && params.start) { + throw new Error(`the params.start field should not be set`); + } + + this._hasNext = true; + this.pageContext = { next: undefined }; + this.client = client; + this.params = JSON.parse(JSON.stringify(params || {})); + } + + /** + * Returns true if there are potentially more results to be retrieved by invoking getNext(). + * @returns {boolean} + */ + public hasNext(): boolean { + return this._hasNext; + } + + /** + * Returns the next page of results by invoking listInstanceProfiles(). + * @returns {Promise} + */ + public async getNext(): Promise { + if (!this.hasNext()) { + throw new Error('No more results available'); + } + + if (this.pageContext.next) { + this.params.start = this.pageContext.next; + } + const response = await this.client.listInstanceProfiles(this.params); + const { result } = response; + + let next; + if (result && result.next) { + if (result.next.href) { + next = getQueryParam(result.next.href, 'start'); + } + } + this.pageContext.next = next; + if (!this.pageContext.next) { + this._hasNext = false; + } + return result.profiles; + } + + /** + * Returns all results by invoking listInstanceProfiles() repeatedly until all pages of results have been retrieved. + * @returns {Promise} + */ + public async getAll(): Promise { + const results: InstanceProfile[] = []; + while (this.hasNext()) { + const nextPage = await this.getNext(); + results.push(...nextPage); + } + return results; + } + } + /** * InstancesPager can be used to simplify the use of listInstances(). */ From b39065ca47ed75f44c2777f37ebd8e452db4a780 Mon Sep 17 00:00:00 2001 From: Adithi Bhushan Turavi Date: Fri, 3 Jul 2026 14:49:41 +0530 Subject: [PATCH 2/2] Revert "release-23-06-2026" This reverts commit 25610392de3011565ca90648b9e1e3243af36a58. --- package-lock.json | 1708 ++++++++++++---------------- package.json | 10 +- test/unit/vpc.v1.test.js | 767 +++---------- vpc/v1.ts | 2296 +++----------------------------------- 4 files changed, 1028 insertions(+), 3753 deletions(-) diff --git a/package-lock.json b/package-lock.json index d161d14..df3709f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,24 +1,24 @@ { "name": "ibm-vpc", - "version": "0.0.1", + "version": "0.30.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ibm-vpc", - "version": "0.0.1", + "version": "0.30.1", "license": "Apache-2.0", "dependencies": { - "@types/node": "^14.0.0", + "@types/node": "^18.19.80", "extend": "^3.0.2", - "ibm-cloud-sdk-core": "^5.4.20", + "ibm-cloud-sdk-core": "^5.4.11", "uuid": "^9.0.0" }, "devDependencies": { "@ibm-cloud/sdk-test-utilities": "^1.0.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", - "axios": "1.12.2", + "axios": "1.15.0", "dotenv": "^16.4.5", "eslint": "^7.26.0", "eslint-config-google": "^0.14.0", @@ -62,9 +62,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.25.8", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.8.tgz", - "integrity": "sha512-ZsysZyXY4Tlx+Q53XdnOFmqwfB9QDTHYxaZYajWRoBLuLEAwI2UIbtxOjWh/cFaa9IKUlcB+DDuoskLuKu56JA==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.0.tgz", + "integrity": "sha512-60X7qkglvrap8mn1lh2ebxXdZYtUcpd7gsmy9kLaBJ4i/WdY8PqTSdxyA8qraikqKQK5C1KRBKXqznrVapyNaw==", "dev": true, "license": "MIT", "engines": { @@ -72,22 +72,23 @@ } }, "node_modules/@babel/core": { - "version": "7.25.8", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.8.tgz", - "integrity": "sha512-Oixnb+DzmRT30qu9d3tJSQkxuygWm32DFykT4bRoORPa9hZ/L4KhVB/XiRm6KG+roIEM7DBQlmg27kw2HZkdZg==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.0.tgz", + "integrity": "sha512-UlLAnTPrFdNGoFtbSXwcGFQBtQZJCNjaN6hQNP3UPvuNXT1i82N26KL3dZeIpNalWywr9IuQuncaAfUaS1g6sQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.25.7", - "@babel/generator": "^7.25.7", - "@babel/helper-compilation-targets": "^7.25.7", - "@babel/helper-module-transforms": "^7.25.7", - "@babel/helpers": "^7.25.7", - "@babel/parser": "^7.25.8", - "@babel/template": "^7.25.7", - "@babel/traverse": "^7.25.7", - "@babel/types": "^7.25.8", + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.0", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-module-transforms": "^7.27.3", + "@babel/helpers": "^7.27.6", + "@babel/parser": "^7.28.0", + "@babel/template": "^7.27.2", + "@babel/traverse": "^7.28.0", + "@babel/types": "^7.28.0", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -103,14 +104,15 @@ } }, "node_modules/@babel/core/node_modules/@babel/code-frame": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", - "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/highlight": "^7.25.7", - "picocolors": "^1.0.0" + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" }, "engines": { "node": ">=6.9.0" @@ -127,15 +129,16 @@ } }, "node_modules/@babel/generator": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.7.tgz", - "integrity": "sha512-5Dqpl5fyV9pIAD62yK9P7fcA768uVPUyrQmqpqstHWgMma4feF1x/oFysBCVZLY5wJ2GkMUCdsNDnGZrPoR6rA==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.0.tgz", + "integrity": "sha512-lJjzvrbEeWrhB4P3QBsH7tey117PjLZnDbLiQEKjQ/fNJTjuq4HSqgFA+UNSwZT8D7dxxbnuSBMsa1lrWzKlQg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.25.7", - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25", + "@babel/parser": "^7.28.0", + "@babel/types": "^7.28.0", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" }, "engines": { @@ -143,14 +146,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.7.tgz", - "integrity": "sha512-DniTEax0sv6isaw6qSQSfV4gVRNtw2rte8HHM45t9ZR0xILaufBRNkpMifCRiAPyvL4ACD6v0gfCwCmtOQaV4A==", + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz", + "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.25.7", - "@babel/helper-validator-option": "^7.25.7", + "@babel/compat-data": "^7.27.2", + "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -169,31 +172,40 @@ "semver": "bin/semver.js" } }, + "node_modules/@babel/helper-globals": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", + "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-module-imports": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.7.tgz", - "integrity": "sha512-o0xCgpNmRohmnoWKQ0Ij8IdddjyBFE4T2kagL/x6M3+4zUgc+4qTOUBoNe4XxDskt1HPKO007ZPiMgLDq2s7Kw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz", + "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.25.7", - "@babel/types": "^7.25.7" + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.7.tgz", - "integrity": "sha512-k/6f8dKG3yDz/qCwSM+RKovjMix563SLxQFo0UhRNo239SP6n9u5/eLtKD6EAjwta2JHJ49CsD8pms2HdNiMMQ==", + "version": "7.27.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz", + "integrity": "sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.25.7", - "@babel/helper-simple-access": "^7.25.7", - "@babel/helper-validator-identifier": "^7.25.7", - "@babel/traverse": "^7.25.7" + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1", + "@babel/traverse": "^7.27.3" }, "engines": { "node": ">=6.9.0" @@ -203,25 +215,11 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.7.tgz", - "integrity": "sha512-eaPZai0PiqCi09pPs3pAFfl/zYgGaE6IdXtYvmf0qlcDTd3WCtO7JWCcRd64e0EQrcYgiHibEZnOGsSY4QSgaw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.25.7.tgz", - "integrity": "sha512-FPGAkJmyoChQeM+ruBGIDyrT2tKfZJO8NcxdC+CWNJi7N8/rZpSxK7yvBJ5O/nF1gfu5KzN7VKG3YVSLFfRSxQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz", + "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==", "dev": true, "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.25.7", - "@babel/types": "^7.25.7" - }, "engines": { "node": ">=6.9.0" } @@ -247,9 +245,9 @@ } }, "node_modules/@babel/helper-validator-option": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.7.tgz", - "integrity": "sha512-ytbPLsm+GjArDYXJ8Ydr1c/KJuutjF2besPNbIZnZ6MKUxi/uTA22t2ymmA4WFjZFpjiAMO0xuuJPqK2nvDVfQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", + "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", "dev": true, "license": "MIT", "engines": { @@ -257,27 +255,27 @@ } }, "node_modules/@babel/helpers": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz", - "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==", + "version": "7.27.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.6.tgz", + "integrity": "sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug==", "dev": true, "license": "MIT", "dependencies": { "@babel/template": "^7.27.2", - "@babel/types": "^7.28.4" + "@babel/types": "^7.27.6" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.7.tgz", - "integrity": "sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.9.tgz", + "integrity": "sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.25.7", + "@babel/helper-validator-identifier": "^7.25.9", "chalk": "^2.4.2", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" @@ -365,13 +363,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz", - "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.0.tgz", + "integrity": "sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.28.4" + "@babel/types": "^7.28.0" }, "bin": { "parser": "bin/babel-parser.js" @@ -436,13 +434,13 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.7.tgz", - "integrity": "sha512-AqVo+dguCgmpi/3mYBdu9lkngOBlQ2w2vnNpa6gfiCxQZLzV4ZbhsXitJ2Yblkoe1VQwtHSaNmIaGll/26YWRw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz", + "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.7" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -478,13 +476,13 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.7.tgz", - "integrity": "sha512-ruZOnKO+ajVL/MVx+PwNBPOkrnXTXoWMtte1MBpegfCArhqOe3Bj52avVj1huLLxNKYKXYaSxZ2F+woK1ekXfw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz", + "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.7" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -604,13 +602,13 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.7.tgz", - "integrity": "sha512-rR+5FDjpCHqqZN2bzZm18bVYGaejGq5ZkpVCJLXor/+zlSrSoc4KWcHI0URVWjl/68Dyr1uwZUz/1njycEAv9g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz", + "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.7" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -650,52 +648,43 @@ } }, "node_modules/@babel/traverse": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.7.tgz", - "integrity": "sha512-jatJPT1Zjqvh/1FyJs6qAHL+Dzb7sTb+xr7Q+gM1b+1oBsMsQQ4FkVKb6dFlJvLlVssqkRzV05Jzervt9yhnzg==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.0.tgz", + "integrity": "sha512-mGe7UK5wWyh0bKRfupsUchrQGqvDbZDbKJw+kcRGSmdHVYrv+ltd0pnpDTVpiTqnaBru9iEvA8pz8W46v0Amwg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.25.7", - "@babel/generator": "^7.25.7", - "@babel/parser": "^7.25.7", - "@babel/template": "^7.25.7", - "@babel/types": "^7.25.7", - "debug": "^4.3.1", - "globals": "^11.1.0" + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.0", + "@babel/helper-globals": "^7.28.0", + "@babel/parser": "^7.28.0", + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.0", + "debug": "^4.3.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse/node_modules/@babel/code-frame": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", - "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/highlight": "^7.25.7", - "picocolors": "^1.0.0" + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/traverse/node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/@babel/types": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz", - "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.0.tgz", + "integrity": "sha512-jYnje+JyZG5YThjHiF28oT4SIZLnYOcSBb6+SDaFIyzDVSkXQmQQYclJ2R+YxcdmK0AX6x1E5OQNtuh3jHDrUg==", "dev": true, "license": "MIT", "dependencies": { @@ -810,19 +799,6 @@ "node": ">=12" } }, - "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, "node_modules/@isaacs/cliui/node_modules/ansi-styles": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", @@ -1235,18 +1211,14 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "version": "0.3.12", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.12.tgz", + "integrity": "sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { @@ -1259,27 +1231,17 @@ "node": ">=6.0.0" } }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.4.tgz", + "integrity": "sha512-VT2+G1VQs/9oz078bLrYbecdZKs912zQlkelYpuf+SXF+QvZDYJlbx/LSx+meSAwdDFnF8FVXW92AVjjkVmgFw==", "dev": true, "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "version": "0.3.29", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.29.tgz", + "integrity": "sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1342,9 +1304,9 @@ } }, "node_modules/@npmcli/map-workspaces/node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.3.tgz", + "integrity": "sha512-MCV/fYJEbqx68aE58kv2cA/kiky1G8vux3OR6/jbS+jIMe/6fJWa0DTzJU7dqijOWYwHi1t29FlfYI9uytqlpA==", "dev": true, "license": "MIT", "dependencies": { @@ -1352,9 +1314,10 @@ } }, "node_modules/@npmcli/map-workspaces/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, "license": "ISC", "dependencies": { @@ -1373,13 +1336,13 @@ } }, "node_modules/@npmcli/map-workspaces/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^2.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -1414,6 +1377,7 @@ "integrity": "sha512-oNXsh2ywth5aowwIa7RKtawnkdH6LgU1ztfP9AIUCQCvzysB+WeU8o2kyyosDPwBZutPpjZDKPQGIzzrfTWweQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@octokit/auth-token": "^6.0.0", "@octokit/graphql": "^9.0.1", @@ -2072,19 +2036,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/unicorn-magic": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", - "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@semantic-release/release-notes-generator": { "version": "14.0.3", "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.3.tgz", @@ -2214,9 +2165,9 @@ } }, "node_modules/@types/babel__generator": { - "version": "7.6.8", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", - "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", "dev": true, "license": "MIT", "dependencies": { @@ -2235,9 +2186,9 @@ } }, "node_modules/@types/babel__traverse": { - "version": "7.20.6", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", - "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.7.tgz", + "integrity": "sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==", "dev": true, "license": "MIT", "dependencies": { @@ -2301,16 +2252,19 @@ } }, "node_modules/@types/ms": { - "version": "0.7.34", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", - "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", "license": "MIT" }, "node_modules/@types/node": { - "version": "14.18.63", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", - "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", - "license": "MIT" + "version": "18.19.130", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.130.tgz", + "integrity": "sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==", + "license": "MIT", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/normalize-package-data": { "version": "2.4.4", @@ -2327,9 +2281,9 @@ "license": "MIT" }, "node_modules/@types/tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.0.tgz", - "integrity": "sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", + "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", "license": "MIT" }, "node_modules/@types/yargs": { @@ -2391,6 +2345,7 @@ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true, "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2433,9 +2388,9 @@ } }, "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", + "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "dev": true, "license": "MIT", "dependencies": { @@ -2489,13 +2444,16 @@ } }, "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/ansi-styles": { @@ -2576,14 +2534,15 @@ "license": "MIT" }, "node_modules/axios": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz", - "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz", + "integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==", "license": "MIT", + "peer": true, "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.4", - "proxy-from-env": "^1.1.0" + "follow-redirects": "^1.15.11", + "form-data": "^4.0.5", + "proxy-from-env": "^2.1.0" } }, "node_modules/babel-jest": { @@ -2734,9 +2693,9 @@ "license": "MIT" }, "node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.13.tgz", + "integrity": "sha512-9ZLprWS6EENmhEOpjCYW2c8VkmOvckIJZfkr7rBW6dObmfgJ/L1GpSYW5Hpo9lDz4D1+n0Ckz8rU7FwHDQiG/w==", "dev": true, "license": "MIT", "dependencies": { @@ -2758,9 +2717,9 @@ } }, "node_modules/browserslist": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.0.tgz", - "integrity": "sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A==", + "version": "4.25.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.1.tgz", + "integrity": "sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==", "dev": true, "funding": [ { @@ -2777,11 +2736,12 @@ } ], "license": "MIT", + "peer": true, "dependencies": { - "caniuse-lite": "^1.0.30001663", - "electron-to-chromium": "^1.5.28", - "node-releases": "^2.0.18", - "update-browserslist-db": "^1.1.0" + "caniuse-lite": "^1.0.30001726", + "electron-to-chromium": "^1.5.173", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.3" }, "bin": { "browserslist": "cli.js" @@ -2859,9 +2819,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001668", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001668.tgz", - "integrity": "sha512-nWLrdxqCdblixUO+27JtGJJE/txpJlyUy5YN1u53wLZkP0emYCo5zgS6QYft7VUYR42LGgi/S5hdLZTrnyIddw==", + "version": "1.0.30001727", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001727.tgz", + "integrity": "sha512-pB68nIHmbN6L/4C6MH1DokyR3bYqFwjaSs/sWDHGj4CTcFtQUQMuJftVwWkXq7mNWOybD3KhUv3oWHoGxgP14Q==", "dev": true, "funding": [ { @@ -2923,9 +2883,9 @@ } }, "node_modules/cjs-module-lexer": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz", - "integrity": "sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==", + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz", + "integrity": "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==", "dev": true, "license": "MIT" }, @@ -2992,6 +2952,16 @@ "node": ">=10" } }, + "node_modules/cli-highlight/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, "node_modules/cli-table3": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", @@ -3255,9 +3225,9 @@ "license": "Python-2.0" }, "node_modules/cosmiconfig/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "dev": true, "license": "MIT", "dependencies": { @@ -3351,9 +3321,9 @@ } }, "node_modules/dedent": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", - "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.6.0.tgz", + "integrity": "sha512-F1Z+5UCFpmQUzJa11agbyPVMbpgT/qA3/SKyJ1jyBgm7dUcUEa8v9JwDkerSQXfakBwFljIxhOJqGkjUwZ9FSA==", "dev": true, "license": "MIT", "peerDependencies": { @@ -3464,7 +3434,6 @@ "version": "16.6.1", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", - "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=12" @@ -3547,9 +3516,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.38", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.38.tgz", - "integrity": "sha512-VbeVexmZ1IFh+5EfrYz1I0HTzHVIlJa112UEWhciPyeOcKJGeTv6N8WnG4wsQB81DGCaVEGhpSb6o6a8WYFXXg==", + "version": "1.5.182", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.182.tgz", + "integrity": "sha512-Lv65Btwv9W4J9pyODI6EWpdnhfvrve/us5h1WspW8B2Fb0366REPtY3hX7ounk1CkV/TBjWCEvCBBbYbmV0qCA==", "dev": true, "license": "ISC" }, @@ -3595,9 +3564,9 @@ } }, "node_modules/env-ci": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.1.0.tgz", - "integrity": "sha512-Z8dnwSDbV1XYM9SBF2J0GcNVvmfmfh3a49qddGIROhBoVro6MZVTji15z/sJbQ2ko2ei8n988EU1wzoLU/tF+g==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.1.1.tgz", + "integrity": "sha512-mT3ks8F0kwpo7SYNds6nWj0PaRh+qJxIeBVBXAKTN9hphAzZv7s0QAZQbqnB1fAv/r4pJUGE15BV9UrS31FP2w==", "dev": true, "license": "MIT", "dependencies": { @@ -3860,6 +3829,7 @@ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "7.12.11", "@eslint/eslintrc": "^0.4.3", @@ -4348,11 +4318,21 @@ "license": "MIT" }, "node_modules/fast-uri": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.2.tgz", - "integrity": "sha512-GR6f0hD7XXyNJa25Tb9BuIdN0tdr+0BMi6/CJPH3wJO1JjNG3n/VsSw38AwRdKZABm8lGbPfakLRkYzx2V9row==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", + "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", "dev": true, - "license": "MIT" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" }, "node_modules/fastq": { "version": "1.19.1", @@ -4404,9 +4384,9 @@ } }, "node_modules/file-type": { - "version": "21.3.2", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.2.tgz", - "integrity": "sha512-DLkUvGwep3poOV2wpzbHCOnSKGk1LzyXTv+aHFgN2VFl96wnp8YA9YjO2qPzg5PuL8q/SW9Pdi6WTkYOIh995w==", + "version": "21.3.4", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.4.tgz", + "integrity": "sha512-Ievi/yy8DS3ygGvT47PjSfdFoX+2isQueoYP1cntFW1JLYAuS4GD7NUPGg4zv2iZfV52uDyk5w5Z0TdpRS6Q1g==", "license": "MIT", "dependencies": { "@tokenizer/inflate": "^0.4.1", @@ -4449,9 +4429,9 @@ } }, "node_modules/find-up-simple": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz", - "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.1.tgz", + "integrity": "sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==", "dev": true, "license": "MIT", "engines": { @@ -4494,16 +4474,16 @@ } }, "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", "dev": true, "license": "ISC" }, "node_modules/follow-redirects": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", - "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", + "version": "1.15.11", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", + "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==", "funding": [ { "type": "individual", @@ -4551,16 +4531,16 @@ } }, "node_modules/form-data": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", - "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", - "hasown": "^2.0.4", - "mime-types": "^2.1.35" + "hasown": "^2.0.2", + "mime-types": "^2.1.12" }, "engines": { "node": ">= 6" @@ -4611,9 +4591,9 @@ } }, "node_modules/fs-extra": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", "dev": true, "license": "MIT", "dependencies": { @@ -4771,29 +4751,6 @@ "traverse": "0.6.8" } }, - "node_modules/git-log-parser/node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dev": true, - "license": "MIT", - "dependencies": { - "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" - } - }, - "node_modules/git-log-parser/node_modules/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==", - "dev": true, - "license": "MIT" - }, "node_modules/git-log-parser/node_modules/split2": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz", @@ -4804,27 +4761,6 @@ "through2": "~2.0.0" } }, - "node_modules/git-log-parser/node_modules/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==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/git-log-parser/node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -4933,19 +4869,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/globby/node_modules/unicorn-magic": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", - "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -4966,9 +4889,9 @@ "license": "ISC" }, "node_modules/handlebars": { - "version": "4.7.8", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", - "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", + "version": "4.7.9", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", + "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5025,9 +4948,9 @@ } }, "node_modules/hasown": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", - "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -5125,199 +5048,77 @@ } }, "node_modules/ibm-cloud-sdk-core": { - "version": "5.4.20", - "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-5.4.20.tgz", - "integrity": "sha512-3jdfmJvV67DOlzHfNgLFkRgitmly/qlq/MBqfVuFEugNe4zrYQar8IRIfby635ZpbKR4PmdmRjIjn5f0kQy2Ig==", + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-5.4.11.tgz", + "integrity": "sha512-UYm6i3OCcQ1sBOVIJh0gcwCNltiGCf7QBCPaDtqCXuHIPbn8m9sKqVBqfrgFuQpenAak/Yv/450Vw+tC59XVIQ==", "license": "Apache-2.0", "dependencies": { - "@types/debug": "4.1.12", - "@types/node": "18.19.80", - "@types/tough-cookie": "4.0.0", - "axios": "1.16.1", - "camelcase": "6.3.0", - "debug": "4.3.4", - "dotenv": "16.4.5", + "@types/debug": "^4.1.12", + "@types/node": "^18.19.80", + "@types/tough-cookie": "^4.0.0", + "axios": "1.15.0", + "camelcase": "^6.3.0", + "debug": "^4.3.4", + "dotenv": "^16.4.5", "extend": "3.0.2", - "file-type": "21.3.2", - "form-data": "4.0.4", + "file-type": "^21.3.2", + "form-data": "^4.0.4", "isstream": "0.1.2", - "jsonwebtoken": "9.0.3", - "load-esm": "1.0.3", + "jsonwebtoken": "^9.0.3", + "load-esm": "^1.0.3", "mime-types": "2.1.35", - "retry-axios": "2.6.0", - "tough-cookie": "4.1.3" + "retry-axios": "^2.6.0", + "tough-cookie": "^4.1.3" }, "engines": { "node": ">=20" } }, - "node_modules/ibm-cloud-sdk-core/node_modules/@types/node": { - "version": "18.19.80", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.80.tgz", - "integrity": "sha512-kEWeMwMeIvxYkeg1gTc01awpwLbfMRZXdIhwRcakd/KlK53jmRC26LqcbIt7fnAQTu5GzlnWmzA3H6+l1u6xxQ==", - "license": "MIT", - "dependencies": { - "undici-types": "~5.26.4" - } + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" }, - "node_modules/ibm-cloud-sdk-core/node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, "license": "MIT", - "dependencies": { - "debug": "4" - }, "engines": { - "node": ">= 6.0.0" + "node": ">= 4" } }, - "node_modules/ibm-cloud-sdk-core/node_modules/axios": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.16.1.tgz", - "integrity": "sha512-caYkukvroVPO8KrzuJEb50Hm07KwfBZPEC3VeFHTsqWHvKTsy54hjJz9BS/cdaypROE2rH6xvm9mHX4fgWkr3A==", - "license": "MIT", + "node_modules/ignore-walk": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", + "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", + "dev": true, + "license": "ISC", "dependencies": { - "follow-redirects": "^1.16.0", - "form-data": "^4.0.5", - "https-proxy-agent": "^5.0.1", - "proxy-from-env": "^2.1.0" + "minimatch": "^3.0.4" } }, - "node_modules/ibm-cloud-sdk-core/node_modules/axios/node_modules/form-data": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", - "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "es-set-tostringtag": "^2.1.0", - "hasown": "^2.0.4", - "mime-types": "^2.1.35" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/ibm-cloud-sdk-core/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/ibm-cloud-sdk-core/node_modules/dotenv": { - "version": "16.4.5", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", - "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://dotenvx.com" - } - }, - "node_modules/ibm-cloud-sdk-core/node_modules/form-data": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", - "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "es-set-tostringtag": "^2.1.0", - "hasown": "^2.0.2", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/ibm-cloud-sdk-core/node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "license": "MIT", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/ibm-cloud-sdk-core/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "license": "MIT" - }, - "node_modules/ibm-cloud-sdk-core/node_modules/proxy-from-env": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", - "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/ignore-walk": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", - "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "minimatch": "^3.0.4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, "license": "MIT", "dependencies": { "parent-module": "^1.0.0", @@ -5396,9 +5197,9 @@ } }, "node_modules/index-to-position": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-0.1.2.tgz", - "integrity": "sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.1.0.tgz", + "integrity": "sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==", "dev": true, "license": "MIT", "engines": { @@ -5473,9 +5274,9 @@ } }, "node_modules/installed-check-core/node_modules/picomatch": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", - "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", "dev": true, "license": "MIT", "engines": { @@ -5523,9 +5324,9 @@ "license": "MIT" }, "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", "dev": true, "license": "MIT", "dependencies": { @@ -6080,14 +5881,15 @@ } }, "node_modules/jest-message-util/node_modules/@babel/code-frame": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", - "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/highlight": "^7.25.7", - "picocolors": "^1.0.0" + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" }, "engines": { "node": ">=6.9.0" @@ -6366,9 +6168,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", "dev": true, "license": "MIT", "dependencies": { @@ -6380,9 +6182,9 @@ } }, "node_modules/jsesc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "dev": true, "license": "MIT", "bin": { @@ -6643,16 +6445,16 @@ } }, "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "dev": true, "license": "MIT" }, "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz", + "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==", "dev": true, "license": "MIT" }, @@ -6775,6 +6577,7 @@ "integrity": "sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA==", "dev": true, "license": "MIT", + "peer": true, "bin": { "marked": "bin/marked.js" }, @@ -6820,19 +6623,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/marked-terminal/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, "node_modules/marked-terminal/node_modules/chalk": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", @@ -6947,9 +6737,9 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "dev": true, "license": "ISC", "dependencies": { @@ -7019,9 +6809,9 @@ "license": "MIT" }, "node_modules/nock": { - "version": "13.5.5", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.5.tgz", - "integrity": "sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA==", + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.6.tgz", + "integrity": "sha512-o2zOYiCpzRqSzPj0Zt/dQ/DqZeYoaQ7TUonc/xUPjCGl9WeHpNbxgVvOquXYAaJzI0M9BXV3HTzG0p8IUAbBTQ==", "dev": true, "license": "MIT", "dependencies": { @@ -7057,9 +6847,9 @@ "license": "MIT" }, "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", "dev": true, "license": "MIT" }, @@ -7087,9 +6877,9 @@ } }, "node_modules/npm": { - "version": "10.9.3", - "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.3.tgz", - "integrity": "sha512-6Eh1u5Q+kIVXeA8e7l2c/HpnFFcwrkt37xDMujD5be1gloWa9p6j3Fsv3mByXXmqJHy+2cElRMML8opNT7xIJQ==", + "version": "10.9.8", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.8.tgz", + "integrity": "sha512-fYwb6ODSmHkqrJQQaCxY3M2lPf/mpgC7ik0HSzzIwG5CGtabRp4bNqikatvCoT42b5INQSqudVH0R7yVmC9hVg==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -7171,24 +6961,24 @@ ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^8.0.1", + "@npmcli/arborist": "^8.0.5", "@npmcli/config": "^9.0.0", "@npmcli/fs": "^4.0.0", "@npmcli/map-workspaces": "^4.0.2", "@npmcli/package-json": "^6.2.0", - "@npmcli/promise-spawn": "^8.0.2", + "@npmcli/promise-spawn": "^8.0.3", "@npmcli/redact": "^3.2.2", "@npmcli/run-script": "^9.1.0", "@sigstore/tuf": "^3.1.1", "abbrev": "^3.0.1", "archy": "~1.0.0", "cacache": "^19.0.1", - "chalk": "^5.4.1", - "ci-info": "^4.2.0", + "chalk": "^5.6.2", + "ci-info": "^4.4.0", "cli-columns": "^4.0.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3", - "glob": "^10.4.5", + "glob": "^10.5.0", "graceful-fs": "^4.2.11", "hosted-git-info": "^8.1.0", "ini": "^5.0.0", @@ -7196,46 +6986,46 @@ "is-cidr": "^5.1.1", "json-parse-even-better-errors": "^4.0.0", "libnpmaccess": "^9.0.0", - "libnpmdiff": "^7.0.1", - "libnpmexec": "^9.0.1", - "libnpmfund": "^6.0.1", + "libnpmdiff": "^7.0.5", + "libnpmexec": "^9.0.5", + "libnpmfund": "^6.0.5", "libnpmhook": "^11.0.0", "libnpmorg": "^7.0.0", - "libnpmpack": "^8.0.1", - "libnpmpublish": "^10.0.1", + "libnpmpack": "^8.0.5", + "libnpmpublish": "^10.0.2", "libnpmsearch": "^8.0.0", "libnpmteam": "^7.0.0", "libnpmversion": "^7.0.0", "make-fetch-happen": "^14.0.3", - "minimatch": "^9.0.5", - "minipass": "^7.1.1", + "minimatch": "^9.0.9", + "minipass": "^7.1.3", "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", - "node-gyp": "^11.2.0", + "node-gyp": "^11.5.0", "nopt": "^8.1.0", - "normalize-package-data": "^7.0.0", + "normalize-package-data": "^7.0.1", "npm-audit-report": "^6.0.0", - "npm-install-checks": "^7.1.1", + "npm-install-checks": "^7.1.2", "npm-package-arg": "^12.0.2", "npm-pick-manifest": "^10.0.0", "npm-profile": "^11.0.1", "npm-registry-fetch": "^18.0.2", "npm-user-validate": "^3.0.0", - "p-map": "^7.0.3", + "p-map": "^7.0.4", "pacote": "^19.0.1", "parse-conflict-json": "^4.0.0", "proc-log": "^5.0.0", "qrcode-terminal": "^0.12.0", "read": "^4.1.0", - "semver": "^7.7.2", + "semver": "^7.7.4", "spdx-expression-parse": "^4.0.0", "ssri": "^12.0.0", "supports-color": "^9.4.0", - "tar": "^6.2.1", + "tar": "^7.5.11", "text-table": "~0.2.0", "tiny-relative-date": "^1.3.0", "treeverse": "^3.0.0", - "validate-npm-package-name": "^6.0.1", + "validate-npm-package-name": "^6.0.2", "which": "^5.0.0", "write-file-atomic": "^6.0.0" }, @@ -7288,7 +7078,7 @@ } }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.1.0", + "version": "6.2.2", "dev": true, "inBundle": true, "license": "MIT", @@ -7323,12 +7113,12 @@ } }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi": { - "version": "7.1.0", + "version": "7.2.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "ansi-regex": "^6.0.1" + "ansi-regex": "^6.2.2" }, "engines": { "node": ">=12" @@ -7372,7 +7162,7 @@ } }, "node_modules/npm/node_modules/@npmcli/arborist": { - "version": "8.0.1", + "version": "8.0.5", "dev": true, "inBundle": true, "license": "ISC", @@ -7407,6 +7197,7 @@ "proggy": "^3.0.0", "promise-all-reject-late": "^1.0.0", "promise-call-limit": "^3.0.1", + "promise-retry": "^2.0.1", "read-package-json-fast": "^4.0.0", "semver": "^7.3.7", "ssri": "^12.0.0", @@ -7518,7 +7309,7 @@ } }, "node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote": { - "version": "20.0.0", + "version": "20.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -7539,7 +7330,7 @@ "promise-retry": "^2.0.1", "sigstore": "^3.0.0", "ssri": "^12.0.0", - "tar": "^6.1.11" + "tar": "^7.5.10" }, "bin": { "pacote": "bin/index.js" @@ -7585,7 +7376,7 @@ } }, "node_modules/npm/node_modules/@npmcli/promise-spawn": { - "version": "8.0.2", + "version": "8.0.3", "dev": true, "inBundle": true, "license": "ISC", @@ -7644,6 +7435,27 @@ "node": ">=14" } }, + "node_modules/npm/node_modules/@sigstore/bundle": { + "version": "3.1.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.4.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@sigstore/core": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, "node_modules/npm/node_modules/@sigstore/protobuf-specs": { "version": "0.4.3", "dev": true, @@ -7653,6 +7465,23 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/npm/node_modules/@sigstore/sign": { + "version": "3.1.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.0", + "make-fetch-happen": "^14.0.2", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, "node_modules/npm/node_modules/@sigstore/tuf": { "version": "3.1.1", "dev": true, @@ -7666,6 +7495,20 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/npm/node_modules/@sigstore/verify": { + "version": "2.1.1", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, "node_modules/npm/node_modules/@tufjs/canonical-json": { "version": "2.0.0", "dev": true, @@ -7685,7 +7528,7 @@ } }, "node_modules/npm/node_modules/agent-base": { - "version": "7.1.3", + "version": "7.1.4", "dev": true, "inBundle": true, "license": "MIT", @@ -7703,7 +7546,7 @@ } }, "node_modules/npm/node_modules/ansi-styles": { - "version": "6.2.1", + "version": "6.2.3", "dev": true, "inBundle": true, "license": "MIT", @@ -7715,7 +7558,7 @@ } }, "node_modules/npm/node_modules/aproba": { - "version": "2.0.0", + "version": "2.1.0", "dev": true, "inBundle": true, "license": "ISC" @@ -7792,58 +7635,8 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/cacache/node_modules/chownr": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/npm/node_modules/cacache/node_modules/mkdirp": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "bin": { - "mkdirp": "dist/cjs/src/bin.js" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/cacache/node_modules/tar": { - "version": "7.4.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@isaacs/fs-minipass": "^4.0.0", - "chownr": "^3.0.0", - "minipass": "^7.1.2", - "minizlib": "^3.0.1", - "mkdirp": "^3.0.1", - "yallist": "^5.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/npm/node_modules/cacache/node_modules/yallist": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, "node_modules/npm/node_modules/chalk": { - "version": "5.4.1", + "version": "5.6.2", "dev": true, "inBundle": true, "license": "MIT", @@ -7855,16 +7648,16 @@ } }, "node_modules/npm/node_modules/chownr": { - "version": "2.0.0", + "version": "3.0.0", "dev": true, "inBundle": true, - "license": "ISC", + "license": "BlueOak-1.0.0", "engines": { - "node": ">=10" + "node": ">=18" } }, "node_modules/npm/node_modules/ci-info": { - "version": "4.2.0", + "version": "4.4.0", "dev": true, "funding": [ { @@ -7978,7 +7771,7 @@ } }, "node_modules/npm/node_modules/debug": { - "version": "4.4.1", + "version": "4.4.3", "dev": true, "inBundle": true, "license": "MIT", @@ -7995,7 +7788,7 @@ } }, "node_modules/npm/node_modules/diff": { - "version": "5.2.0", + "version": "5.2.2", "dev": true, "inBundle": true, "license": "BSD-3-Clause", @@ -8041,7 +7834,7 @@ "license": "MIT" }, "node_modules/npm/node_modules/exponential-backoff": { - "version": "3.1.2", + "version": "3.1.3", "dev": true, "inBundle": true, "license": "Apache-2.0" @@ -8055,6 +7848,23 @@ "node": ">= 4.9.1" } }, + "node_modules/npm/node_modules/fdir": { + "version": "6.5.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, "node_modules/npm/node_modules/foreground-child": { "version": "3.3.1", "dev": true, @@ -8084,7 +7894,7 @@ } }, "node_modules/npm/node_modules/glob": { - "version": "10.4.5", + "version": "10.5.0", "dev": true, "inBundle": true, "license": "ISC", @@ -8215,14 +8025,10 @@ } }, "node_modules/npm/node_modules/ip-address": { - "version": "9.0.5", + "version": "10.1.0", "dev": true, "inBundle": true, "license": "MIT", - "dependencies": { - "jsbn": "1.1.0", - "sprintf-js": "^1.1.3" - }, "engines": { "node": ">= 12" } @@ -8281,12 +8087,6 @@ "@pkgjs/parseargs": "^0.11.0" } }, - "node_modules/npm/node_modules/jsbn": { - "version": "1.1.0", - "dev": true, - "inBundle": true, - "license": "MIT" - }, "node_modules/npm/node_modules/json-parse-even-better-errors": { "version": "4.0.0", "dev": true, @@ -8340,31 +8140,31 @@ } }, "node_modules/npm/node_modules/libnpmdiff": { - "version": "7.0.1", + "version": "7.0.5", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.1", + "@npmcli/arborist": "^8.0.5", "@npmcli/installed-package-contents": "^3.0.0", "binary-extensions": "^2.3.0", "diff": "^5.1.0", "minimatch": "^9.0.4", "npm-package-arg": "^12.0.0", "pacote": "^19.0.0", - "tar": "^6.2.1" + "tar": "^7.5.11" }, "engines": { "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "9.0.1", + "version": "9.0.5", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.1", + "@npmcli/arborist": "^8.0.5", "@npmcli/run-script": "^9.0.1", "ci-info": "^4.0.0", "npm-package-arg": "^12.0.0", @@ -8380,12 +8180,12 @@ } }, "node_modules/npm/node_modules/libnpmfund": { - "version": "6.0.1", + "version": "6.0.5", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.1" + "@npmcli/arborist": "^8.0.5" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -8418,12 +8218,12 @@ } }, "node_modules/npm/node_modules/libnpmpack": { - "version": "8.0.1", + "version": "8.0.5", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.1", + "@npmcli/arborist": "^8.0.5", "@npmcli/run-script": "^9.0.1", "npm-package-arg": "^12.0.0", "pacote": "^19.0.0" @@ -8433,7 +8233,7 @@ } }, "node_modules/npm/node_modules/libnpmpublish": { - "version": "10.0.1", + "version": "10.0.2", "dev": true, "inBundle": true, "license": "ISC", @@ -8520,22 +8320,13 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/npm/node_modules/minimatch": { - "version": "9.0.5", + "version": "9.0.9", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^2.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -8545,10 +8336,10 @@ } }, "node_modules/npm/node_modules/minipass": { - "version": "7.1.2", + "version": "7.1.3", "dev": true, "inBundle": true, - "license": "ISC", + "license": "BlueOak-1.0.0", "engines": { "node": ">=16 || 14 >=14.17" } @@ -8606,6 +8397,12 @@ "node": ">=8" } }, + "node_modules/npm/node_modules/minipass-flush/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC" + }, "node_modules/npm/node_modules/minipass-pipeline": { "version": "1.2.4", "dev": true, @@ -8630,6 +8427,12 @@ "node": ">=8" } }, + "node_modules/npm/node_modules/minipass-pipeline/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC" + }, "node_modules/npm/node_modules/minipass-sized": { "version": "1.0.3", "dev": true, @@ -8654,8 +8457,14 @@ "node": ">=8" } }, + "node_modules/npm/node_modules/minipass-sized/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC" + }, "node_modules/npm/node_modules/minizlib": { - "version": "3.0.2", + "version": "3.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -8666,18 +8475,6 @@ "node": ">= 18" } }, - "node_modules/npm/node_modules/mkdirp": { - "version": "1.0.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/npm/node_modules/ms": { "version": "2.1.3", "dev": true, @@ -8693,8 +8490,17 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/npm/node_modules/negotiator": { + "version": "1.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/npm/node_modules/node-gyp": { - "version": "11.2.0", + "version": "11.5.0", "dev": true, "inBundle": true, "license": "MIT", @@ -8717,56 +8523,6 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/node-gyp/node_modules/chownr": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/mkdirp": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "bin": { - "mkdirp": "dist/cjs/src/bin.js" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/tar": { - "version": "7.4.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@isaacs/fs-minipass": "^4.0.0", - "chownr": "^3.0.0", - "minipass": "^7.1.2", - "minizlib": "^3.0.1", - "mkdirp": "^3.0.1", - "yallist": "^5.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/yallist": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, "node_modules/npm/node_modules/nopt": { "version": "8.1.0", "dev": true, @@ -8783,7 +8539,7 @@ } }, "node_modules/npm/node_modules/normalize-package-data": { - "version": "7.0.0", + "version": "7.0.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -8818,7 +8574,7 @@ } }, "node_modules/npm/node_modules/npm-install-checks": { - "version": "7.1.1", + "version": "7.1.2", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -8922,7 +8678,7 @@ } }, "node_modules/npm/node_modules/p-map": { - "version": "7.0.3", + "version": "7.0.4", "dev": true, "inBundle": true, "license": "MIT", @@ -8940,7 +8696,7 @@ "license": "BlueOak-1.0.0" }, "node_modules/npm/node_modules/pacote": { - "version": "19.0.1", + "version": "19.0.2", "dev": true, "inBundle": true, "license": "ISC", @@ -8961,7 +8717,7 @@ "promise-retry": "^2.0.1", "sigstore": "^3.0.0", "ssri": "^12.0.0", - "tar": "^6.1.11" + "tar": "^7.5.10" }, "bin": { "pacote": "bin/index.js" @@ -9009,8 +8765,21 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/npm/node_modules/picomatch": { + "version": "4.0.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/npm/node_modules/postcss-selector-parser": { - "version": "7.1.0", + "version": "7.1.1", "dev": true, "inBundle": true, "license": "MIT", @@ -9142,7 +8911,7 @@ "optional": true }, "node_modules/npm/node_modules/semver": { - "version": "7.7.2", + "version": "7.7.4", "dev": true, "inBundle": true, "license": "ISC", @@ -9195,61 +8964,9 @@ "@sigstore/bundle": "^3.1.0", "@sigstore/core": "^2.0.0", "@sigstore/protobuf-specs": "^0.4.0", - "@sigstore/sign": "^3.1.0", - "@sigstore/tuf": "^3.1.0", - "@sigstore/verify": "^2.1.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle": { - "version": "3.1.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/protobuf-specs": "^0.4.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign": { - "version": "3.1.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/bundle": "^3.1.0", - "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.4.0", - "make-fetch-happen": "^14.0.2", - "proc-log": "^5.0.0", - "promise-retry": "^2.0.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify": { - "version": "2.1.1", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/bundle": "^3.1.0", - "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.4.1" + "@sigstore/sign": "^3.1.0", + "@sigstore/tuf": "^3.1.0", + "@sigstore/verify": "^2.1.0" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -9266,12 +8983,12 @@ } }, "node_modules/npm/node_modules/socks": { - "version": "2.8.5", + "version": "2.8.7", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "ip-address": "^9.0.5", + "ip-address": "^10.0.1", "smart-buffer": "^4.2.0" }, "engines": { @@ -9330,17 +9047,11 @@ } }, "node_modules/npm/node_modules/spdx-license-ids": { - "version": "3.0.21", + "version": "3.0.23", "dev": true, "inBundle": true, "license": "CC0-1.0" }, - "node_modules/npm/node_modules/sprintf-js": { - "version": "1.1.3", - "dev": true, - "inBundle": true, - "license": "BSD-3-Clause" - }, "node_modules/npm/node_modules/ssri": { "version": "12.0.0", "dev": true, @@ -9420,78 +9131,19 @@ } }, "node_modules/npm/node_modules/tar": { - "version": "6.2.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^5.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/tar/node_modules/fs-minipass": { - "version": "2.1.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { - "version": "3.3.6", + "version": "7.5.11", "dev": true, "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/tar/node_modules/minipass": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/tar/node_modules/minizlib": { - "version": "2.1.2", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", + "license": "BlueOak-1.0.0", "dependencies": { - "yallist": "^4.0.0" + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.1.0", + "yallist": "^5.0.0" }, "engines": { - "node": ">=8" + "node": ">=18" } }, "node_modules/npm/node_modules/text-table": { @@ -9507,13 +9159,13 @@ "license": "MIT" }, "node_modules/npm/node_modules/tinyglobby": { - "version": "0.2.14", + "version": "0.2.15", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "fdir": "^6.4.4", - "picomatch": "^4.0.2" + "fdir": "^6.5.0", + "picomatch": "^4.0.3" }, "engines": { "node": ">=12.0.0" @@ -9522,32 +9174,6 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/npm/node_modules/tinyglobby/node_modules/fdir": { - "version": "6.4.6", - "dev": true, - "inBundle": true, - "license": "MIT", - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/npm/node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.2", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/npm/node_modules/treeverse": { "version": "3.0.0", "dev": true, @@ -9558,14 +9184,14 @@ } }, "node_modules/npm/node_modules/tuf-js": { - "version": "3.0.1", + "version": "3.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@tufjs/models": "3.0.1", - "debug": "^4.3.6", - "make-fetch-happen": "^14.0.1" + "debug": "^4.4.1", + "make-fetch-happen": "^14.0.3" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -9635,7 +9261,7 @@ } }, "node_modules/npm/node_modules/validate-npm-package-name": { - "version": "6.0.1", + "version": "6.0.2", "dev": true, "inBundle": true, "license": "ISC", @@ -9665,12 +9291,12 @@ } }, "node_modules/npm/node_modules/which/node_modules/isexe": { - "version": "3.1.1", + "version": "3.1.5", "dev": true, "inBundle": true, - "license": "ISC", + "license": "BlueOak-1.0.0", "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/npm/node_modules/wrap-ansi": { @@ -9724,7 +9350,7 @@ } }, "node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.1.0", + "version": "6.2.2", "dev": true, "inBundle": true, "license": "MIT", @@ -9759,12 +9385,12 @@ } }, "node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "7.1.0", + "version": "7.2.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "ansi-regex": "^6.0.1" + "ansi-regex": "^6.2.2" }, "engines": { "node": ">=12" @@ -9787,10 +9413,13 @@ } }, "node_modules/npm/node_modules/yallist": { - "version": "4.0.0", + "version": "5.0.0", "dev": true, "inBundle": true, - "license": "ISC" + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } }, "node_modules/object-assign": { "version": "4.1.1", @@ -10118,9 +9747,9 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", "dev": true, "license": "MIT", "engines": { @@ -10141,9 +9770,9 @@ } }, "node_modules/pirates": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", + "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", "dev": true, "license": "MIT", "engines": { @@ -10276,6 +9905,7 @@ "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", "dev": true, "license": "MIT", + "peer": true, "bin": { "prettier": "bin-prettier.js" }, @@ -10392,10 +10022,13 @@ "license": "ISC" }, "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "license": "MIT" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", + "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", + "license": "MIT", + "engines": { + "node": ">=10" + } }, "node_modules/psl": { "version": "1.15.0", @@ -10538,9 +10171,9 @@ } }, "node_modules/read-package-up/node_modules/type-fest": { - "version": "4.26.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.26.1.tgz", - "integrity": "sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==", + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -10571,15 +10204,15 @@ } }, "node_modules/read-pkg/node_modules/@babel/code-frame": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", - "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.25.9", + "@babel/helper-validator-identifier": "^7.27.1", "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" + "picocolors": "^1.1.1" }, "engines": { "node": ">=6.9.0" @@ -10621,15 +10254,15 @@ } }, "node_modules/read-pkg/node_modules/parse-json": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.1.0.tgz", - "integrity": "sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", + "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.22.13", - "index-to-position": "^0.1.2", - "type-fest": "^4.7.1" + "@babel/code-frame": "^7.26.2", + "index-to-position": "^1.1.0", + "type-fest": "^4.39.1" }, "engines": { "node": ">=18" @@ -10639,9 +10272,9 @@ } }, "node_modules/read-pkg/node_modules/type-fest": { - "version": "4.26.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.26.1.tgz", - "integrity": "sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==", + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -10651,6 +10284,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/read-pkg/node_modules/unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/read-workspaces": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/read-workspaces/-/read-workspaces-1.2.2.tgz", @@ -10688,9 +10334,9 @@ "license": "Python-2.0" }, "node_modules/read-yaml-file/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "dev": true, "license": "MIT", "dependencies": { @@ -10753,19 +10399,22 @@ "license": "MIT" }, "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", "dev": true, "license": "MIT", "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -10804,9 +10453,9 @@ } }, "node_modules/resolve.exports": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", - "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", + "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", "dev": true, "license": "MIT", "engines": { @@ -10903,6 +10552,7 @@ "integrity": "sha512-g7RssbTAbir1k/S7uSwSVZFfFXwpomUB9Oas0+xi9KStSCmeDXcA7rNhiskjLqvUe/Evhx8fVCT16OSa34eM5g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@semantic-release/commit-analyzer": "^13.0.0-beta.1", "@semantic-release/error": "^4.0.0", @@ -11011,24 +10661,24 @@ } }, "node_modules/semantic-release/node_modules/execa": { - "version": "9.5.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-9.5.1.tgz", - "integrity": "sha512-QY5PPtSonnGwhhHDNI7+3RvY285c7iuJFFB+lU+oEzMY/gEGJ808owqJsrr8Otd1E/x07po1LkUBmdAc5duPAg==", + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.6.0.tgz", + "integrity": "sha512-jpWzZ1ZhwUmeWRhS7Qv3mhpOhLfwI+uAX4e5fOcXqwMR7EcJ0pj2kV1CVzHVMX/LphnKWD3LObjZCoJ71lKpHw==", "dev": true, "license": "MIT", "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", - "cross-spawn": "^7.0.3", + "cross-spawn": "^7.0.6", "figures": "^6.1.0", "get-stream": "^9.0.0", - "human-signals": "^8.0.0", + "human-signals": "^8.0.1", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^6.0.0", - "pretty-ms": "^9.0.0", + "pretty-ms": "^9.2.0", "signal-exit": "^4.1.0", "strip-final-newline": "^4.0.0", - "yoctocolors": "^2.0.0" + "yoctocolors": "^2.1.1" }, "engines": { "node": "^18.19.0 || >=20.5.0" @@ -11055,9 +10705,9 @@ } }, "node_modules/semantic-release/node_modules/human-signals": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.0.tgz", - "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz", + "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==", "dev": true, "license": "Apache-2.0", "engines": { @@ -11169,23 +10819,10 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/unicorn-magic": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", - "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -11465,9 +11102,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.20", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", - "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.21.tgz", + "integrity": "sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==", "dev": true, "license": "CC0-1.0" }, @@ -11617,6 +11254,26 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/strip-bom": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", @@ -11727,9 +11384,9 @@ } }, "node_modules/table": { - "version": "6.8.2", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.2.tgz", - "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", + "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -11744,9 +11401,9 @@ } }, "node_modules/table/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "dev": true, "license": "MIT", "dependencies": { @@ -11867,6 +11524,50 @@ "node": ">=0.8" } }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/through2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "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" + } + }, + "node_modules/through2/node_modules/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==", + "dev": true, + "license": "MIT" + }, + "node_modules/through2/node_modules/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/time-span": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/time-span/-/time-span-5.1.0.tgz", @@ -11922,9 +11623,9 @@ } }, "node_modules/tough-cookie": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", - "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", + "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", "license": "BSD-3-Clause", "dependencies": { "psl": "^1.1.33", @@ -12026,6 +11727,7 @@ "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -12077,9 +11779,9 @@ } }, "node_modules/unicorn-magic": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", - "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", "dev": true, "license": "MIT", "engines": { @@ -12123,9 +11825,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", - "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", + "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", "dev": true, "funding": [ { @@ -12144,7 +11846,7 @@ "license": "MIT", "dependencies": { "escalade": "^3.2.0", - "picocolors": "^1.1.0" + "picocolors": "^1.1.1" }, "bin": { "update-browserslist-db": "cli.js" @@ -12394,16 +12096,6 @@ } }, "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs/node_modules/yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", diff --git a/package.json b/package.json index 5aacfb1..c7ab410 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "ibm-vpc", - "version": "0.0.1", + "version": "0.30.1", "description": "IBM Cloud VPC Node.js SDK", "repository": { "type": "git", - "url": "https://github.ibm.com/ibmcloud/vpc-node-sdk" + "url": "https://github.com/IBM/vpc-node-sdk" }, "keywords": [ "ibm" @@ -33,16 +33,16 @@ "node": ">=20.0.0" }, "dependencies": { - "@types/node": "^14.0.0", + "@types/node": "^18.19.80", "extend": "^3.0.2", - "ibm-cloud-sdk-core": "^5.4.20", + "ibm-cloud-sdk-core": "^5.4.11", "uuid": "^9.0.0" }, "devDependencies": { "@ibm-cloud/sdk-test-utilities": "^1.0.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", - "axios": "1.12.2", + "axios": "1.15.0", "dotenv": "^16.4.5", "eslint": "^7.26.0", "eslint-config-google": "^0.14.0", diff --git a/test/unit/vpc.v1.test.js b/test/unit/vpc.v1.test.js index 1521e05..d3cf309 100644 --- a/test/unit/vpc.v1.test.js +++ b/test/unit/vpc.v1.test.js @@ -37,7 +37,7 @@ const vpcServiceOptions = { authenticator: new NoAuthAuthenticator(), url: 'https://us-south.iaas.cloud.ibm.com/v1', generation: 2, - version: '2026-06-23', + version: '2026-03-24', }; const vpcService = new VpcV1(vpcServiceOptions); @@ -68,7 +68,7 @@ describe('VpcV1', () => { mock_createRequest(); // these are changed when passed into the factory/constructor, so re-init requiredGlobals = { - version: '2026-06-23', + version: '2026-03-24', }; }); @@ -1903,9 +1903,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/bare_metal_servers'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"bare_metal_servers":[{"bandwidth":20000,"boot_target":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk"},"cpu":{"architecture":"amd64","core_count":80,"socket_count":4,"threads_per_core":2},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::bare-metal-server:0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","disks":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true"},"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","interface_type":"fcp","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk","size":100}],"enable_secure_boot":false,"firmware":{"update":"none"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","id":"0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":1536,"metadata_service":{"enabled":true,"protocol":"http"},"name":"my-bare-metal-server","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_server/profiles/bx2-metal-192x768","name":"bx2-metal-192x768","resource_type":"bare_metal_server_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"bare_metal_server","status":"deleting","status_reasons":[{"code":"cannot_start_capacity","message":"The bare metal server cannot start as there is no more capacity in this\\nzone for a bare metal server with the requested profile.","more_info":"https://console.bluemix.net/docs/iaas/bare_metal_server.html"}],"trusted_platform_module":{"enabled":true,"mode":"disabled","supported_modes":["disabled"]},"vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"bare_metal_servers":[{"bandwidth":20000,"boot_target":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk"},"cpu":{"architecture":"amd64","core_count":80,"socket_count":4,"threads_per_core":2},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::bare-metal-server:0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","disks":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true"},"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","interface_type":"fcp","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk","size":100}],"enable_secure_boot":false,"firmware":{"update":"none"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","id":"0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":1536,"metadata_service":{"enabled":true,"protocol":"http"},"name":"my-bare-metal-server","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_server/profiles/bx2-metal-192x768","name":"bx2-metal-192x768","resource_type":"bare_metal_server_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"bare_metal_server","status":"deleting","status_reasons":[{"code":"cannot_start_capacity","message":"The bare metal server cannot start as there is no more capacity in this\\nzone for a bare metal server with the requested profile.","more_info":"https://console.bluemix.net/docs/iaas/bare_metal_server.html"}],"trusted_platform_module":{"enabled":true,"mode":"disabled","supported_modes":["disabled"]},"vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; const mockPagerResponse2 = - '{"total_count":2,"limit":1,"bare_metal_servers":[{"bandwidth":20000,"boot_target":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk"},"cpu":{"architecture":"amd64","core_count":80,"socket_count":4,"threads_per_core":2},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::bare-metal-server:0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","disks":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true"},"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","interface_type":"fcp","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk","size":100}],"enable_secure_boot":false,"firmware":{"update":"none"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","id":"0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":1536,"metadata_service":{"enabled":true,"protocol":"http"},"name":"my-bare-metal-server","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_server/profiles/bx2-metal-192x768","name":"bx2-metal-192x768","resource_type":"bare_metal_server_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"bare_metal_server","status":"deleting","status_reasons":[{"code":"cannot_start_capacity","message":"The bare metal server cannot start as there is no more capacity in this\\nzone for a bare metal server with the requested profile.","more_info":"https://console.bluemix.net/docs/iaas/bare_metal_server.html"}],"trusted_platform_module":{"enabled":true,"mode":"disabled","supported_modes":["disabled"]},"vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; + '{"total_count":2,"limit":1,"bare_metal_servers":[{"bandwidth":20000,"boot_target":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk"},"cpu":{"architecture":"amd64","core_count":80,"socket_count":4,"threads_per_core":2},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::bare-metal-server:0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","disks":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true"},"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/disks/0717-3744f199-6ccc-4698-8772-bb3937348c96","id":"0717-3744f199-6ccc-4698-8772-bb3937348c96","interface_type":"fcp","name":"my-bare-metal-server-disk","resource_type":"bare_metal_server_disk","size":100}],"enable_secure_boot":false,"firmware":{"update":"none"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","id":"0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304","lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":1536,"metadata_service":{"enabled":true,"protocol":"http"},"name":"my-bare-metal-server","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_attachments/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"bare_metal_server_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0717-aad10fd7-8a02-4f3e-97f3-b18bd82cf304/network_interfaces/0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","id":"0717-da8c43ec-b6ca-4bd2-871e-72e288c66ee6","name":"my-bare-metal-server-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/bare_metal_server/profiles/bx2-metal-192x768","name":"bx2-metal-192x768","resource_type":"bare_metal_server_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"bare_metal_server","status":"deleting","status_reasons":[{"code":"cannot_start_capacity","message":"The bare metal server cannot start as there is no more capacity in this\\nzone for a bare metal server with the requested profile.","more_info":"https://console.bluemix.net/docs/iaas/bare_metal_server.html"}],"trusted_platform_module":{"enabled":true,"mode":"disabled","supported_modes":["disabled"]},"vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; beforeEach(() => { unmock_createRequest(); @@ -2043,14 +2043,18 @@ describe('VpcV1', () => { name: 'us-south-1', }; - // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById + // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext const virtualNetworkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext const virtualNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // SecurityGroupIdentityById @@ -2745,14 +2749,18 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById + // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext const virtualNetworkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext const virtualNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // ResourceGroupIdentityById @@ -3348,9 +3356,11 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // NetworkInterfaceIPPrototypeReservedIPIdentityById + // NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext const networkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // SecurityGroupIdentityById @@ -5932,9 +5942,11 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPIdentityClusterNetworkInterfacePrimaryIPContextById + // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPPrototypeClusterNetworkInterfacePrimaryIPContext const clusterNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-d4d6489a-3bf5-4104-a33a-3572faf2d117', + address: '10.0.0.5', + auto_delete: false, + name: 'my-cluster-network-subnet-reserved-ip', }; // ClusterNetworkSubnetIdentityById @@ -12334,9 +12346,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/images'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"images":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"catalog_offering":{"managed":false,"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deprecation_at":"2026-01-02T03:04:05.006Z","encryption":"user_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"file":{"checksums":{"sha256":"e992a84f113d3a35d2145ca3e7aca4fc95fe6daf470a08d8af3422ee59c92e15"},"size":1},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","minimum_provisioned_size":24,"name":"my-image","obsolescence_at":"2026-01-02T03:04:05.006Z","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"}},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"image","source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"user_data_format":"cloud_init","visibility":"private","zones":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}]}],"total_count":2,"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"images":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"catalog_offering":{"managed":false,"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deprecation_at":"2026-01-02T03:04:05.006Z","encryption":"user_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"file":{"checksums":{"sha256":"e992a84f113d3a35d2145ca3e7aca4fc95fe6daf470a08d8af3422ee59c92e15"},"size":1},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","minimum_provisioned_size":24,"name":"my-image","obsolescence_at":"2026-01-02T03:04:05.006Z","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"}},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"image","source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"user_data_format":"cloud_init","visibility":"private"}],"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"images":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"catalog_offering":{"managed":false,"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deprecation_at":"2026-01-02T03:04:05.006Z","encryption":"user_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"file":{"checksums":{"sha256":"e992a84f113d3a35d2145ca3e7aca4fc95fe6daf470a08d8af3422ee59c92e15"},"size":1},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","minimum_provisioned_size":24,"name":"my-image","obsolescence_at":"2026-01-02T03:04:05.006Z","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"}},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"image","source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"user_data_format":"cloud_init","visibility":"private","zones":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}]}],"total_count":2,"limit":1}'; + '{"images":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"catalog_offering":{"managed":false,"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deprecation_at":"2026-01-02T03:04:05.006Z","encryption":"user_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"file":{"checksums":{"sha256":"e992a84f113d3a35d2145ca3e7aca4fc95fe6daf470a08d8af3422ee59c92e15"},"size":1},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","minimum_provisioned_size":24,"name":"my-image","obsolescence_at":"2026-01-02T03:04:05.006Z","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"}},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"image","source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"user_data_format":"cloud_init","visibility":"private"}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -12397,7 +12409,7 @@ describe('VpcV1', () => { // ImageAllowedUsePrototype const imageAllowedUsePrototypeModel = { - api_version: '2024-06-23', + api_version: '2026-03-24', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -12697,7 +12709,7 @@ describe('VpcV1', () => { // ImageAllowedUsePatch const imageAllowedUsePatchModel = { - api_version: '2024-06-23', + api_version: '2026-03-24', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -16962,9 +16974,11 @@ describe('VpcV1', () => { preemption: 'delete', }; - // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPIdentityClusterNetworkInterfacePrimaryIPContextById + // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPPrototypeClusterNetworkInterfacePrimaryIPContext const clusterNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-d4d6489a-3bf5-4104-a33a-3572faf2d117', + address: '10.0.0.5', + auto_delete: false, + name: 'my-cluster-network-subnet-reserved-ip', }; // ClusterNetworkSubnetIdentityById @@ -17060,7 +17074,7 @@ describe('VpcV1', () => { // VolumeAllowedUsePrototype const volumeAllowedUsePrototypeModel = { - api_version: '2024-06-23', + api_version: '2026-03-24', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -17116,14 +17130,18 @@ describe('VpcV1', () => { id: 'r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8', }; - // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById + // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext const virtualNetworkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext const virtualNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // SecurityGroupIdentityById @@ -17156,9 +17174,11 @@ describe('VpcV1', () => { virtual_network_interface: instanceNetworkAttachmentPrototypeVirtualNetworkInterfaceModel, }; - // NetworkInterfaceIPPrototypeReservedIPIdentityById + // NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext const networkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // NetworkInterfacePrototype @@ -17197,7 +17217,6 @@ describe('VpcV1', () => { profile: instanceProfileIdentityModel, reservation_affinity: instanceReservationAffinityPrototypeModel, resource_group: resourceGroupIdentityModel, - threads_per_core: 1, total_volume_bandwidth: 500, user_data: '[...]', vcpu: instanceVcpuPrototypeModel, @@ -17570,12 +17589,7 @@ describe('VpcV1', () => { describe('positive tests', () => { function __listInstanceProfilesTest() { // Construct the params object for operation listInstanceProfiles - const start = 'testString'; - const limit = 50; - const listInstanceProfilesParams = { - start, - limit, - }; + const listInstanceProfilesParams = {}; const listInstanceProfilesResult = vpcService.listInstanceProfiles( listInstanceProfilesParams @@ -17595,8 +17609,6 @@ describe('VpcV1', () => { checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); - expect(mockRequestOptions.qs.start).toEqual(start); - expect(mockRequestOptions.qs.limit).toEqual(limit); } test('should pass the right params to createRequest with enable and disable retries', () => { @@ -17635,54 +17647,6 @@ describe('VpcV1', () => { checkForSuccessfulExecution(createRequestMock); }); }); - - describe('InstanceProfilesPager tests', () => { - const serviceUrl = vpcServiceOptions.url; - const path = '/instance/profiles'; - const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"profiles":[{"availability_class":{"default":"standard","type":"enum","values":["standard"]},"bandwidth":{"type":"fixed","value":20000},"cluster_network_attachment_count":{"type":"dependent"},"confidential_compute_modes":{"default":"disabled","type":"enum","values":["disabled"]},"disks":[{"quantity":{"type":"fixed","value":4},"size":{"type":"fixed","value":100},"supported_interface_types":{"default":"nvme","type":"enum","values":["nvme"]}}],"family":"balanced","gpu_count":{"type":"fixed","value":2},"gpu_manufacturer":{"type":"enum","values":["amd"]},"gpu_memory":{"type":"fixed","value":16},"gpu_model":{"type":"enum","values":["Tesla V100"]},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","memory":{"type":"fixed","value":16},"name":"bx2-4x16","network_attachment_count":{"max":5,"min":1,"type":"range"},"network_bandwidth_mode":{"default":"divided","type":"enum","values":["divided"]},"network_interface_count":{"max":5,"min":1,"type":"range"},"numa_count":{"type":"fixed","value":2},"os_architecture":{"default":"amd64","type":"enum","values":["amd64"]},"port_speed":{"type":"fixed","value":1000},"reservation_terms":{"type":"enum","values":["one_year"]},"resource_type":"instance_profile","secure_boot_modes":{"default":false,"type":"enum","values":[true]},"status":"current","supported_cluster_network_profiles":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_network/profiles/h100","name":"h100","resource_type":"cluster_network_profile"}],"supported_vcpu_count":{"type":"enum","values":[6]},"threads_per_core":{"default":7,"type":"enum","values":[6]},"total_volume_bandwidth":{"type":"fixed","value":20000},"vcpu_architecture":{"type":"fixed","value":"amd64"},"vcpu_burst_limit":{"type":"fixed","value":200},"vcpu_count":{"type":"fixed","value":16},"vcpu_manufacturer":{"type":"fixed","value":"intel"},"vcpu_percentage":{"default":7,"type":"enum","values":[6]},"volume_bandwidth_qos_modes":{"default":"pooled","type":"enum","values":["pooled"]},"zones":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}]}]}'; - const mockPagerResponse2 = - '{"total_count":2,"limit":1,"profiles":[{"availability_class":{"default":"standard","type":"enum","values":["standard"]},"bandwidth":{"type":"fixed","value":20000},"cluster_network_attachment_count":{"type":"dependent"},"confidential_compute_modes":{"default":"disabled","type":"enum","values":["disabled"]},"disks":[{"quantity":{"type":"fixed","value":4},"size":{"type":"fixed","value":100},"supported_interface_types":{"default":"nvme","type":"enum","values":["nvme"]}}],"family":"balanced","gpu_count":{"type":"fixed","value":2},"gpu_manufacturer":{"type":"enum","values":["amd"]},"gpu_memory":{"type":"fixed","value":16},"gpu_model":{"type":"enum","values":["Tesla V100"]},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","memory":{"type":"fixed","value":16},"name":"bx2-4x16","network_attachment_count":{"max":5,"min":1,"type":"range"},"network_bandwidth_mode":{"default":"divided","type":"enum","values":["divided"]},"network_interface_count":{"max":5,"min":1,"type":"range"},"numa_count":{"type":"fixed","value":2},"os_architecture":{"default":"amd64","type":"enum","values":["amd64"]},"port_speed":{"type":"fixed","value":1000},"reservation_terms":{"type":"enum","values":["one_year"]},"resource_type":"instance_profile","secure_boot_modes":{"default":false,"type":"enum","values":[true]},"status":"current","supported_cluster_network_profiles":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_network/profiles/h100","name":"h100","resource_type":"cluster_network_profile"}],"supported_vcpu_count":{"type":"enum","values":[6]},"threads_per_core":{"default":7,"type":"enum","values":[6]},"total_volume_bandwidth":{"type":"fixed","value":20000},"vcpu_architecture":{"type":"fixed","value":"amd64"},"vcpu_burst_limit":{"type":"fixed","value":200},"vcpu_count":{"type":"fixed","value":16},"vcpu_manufacturer":{"type":"fixed","value":"intel"},"vcpu_percentage":{"default":7,"type":"enum","values":[6]},"volume_bandwidth_qos_modes":{"default":"pooled","type":"enum","values":["pooled"]},"zones":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}]}]}'; - - beforeEach(() => { - unmock_createRequest(); - const scope = nock(serviceUrl) - .get((uri) => uri.includes(path)) - .reply(200, mockPagerResponse1) - .get((uri) => uri.includes(path)) - .reply(200, mockPagerResponse2); - }); - - afterEach(() => { - nock.cleanAll(); - mock_createRequest(); - }); - - test('getNext()', async () => { - const params = { - limit: 10, - }; - const allResults = []; - const pager = new VpcV1.InstanceProfilesPager(vpcService, params); - while (pager.hasNext()) { - const nextPage = await pager.getNext(); - expect(nextPage).not.toBeNull(); - allResults.push(...nextPage); - } - expect(allResults).not.toBeNull(); - expect(allResults).toHaveLength(2); - }); - - test('getAll()', async () => { - const params = { - limit: 10, - }; - const pager = new VpcV1.InstanceProfilesPager(vpcService, params); - const allResults = await pager.getAll(); - expect(allResults).not.toBeNull(); - expect(allResults).toHaveLength(2); - }); - }); }); describe('getInstanceProfile', () => { @@ -17918,9 +17882,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/instances'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"instances":[{"availability":{"class":"standard"},"availability_policy":{"host_failure":"restart","preemption":"delete"},"bandwidth":1000,"boot_volume_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}},"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"cluster_network":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::cluster-network:0717-da0df18c-7598-4633-a648-fdaac28a5573","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_networks/0717-da0df18c-7598-4633-a648-fdaac28a5573","id":"0717-da0df18c-7598-4633-a648-fdaac28a5573","name":"my-cluster-network","resource_type":"cluster_network"},"cluster_network_attachments":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/cluster_network_attachments/0717-fb880975-db45-4459-8548-64e3995ac213","id":"0717-fb880975-db45-4459-8548-64e3995ac213","name":"my-instance-network-attachment","resource_type":"instance_cluster_network_attachment"}],"confidential_compute_mode":"disabled","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","dedicated_host":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host:0717-1e09281b-f177-46fb-baf1-bc152b2e391a","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_hosts/0717-1e09281b-f177-46fb-baf1-bc152b2e391a","id":"0717-1e09281b-f177-46fb-baf1-bc152b2e391a","name":"my-host","resource_type":"dedicated_host"},"disks":[{"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/disks/10c02d81-0ecb-4dc5-897d-28392913b81e","id":"10c02d81-0ecb-4dc5-897d-28392913b81e","interface_type":"nvme","name":"my-instance-disk","resource_type":"instance_disk","size":100}],"enable_secure_boot":true,"gpu":{"count":1,"manufacturer":"amd","memory":1,"model":"Tesla V100"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"instance_group_membership":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60/memberships/r006-32c8210b-fd1a-409f-8966-de85bbfd3741","id":"r006-32c8210b-fd1a-409f-8966-de85bbfd3741","instance_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::instance-group:r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","id":"r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","name":"my-instance-group"},"name":"my-instance-group-membership"},"lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":64,"metadata_service":{"enabled":false,"protocol":"http","response_hop_limit":1},"name":"my-instance","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"numa_count":2,"placement_target":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host-group:0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_host/groups/0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","id":"0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","name":"my-dedicated-host-group","resource_type":"dedicated_host_group"},"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","name":"bx2-4x16","resource_type":"instance_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"instance","software_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-software-attachment","resource_type":"instance_software_attachment"}],"startable":false,"status":"deleting","status_reasons":[{"code":"cannot_start_storage","message":"The virtual server instance is unusable because the encryption key for the boot volume\\nhas been deleted","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"threads_per_core":1,"total_network_bandwidth":500,"total_volume_bandwidth":500,"vcpu":{"architecture":"amd64","burst":{"limit":200},"count":4,"manufacturer":"intel","percentage":100},"volume_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}}],"volume_bandwidth_qos_mode":"pooled","vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"total_count":2,"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"instances":[{"availability":{"class":"standard"},"availability_policy":{"host_failure":"restart","preemption":"delete"},"bandwidth":1000,"boot_volume_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}},"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"cluster_network":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::cluster-network:0717-da0df18c-7598-4633-a648-fdaac28a5573","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_networks/0717-da0df18c-7598-4633-a648-fdaac28a5573","id":"0717-da0df18c-7598-4633-a648-fdaac28a5573","name":"my-cluster-network","resource_type":"cluster_network"},"cluster_network_attachments":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/cluster_network_attachments/0717-fb880975-db45-4459-8548-64e3995ac213","id":"0717-fb880975-db45-4459-8548-64e3995ac213","name":"my-instance-network-attachment","resource_type":"instance_cluster_network_attachment"}],"confidential_compute_mode":"disabled","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","dedicated_host":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host:0717-1e09281b-f177-46fb-baf1-bc152b2e391a","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_hosts/0717-1e09281b-f177-46fb-baf1-bc152b2e391a","id":"0717-1e09281b-f177-46fb-baf1-bc152b2e391a","name":"my-host","resource_type":"dedicated_host"},"disks":[{"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/disks/10c02d81-0ecb-4dc5-897d-28392913b81e","id":"10c02d81-0ecb-4dc5-897d-28392913b81e","interface_type":"nvme","name":"my-instance-disk","resource_type":"instance_disk","size":100}],"enable_secure_boot":true,"gpu":{"count":1,"manufacturer":"amd","memory":1,"model":"Tesla V100"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"instance_group_membership":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60/memberships/r006-32c8210b-fd1a-409f-8966-de85bbfd3741","id":"r006-32c8210b-fd1a-409f-8966-de85bbfd3741","instance_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::instance-group:r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","id":"r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","name":"my-instance-group"},"name":"my-instance-group-membership"},"lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":64,"metadata_service":{"enabled":false,"protocol":"http","response_hop_limit":1},"name":"my-instance","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"numa_count":2,"placement_target":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host-group:0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_host/groups/0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","id":"0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","name":"my-dedicated-host-group","resource_type":"dedicated_host_group"},"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","name":"bx2-4x16","resource_type":"instance_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"instance","startable":false,"status":"deleting","status_reasons":[{"code":"cannot_start_storage","message":"The virtual server instance is unusable because the encryption key for the boot volume\\nhas been deleted","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"total_network_bandwidth":500,"total_volume_bandwidth":500,"vcpu":{"architecture":"amd64","burst":{"limit":200},"count":4,"manufacturer":"intel","percentage":100},"volume_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}}],"volume_bandwidth_qos_mode":"pooled","vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"instances":[{"availability":{"class":"standard"},"availability_policy":{"host_failure":"restart","preemption":"delete"},"bandwidth":1000,"boot_volume_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}},"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"cluster_network":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::cluster-network:0717-da0df18c-7598-4633-a648-fdaac28a5573","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_networks/0717-da0df18c-7598-4633-a648-fdaac28a5573","id":"0717-da0df18c-7598-4633-a648-fdaac28a5573","name":"my-cluster-network","resource_type":"cluster_network"},"cluster_network_attachments":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/cluster_network_attachments/0717-fb880975-db45-4459-8548-64e3995ac213","id":"0717-fb880975-db45-4459-8548-64e3995ac213","name":"my-instance-network-attachment","resource_type":"instance_cluster_network_attachment"}],"confidential_compute_mode":"disabled","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","dedicated_host":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host:0717-1e09281b-f177-46fb-baf1-bc152b2e391a","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_hosts/0717-1e09281b-f177-46fb-baf1-bc152b2e391a","id":"0717-1e09281b-f177-46fb-baf1-bc152b2e391a","name":"my-host","resource_type":"dedicated_host"},"disks":[{"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/disks/10c02d81-0ecb-4dc5-897d-28392913b81e","id":"10c02d81-0ecb-4dc5-897d-28392913b81e","interface_type":"nvme","name":"my-instance-disk","resource_type":"instance_disk","size":100}],"enable_secure_boot":true,"gpu":{"count":1,"manufacturer":"amd","memory":1,"model":"Tesla V100"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"instance_group_membership":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60/memberships/r006-32c8210b-fd1a-409f-8966-de85bbfd3741","id":"r006-32c8210b-fd1a-409f-8966-de85bbfd3741","instance_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::instance-group:r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","id":"r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","name":"my-instance-group"},"name":"my-instance-group-membership"},"lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":64,"metadata_service":{"enabled":false,"protocol":"http","response_hop_limit":1},"name":"my-instance","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"numa_count":2,"placement_target":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host-group:0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_host/groups/0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","id":"0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","name":"my-dedicated-host-group","resource_type":"dedicated_host_group"},"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","name":"bx2-4x16","resource_type":"instance_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"instance","software_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-software-attachment","resource_type":"instance_software_attachment"}],"startable":false,"status":"deleting","status_reasons":[{"code":"cannot_start_storage","message":"The virtual server instance is unusable because the encryption key for the boot volume\\nhas been deleted","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"threads_per_core":1,"total_network_bandwidth":500,"total_volume_bandwidth":500,"vcpu":{"architecture":"amd64","burst":{"limit":200},"count":4,"manufacturer":"intel","percentage":100},"volume_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}}],"volume_bandwidth_qos_mode":"pooled","vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"total_count":2,"limit":1}'; + '{"instances":[{"availability":{"class":"standard"},"availability_policy":{"host_failure":"restart","preemption":"delete"},"bandwidth":1000,"boot_volume_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}},"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"cluster_network":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::cluster-network:0717-da0df18c-7598-4633-a648-fdaac28a5573","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/cluster_networks/0717-da0df18c-7598-4633-a648-fdaac28a5573","id":"0717-da0df18c-7598-4633-a648-fdaac28a5573","name":"my-cluster-network","resource_type":"cluster_network"},"cluster_network_attachments":[{"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/cluster_network_attachments/0717-fb880975-db45-4459-8548-64e3995ac213","id":"0717-fb880975-db45-4459-8548-64e3995ac213","name":"my-instance-network-attachment","resource_type":"instance_cluster_network_attachment"}],"confidential_compute_mode":"disabled","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","dedicated_host":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host:0717-1e09281b-f177-46fb-baf1-bc152b2e391a","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_hosts/0717-1e09281b-f177-46fb-baf1-bc152b2e391a","id":"0717-1e09281b-f177-46fb-baf1-bc152b2e391a","name":"my-host","resource_type":"dedicated_host"},"disks":[{"created_at":"2026-01-02T03:04:05.006Z","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/disks/10c02d81-0ecb-4dc5-897d-28392913b81e","id":"10c02d81-0ecb-4dc5-897d-28392913b81e","interface_type":"nvme","name":"my-instance-disk","resource_type":"instance_disk","size":100}],"enable_secure_boot":true,"gpu":{"count":1,"manufacturer":"amd","memory":1,"model":"Tesla V100"},"health_reasons":[{"code":"reservation_expired","message":"The reservation cannot be used because it has expired.","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"instance_group_membership":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60/memberships/r006-32c8210b-fd1a-409f-8966-de85bbfd3741","id":"r006-32c8210b-fd1a-409f-8966-de85bbfd3741","instance_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::instance-group:r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instance_groups/r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","id":"r006-7b3ac170-01f3-43d6-87ec-f0ed11ed3f60","name":"my-instance-group"},"name":"my-instance-group-membership"},"lifecycle_reasons":[{"code":"resource_suspended_by_provider","message":"The resource has been suspended. Contact IBM support with the CRN for next steps.","more_info":"https://cloud.ibm.com/apidocs/vpc#resource-suspension"}],"lifecycle_state":"stable","memory":64,"metadata_service":{"enabled":false,"protocol":"http","response_hop_limit":1},"name":"my-instance","network_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}}],"network_interfaces":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}}],"numa_count":2,"placement_target":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::dedicated-host-group:0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/dedicated_host/groups/0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","id":"0717-bcc5b834-1258-4b9c-c3b4-43bc9cf5cde0","name":"my-dedicated-host-group","resource_type":"dedicated_host_group"},"primary_network_attachment":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_attachments/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-attachment","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"instance_network_attachment","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"},"virtual_network_interface":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::virtual-network-interface:0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","href":"https://us-south.iaas.cloud.ibm.com/v1/virtual_network_interfaces/0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","id":"0717-54eb57ee-86f2-4796-90bb-d7874e0831ef","name":"my-virtual-network-interface","resource_type":"virtual_network_interface"}},"primary_network_interface":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/network_interfaces/0717-d54eb633-98ea-459d-aa00-6a8e780175a7","id":"0717-d54eb633-98ea-459d-aa00-6a8e780175a7","name":"my-instance-network-interface","primary_ip":{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"},"resource_type":"network_interface","subnet":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/instance/profiles/bx2-4x16","name":"bx2-4x16","resource_type":"instance_profile"},"reservation":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"},"reservation_affinity":{"policy":"automatic","pool":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::reservation:0717-ba49df72-37b8-43ac-98da-f8e029de0e63","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/reservations/0717-ba49df72-37b8-43ac-98da-f8e029de0e63","id":"0717-ba49df72-37b8-43ac-98da-f8e029de0e63","name":"my-reservation","resource_type":"reservation"}]},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"instance","startable":false,"status":"deleting","status_reasons":[{"code":"cannot_start_storage","message":"The virtual server instance is unusable because the encryption key for the boot volume\\nhas been deleted","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"total_network_bandwidth":500,"total_volume_bandwidth":500,"vcpu":{"architecture":"amd64","burst":{"limit":200},"count":4,"manufacturer":"intel","percentage":100},"volume_attachments":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","name":"my-volume-attachment","volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","resource_type":"volume"}}],"volume_bandwidth_qos_mode":"pooled","vpc":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::vpc:r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","id":"r006-4727d842-f94f-4a2d-824a-9bc9b02c523b","name":"my-vpc","resource_type":"vpc"},"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -18032,9 +17996,11 @@ describe('VpcV1', () => { preemption: 'delete', }; - // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPIdentityClusterNetworkInterfacePrimaryIPContextById + // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPPrototypeClusterNetworkInterfacePrimaryIPContext const clusterNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-d4d6489a-3bf5-4104-a33a-3572faf2d117', + address: '10.0.0.5', + auto_delete: false, + name: 'my-cluster-network-subnet-reserved-ip', }; // ClusterNetworkSubnetIdentityById @@ -18130,7 +18096,7 @@ describe('VpcV1', () => { // VolumeAllowedUsePrototype const volumeAllowedUsePrototypeModel = { - api_version: '2024-06-23', + api_version: '2026-03-24', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -18186,14 +18152,18 @@ describe('VpcV1', () => { id: 'r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8', }; - // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById + // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext const virtualNetworkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext const virtualNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // SecurityGroupIdentityById @@ -18226,9 +18196,11 @@ describe('VpcV1', () => { virtual_network_interface: instanceNetworkAttachmentPrototypeVirtualNetworkInterfaceModel, }; - // NetworkInterfaceIPPrototypeReservedIPIdentityById + // NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext const networkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // NetworkInterfacePrototype @@ -18267,7 +18239,6 @@ describe('VpcV1', () => { profile: instanceProfileIdentityModel, reservation_affinity: instanceReservationAffinityPrototypeModel, resource_group: resourceGroupIdentityModel, - threads_per_core: 1, total_volume_bandwidth: 500, user_data: '[...]', vcpu: instanceVcpuPrototypeModel, @@ -18604,7 +18575,6 @@ describe('VpcV1', () => { const placementTarget = instancePlacementTargetPatchModel; const profile = instancePatchProfileModel; const reservationAffinity = instanceReservationAffinityPatchModel; - const threadsPerCore = 1; const totalVolumeBandwidth = 500; const vcpu = instanceVcpuPatchModel; const volumeBandwidthQosMode = 'pooled'; @@ -18620,7 +18590,6 @@ describe('VpcV1', () => { placementTarget, profile, reservationAffinity, - threadsPerCore, totalVolumeBandwidth, vcpu, volumeBandwidthQosMode, @@ -18651,7 +18620,6 @@ describe('VpcV1', () => { expect(mockRequestOptions.body.placement_target).toEqual(placementTarget); expect(mockRequestOptions.body.profile).toEqual(profile); expect(mockRequestOptions.body.reservation_affinity).toEqual(reservationAffinity); - expect(mockRequestOptions.body.threads_per_core).toEqual(threadsPerCore); expect(mockRequestOptions.body.total_volume_bandwidth).toEqual(totalVolumeBandwidth); expect(mockRequestOptions.body.vcpu).toEqual(vcpu); expect(mockRequestOptions.body.volume_bandwidth_qos_mode).toEqual(volumeBandwidthQosMode); @@ -19057,9 +19025,11 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPIdentityClusterNetworkInterfacePrimaryIPContextById + // ClusterNetworkInterfacePrimaryIPPrototypeClusterNetworkSubnetReservedIPPrototypeClusterNetworkInterfacePrimaryIPContext const clusterNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-d4d6489a-3bf5-4104-a33a-3572faf2d117', + address: '10.0.0.5', + auto_delete: false, + name: 'my-cluster-network-subnet-reserved-ip', }; // ClusterNetworkSubnetIdentityById @@ -19949,14 +19919,18 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById + // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext const virtualNetworkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext const virtualNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // ResourceGroupIdentityById @@ -20479,9 +20453,11 @@ describe('VpcV1', () => { id: '0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e', }; - // NetworkInterfaceIPPrototypeReservedIPIdentityById + // NetworkInterfaceIPPrototypeReservedIPPrototypeNetworkInterfaceContext const networkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // SecurityGroupIdentityById @@ -21565,295 +21541,6 @@ describe('VpcV1', () => { }); }); - describe('listInstanceSoftwareAttachments', () => { - describe('positive tests', () => { - function __listInstanceSoftwareAttachmentsTest() { - // Construct the params object for operation listInstanceSoftwareAttachments - const instanceId = 'testString'; - const listInstanceSoftwareAttachmentsParams = { - instanceId, - }; - - const listInstanceSoftwareAttachmentsResult = vpcService.listInstanceSoftwareAttachments( - listInstanceSoftwareAttachmentsParams - ); - - // all methods should return a Promise - expectToBePromise(listInstanceSoftwareAttachmentsResult); - - // assert that create request was called - expect(createRequestMock).toHaveBeenCalledTimes(1); - - const mockRequestOptions = getOptions(createRequestMock); - - checkUrlAndMethod( - mockRequestOptions, - '/instances/{instance_id}/software_attachments', - 'GET' - ); - const expectedAccept = 'application/json'; - const expectedContentType = undefined; - checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); - expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); - expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); - expect(mockRequestOptions.path.instance_id).toEqual(instanceId); - } - - test('should pass the right params to createRequest with enable and disable retries', () => { - // baseline test - __listInstanceSoftwareAttachmentsTest(); - - // enable retries and test again - createRequestMock.mockClear(); - vpcService.enableRetries(); - __listInstanceSoftwareAttachmentsTest(); - - // disable retries and test again - createRequestMock.mockClear(); - vpcService.disableRetries(); - __listInstanceSoftwareAttachmentsTest(); - }); - - test('should prioritize user-given headers', () => { - // parameters - const instanceId = 'testString'; - const userAccept = 'fake/accept'; - const userContentType = 'fake/contentType'; - const listInstanceSoftwareAttachmentsParams = { - instanceId, - headers: { - Accept: userAccept, - 'Content-Type': userContentType, - }, - }; - - vpcService.listInstanceSoftwareAttachments(listInstanceSoftwareAttachmentsParams); - checkMediaHeaders(createRequestMock, userAccept, userContentType); - }); - }); - - describe('negative tests', () => { - test('should enforce required parameters', async () => { - let err; - try { - await vpcService.listInstanceSoftwareAttachments({}); - } catch (e) { - err = e; - } - - expect(err.message).toMatch(/Missing required parameters/); - }); - - test('should reject promise when required params are not given', async () => { - let err; - try { - await vpcService.listInstanceSoftwareAttachments(); - } catch (e) { - err = e; - } - - expect(err.message).toMatch(/Missing required parameters/); - }); - }); - }); - - describe('getInstanceSoftwareAttachment', () => { - describe('positive tests', () => { - function __getInstanceSoftwareAttachmentTest() { - // Construct the params object for operation getInstanceSoftwareAttachment - const instanceId = 'testString'; - const id = 'testString'; - const getInstanceSoftwareAttachmentParams = { - instanceId, - id, - }; - - const getInstanceSoftwareAttachmentResult = vpcService.getInstanceSoftwareAttachment( - getInstanceSoftwareAttachmentParams - ); - - // all methods should return a Promise - expectToBePromise(getInstanceSoftwareAttachmentResult); - - // assert that create request was called - expect(createRequestMock).toHaveBeenCalledTimes(1); - - const mockRequestOptions = getOptions(createRequestMock); - - checkUrlAndMethod( - mockRequestOptions, - '/instances/{instance_id}/software_attachments/{id}', - 'GET' - ); - const expectedAccept = 'application/json'; - const expectedContentType = undefined; - checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); - expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); - expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); - expect(mockRequestOptions.path.instance_id).toEqual(instanceId); - expect(mockRequestOptions.path.id).toEqual(id); - } - - test('should pass the right params to createRequest with enable and disable retries', () => { - // baseline test - __getInstanceSoftwareAttachmentTest(); - - // enable retries and test again - createRequestMock.mockClear(); - vpcService.enableRetries(); - __getInstanceSoftwareAttachmentTest(); - - // disable retries and test again - createRequestMock.mockClear(); - vpcService.disableRetries(); - __getInstanceSoftwareAttachmentTest(); - }); - - test('should prioritize user-given headers', () => { - // parameters - const instanceId = 'testString'; - const id = 'testString'; - const userAccept = 'fake/accept'; - const userContentType = 'fake/contentType'; - const getInstanceSoftwareAttachmentParams = { - instanceId, - id, - headers: { - Accept: userAccept, - 'Content-Type': userContentType, - }, - }; - - vpcService.getInstanceSoftwareAttachment(getInstanceSoftwareAttachmentParams); - checkMediaHeaders(createRequestMock, userAccept, userContentType); - }); - }); - - describe('negative tests', () => { - test('should enforce required parameters', async () => { - let err; - try { - await vpcService.getInstanceSoftwareAttachment({}); - } catch (e) { - err = e; - } - - expect(err.message).toMatch(/Missing required parameters/); - }); - - test('should reject promise when required params are not given', async () => { - let err; - try { - await vpcService.getInstanceSoftwareAttachment(); - } catch (e) { - err = e; - } - - expect(err.message).toMatch(/Missing required parameters/); - }); - }); - }); - - describe('updateInstanceSoftwareAttachment', () => { - describe('positive tests', () => { - function __updateInstanceSoftwareAttachmentTest() { - // Construct the params object for operation updateInstanceSoftwareAttachment - const instanceId = 'testString'; - const id = 'testString'; - const name = 'my-software-attachment-patch'; - const updateInstanceSoftwareAttachmentParams = { - instanceId, - id, - name, - }; - - const updateInstanceSoftwareAttachmentResult = vpcService.updateInstanceSoftwareAttachment( - updateInstanceSoftwareAttachmentParams - ); - - // all methods should return a Promise - expectToBePromise(updateInstanceSoftwareAttachmentResult); - - // assert that create request was called - expect(createRequestMock).toHaveBeenCalledTimes(1); - - const mockRequestOptions = getOptions(createRequestMock); - - checkUrlAndMethod( - mockRequestOptions, - '/instances/{instance_id}/software_attachments/{id}', - 'PATCH' - ); - const expectedAccept = 'application/json'; - const expectedContentType = 'application/merge-patch+json'; - checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); - expect(mockRequestOptions.body.name).toEqual(name); - expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); - expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); - expect(mockRequestOptions.path.instance_id).toEqual(instanceId); - expect(mockRequestOptions.path.id).toEqual(id); - } - - test('should pass the right params to createRequest with enable and disable retries', () => { - // baseline test - __updateInstanceSoftwareAttachmentTest(); - - // enable retries and test again - createRequestMock.mockClear(); - vpcService.enableRetries(); - __updateInstanceSoftwareAttachmentTest(); - - // disable retries and test again - createRequestMock.mockClear(); - vpcService.disableRetries(); - __updateInstanceSoftwareAttachmentTest(); - }); - - test('should prioritize user-given headers', () => { - // parameters - const instanceId = 'testString'; - const id = 'testString'; - const userAccept = 'fake/accept'; - const userContentType = 'fake/contentType'; - const updateInstanceSoftwareAttachmentParams = { - instanceId, - id, - headers: { - Accept: userAccept, - 'Content-Type': userContentType, - }, - }; - - vpcService.updateInstanceSoftwareAttachment(updateInstanceSoftwareAttachmentParams); - checkMediaHeaders(createRequestMock, userAccept, userContentType); - }); - }); - - describe('negative tests', () => { - test('should enforce required parameters', async () => { - let err; - try { - await vpcService.updateInstanceSoftwareAttachment({}); - } catch (e) { - err = e; - } - - expect(err.message).toMatch(/Missing required parameters/); - }); - - test('should reject promise when required params are not given', async () => { - let err; - try { - await vpcService.updateInstanceSoftwareAttachment(); - } catch (e) { - err = e; - } - - expect(err.message).toMatch(/Missing required parameters/); - }); - }); - }); - describe('listInstanceVolumeAttachments', () => { describe('positive tests', () => { function __listInstanceVolumeAttachmentsTest() { @@ -22914,9 +22601,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/load_balancer/profiles'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"profiles":[{"access_modes":{"type":"enum","values":["private"]},"advanced_health_checks_supported":{"type":"fixed","value":true},"availability":{"type":"fixed","value":"region"},"failsafe_policy_actions":{"default":"fail","type":"enum","values":["forward"]},"family":"application","fqdn_pool_members_supported":{"type":"fixed","value":true},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","instance_groups_supported":{"type":"fixed","value":true},"logging_supported":{"type":"fixed","value":["datapath"]},"mtls_supported":{"type":"fixed","value":true},"name":"network-fixed","route_mode_supported":{"type":"fixed","value":true},"security_groups_supported":{"type":"fixed","value":true},"source_ip_session_persistence_supported":{"type":"fixed","value":true},"targetable_load_balancer_profiles":[{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"}],"targetable_resource_types":{"type":"enum","values":["instance"]},"udp_supported":{"type":"fixed","value":true}}]}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"profiles":[{"access_modes":{"type":"enum","values":["private"]},"availability":{"type":"fixed","value":"region"},"failsafe_policy_actions":{"default":"fail","type":"enum","values":["forward"]},"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","instance_groups_supported":{"type":"fixed","value":true},"logging_supported":{"type":"fixed","value":["datapath"]},"name":"network-fixed","route_mode_supported":{"type":"fixed","value":true},"security_groups_supported":{"type":"fixed","value":true},"source_ip_session_persistence_supported":{"type":"fixed","value":true},"targetable_load_balancer_profiles":[{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"}],"targetable_resource_types":{"type":"enum","values":["instance"]},"udp_supported":{"type":"fixed","value":true}}]}'; const mockPagerResponse2 = - '{"total_count":2,"limit":1,"profiles":[{"access_modes":{"type":"enum","values":["private"]},"advanced_health_checks_supported":{"type":"fixed","value":true},"availability":{"type":"fixed","value":"region"},"failsafe_policy_actions":{"default":"fail","type":"enum","values":["forward"]},"family":"application","fqdn_pool_members_supported":{"type":"fixed","value":true},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","instance_groups_supported":{"type":"fixed","value":true},"logging_supported":{"type":"fixed","value":["datapath"]},"mtls_supported":{"type":"fixed","value":true},"name":"network-fixed","route_mode_supported":{"type":"fixed","value":true},"security_groups_supported":{"type":"fixed","value":true},"source_ip_session_persistence_supported":{"type":"fixed","value":true},"targetable_load_balancer_profiles":[{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"}],"targetable_resource_types":{"type":"enum","values":["instance"]},"udp_supported":{"type":"fixed","value":true}}]}'; + '{"total_count":2,"limit":1,"profiles":[{"access_modes":{"type":"enum","values":["private"]},"availability":{"type":"fixed","value":"region"},"failsafe_policy_actions":{"default":"fail","type":"enum","values":["forward"]},"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","instance_groups_supported":{"type":"fixed","value":true},"logging_supported":{"type":"fixed","value":["datapath"]},"name":"network-fixed","route_mode_supported":{"type":"fixed","value":true},"security_groups_supported":{"type":"fixed","value":true},"source_ip_session_persistence_supported":{"type":"fixed","value":true},"targetable_load_balancer_profiles":[{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"}],"targetable_resource_types":{"type":"enum","values":["instance"]},"udp_supported":{"type":"fixed","value":true}}]}'; beforeEach(() => { unmock_createRequest(); @@ -23119,9 +22806,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/load_balancers'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"load_balancers":[{"access_mode":"private","advanced_health_checks_supported":true,"attached_load_balancer_pool_members":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004/members/r006-4a4b345f-cf6b-4326-8202-6d8229e9833a","id":"r006-4a4b345f-cf6b-4326-8202-6d8229e9833a"}],"availability":"region","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::load-balancer:r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","dns":{"instance":{"crn":"crn:v1:bluemix:public:dns-svcs:global:a/bb1b52262f7441a586f49068482f1e60:f761b566-030a-4696-8649-cc9d09889e88::"},"zone":{"id":"d66662cc-aa23-4fe1-9987-858487a61f45"}},"failsafe_policy_actions":["forward"],"fqdn_pool_members_supported":false,"hostname":"6b88d615-us-south.lb.appdomain.cloud","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","id":"r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","instance_groups_supported":true,"is_private_path":true,"is_public":true,"listeners":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/listeners/r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091","id":"r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091"}],"logging":{"datapath":{"active":true}},"mtls_supported":false,"name":"my-load-balancer","operating_status":"offline","pools":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004","id":"r006-70294e14-4e61-11e8-bcf4-0242ac110004","name":"my-load-balancer-pool"}],"private_ips":[{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"}],"profile":{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"},"provisioning_status":"active","public_ips":[{"address":"192.168.3.4"}],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"load_balancer","route_mode":true,"security_groups":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::security-group:r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","id":"r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","name":"my-security-group"}],"security_groups_supported":false,"source_ip_session_persistence_supported":true,"subnets":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}],"udp_supported":true}]}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"load_balancers":[{"access_mode":"private","attached_load_balancer_pool_members":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004/members/r006-4a4b345f-cf6b-4326-8202-6d8229e9833a","id":"r006-4a4b345f-cf6b-4326-8202-6d8229e9833a"}],"availability":"region","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::load-balancer:r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","dns":{"instance":{"crn":"crn:v1:bluemix:public:dns-svcs:global:a/bb1b52262f7441a586f49068482f1e60:f761b566-030a-4696-8649-cc9d09889e88::"},"zone":{"id":"d66662cc-aa23-4fe1-9987-858487a61f45"}},"failsafe_policy_actions":["forward"],"hostname":"6b88d615-us-south.lb.appdomain.cloud","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","id":"r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","instance_groups_supported":true,"is_private_path":true,"is_public":true,"listeners":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/listeners/r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091","id":"r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091"}],"logging":{"datapath":{"active":true}},"name":"my-load-balancer","operating_status":"offline","pools":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004","id":"r006-70294e14-4e61-11e8-bcf4-0242ac110004","name":"my-load-balancer-pool"}],"private_ips":[{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"}],"profile":{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"},"provisioning_status":"active","public_ips":[{"address":"192.168.3.4"}],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"load_balancer","route_mode":true,"security_groups":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::security-group:r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","id":"r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","name":"my-security-group"}],"security_groups_supported":false,"source_ip_session_persistence_supported":true,"subnets":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}],"udp_supported":true}]}'; const mockPagerResponse2 = - '{"total_count":2,"limit":1,"load_balancers":[{"access_mode":"private","advanced_health_checks_supported":true,"attached_load_balancer_pool_members":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004/members/r006-4a4b345f-cf6b-4326-8202-6d8229e9833a","id":"r006-4a4b345f-cf6b-4326-8202-6d8229e9833a"}],"availability":"region","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::load-balancer:r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","dns":{"instance":{"crn":"crn:v1:bluemix:public:dns-svcs:global:a/bb1b52262f7441a586f49068482f1e60:f761b566-030a-4696-8649-cc9d09889e88::"},"zone":{"id":"d66662cc-aa23-4fe1-9987-858487a61f45"}},"failsafe_policy_actions":["forward"],"fqdn_pool_members_supported":false,"hostname":"6b88d615-us-south.lb.appdomain.cloud","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","id":"r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","instance_groups_supported":true,"is_private_path":true,"is_public":true,"listeners":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/listeners/r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091","id":"r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091"}],"logging":{"datapath":{"active":true}},"mtls_supported":false,"name":"my-load-balancer","operating_status":"offline","pools":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004","id":"r006-70294e14-4e61-11e8-bcf4-0242ac110004","name":"my-load-balancer-pool"}],"private_ips":[{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"}],"profile":{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"},"provisioning_status":"active","public_ips":[{"address":"192.168.3.4"}],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"load_balancer","route_mode":true,"security_groups":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::security-group:r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","id":"r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","name":"my-security-group"}],"security_groups_supported":false,"source_ip_session_persistence_supported":true,"subnets":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}],"udp_supported":true}]}'; + '{"total_count":2,"limit":1,"load_balancers":[{"access_mode":"private","attached_load_balancer_pool_members":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004/members/r006-4a4b345f-cf6b-4326-8202-6d8229e9833a","id":"r006-4a4b345f-cf6b-4326-8202-6d8229e9833a"}],"availability":"region","created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::load-balancer:r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","dns":{"instance":{"crn":"crn:v1:bluemix:public:dns-svcs:global:a/bb1b52262f7441a586f49068482f1e60:f761b566-030a-4696-8649-cc9d09889e88::"},"zone":{"id":"d66662cc-aa23-4fe1-9987-858487a61f45"}},"failsafe_policy_actions":["forward"],"hostname":"6b88d615-us-south.lb.appdomain.cloud","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","id":"r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727","instance_groups_supported":true,"is_private_path":true,"is_public":true,"listeners":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/listeners/r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091","id":"r006-97c05c26-4748-4db8-ac3f-d8a9c79a7091"}],"logging":{"datapath":{"active":true}},"name":"my-load-balancer","operating_status":"offline","pools":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancers/r006-dd754295-e9e0-4c9d-bf6c-58fbc59e5727/pools/r006-70294e14-4e61-11e8-bcf4-0242ac110004","id":"r006-70294e14-4e61-11e8-bcf4-0242ac110004","name":"my-load-balancer-pool"}],"private_ips":[{"address":"192.168.3.4","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-bea6a632-5e13-42a4-b4b8-31dc877abfe4/reserved_ips/0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","id":"0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb","name":"my-reserved-ip","resource_type":"subnet_reserved_ip"}],"profile":{"family":"application","href":"https://us-south.iaas.cloud.ibm.com/v1/load_balancer/profiles/network-fixed","name":"network-fixed"},"provisioning_status":"active","public_ips":[{"address":"192.168.3.4"}],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"load_balancer","route_mode":true,"security_groups":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::security-group:r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","id":"r006-be5df5ca-12a0-494b-907e-aa6ec2bfa271","name":"my-security-group"}],"security_groups_supported":false,"source_ip_session_persistence_supported":true,"subnets":[{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::subnet:0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/subnets/0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","id":"0717-7ec86020-1c6e-4889-b3f0-a15f2e50f87e","name":"my-subnet","resource_type":"subnet"}],"udp_supported":true}]}'; beforeEach(() => { unmock_createRequest(); @@ -23194,13 +22881,6 @@ describe('VpcV1', () => { crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', }; - // LoadBalancerListenerClientAuthenticationPrototype - const loadBalancerListenerClientAuthenticationPrototypeModel = { - certificate_authority: certificateInstanceIdentityModel, - certificate_revocation_list: - '-----BEGIN X509 CRL-----\nMIICvTCBpgIBATANBgkqhkiG9w0BAQsFADBMMQswCQYDVQQGEwJVUzEOMAwGA1UE\nCAwFZGVsYXMxDDAKBgNVBAoMA0lCTTENMAsGA1UECwwEcm9vdDEQMA4GA1UEAwwH\ncm9vdC1jYRcNMjUwOTA4MDUwMjQwWhcNMjUxMDA4MDUwMjQwWjAVMBMCAhAAFw0y\nNTA5MDgwNTAxNTlaoA8wDTALBgNVHRQEBAICEAAwDQYJKoZIhvcNAQELBQADggIB\nACeEcj7ompUepc5qTvTrNA5PoK5bN71gNI7Rbhq/Bxf1YPMp2iU3qMSj7YpVP7aw\nGNrxFoIZcQ4X7PYyHMfDk6Z83PSTVMnSOVk09fZW49tyVTWmzBVLz3R1bPasnWTZ\n0hRIv9j9n7Lemin+0ubIR/2zmsfBs1JFAFEbbRcgwg+qotsfZNLkX6bjHDpsRQzE\nmXUEu4/AqAsWPbFzG2uMKZ9pKOK+Nn3bt/NEK+AFlnSmgjEqzQ+0zhsrCExIReJV\nc2oiLBkLG6rBwxlGDog+PqwjP+1wGNIL1J3c2lMW1IGMNcts/aDBO5LtPVIY1LsQ\nFoeaTfm3U3GKC/pTczoDk/pKN756f8O05nTWUHgktcNsPvgqDKnpvEkI3VPf9Y4a\nfMOzKgVTgY1dSgjzHO8+4ZfcVGpBePsjOe0/RCUwkgtgOyGtcmBPTMJa0elJzjaM\njD9myqIXkB359sqbuEmcrjgo5uUUvubFYpmT/W0YxOi/py/bDK+7uUs38nUElNkZ\n+YFRpNWjLF9JtAghX5MhA5BwhTTuATvWYuDdK769ifi9qcYvE4u+VNxYfOpPY6sv\nx4FnkZ9+A7s2hk11d+DEq29Efa0xak8rO1LzT5hCSFT0P3KfZEZMpbuXpzVGiZoM\ng5cWHgYcNnzhUatKodvzZizAOVGRR7UFg42O4ylhxDVe\n-----END X509 CRL-----\n', - }; - // LoadBalancerPoolIdentityByName const loadBalancerPoolIdentityByNameModel = { name: 'my-load-balancer-pool', @@ -23222,7 +22902,6 @@ describe('VpcV1', () => { const loadBalancerListenerPrototypeLoadBalancerContextModel = { accept_proxy_protocol: true, certificate_instance: certificateInstanceIdentityModel, - client_authentication: loadBalancerListenerClientAuthenticationPrototypeModel, connection_limit: 2000, default_pool: loadBalancerPoolIdentityByNameModel, https_redirect: loadBalancerListenerHttpsRedirectPrototypeModel, @@ -23243,11 +22922,6 @@ describe('VpcV1', () => { datapath: loadBalancerLoggingDatapathPrototypeModel, }; - // LoadBalancerPoolClientAuthenticationPrototype - const loadBalancerPoolClientAuthenticationPrototypeModel = { - certificate_instance: certificateInstanceIdentityModel, - }; - // LoadBalancerPoolHealthMonitorPrototypeLoadBalancerPoolHealthMonitorTypeTCPPrototype const loadBalancerPoolHealthMonitorPrototypeModel = { delay: 5, @@ -23269,12 +22943,6 @@ describe('VpcV1', () => { weight: 50, }; - // LoadBalancerPoolServerAuthenticationPrototype - const loadBalancerPoolServerAuthenticationPrototypeModel = { - certificate_authority: certificateInstanceIdentityModel, - verify_certificate: true, - }; - // LoadBalancerPoolSessionPersistencePrototype const loadBalancerPoolSessionPersistencePrototypeModel = { cookie_name: 'my-cookie-name', @@ -23284,13 +22952,11 @@ describe('VpcV1', () => { // LoadBalancerPoolPrototypeLoadBalancerContext const loadBalancerPoolPrototypeLoadBalancerContextModel = { algorithm: 'least_connections', - client_authentication: loadBalancerPoolClientAuthenticationPrototypeModel, health_monitor: loadBalancerPoolHealthMonitorPrototypeModel, members: [loadBalancerPoolMemberPrototypeModel], name: 'my-load-balancer-pool', protocol: 'http', proxy_protocol: 'disabled', - server_authentication: loadBalancerPoolServerAuthenticationPrototypeModel, session_persistence: loadBalancerPoolSessionPersistencePrototypeModel, }; @@ -23926,13 +23592,6 @@ describe('VpcV1', () => { crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', }; - // LoadBalancerListenerClientAuthenticationPrototype - const loadBalancerListenerClientAuthenticationPrototypeModel = { - certificate_authority: certificateInstanceIdentityModel, - certificate_revocation_list: - '-----BEGIN X509 CRL-----\nMIICvTCBpgIBATANBgkqhkiG9w0BAQsFADBMMQswCQYDVQQGEwJVUzEOMAwGA1UE\nCAwFZGVsYXMxDDAKBgNVBAoMA0lCTTENMAsGA1UECwwEcm9vdDEQMA4GA1UEAwwH\ncm9vdC1jYRcNMjUwOTA4MDUwMjQwWhcNMjUxMDA4MDUwMjQwWjAVMBMCAhAAFw0y\nNTA5MDgwNTAxNTlaoA8wDTALBgNVHRQEBAICEAAwDQYJKoZIhvcNAQELBQADggIB\nACeEcj7ompUepc5qTvTrNA5PoK5bN71gNI7Rbhq/Bxf1YPMp2iU3qMSj7YpVP7aw\nGNrxFoIZcQ4X7PYyHMfDk6Z83PSTVMnSOVk09fZW49tyVTWmzBVLz3R1bPasnWTZ\n0hRIv9j9n7Lemin+0ubIR/2zmsfBs1JFAFEbbRcgwg+qotsfZNLkX6bjHDpsRQzE\nmXUEu4/AqAsWPbFzG2uMKZ9pKOK+Nn3bt/NEK+AFlnSmgjEqzQ+0zhsrCExIReJV\nc2oiLBkLG6rBwxlGDog+PqwjP+1wGNIL1J3c2lMW1IGMNcts/aDBO5LtPVIY1LsQ\nFoeaTfm3U3GKC/pTczoDk/pKN756f8O05nTWUHgktcNsPvgqDKnpvEkI3VPf9Y4a\nfMOzKgVTgY1dSgjzHO8+4ZfcVGpBePsjOe0/RCUwkgtgOyGtcmBPTMJa0elJzjaM\njD9myqIXkB359sqbuEmcrjgo5uUUvubFYpmT/W0YxOi/py/bDK+7uUs38nUElNkZ\n+YFRpNWjLF9JtAghX5MhA5BwhTTuATvWYuDdK769ifi9qcYvE4u+VNxYfOpPY6sv\nx4FnkZ9+A7s2hk11d+DEq29Efa0xak8rO1LzT5hCSFT0P3KfZEZMpbuXpzVGiZoM\ng5cWHgYcNnzhUatKodvzZizAOVGRR7UFg42O4ylhxDVe\n-----END X509 CRL-----\n', - }; - // LoadBalancerPoolIdentityLoadBalancerPoolIdentityById const loadBalancerPoolIdentityModel = { id: 'r006-70294e14-4e61-11e8-bcf4-0242ac110004', @@ -23978,7 +23637,6 @@ describe('VpcV1', () => { const protocol = 'http'; const acceptProxyProtocol = true; const certificateInstance = certificateInstanceIdentityModel; - const clientAuthentication = loadBalancerListenerClientAuthenticationPrototypeModel; const connectionLimit = 2000; const defaultPool = loadBalancerPoolIdentityModel; const httpsRedirect = loadBalancerListenerHttpsRedirectPrototypeModel; @@ -23992,7 +23650,6 @@ describe('VpcV1', () => { protocol, acceptProxyProtocol, certificateInstance, - clientAuthentication, connectionLimit, defaultPool, httpsRedirect, @@ -24026,7 +23683,6 @@ describe('VpcV1', () => { expect(mockRequestOptions.body.protocol).toEqual(protocol); expect(mockRequestOptions.body.accept_proxy_protocol).toEqual(acceptProxyProtocol); expect(mockRequestOptions.body.certificate_instance).toEqual(certificateInstance); - expect(mockRequestOptions.body.client_authentication).toEqual(clientAuthentication); expect(mockRequestOptions.body.connection_limit).toEqual(connectionLimit); expect(mockRequestOptions.body.default_pool).toEqual(defaultPool); expect(mockRequestOptions.body.https_redirect).toEqual(httpsRedirect); @@ -24303,19 +23959,6 @@ describe('VpcV1', () => { crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', }; - // LoadBalancerListenerClientAuthenticationCertificateAuthorityPatchByCRN - const loadBalancerListenerClientAuthenticationCertificateAuthorityPatchModel = { - crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', - }; - - // LoadBalancerListenerClientAuthenticationPatch - const loadBalancerListenerClientAuthenticationPatchModel = { - certificate_authority: - loadBalancerListenerClientAuthenticationCertificateAuthorityPatchModel, - certificate_revocation_list: - '-----BEGIN X509 CRL-----\nMIICvTCBpgIBATANBgkqhkiG9w0BAQsFADBMMQswCQYDVQQGEwJVUzEOMAwGA1UE\nCAwFZGVsYXMxDDAKBgNVBAoMA0lCTTENMAsGA1UECwwEcm9vdDEQMA4GA1UEAwwH\ncm9vdC1jYRcNMjUwOTA4MDUwMjQwWhcNMjUxMDA4MDUwMjQwWjAVMBMCAhAAFw0y\nNTA5MDgwNTAxNTlaoA8wDTALBgNVHRQEBAICEAAwDQYJKoZIhvcNAQELBQADggIB\nACeEcj7ompUepc5qTvTrNA5PoK5bN71gNI7Rbhq/Bxf1YPMp2iU3qMSj7YpVP7aw\nGNrxFoIZcQ4X7PYyHMfDk6Z83PSTVMnSOVk09fZW49tyVTWmzBVLz3R1bPasnWTZ\n0hRIv9j9n7Lemin+0ubIR/2zmsfBs1JFAFEbbRcgwg+qotsfZNLkX6bjHDpsRQzE\nmXUEu4/AqAsWPbFzG2uMKZ9pKOK+Nn3bt/NEK+AFlnSmgjEqzQ+0zhsrCExIReJV\nc2oiLBkLG6rBwxlGDog+PqwjP+1wGNIL1J3c2lMW1IGMNcts/aDBO5LtPVIY1LsQ\nFoeaTfm3U3GKC/pTczoDk/pKN756f8O05nTWUHgktcNsPvgqDKnpvEkI3VPf9Y4a\nfMOzKgVTgY1dSgjzHO8+4ZfcVGpBePsjOe0/RCUwkgtgOyGtcmBPTMJa0elJzjaM\njD9myqIXkB359sqbuEmcrjgo5uUUvubFYpmT/W0YxOi/py/bDK+7uUs38nUElNkZ\n+YFRpNWjLF9JtAghX5MhA5BwhTTuATvWYuDdK769ifi9qcYvE4u+VNxYfOpPY6sv\nx4FnkZ9+A7s2hk11d+DEq29Efa0xak8rO1LzT5hCSFT0P3KfZEZMpbuXpzVGiZoM\ng5cWHgYcNnzhUatKodvzZizAOVGRR7UFg42O4ylhxDVe\n-----END X509 CRL-----\n', - }; - // LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityById const loadBalancerListenerDefaultPoolPatchModel = { id: 'r006-70294e14-4e61-11e8-bcf4-0242ac110004', @@ -24339,7 +23982,6 @@ describe('VpcV1', () => { const id = 'testString'; const acceptProxyProtocol = true; const certificateInstance = certificateInstanceIdentityModel; - const clientAuthentication = loadBalancerListenerClientAuthenticationPatchModel; const connectionLimit = 2000; const defaultPool = loadBalancerListenerDefaultPoolPatchModel; const httpsRedirect = loadBalancerListenerHttpsRedirectPatchModel; @@ -24353,7 +23995,6 @@ describe('VpcV1', () => { id, acceptProxyProtocol, certificateInstance, - clientAuthentication, connectionLimit, defaultPool, httpsRedirect, @@ -24386,7 +24027,6 @@ describe('VpcV1', () => { checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.body.accept_proxy_protocol).toEqual(acceptProxyProtocol); expect(mockRequestOptions.body.certificate_instance).toEqual(certificateInstance); - expect(mockRequestOptions.body.client_authentication).toEqual(clientAuthentication); expect(mockRequestOptions.body.connection_limit).toEqual(connectionLimit); expect(mockRequestOptions.body.default_pool).toEqual(defaultPool); expect(mockRequestOptions.body.https_redirect).toEqual(httpsRedirect); @@ -25668,16 +25308,6 @@ describe('VpcV1', () => { type: 'http', }; - // CertificateInstanceIdentityByCRN - const certificateInstanceIdentityModel = { - crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', - }; - - // LoadBalancerPoolClientAuthenticationPrototype - const loadBalancerPoolClientAuthenticationPrototypeModel = { - certificate_instance: certificateInstanceIdentityModel, - }; - // LoadBalancerPoolIdentityLoadBalancerPoolIdentityById const loadBalancerPoolIdentityModel = { id: 'r006-70294e14-4e61-11e8-bcf4-0242ac110004', @@ -25701,12 +25331,6 @@ describe('VpcV1', () => { weight: 50, }; - // LoadBalancerPoolServerAuthenticationPrototype - const loadBalancerPoolServerAuthenticationPrototypeModel = { - certificate_authority: certificateInstanceIdentityModel, - verify_certificate: true, - }; - // LoadBalancerPoolSessionPersistencePrototype const loadBalancerPoolSessionPersistencePrototypeModel = { cookie_name: 'my-cookie-name', @@ -25719,24 +25343,20 @@ describe('VpcV1', () => { const algorithm = 'least_connections'; const healthMonitor = loadBalancerPoolHealthMonitorPrototypeModel; const protocol = 'http'; - const clientAuthentication = loadBalancerPoolClientAuthenticationPrototypeModel; const failsafePolicy = loadBalancerPoolFailsafePolicyPrototypeModel; const members = [loadBalancerPoolMemberPrototypeModel]; const name = 'my-load-balancer-pool'; const proxyProtocol = 'disabled'; - const serverAuthentication = loadBalancerPoolServerAuthenticationPrototypeModel; const sessionPersistence = loadBalancerPoolSessionPersistencePrototypeModel; const createLoadBalancerPoolParams = { loadBalancerId, algorithm, healthMonitor, protocol, - clientAuthentication, failsafePolicy, members, name, proxyProtocol, - serverAuthentication, sessionPersistence, }; @@ -25759,12 +25379,10 @@ describe('VpcV1', () => { expect(mockRequestOptions.body.algorithm).toEqual(algorithm); expect(mockRequestOptions.body.health_monitor).toEqual(healthMonitor); expect(mockRequestOptions.body.protocol).toEqual(protocol); - expect(mockRequestOptions.body.client_authentication).toEqual(clientAuthentication); expect(mockRequestOptions.body.failsafe_policy).toEqual(failsafePolicy); expect(mockRequestOptions.body.members).toEqual(members); expect(mockRequestOptions.body.name).toEqual(name); expect(mockRequestOptions.body.proxy_protocol).toEqual(proxyProtocol); - expect(mockRequestOptions.body.server_authentication).toEqual(serverAuthentication); expect(mockRequestOptions.body.session_persistence).toEqual(sessionPersistence); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); @@ -26031,16 +25649,6 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // CertificateInstanceIdentityByCRN - const certificateInstanceIdentityModel = { - crn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:36fa422d-080d-4d83-8d2d-86851b4001df:secret:2e786aab-42fa-63ed-14f8-d66d552f4dd5', - }; - - // LoadBalancerPoolClientAuthenticationPatch - const loadBalancerPoolClientAuthenticationPatchModel = { - certificate_instance: certificateInstanceIdentityModel, - }; - // LoadBalancerPoolFailsafePolicyTargetPatchLoadBalancerPoolIdentityById const loadBalancerPoolFailsafePolicyTargetPatchModel = { id: 'r006-70294e14-4e61-11e8-bcf4-0242ac110004', @@ -26052,43 +25660,16 @@ describe('VpcV1', () => { target: loadBalancerPoolFailsafePolicyTargetPatchModel, }; - // LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype - const loadBalancerPoolHealthMonitorTypeHttphttpsRequestHeaderPrototypeModel = { - field: 'Content-Type', - value: 'text/plain', - }; - - // LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch - const loadBalancerPoolHealthMonitorTypeHttphttpsRequestPatchModel = { - body: 'ACTIVE', - headers: [loadBalancerPoolHealthMonitorTypeHttphttpsRequestHeaderPrototypeModel], - method: 'get', - }; - - // LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePatch - const loadBalancerPoolHealthMonitorTypeHttphttpsResponsePatchModel = { - body_regex: 'ACTIVE', - codes: ['2XX'], - }; - // LoadBalancerPoolHealthMonitorPatch const loadBalancerPoolHealthMonitorPatchModel = { delay: 5, max_retries: 2, port: 22, - request: loadBalancerPoolHealthMonitorTypeHttphttpsRequestPatchModel, - response: loadBalancerPoolHealthMonitorTypeHttphttpsResponsePatchModel, timeout: 2, type: 'http', url_path: '/', }; - // LoadBalancerPoolServerAuthenticationPatch - const loadBalancerPoolServerAuthenticationPatchModel = { - certificate_authority: certificateInstanceIdentityModel, - verify_certificate: true, - }; - // LoadBalancerPoolSessionPersistencePatch const loadBalancerPoolSessionPersistencePatchModel = { cookie_name: 'my-cookie-name', @@ -26100,28 +25681,22 @@ describe('VpcV1', () => { const loadBalancerId = 'testString'; const id = 'testString'; const algorithm = 'least_connections'; - const clientAuthentication = loadBalancerPoolClientAuthenticationPatchModel; const failsafePolicy = loadBalancerPoolFailsafePolicyPatchModel; const healthMonitor = loadBalancerPoolHealthMonitorPatchModel; const name = 'my-load-balancer-pool'; const protocol = 'http'; const proxyProtocol = 'disabled'; - const serverAuthentication = loadBalancerPoolServerAuthenticationPatchModel; const sessionPersistence = loadBalancerPoolSessionPersistencePatchModel; - const ifMatch = 'W/"96d225c4-56bd-43d9-98fc-d7148e5c5028"'; const updateLoadBalancerPoolParams = { loadBalancerId, id, algorithm, - clientAuthentication, failsafePolicy, healthMonitor, name, protocol, proxyProtocol, - serverAuthentication, sessionPersistence, - ifMatch, }; const updateLoadBalancerPoolResult = vpcService.updateLoadBalancerPool( @@ -26144,15 +25719,12 @@ describe('VpcV1', () => { const expectedAccept = 'application/json'; const expectedContentType = 'application/merge-patch+json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); - checkUserHeader(createRequestMock, 'If-Match', ifMatch); expect(mockRequestOptions.body.algorithm).toEqual(algorithm); - expect(mockRequestOptions.body.client_authentication).toEqual(clientAuthentication); expect(mockRequestOptions.body.failsafe_policy).toEqual(failsafePolicy); expect(mockRequestOptions.body.health_monitor).toEqual(healthMonitor); expect(mockRequestOptions.body.name).toEqual(name); expect(mockRequestOptions.body.protocol).toEqual(protocol); expect(mockRequestOptions.body.proxy_protocol).toEqual(proxyProtocol); - expect(mockRequestOptions.body.server_authentication).toEqual(serverAuthentication); expect(mockRequestOptions.body.session_persistence).toEqual(sessionPersistence); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); @@ -32180,13 +31752,15 @@ describe('VpcV1', () => { address: '192.168.3.4', }; - // SecurityGroupRulePrototypeSecurityGroupRuleProtocolAnyPrototype + // SecurityGroupRulePrototypeSecurityGroupRuleProtocolTCPUDP const securityGroupRulePrototypeModel = { direction: 'inbound', ip_version: 'ipv4', local: securityGroupRuleLocalPrototypeModel, name: 'my-rule-1', remote: securityGroupRuleRemotePrototypeModel, + port_max: 22, + port_min: 22, protocol: 'ah', }; @@ -32646,13 +32220,15 @@ describe('VpcV1', () => { address: '192.168.3.4', }; - // SecurityGroupRulePrototypeSecurityGroupRuleProtocolAnyPrototype + // SecurityGroupRulePrototypeSecurityGroupRuleProtocolTCPUDP const securityGroupRulePrototypeModel = { direction: 'inbound', ip_version: 'ipv4', local: securityGroupRuleLocalPrototypeModel, name: 'my-rule-1', remote: securityGroupRuleRemotePrototypeModel, + port_max: 22, + port_min: 22, protocol: 'ah', }; @@ -33865,14 +33441,18 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById + // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext const virtualNetworkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext const virtualNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // ResourceGroupIdentityById @@ -34931,14 +34511,18 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById + // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext const virtualNetworkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext const virtualNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // ResourceGroupIdentityById @@ -36062,7 +35646,6 @@ describe('VpcV1', () => { const name = 'my-name'; const sort = 'name'; const backupPolicyPlanId = 'testString'; - const backupPolicyJobId = 'testString'; const listSnapshotConsistencyGroupsParams = { start, limit, @@ -36070,7 +35653,6 @@ describe('VpcV1', () => { name, sort, backupPolicyPlanId, - backupPolicyJobId, }; const listSnapshotConsistencyGroupsResult = vpcService.listSnapshotConsistencyGroups( @@ -36097,7 +35679,6 @@ describe('VpcV1', () => { expect(mockRequestOptions.qs.name).toEqual(name); expect(mockRequestOptions.qs.sort).toEqual(sort); expect(mockRequestOptions.qs['backup_policy_plan.id']).toEqual(backupPolicyPlanId); - expect(mockRequestOptions.qs['backup_policy_job.id']).toEqual(backupPolicyJobId); } test('should pass the right params to createRequest with enable and disable retries', () => { @@ -36141,9 +35722,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/snapshot_consistency_groups'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"snapshot_consistency_groups":[{"backup_policy_job":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/jobs/r006-fc4b7fbc-38af-45d9-9fb6-bf0533acbf90","id":"r006-fc4b7fbc-38af-45d9-9fb6-bf0533acbf90","resource_type":"backup_policy_job"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","delete_snapshots_on_delete":true,"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","name":"my-snapshot-consistency-group","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot_consistency_group","service_tags":["service_tags"],"snapshots":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}]}],"total_count":2,"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"snapshot_consistency_groups":[{"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","delete_snapshots_on_delete":true,"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","name":"my-snapshot-consistency-group","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot_consistency_group","service_tags":["service_tags"],"snapshots":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}]}],"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"snapshot_consistency_groups":[{"backup_policy_job":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/jobs/r006-fc4b7fbc-38af-45d9-9fb6-bf0533acbf90","id":"r006-fc4b7fbc-38af-45d9-9fb6-bf0533acbf90","resource_type":"backup_policy_job"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","delete_snapshots_on_delete":true,"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","name":"my-snapshot-consistency-group","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot_consistency_group","service_tags":["service_tags"],"snapshots":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}]}],"total_count":2,"limit":1}'; + '{"snapshot_consistency_groups":[{"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","delete_snapshots_on_delete":true,"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","name":"my-snapshot-consistency-group","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot_consistency_group","service_tags":["service_tags"],"snapshots":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}]}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -36166,7 +35747,6 @@ describe('VpcV1', () => { name: 'my-name', sort: 'name', backupPolicyPlanId: 'testString', - backupPolicyJobId: 'testString', }; const allResults = []; const pager = new VpcV1.SnapshotConsistencyGroupsPager(vpcService, params); @@ -36186,7 +35766,6 @@ describe('VpcV1', () => { name: 'my-name', sort: 'name', backupPolicyPlanId: 'testString', - backupPolicyJobId: 'testString', }; const pager = new VpcV1.SnapshotConsistencyGroupsPager(vpcService, params); const allResults = await pager.getAll(); @@ -36818,9 +36397,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/snapshots'; const mockPagerResponse1 = - '{"snapshots":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"bootable":true,"captured_at":"2026-01-02T03:04:05.006Z","catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"clones":[{"available":false,"created_at":"2026-01-02T03:04:05.006Z","zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"copies":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}],"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deletable":false,"encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","minimum_capacity":1,"name":"my-snapshot","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"progress":55,"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot","service_tags":["service_tags"],"size":1,"snapshot_consistency_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","name":"my-snapshot-consistency-group","resource_type":"snapshot_consistency_group"},"source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"storage_generation":1,"user_tags":["user_tags"]}],"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1}'; + '{"snapshots":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"bootable":true,"captured_at":"2026-01-02T03:04:05.006Z","catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"clones":[{"available":false,"created_at":"2026-01-02T03:04:05.006Z","zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"copies":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}],"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deletable":false,"encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","minimum_capacity":1,"name":"my-snapshot","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"progress":55,"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot","service_tags":["service_tags"],"size":1,"snapshot_consistency_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","name":"my-snapshot-consistency-group","resource_type":"snapshot_consistency_group"},"source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"storage_generation":1,"user_tags":["user_tags"]}],"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"snapshots":[{"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"bootable":true,"captured_at":"2026-01-02T03:04:05.006Z","catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"clones":[{"available":false,"created_at":"2026-01-02T03:04:05.006Z","zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"copies":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}],"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deletable":false,"encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","minimum_capacity":1,"name":"my-snapshot","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"progress":55,"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot","service_tags":["service_tags"],"size":1,"snapshot_consistency_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","name":"my-snapshot-consistency-group","resource_type":"snapshot_consistency_group"},"source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"storage_generation":1,"user_tags":["user_tags"]}],"total_count":2,"limit":1}'; + '{"snapshots":[{"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"backup_policy_plan":{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies/r006-076191ba-49c2-4763-94fd-c70de73ee2e6/plans/r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","id":"r006-6da51cfe-6f7b-4638-a6ba-00e9c327b178","name":"my-policy-plan","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"backup_policy_plan"},"bootable":true,"captured_at":"2026-01-02T03:04:05.006Z","catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"clones":[{"available":false,"created_at":"2026-01-02T03:04:05.006Z","zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}],"copies":[{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"}],"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deletable":false,"encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","lifecycle_state":"stable","minimum_capacity":1,"name":"my-snapshot","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"progress":55,"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"snapshot","service_tags":["service_tags"],"size":1,"snapshot_consistency_group":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot-consistency-group:r006-fa329f6b-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshot_consistency_groups/r006-fa329f6b-0e36-433f-a3bb-0df632e79263","id":"r006-fa329f6b-0e36-433f-a3bb-0df632e79263","name":"my-snapshot-consistency-group","resource_type":"snapshot_consistency_group"},"source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"source_volume":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","name":"my-volume","remote":{"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"volume"},"storage_generation":1,"user_tags":["user_tags"]}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -36917,7 +36496,7 @@ describe('VpcV1', () => { // SnapshotAllowedUsePrototype const snapshotAllowedUsePrototypeModel = { - api_version: '2024-06-23', + api_version: '2026-03-24', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -37217,7 +36796,7 @@ describe('VpcV1', () => { // SnapshotAllowedUsePatch const snapshotAllowedUsePatchModel = { - api_version: '2024-06-23', + api_version: '2026-03-24', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -39734,14 +39313,18 @@ describe('VpcV1', () => { describe('positive tests', () => { // Request models needed by this operation. - // VirtualNetworkInterfaceIPPrototypeReservedIPIdentityVirtualNetworkInterfaceIPsContextById + // VirtualNetworkInterfaceIPPrototypeReservedIPPrototypeVirtualNetworkInterfaceIPsContext const virtualNetworkInterfaceIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; - // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPIdentityVirtualNetworkInterfacePrimaryIPContextById + // VirtualNetworkInterfacePrimaryIPPrototypeReservedIPPrototypeVirtualNetworkInterfacePrimaryIPContext const virtualNetworkInterfacePrimaryIpPrototypeModel = { - id: '0717-6d353a0f-aeb1-4ae1-832e-1110d10981bb', + address: '10.0.0.5', + auto_delete: false, + name: 'my-reserved-ip', }; // ResourceGroupIdentityById @@ -41346,9 +40929,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/volumes'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"volumes":[{"active":true,"adjustable_capacity_states":["attached"],"adjustable_iops_states":["attached"],"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"attachment_state":"attached","bandwidth":1000,"busy":true,"capacity":1000,"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"health_reasons":[{"code":"initializing_from_snapshot","message":"Performance will be degraded while this volume is being initialized from its snapshot","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-troubleshooting&interface=ui#snapshot_ts_degraded_perf"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","iops":10000,"name":"my-volume","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/volume/profiles/general-purpose","name":"general-purpose"},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"volume","source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"storage_generation":1,"user_tags":["user_tags"],"volume_attachments":[{"delete_volume_on_instance_delete":true,"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","instance":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","name":"my-instance"},"name":"my-volume-attachment","type":"boot"}],"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"limit":1,"volumes":[{"active":true,"adjustable_capacity_states":["attached"],"adjustable_iops_states":["attached"],"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"attachment_state":"attached","bandwidth":1000,"busy":true,"capacity":1000,"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"health_reasons":[{"code":"initializing_from_snapshot","message":"Performance will be degraded while this volume is being initialized from its snapshot","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-troubleshooting&interface=ui#snapshot_ts_degraded_perf"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","iops":10000,"name":"my-volume","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/volume/profiles/general-purpose","name":"general-purpose"},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"volume","source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"storage_generation":1,"user_tags":["user_tags"],"volume_attachments":[{"delete_volume_on_instance_delete":true,"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","instance":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","name":"my-instance"},"name":"my-volume-attachment","type":"boot"}],"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; const mockPagerResponse2 = - '{"total_count":2,"limit":1,"volumes":[{"active":true,"adjustable_capacity_states":["attached"],"adjustable_iops_states":["attached"],"allowed_use":{"api_version":"2024-06-23","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"attachment_state":"attached","bandwidth":1000,"busy":true,"capacity":1000,"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"health_reasons":[{"code":"initializing_from_snapshot","message":"Performance will be degraded while this volume is being initialized from its snapshot","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-troubleshooting&interface=ui#snapshot_ts_degraded_perf"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","iops":10000,"name":"my-volume","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/volume/profiles/general-purpose","name":"general-purpose"},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"volume","source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"storage_generation":1,"user_tags":["user_tags"],"volume_attachments":[{"delete_volume_on_instance_delete":true,"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","instance":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","name":"my-instance"},"name":"my-volume-attachment","type":"boot"}],"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; + '{"total_count":2,"limit":1,"volumes":[{"active":true,"adjustable_capacity_states":["attached"],"adjustable_iops_states":["attached"],"allowed_use":{"api_version":"2026-03-24","bare_metal_server":"enable_secure_boot == true","instance":"gpu.count > 0 && enable_secure_boot == true"},"attachment_state":"attached","bandwidth":1000,"busy":true,"capacity":1000,"catalog_offering":{"plan":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:51c9e0db-2911-45a6-adb0-ac5332d27cf2:plan:sw.51c9e0db-2911-45a6-adb0-ac5332d27cf2.772c0dbe-aa62-482e-adbe-a3fc20101e0e","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"}},"version":{"crn":"crn:v1:bluemix:public:globalcatalog-collection:global:a/aa2432b1fa4d4ace891e9b80fc104e34:1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc:version:00111601-0ec5-41ac-b142-96d1e64e6442/ec66bec2-6a33-42d6-9323-26dd4dc8875d"}},"created_at":"2026-01-02T03:04:05.006Z","crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::volume:r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","encryption":"provider_managed","encryption_key":{"crn":"crn:v1:bluemix:public:kms:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34:e4a29d1a-2ef0-42a6-8fd2-350deb1c647e:key:5437653b-c4b1-447f-9646-b2a2a4cd6179"},"health_reasons":[{"code":"initializing_from_snapshot","message":"Performance will be degraded while this volume is being initialized from its snapshot","more_info":"https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-troubleshooting&interface=ui#snapshot_ts_degraded_perf"}],"health_state":"ok","href":"https://us-south.iaas.cloud.ibm.com/v1/volumes/r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","id":"r006-1a6b7274-678d-4dfb-8981-c71dd9d4daa5","iops":10000,"name":"my-volume","operating_system":{"allow_user_image_creation":true,"architecture":"amd64","dedicated_host_only":false,"display_name":"Ubuntu Server 16.04 LTS amd64","family":"Ubuntu Server","href":"https://us-south.iaas.cloud.ibm.com/v1/operating_systems/ubuntu-24-04-amd64","name":"ubuntu-24-04-amd64","user_data_format":"cloud_init","vendor":"Canonical","version":"16.04 LTS"},"profile":{"href":"https://us-south.iaas.cloud.ibm.com/v1/volume/profiles/general-purpose","name":"general-purpose"},"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"volume","source_image":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::image:r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/images/r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","id":"r006-72b27b5c-f4b0-48bb-b954-5becc7c1dcb8","name":"my-image","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"image"},"source_snapshot":{"crn":"crn:v1:bluemix:public:is:us-south:a/aa2432b1fa4d4ace891e9b80fc104e34::snapshot:r006-f6bfa329-0e36-433f-a3bb-0df632e79263","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/snapshots/r006-f6bfa329-0e36-433f-a3bb-0df632e79263","id":"r006-f6bfa329-0e36-433f-a3bb-0df632e79263","name":"my-snapshot","remote":{"account":{"id":"bb1b52262f7441a586f49068482f1e60","resource_type":"account"},"region":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south","name":"us-south"}},"resource_type":"snapshot"},"status":"available","status_reasons":[{"code":"encryption_key_deleted","message":"A failure occurred","more_info":"https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys"}],"storage_generation":1,"user_tags":["user_tags"],"volume_attachments":[{"delete_volume_on_instance_delete":true,"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"device":{"id":"id"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0/volume_attachments/0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","id":"0717-82cbf856-9cbb-45fb-b62f-d7bcef32399a","instance":{"crn":"crn:v1:bluemix:public:is:us-south-1:a/aa2432b1fa4d4ace891e9b80fc104e34::instance:0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/instances/0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","id":"0717_e21b7391-2ca2-4ab5-84a8-b92157a633b0","name":"my-instance"},"name":"my-volume-attachment","type":"boot"}],"zone":{"href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1","name":"us-south-1"}}]}'; beforeEach(() => { unmock_createRequest(); @@ -41709,7 +41292,7 @@ describe('VpcV1', () => { // VolumeAllowedUsePatch const volumeAllowedUsePatchModel = { - api_version: '2024-06-23', + api_version: '2026-03-24', bare_metal_server: 'enable_secure_boot == true', instance: 'gpu.count > 0 && enable_secure_boot == true', }; @@ -46353,9 +45936,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/ike_policies'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"ike_policies":[{"authentication_algorithm":"md5","authentication_algorithms":["sha256"],"connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","dh_group":14,"dh_groups":[14],"encryption_algorithm":"aes128","encryption_algorithms":["aes128"],"href":"https://us-south.iaas.cloud.ibm.com/v1/ike_policies/r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","id":"r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","ike_version":1,"key_lifetime":28800,"name":"my-ike-policy","negotiation_mode":"main","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ike_policy"}],"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"total_count":2,"ike_policies":[{"authentication_algorithm":"md5","connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","dh_group":14,"encryption_algorithm":"aes128","href":"https://us-south.iaas.cloud.ibm.com/v1/ike_policies/r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","id":"r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","ike_version":1,"key_lifetime":28800,"name":"my-ike-policy","negotiation_mode":"main","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ike_policy"}],"limit":1}'; const mockPagerResponse2 = - '{"total_count":2,"ike_policies":[{"authentication_algorithm":"md5","authentication_algorithms":["sha256"],"connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","dh_group":14,"dh_groups":[14],"encryption_algorithm":"aes128","encryption_algorithms":["aes128"],"href":"https://us-south.iaas.cloud.ibm.com/v1/ike_policies/r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","id":"r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","ike_version":1,"key_lifetime":28800,"name":"my-ike-policy","negotiation_mode":"main","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ike_policy"}],"limit":1}'; + '{"total_count":2,"ike_policies":[{"authentication_algorithm":"md5","connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","dh_group":14,"encryption_algorithm":"aes128","href":"https://us-south.iaas.cloud.ibm.com/v1/ike_policies/r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","id":"r006-e98f46a3-1e4e-4195-b4e5-b8155192689d","ike_version":1,"key_lifetime":28800,"name":"my-ike-policy","negotiation_mode":"main","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ike_policy"}],"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -46409,24 +45992,18 @@ describe('VpcV1', () => { function __createIkePolicyTest() { // Construct the params object for operation createIkePolicy - const ikeVersion = 1; const authenticationAlgorithm = 'sha256'; - const authenticationAlgorithms = ['sha256']; const dhGroup = 14; - const dhGroups = [14]; const encryptionAlgorithm = 'aes128'; - const encryptionAlgorithms = ['aes128']; + const ikeVersion = 1; const keyLifetime = 28800; const name = 'my-ike-policy'; const resourceGroup = resourceGroupIdentityModel; const createIkePolicyParams = { - ikeVersion, authenticationAlgorithm, - authenticationAlgorithms, dhGroup, - dhGroups, encryptionAlgorithm, - encryptionAlgorithms, + ikeVersion, keyLifetime, name, resourceGroup, @@ -46446,13 +46023,10 @@ describe('VpcV1', () => { const expectedAccept = 'application/json'; const expectedContentType = 'application/json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); - expect(mockRequestOptions.body.ike_version).toEqual(ikeVersion); expect(mockRequestOptions.body.authentication_algorithm).toEqual(authenticationAlgorithm); - expect(mockRequestOptions.body.authentication_algorithms).toEqual(authenticationAlgorithms); expect(mockRequestOptions.body.dh_group).toEqual(dhGroup); - expect(mockRequestOptions.body.dh_groups).toEqual(dhGroups); expect(mockRequestOptions.body.encryption_algorithm).toEqual(encryptionAlgorithm); - expect(mockRequestOptions.body.encryption_algorithms).toEqual(encryptionAlgorithms); + expect(mockRequestOptions.body.ike_version).toEqual(ikeVersion); expect(mockRequestOptions.body.key_lifetime).toEqual(keyLifetime); expect(mockRequestOptions.body.name).toEqual(name); expect(mockRequestOptions.body.resource_group).toEqual(resourceGroup); @@ -46477,10 +46051,16 @@ describe('VpcV1', () => { test('should prioritize user-given headers', () => { // parameters + const authenticationAlgorithm = 'sha256'; + const dhGroup = 14; + const encryptionAlgorithm = 'aes128'; const ikeVersion = 1; const userAccept = 'fake/accept'; const userContentType = 'fake/contentType'; const createIkePolicyParams = { + authenticationAlgorithm, + dhGroup, + encryptionAlgorithm, ikeVersion, headers: { Accept: userAccept, @@ -46696,22 +46276,16 @@ describe('VpcV1', () => { // Construct the params object for operation updateIkePolicy const id = 'testString'; const authenticationAlgorithm = 'sha256'; - const authenticationAlgorithms = ['sha256']; const dhGroup = 14; - const dhGroups = [14]; const encryptionAlgorithm = 'aes128'; - const encryptionAlgorithms = ['aes128']; const ikeVersion = 1; const keyLifetime = 28800; const name = 'my-ike-policy'; const updateIkePolicyParams = { id, authenticationAlgorithm, - authenticationAlgorithms, dhGroup, - dhGroups, encryptionAlgorithm, - encryptionAlgorithms, ikeVersion, keyLifetime, name, @@ -46732,11 +46306,8 @@ describe('VpcV1', () => { const expectedContentType = 'application/merge-patch+json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.body.authentication_algorithm).toEqual(authenticationAlgorithm); - expect(mockRequestOptions.body.authentication_algorithms).toEqual(authenticationAlgorithms); expect(mockRequestOptions.body.dh_group).toEqual(dhGroup); - expect(mockRequestOptions.body.dh_groups).toEqual(dhGroups); expect(mockRequestOptions.body.encryption_algorithm).toEqual(encryptionAlgorithm); - expect(mockRequestOptions.body.encryption_algorithms).toEqual(encryptionAlgorithms); expect(mockRequestOptions.body.ike_version).toEqual(ikeVersion); expect(mockRequestOptions.body.key_lifetime).toEqual(keyLifetime); expect(mockRequestOptions.body.name).toEqual(name); @@ -47019,9 +46590,9 @@ describe('VpcV1', () => { const serviceUrl = vpcServiceOptions.url; const path = '/ipsec_policies'; const mockPagerResponse1 = - '{"next":{"href":"https://myhost.com/somePath?start=1"},"ipsec_policies":[{"authentication_algorithm":"disabled","authentication_algorithms":["disabled"],"connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","encapsulation_mode":"tunnel","encryption_algorithm":"aes128","encryption_algorithms":["aes128"],"href":"https://us-south.iaas.cloud.ibm.com/v1/ipsec_policies/r006-51eae621-dbbc-4c47-b623-b57a43c19876","id":"r006-51eae621-dbbc-4c47-b623-b57a43c19876","key_lifetime":3600,"name":"my-ipsec-policy","pfs":"disabled","pfs_groups":["disabled"],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ipsec_policy","transform_protocol":"esp"}],"total_count":2,"limit":1}'; + '{"next":{"href":"https://myhost.com/somePath?start=1"},"ipsec_policies":[{"authentication_algorithm":"disabled","connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","encapsulation_mode":"tunnel","encryption_algorithm":"aes128","href":"https://us-south.iaas.cloud.ibm.com/v1/ipsec_policies/r006-51eae621-dbbc-4c47-b623-b57a43c19876","id":"r006-51eae621-dbbc-4c47-b623-b57a43c19876","key_lifetime":3600,"name":"my-ipsec-policy","pfs":"disabled","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ipsec_policy","transform_protocol":"esp"}],"total_count":2,"limit":1}'; const mockPagerResponse2 = - '{"ipsec_policies":[{"authentication_algorithm":"disabled","authentication_algorithms":["disabled"],"connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","encapsulation_mode":"tunnel","encryption_algorithm":"aes128","encryption_algorithms":["aes128"],"href":"https://us-south.iaas.cloud.ibm.com/v1/ipsec_policies/r006-51eae621-dbbc-4c47-b623-b57a43c19876","id":"r006-51eae621-dbbc-4c47-b623-b57a43c19876","key_lifetime":3600,"name":"my-ipsec-policy","pfs":"disabled","pfs_groups":["disabled"],"resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ipsec_policy","transform_protocol":"esp"}],"total_count":2,"limit":1}'; + '{"ipsec_policies":[{"authentication_algorithm":"disabled","connections":[{"deleted":{"more_info":"https://cloud.ibm.com/apidocs/vpc#deleted-resources"},"href":"https://us-south.iaas.cloud.ibm.com/v1/vpn_gateways/0717-ddf51bec-3424-11e8-b467-0ed5f89f718b/connections/0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","id":"0717-52f69dc3-6a5c-4bcf-b264-e7fae279b15c","name":"my-vpn-gateway-connection","resource_type":"vpn_gateway_connection"}],"created_at":"2026-01-02T03:04:05.006Z","encapsulation_mode":"tunnel","encryption_algorithm":"aes128","href":"https://us-south.iaas.cloud.ibm.com/v1/ipsec_policies/r006-51eae621-dbbc-4c47-b623-b57a43c19876","id":"r006-51eae621-dbbc-4c47-b623-b57a43c19876","key_lifetime":3600,"name":"my-ipsec-policy","pfs":"disabled","resource_group":{"href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fee82deba12e4c0fb69c3b09d1f12345","id":"fee82deba12e4c0fb69c3b09d1f12345","name":"my-resource-group"},"resource_type":"ipsec_policy","transform_protocol":"esp"}],"total_count":2,"limit":1}'; beforeEach(() => { unmock_createRequest(); @@ -47076,23 +46647,17 @@ describe('VpcV1', () => { function __createIpsecPolicyTest() { // Construct the params object for operation createIpsecPolicy const authenticationAlgorithm = 'disabled'; - const authenticationAlgorithms = ['disabled']; const encryptionAlgorithm = 'aes128'; - const encryptionAlgorithms = ['aes128']; + const pfs = 'disabled'; const keyLifetime = 3600; const name = 'my-ipsec-policy'; - const pfs = 'disabled'; - const pfsGroups = ['disabled']; const resourceGroup = resourceGroupIdentityModel; const createIpsecPolicyParams = { authenticationAlgorithm, - authenticationAlgorithms, encryptionAlgorithm, - encryptionAlgorithms, + pfs, keyLifetime, name, - pfs, - pfsGroups, resourceGroup, }; @@ -47111,13 +46676,10 @@ describe('VpcV1', () => { const expectedContentType = 'application/json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.body.authentication_algorithm).toEqual(authenticationAlgorithm); - expect(mockRequestOptions.body.authentication_algorithms).toEqual(authenticationAlgorithms); expect(mockRequestOptions.body.encryption_algorithm).toEqual(encryptionAlgorithm); - expect(mockRequestOptions.body.encryption_algorithms).toEqual(encryptionAlgorithms); + expect(mockRequestOptions.body.pfs).toEqual(pfs); expect(mockRequestOptions.body.key_lifetime).toEqual(keyLifetime); expect(mockRequestOptions.body.name).toEqual(name); - expect(mockRequestOptions.body.pfs).toEqual(pfs); - expect(mockRequestOptions.body.pfs_groups).toEqual(pfsGroups); expect(mockRequestOptions.body.resource_group).toEqual(resourceGroup); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); @@ -47140,9 +46702,15 @@ describe('VpcV1', () => { test('should prioritize user-given headers', () => { // parameters + const authenticationAlgorithm = 'disabled'; + const encryptionAlgorithm = 'aes128'; + const pfs = 'disabled'; const userAccept = 'fake/accept'; const userContentType = 'fake/contentType'; const createIpsecPolicyParams = { + authenticationAlgorithm, + encryptionAlgorithm, + pfs, headers: { Accept: userAccept, 'Content-Type': userContentType, @@ -47152,11 +46720,29 @@ describe('VpcV1', () => { vpcService.createIpsecPolicy(createIpsecPolicyParams); checkMediaHeaders(createRequestMock, userAccept, userContentType); }); + }); - test('should not have any problems when no parameters are passed in', () => { - // invoke the method with no parameters - vpcService.createIpsecPolicy({}); - checkForSuccessfulExecution(createRequestMock); + describe('negative tests', () => { + test('should enforce required parameters', async () => { + let err; + try { + await vpcService.createIpsecPolicy({}); + } catch (e) { + err = e; + } + + expect(err.message).toMatch(/Missing required parameters/); + }); + + test('should reject promise when required params are not given', async () => { + let err; + try { + await vpcService.createIpsecPolicy(); + } catch (e) { + err = e; + } + + expect(err.message).toMatch(/Missing required parameters/); }); }); }); @@ -47339,23 +46925,17 @@ describe('VpcV1', () => { // Construct the params object for operation updateIpsecPolicy const id = 'testString'; const authenticationAlgorithm = 'disabled'; - const authenticationAlgorithms = ['disabled']; const encryptionAlgorithm = 'aes128'; - const encryptionAlgorithms = ['aes128']; const keyLifetime = 3600; const name = 'my-ipsec-policy'; const pfs = 'disabled'; - const pfsGroups = ['disabled']; const updateIpsecPolicyParams = { id, authenticationAlgorithm, - authenticationAlgorithms, encryptionAlgorithm, - encryptionAlgorithms, keyLifetime, name, pfs, - pfsGroups, }; const updateIpsecPolicyResult = vpcService.updateIpsecPolicy(updateIpsecPolicyParams); @@ -47373,13 +46953,10 @@ describe('VpcV1', () => { const expectedContentType = 'application/merge-patch+json'; checkMediaHeaders(createRequestMock, expectedAccept, expectedContentType); expect(mockRequestOptions.body.authentication_algorithm).toEqual(authenticationAlgorithm); - expect(mockRequestOptions.body.authentication_algorithms).toEqual(authenticationAlgorithms); expect(mockRequestOptions.body.encryption_algorithm).toEqual(encryptionAlgorithm); - expect(mockRequestOptions.body.encryption_algorithms).toEqual(encryptionAlgorithms); expect(mockRequestOptions.body.key_lifetime).toEqual(keyLifetime); expect(mockRequestOptions.body.name).toEqual(name); expect(mockRequestOptions.body.pfs).toEqual(pfs); - expect(mockRequestOptions.body.pfs_groups).toEqual(pfsGroups); expect(mockRequestOptions.qs.version).toEqual(vpcServiceOptions.version); expect(mockRequestOptions.qs.generation).toEqual(vpcServiceOptions.generation); expect(mockRequestOptions.path.id).toEqual(id); diff --git a/vpc/v1.ts b/vpc/v1.ts index fc5a8c1..c511247 100644 --- a/vpc/v1.ts +++ b/vpc/v1.ts @@ -15,7 +15,7 @@ */ /** - * IBM OpenAPI SDK Code Generator Version: 3.114.4-9b56d441-20260612-210048 + * IBM OpenAPI SDK Code Generator Version: 3.111.0-1bfb72c2-20260206-185521 */ /* eslint-disable max-classes-per-file */ @@ -40,7 +40,7 @@ import { getSdkHeaders } from '../lib/common'; * The IBM Cloud Virtual Private Cloud (VPC) API can be used to programmatically provision and manage virtual server * instances, along with subnets, volumes, load balancers, and more. * - * API Version: 2026-06-23 + * API Version: 2026-03-24 */ class VpcV1 extends BaseService { @@ -110,7 +110,7 @@ class VpcV1 extends BaseService { generation?: number; /** The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between - * `2026-04-07` and `2026-06-23`. + * `2025-12-09` and `2026-03-25`. */ version: string; @@ -121,7 +121,7 @@ class VpcV1 extends BaseService { * @param {number} [options.generation] - The infrastructure generation. For the API behavior documented here, specify * `2`. * @param {string} options.version - The API version, in format `YYYY-MM-DD`. For the API behavior documented here, - * specify any date between `2026-04-07` and `2026-06-23`. + * specify any date between `2025-12-09` and `2026-03-25`. * @param {string} [options.serviceUrl] - The base URL for the service * @param {OutgoingHttpHeaders} [options.headers] - Default headers that shall be included with every request to the service. * @param {Authenticator} options.authenticator - The Authenticator object used to authenticate requests to the service @@ -141,7 +141,7 @@ class VpcV1 extends BaseService { if (!('generation' in options)) { this.generation = 2; } - this.version = options.version || '2026-06-23'; + this.version = options.version || '2026-03-24'; } /************************* @@ -2939,15 +2939,14 @@ class VpcV1 extends BaseService { * be added as SSH authorized keys for the [default * user](https://cloud.ibm.com/docs/vpc?topic=vpc-vsi_is_connecting_linux#determining-default-user-account). * - * For Windows images, at least one SSH key of type `rsa` must be specified. One of the provided keys is selected to - * encrypt the administrator password. SSH keys are optional for other images; however, if no keys are specified, the - * bare metal server will be inaccessible unless the selected image provides an alternative access mechanism. + * For Windows images, at least one key must be specified, and one will be selected to encrypt the administrator + * password. Keys are optional for other images, but if no keys are specified, the bare metal server will be + * inaccessible unless the specified image provides another means of access. * @param {BareMetalServerInitializationDefaultTrustedProfilePrototype} [params.defaultTrustedProfile] - The default * trusted profile to be used when initializing the bare metal server. * * If unspecified, no default trusted profile will be made available. - * @param {string} [params.userData] - The [user data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make - * available when setting up the bare metal server. + * @param {string} [params.userData] - The user data to be made available when initializing the bare metal server. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -7720,6 +7719,8 @@ class VpcV1 extends BaseService { * reversed. An image with `remote.account` set is not allowed to be deleted. Additionally, an image cannot be deleted * if it: * - has a `status` of `deleting` + * - has a `status` of `pending` with a `status_reasons` code of + * `image_request_in_progress` * - has `catalog_offering.managed` set to `true`. * * @param {Object} params - The parameters to send to the service. @@ -10673,8 +10674,6 @@ class VpcV1 extends BaseService { * region. An instance profile specifies the performance characteristics and pricing model for an instance. * * @param {Object} [params] - The parameters to send to the service. - * @param {string} [params.start] - A server-provided token determining what resource to start the page on. - * @param {number} [params.limit] - The number of resources to return on a page. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -10683,7 +10682,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = []; - const _validParams = ['start', 'limit', 'signal', 'headers']; + const _validParams = ['signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -10692,8 +10691,6 @@ class VpcV1 extends BaseService { const query = { 'version': this.version, 'generation': this.generation, - 'start': _params.start, - 'limit': _params.limit, }; const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'listInstanceProfiles'); @@ -11110,11 +11107,9 @@ class VpcV1 extends BaseService { * @param {string} [params.name] - The name for this virtual server instance. The name must not be used by another * virtual server instance in the region. Changing the name will not affect the system hostname. * @param {InstancePlacementTargetPatch} [params.placementTarget] - The placement restrictions to use for the virtual - * server instance. For the - * placement restrictions to be changed, the instance `status` must be `stopping` or - * `stopped`. + * server instance. * - * If set, `reservation_affinity.policy` must be `disabled`. If specifying a dedicated + * If specified, `reservation_affinity.policy` must be `disabled`. If specifying a dedicated * host or dedicated host group, the `vcpu.percentage` must be `100` and the instance must * have two or more vCPUs. * @param {InstancePatchProfile} [params.profile] - The profile to use for this virtual server instance. Any disks @@ -11132,11 +11127,6 @@ class VpcV1 extends BaseService { * currently has. * - Have the `volume_bandwidth_qos_mode` listed in its `volume_bandwidth_qos_modes`. * @param {InstanceReservationAffinityPatch} [params.reservationAffinity] - - * @param {number} [params.threadsPerCore] - The threads per core to use for this virtual server instance. Must be one - * of the values in the profile's `threads_per_core.values`. - * - * For this property to be changed, the virtual server instance `status` must be - * `stopping` or `stopped`. * @param {number} [params.totalVolumeBandwidth] - The amount of bandwidth (in megabits per second) allocated * exclusively to instance storage volumes. An increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -11156,7 +11146,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['id']; - const _validParams = ['id', 'availability', 'availabilityPolicy', 'confidentialComputeMode', 'enableSecureBoot', 'metadataService', 'name', 'placementTarget', 'profile', 'reservationAffinity', 'threadsPerCore', 'totalVolumeBandwidth', 'vcpu', 'volumeBandwidthQosMode', 'ifMatch', 'signal', 'headers']; + const _validParams = ['id', 'availability', 'availabilityPolicy', 'confidentialComputeMode', 'enableSecureBoot', 'metadataService', 'name', 'placementTarget', 'profile', 'reservationAffinity', 'totalVolumeBandwidth', 'vcpu', 'volumeBandwidthQosMode', 'ifMatch', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -11172,7 +11162,6 @@ class VpcV1 extends BaseService { 'placement_target': _params.placementTarget, 'profile': _params.profile, 'reservation_affinity': _params.reservationAffinity, - 'threads_per_core': _params.threadsPerCore, 'total_volume_bandwidth': _params.totalVolumeBandwidth, 'vcpu': _params.vcpu, 'volume_bandwidth_qos_mode': _params.volumeBandwidthQosMode, @@ -13037,198 +13026,6 @@ class VpcV1 extends BaseService { return this.createRequest(parameters); } - /** - * List instance software attachments associated with an instance. - * - * This request lists software attachments associated with an instance. - * - * The instance software attachments will be sorted by their `created_at` property values, with newest instance - * software attachments first. Software attachments with identical - * `created_at` property values will in turn be sorted by ascending `name` property values. - * - * @param {Object} params - The parameters to send to the service. - * @param {string} params.instanceId - The virtual server instance identifier. - * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers - * @returns {Promise>} - */ - public listInstanceSoftwareAttachments( - params: VpcV1.ListInstanceSoftwareAttachmentsParams - ): Promise> { - const _params = { ...params }; - const _requiredParams = ['instanceId']; - const _validParams = ['instanceId', 'signal', 'headers']; - const _validationErrors = validateParams(_params, _requiredParams, _validParams); - if (_validationErrors) { - return Promise.reject(_validationErrors); - } - - const query = { - 'version': this.version, - 'generation': this.generation, - }; - - const path = { - 'instance_id': _params.instanceId, - }; - - const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'listInstanceSoftwareAttachments'); - - const parameters = { - options: { - url: '/instances/{instance_id}/software_attachments', - method: 'GET', - qs: query, - path, - }, - defaultOptions: extend(true, {}, this.baseOptions, { - headers: extend( - true, - sdkHeaders, - this.baseOptions.headers, - { - 'Accept': 'application/json', - }, - _params.headers - ), - axiosOptions: { - signal: _params.signal, - }, - }), - }; - - return this.createRequest(parameters); - } - - /** - * Retrieve an instance software attachment. - * - * This request retrieves a single instance software attachment specified by identifier in the URL. - * - * @param {Object} params - The parameters to send to the service. - * @param {string} params.instanceId - The virtual server instance identifier. - * @param {string} params.id - The instance software attachment identifier. - * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers - * @returns {Promise>} - */ - public getInstanceSoftwareAttachment( - params: VpcV1.GetInstanceSoftwareAttachmentParams - ): Promise> { - const _params = { ...params }; - const _requiredParams = ['instanceId', 'id']; - const _validParams = ['instanceId', 'id', 'signal', 'headers']; - const _validationErrors = validateParams(_params, _requiredParams, _validParams); - if (_validationErrors) { - return Promise.reject(_validationErrors); - } - - const query = { - 'version': this.version, - 'generation': this.generation, - }; - - const path = { - 'instance_id': _params.instanceId, - 'id': _params.id, - }; - - const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'getInstanceSoftwareAttachment'); - - const parameters = { - options: { - url: '/instances/{instance_id}/software_attachments/{id}', - method: 'GET', - qs: query, - path, - }, - defaultOptions: extend(true, {}, this.baseOptions, { - headers: extend( - true, - sdkHeaders, - this.baseOptions.headers, - { - 'Accept': 'application/json', - }, - _params.headers - ), - axiosOptions: { - signal: _params.signal, - }, - }), - }; - - return this.createRequest(parameters); - } - - /** - * Update an instance software attachment. - * - * This request updates an instance software attachment with the information provided in an instance software - * attachment patch object. The instance software attachment patch object is structured in the same way as a retrieved - * instance software attachment and needs to contain only the information to be updated. - * - * @param {Object} params - The parameters to send to the service. - * @param {string} params.instanceId - The virtual server instance identifier. - * @param {string} params.id - The instance software attachment identifier. - * @param {string} [params.name] - The name for this instance software attachment. The name must not be used by - * another software attachment for this instance. - * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers - * @returns {Promise>} - */ - public updateInstanceSoftwareAttachment( - params: VpcV1.UpdateInstanceSoftwareAttachmentParams - ): Promise> { - const _params = { ...params }; - const _requiredParams = ['instanceId', 'id']; - const _validParams = ['instanceId', 'id', 'name', 'signal', 'headers']; - const _validationErrors = validateParams(_params, _requiredParams, _validParams); - if (_validationErrors) { - return Promise.reject(_validationErrors); - } - - const body = { - 'name': _params.name, - }; - - const query = { - 'version': this.version, - 'generation': this.generation, - }; - - const path = { - 'instance_id': _params.instanceId, - 'id': _params.id, - }; - - const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'updateInstanceSoftwareAttachment'); - - const parameters = { - options: { - url: '/instances/{instance_id}/software_attachments/{id}', - method: 'PATCH', - body, - qs: query, - path, - }, - defaultOptions: extend(true, {}, this.baseOptions, { - headers: extend( - true, - sdkHeaders, - this.baseOptions.headers, - { - 'Accept': 'application/json', - 'Content-Type': 'application/merge-patch+json', - }, - _params.headers - ), - axiosOptions: { - signal: _params.signal, - }, - }), - }; - - return this.createRequest(parameters); - } - /** * List volumes attachments on an instance. * @@ -14522,11 +14319,6 @@ class VpcV1 extends BaseService { * @param {CertificateInstanceIdentity} [params.certificateInstance] - The certificate instance to use for SSL * termination. The listener must have a * `protocol` of `https`. - * @param {LoadBalancerListenerClientAuthenticationPrototype} [params.clientAuthentication] - The client - * authentication to use for this listener. - * - * Supported by load balancers with `mtls_supported` set to `true`. The listener must - * have a `protocol` of `https`. * @param {number} [params.connectionLimit] - The concurrent connection limit for the listener. If reached, incoming * connections may be queued or rejected. * @@ -14600,7 +14392,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['loadBalancerId', 'protocol']; - const _validParams = ['loadBalancerId', 'protocol', 'acceptProxyProtocol', 'certificateInstance', 'clientAuthentication', 'connectionLimit', 'defaultPool', 'httpsRedirect', 'idleConnectionTimeout', 'policies', 'port', 'portMax', 'portMin', 'signal', 'headers']; + const _validParams = ['loadBalancerId', 'protocol', 'acceptProxyProtocol', 'certificateInstance', 'connectionLimit', 'defaultPool', 'httpsRedirect', 'idleConnectionTimeout', 'policies', 'port', 'portMax', 'portMin', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -14610,7 +14402,6 @@ class VpcV1 extends BaseService { 'protocol': _params.protocol, 'accept_proxy_protocol': _params.acceptProxyProtocol, 'certificate_instance': _params.certificateInstance, - 'client_authentication': _params.clientAuthentication, 'connection_limit': _params.connectionLimit, 'default_pool': _params.defaultPool, 'https_redirect': _params.httpsRedirect, @@ -14798,13 +14589,6 @@ class VpcV1 extends BaseService { * @param {CertificateInstanceIdentity} [params.certificateInstance] - The certificate instance to use for SSL * termination. The listener must have a * `protocol` of `https`. - * @param {LoadBalancerListenerClientAuthenticationPatch} [params.clientAuthentication] - The client authentication to - * use for this listener. - * - * Supported by load balancers with `mtls_supported` set to `true`. The listener must - * have a `protocol` of `https`. - * - * Specify `null` to remove an existing client authentication. * @param {number} [params.connectionLimit] - The concurrent connection limit for the listener. If reached, incoming * connections may be queued or rejected. * @@ -14882,7 +14666,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['loadBalancerId', 'id']; - const _validParams = ['loadBalancerId', 'id', 'acceptProxyProtocol', 'certificateInstance', 'clientAuthentication', 'connectionLimit', 'defaultPool', 'httpsRedirect', 'idleConnectionTimeout', 'port', 'portMax', 'portMin', 'protocol', 'signal', 'headers']; + const _validParams = ['loadBalancerId', 'id', 'acceptProxyProtocol', 'certificateInstance', 'connectionLimit', 'defaultPool', 'httpsRedirect', 'idleConnectionTimeout', 'port', 'portMax', 'portMin', 'protocol', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -14891,7 +14675,6 @@ class VpcV1 extends BaseService { const body = { 'accept_proxy_protocol': _params.acceptProxyProtocol, 'certificate_instance': _params.certificateInstance, - 'client_authentication': _params.clientAuthentication, 'connection_limit': _params.connectionLimit, 'default_pool': _params.defaultPool, 'https_redirect': _params.httpsRedirect, @@ -15763,15 +15546,6 @@ class VpcV1 extends BaseService { * @param {string} params.protocol - The protocol used for this load balancer pool. Load balancers in the `network` * family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the * `application` family support `tcp`, `http`, and `https`. - * - * **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP - * has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to choose - * `https` instead of `http`. For more details, see: https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. - * @param {LoadBalancerPoolClientAuthenticationPrototype} [params.clientAuthentication] - The client authentication to - * use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. * @param {LoadBalancerPoolFailsafePolicyPrototype} [params.failsafePolicy] - The failsafe policy to use for this * pool. * @@ -15787,11 +15561,6 @@ class VpcV1 extends BaseService { * - `disabled`: Disabled * * For load balancers in the `network` family, this property must be `disabled`. - * @param {LoadBalancerPoolServerAuthenticationPrototype} [params.serverAuthentication] - The server authentication to - * use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. * @param {LoadBalancerPoolSessionPersistencePrototype} [params.sessionPersistence] - The session persistence of this * pool. If specified, the load balancer must have * `source_ip_session_persistence_supported` set to `true` in its profile. @@ -15806,7 +15575,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['loadBalancerId', 'algorithm', 'healthMonitor', 'protocol']; - const _validParams = ['loadBalancerId', 'algorithm', 'healthMonitor', 'protocol', 'clientAuthentication', 'failsafePolicy', 'members', 'name', 'proxyProtocol', 'serverAuthentication', 'sessionPersistence', 'signal', 'headers']; + const _validParams = ['loadBalancerId', 'algorithm', 'healthMonitor', 'protocol', 'failsafePolicy', 'members', 'name', 'proxyProtocol', 'sessionPersistence', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -15816,12 +15585,10 @@ class VpcV1 extends BaseService { 'algorithm': _params.algorithm, 'health_monitor': _params.healthMonitor, 'protocol': _params.protocol, - 'client_authentication': _params.clientAuthentication, 'failsafe_policy': _params.failsafePolicy, 'members': _params.members, 'name': _params.name, 'proxy_protocol': _params.proxyProtocol, - 'server_authentication': _params.serverAuthentication, 'session_persistence': _params.sessionPersistence, }; @@ -15995,13 +15762,6 @@ class VpcV1 extends BaseService { * @param {string} params.id - The pool identifier. * @param {string} [params.algorithm] - The load balancing algorithm. The `least_connections` algorithm is only * supported for load balancers that have `availability` with value `subnet` in the profile. - * @param {LoadBalancerPoolClientAuthenticationPatch} [params.clientAuthentication] - The client authentication to use - * for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - * - * Specify `null` to remove an existing client authentication. * @param {LoadBalancerPoolFailsafePolicyPatch} [params.failsafePolicy] - The failsafe policy for this load balancer * pool. * @param {LoadBalancerPoolHealthMonitorPatch} [params.healthMonitor] - The health monitor of this pool. @@ -16035,17 +15795,8 @@ class VpcV1 extends BaseService { * - `disabled`: Disabled * * For load balancers in the `network` family, this property must be `disabled`. - * @param {LoadBalancerPoolServerAuthenticationPatch} [params.serverAuthentication] - The server authentication to use - * for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - * - * Specify `null` to remove an existing server authentication. * @param {LoadBalancerPoolSessionPersistencePatch} [params.sessionPersistence] - The session persistence of this * pool. - * @param {string} [params.ifMatch] - If present, the request will fail if the specified ETag value does not match the - * resource's current ETag value. Required if the request body includes an array. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -16054,7 +15805,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['loadBalancerId', 'id']; - const _validParams = ['loadBalancerId', 'id', 'algorithm', 'clientAuthentication', 'failsafePolicy', 'healthMonitor', 'name', 'protocol', 'proxyProtocol', 'serverAuthentication', 'sessionPersistence', 'ifMatch', 'signal', 'headers']; + const _validParams = ['loadBalancerId', 'id', 'algorithm', 'failsafePolicy', 'healthMonitor', 'name', 'protocol', 'proxyProtocol', 'sessionPersistence', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -16062,13 +15813,11 @@ class VpcV1 extends BaseService { const body = { 'algorithm': _params.algorithm, - 'client_authentication': _params.clientAuthentication, 'failsafe_policy': _params.failsafePolicy, 'health_monitor': _params.healthMonitor, 'name': _params.name, 'protocol': _params.protocol, 'proxy_protocol': _params.proxyProtocol, - 'server_authentication': _params.serverAuthentication, 'session_persistence': _params.sessionPersistence, }; @@ -16100,7 +15849,6 @@ class VpcV1 extends BaseService { { 'Accept': 'application/json', 'Content-Type': 'application/merge-patch+json', - 'If-Match': _params.ifMatch, }, _params.headers ), @@ -21128,8 +20876,6 @@ class VpcV1 extends BaseService { * mount target control access to the mount target. * - `vpc`: All clients in the VPC for a mount target have access to the mount target. * - * The `vpc` access control mode has been deprecated. Use `security_group` instead. - * * For this property to be changed, the share must have no mount targets, * `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. * @param {string[]} [params.allowedAccessProtocols] - The access protocols to allow for this share (replacing any @@ -22338,8 +22084,6 @@ class VpcV1 extends BaseService { * in ascending order. * @param {string} [params.backupPolicyPlanId] - Filters the collection to backup policy jobs with a * `backup_policy_plan.id` property matching the specified identifier. - * @param {string} [params.backupPolicyJobId] - Filters the collection to snapshot consistency groups with a - * `backup_policy_job.id` property matching the specified identifier. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -22348,7 +22092,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = []; - const _validParams = ['start', 'limit', 'resourceGroupId', 'name', 'sort', 'backupPolicyPlanId', 'backupPolicyJobId', 'signal', 'headers']; + const _validParams = ['start', 'limit', 'resourceGroupId', 'name', 'sort', 'backupPolicyPlanId', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -22363,7 +22107,6 @@ class VpcV1 extends BaseService { 'name': _params.name, 'sort': _params.sort, 'backup_policy_plan.id': _params.backupPolicyPlanId, - 'backup_policy_job.id': _params.backupPolicyJobId, }; const sdkHeaders = getSdkHeaders(VpcV1.DEFAULT_SERVICE_NAME, 'v1', 'listSnapshotConsistencyGroups'); @@ -28939,46 +28682,10 @@ class VpcV1 extends BaseService { * This request creates a new IKE policy. * * @param {Object} params - The parameters to send to the service. + * @param {string} params.authenticationAlgorithm - The authentication algorithm. + * @param {number} params.dhGroup - The Diffie-Hellman group. + * @param {string} params.encryptionAlgorithm - The encryption algorithm. * @param {number} params.ikeVersion - The IKE protocol version. - * @param {string} [params.authenticationAlgorithm] - Deprecated: The authentication algorithm. - * - * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. - * - * If specified, `authentication_algorithms` must not be specified. - * @param {string[]} [params.authenticationAlgorithms] - The authentication algorithms to use for IKE Negotiation. - * - * If specified, `authentication_algorithm` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * @param {number} [params.dhGroup] - Deprecated: The Diffie-Hellman group. - * - * `dh_group` has been deprecated. Use `dh_groups` instead. - * - * If specified, `dh_groups` must not be specified. - * @param {number[]} [params.dhGroups] - The Diffie-Hellman groups to use for IKE negotiation. - * - * If specified, `dh_group` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each - * Diffie-Hellman group having priority over the one after it. - * @param {string} [params.encryptionAlgorithm] - Deprecated: The encryption algorithm. - * - * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. - * - * If specified, `encryption_algorithms` must not be specified. - * @param {string[]} [params.encryptionAlgorithms] - The encryption algorithms to use for IKE Negotiation. - * - * If specified, `encryption_algorithm` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. * @param {number} [params.keyLifetime] - The key lifetime in seconds. * @param {string} [params.name] - The name for this IKE policy. The name must not be used by another IKE policy in * the region. If unspecified, the name will be a hyphenated list of randomly-selected words. @@ -28992,21 +28699,18 @@ class VpcV1 extends BaseService { params: VpcV1.CreateIkePolicyParams ): Promise> { const _params = { ...params }; - const _requiredParams = ['ikeVersion']; - const _validParams = ['ikeVersion', 'authenticationAlgorithm', 'authenticationAlgorithms', 'dhGroup', 'dhGroups', 'encryptionAlgorithm', 'encryptionAlgorithms', 'keyLifetime', 'name', 'resourceGroup', 'signal', 'headers']; + const _requiredParams = ['authenticationAlgorithm', 'dhGroup', 'encryptionAlgorithm', 'ikeVersion']; + const _validParams = ['authenticationAlgorithm', 'dhGroup', 'encryptionAlgorithm', 'ikeVersion', 'keyLifetime', 'name', 'resourceGroup', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); } const body = { - 'ike_version': _params.ikeVersion, 'authentication_algorithm': _params.authenticationAlgorithm, - 'authentication_algorithms': _params.authenticationAlgorithms, 'dh_group': _params.dhGroup, - 'dh_groups': _params.dhGroups, 'encryption_algorithm': _params.encryptionAlgorithm, - 'encryption_algorithms': _params.encryptionAlgorithms, + 'ike_version': _params.ikeVersion, 'key_lifetime': _params.keyLifetime, 'name': _params.name, 'resource_group': _params.resourceGroup, @@ -29169,60 +28873,9 @@ class VpcV1 extends BaseService { * * @param {Object} params - The parameters to send to the service. * @param {string} params.id - The IKE policy identifier. - * @param {string} [params.authenticationAlgorithm] - Deprecated: The authentication algorithm. - * - * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. - * - * If specified, `authentication_algorithms` must not be specified. - * - * Updating this property will also update the - * `authentication_algorithms` field accordingly. - * @param {string[]} [params.authenticationAlgorithms] - The authentication algorithms to use for IKE Negotiation. - * - * If specified, `authentication_algorithm` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * - * Updating this property will also update the - * `authentication_algorithm` field accordingly. - * @param {number} [params.dhGroup] - Deprecated: The Diffie-Hellman group. - * - * `dh_group` has been deprecated. Use `dh_groups` instead. - * - * If specified, `dh_groups` must not be specified. - * - * Updating this property will also update the `dh_groups` field accordingly. - * @param {number[]} [params.dhGroups] - The Diffie-Hellman groups to use for IKE Negotiation. - * - * If specified, `dh_group` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each - * Diffie-Hellman group having priority over the one after it. - * - * Updating this property will also update the `dh_group` field accordingly. - * @param {string} [params.encryptionAlgorithm] - Deprecated: The encryption algorithm. - * - * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. - * - * If specified, `encryption_algorithms` must not be specified. - * - * Updating this property will also update the - * `encryption_algorithms` field accordingly. - * @param {string[]} [params.encryptionAlgorithms] - The encryption algorithms to use for IKE negotiation. - * - * If specified, `encryption_algorithm` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * - * Updating this property will also update the `encryption_algorithm` field accordingly. + * @param {string} [params.authenticationAlgorithm] - The authentication algorithm. + * @param {number} [params.dhGroup] - The Diffie-Hellman group. + * @param {string} [params.encryptionAlgorithm] - The encryption algorithm. * @param {number} [params.ikeVersion] - The IKE protocol version. * @param {number} [params.keyLifetime] - The key lifetime in seconds. * @param {string} [params.name] - The name for this IKE policy. The name must not be used by another IKE policy in @@ -29235,7 +28888,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['id']; - const _validParams = ['id', 'authenticationAlgorithm', 'authenticationAlgorithms', 'dhGroup', 'dhGroups', 'encryptionAlgorithm', 'encryptionAlgorithms', 'ikeVersion', 'keyLifetime', 'name', 'signal', 'headers']; + const _validParams = ['id', 'authenticationAlgorithm', 'dhGroup', 'encryptionAlgorithm', 'ikeVersion', 'keyLifetime', 'name', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -29243,11 +28896,8 @@ class VpcV1 extends BaseService { const body = { 'authentication_algorithm': _params.authenticationAlgorithm, - 'authentication_algorithms': _params.authenticationAlgorithms, 'dh_group': _params.dhGroup, - 'dh_groups': _params.dhGroups, 'encryption_algorithm': _params.encryptionAlgorithm, - 'encryption_algorithms': _params.encryptionAlgorithms, 'ike_version': _params.ikeVersion, 'key_lifetime': _params.keyLifetime, 'name': _params.name, @@ -29415,67 +29065,25 @@ class VpcV1 extends BaseService { * * This request creates a new IPsec policy. * - * @param {Object} [params] - The parameters to send to the service. - * @param {string} [params.authenticationAlgorithm] - Deprecated: The authentication algorithm. - * - * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. - * - * If specified, `authentication_algorithms` must not be specified. + * @param {Object} params - The parameters to send to the service. + * @param {string} params.authenticationAlgorithm - The authentication algorithm * * Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, * `aes192gcm16`, or `aes256gcm16` * * The `md5` and `sha1` algorithms have been deprecated. - * @param {string[]} [params.authenticationAlgorithms] - The authentication algorithms to use for IPsec negotiation. - * - * If specified, `authentication_algorithm` must not be specified. - * - * Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms - * (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). - * - * The `md5` and `sha1` algorithms have been deprecated. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * @param {string} [params.encryptionAlgorithm] - Deprecated: The encryption algorithm. - * - * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. - * - * If specified, `encryption_algorithms` must not be specified. + * @param {string} params.encryptionAlgorithm - The encryption algorithm * * The `authentication_algorithm` must be `disabled` if and only if * `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` * * The `triple_des` algorithm has been deprecated. - * @param {string[]} [params.encryptionAlgorithms] - The encryption algorithms to use for IPsec negotiation. - * - * If specified, `encryption_algorithm` must not be specified. - * - * If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and - * `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. + * @param {string} params.pfs - The Perfect Forward Secrecy group. * - * The `triple_des` algorithm has been deprecated. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. + * Groups `group_2` and `group_5` have been deprecated. * @param {number} [params.keyLifetime] - The key lifetime in seconds. * @param {string} [params.name] - The name for this IPsec policy. The name must not be used by another IPsec policy * in the region. If unspecified, the name will be a hyphenated list of randomly-selected words. - * @param {string} [params.pfs] - Deprecated: The Perfect Forward Secrecy group. - * - * `pfs` has been deprecated. Use `pfs_groups` instead. - * - * If specified, `pfs_groups` must not be specified. - * - * Groups `group_2` and `group_5` have been deprecated. - * @param {string[]} [params.pfsGroups] - The Perfect Forward Secrecy groups to use for IPsec negotiation. - * - * If specified, `pfs` must not be specified. - * - * Groups `group_2` and `group_5` have been deprecated. - * - * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with each - * Perfect Forward Secrecy group having priority over the one after it. * @param {ResourceGroupIdentity} [params.resourceGroup] - The resource group to use. If unspecified, the account's * [default resource * group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. @@ -29483,11 +29091,11 @@ class VpcV1 extends BaseService { * @returns {Promise>} */ public createIpsecPolicy( - params?: VpcV1.CreateIpsecPolicyParams + params: VpcV1.CreateIpsecPolicyParams ): Promise> { const _params = { ...params }; - const _requiredParams = []; - const _validParams = ['authenticationAlgorithm', 'authenticationAlgorithms', 'encryptionAlgorithm', 'encryptionAlgorithms', 'keyLifetime', 'name', 'pfs', 'pfsGroups', 'resourceGroup', 'signal', 'headers']; + const _requiredParams = ['authenticationAlgorithm', 'encryptionAlgorithm', 'pfs']; + const _validParams = ['authenticationAlgorithm', 'encryptionAlgorithm', 'pfs', 'keyLifetime', 'name', 'resourceGroup', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -29495,13 +29103,10 @@ class VpcV1 extends BaseService { const body = { 'authentication_algorithm': _params.authenticationAlgorithm, - 'authentication_algorithms': _params.authenticationAlgorithms, 'encryption_algorithm': _params.encryptionAlgorithm, - 'encryption_algorithms': _params.encryptionAlgorithms, + 'pfs': _params.pfs, 'key_lifetime': _params.keyLifetime, 'name': _params.name, - 'pfs': _params.pfs, - 'pfs_groups': _params.pfsGroups, 'resource_group': _params.resourceGroup, }; @@ -29662,82 +29267,24 @@ class VpcV1 extends BaseService { * * @param {Object} params - The parameters to send to the service. * @param {string} params.id - The IPsec policy identifier. - * @param {string} [params.authenticationAlgorithm] - Deprecated: The authentication algorithm. - * - * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. - * - * If specified, `authentication_algorithms` must not be specified. + * @param {string} [params.authenticationAlgorithm] - The authentication algorithm. * * Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, * `aes192gcm16`, or `aes256gcm16` * * The `md5` and `sha1` algorithms have been deprecated. - * - * Updating this property will also update the - * `authentication_algorithms` field accordingly. - * @param {string[]} [params.authenticationAlgorithms] - The authentication algorithms to use for IPsec negotiation. - * - * If specified, `authentication_algorithm` must not be specified. - * - * Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms - * (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). - * - * The `md5` and `sha1` algorithms have been deprecated. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * - * Updating this property will also update the - * `authentication_algorithm` field accordingly. - * @param {string} [params.encryptionAlgorithm] - Deprecated: The encryption algorithm. - * - * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. - * - * If specified, `encryption_algorithms` must not be specified. + * @param {string} [params.encryptionAlgorithm] - The encryption algorithm. * * The `authentication_algorithm` must be `disabled` if and only if * `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` * * The `triple_des` algorithm has been deprecated. - * - * Updating this property will also update the - * `encryption_algorithms` field accordingly. - * @param {string[]} [params.encryptionAlgorithms] - The encryption algorithms to use for IPsec negotiation. - * - * If specified, `encryption_algorithm` must not be specified. - * - * If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and - * `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. - * - * The `triple_des` algorithm has been deprecated. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * - * Updating this property will also update the `encryption_algorithm` field accordingly. * @param {number} [params.keyLifetime] - The key lifetime in seconds. - * @param {string} [params.name] - The name for this IPsec policy. The name is unique across all IPsec policies in the - * region. - * @param {string} [params.pfs] - Deprecated: The Perfect Forward Secrecy group. - * - * `pfs` has been deprecated. Use `pfs_groups` instead. - * - * If specified, `pfs_groups` must not be specified. - * - * Groups `group_2` and `group_5` have been deprecated. - * - * Updating this property will also update the - * `pfs_groups` field accordingly. - * @param {string[]} [params.pfsGroups] - The Perfect Forward Secrecy groups to use for IPsec negotiation. - * - * If specified, `pfs_groups` must not be specified. + * @param {string} [params.name] - The name for this IPsec policy. The name must not be used by another IPsec policy + * in the region. + * @param {string} [params.pfs] - The Perfect Forward Secrecy group. * * Groups `group_2` and `group_5` have been deprecated. - * - * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with each - * Perfect Forward Secrecy group having priority over the one after it. - * - * Updating this property will also update the `pfs` field accordingly. * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers * @returns {Promise>} */ @@ -29746,7 +29293,7 @@ class VpcV1 extends BaseService { ): Promise> { const _params = { ...params }; const _requiredParams = ['id']; - const _validParams = ['id', 'authenticationAlgorithm', 'authenticationAlgorithms', 'encryptionAlgorithm', 'encryptionAlgorithms', 'keyLifetime', 'name', 'pfs', 'pfsGroups', 'signal', 'headers']; + const _validParams = ['id', 'authenticationAlgorithm', 'encryptionAlgorithm', 'keyLifetime', 'name', 'pfs', 'signal', 'headers']; const _validationErrors = validateParams(_params, _requiredParams, _validParams); if (_validationErrors) { return Promise.reject(_validationErrors); @@ -29754,13 +29301,10 @@ class VpcV1 extends BaseService { const body = { 'authentication_algorithm': _params.authenticationAlgorithm, - 'authentication_algorithms': _params.authenticationAlgorithms, 'encryption_algorithm': _params.encryptionAlgorithm, - 'encryption_algorithms': _params.encryptionAlgorithms, 'key_lifetime': _params.keyLifetime, 'name': _params.name, 'pfs': _params.pfs, - 'pfs_groups': _params.pfsGroups, }; const query = { @@ -32459,7 +32003,7 @@ namespace VpcV1 { /** The infrastructure generation. For the API behavior documented here, specify `2`. */ generation?: number; /** The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between - * `2026-04-07` and `2026-06-23`. + * `2025-12-09` and `2026-03-25`. */ version: string; } @@ -33039,10 +32583,9 @@ namespace VpcV1 { * keys for the [default * user](https://cloud.ibm.com/docs/vpc?topic=vpc-vsi_is_connecting_linux#determining-default-user-account). * - * For Windows images, at least one SSH key of type `rsa` must be specified. One of the provided keys is selected - * to encrypt the administrator password. SSH keys are optional for other images; however, if no keys are - * specified, the bare metal server will be inaccessible unless the selected image provides an alternative access - * mechanism. + * For Windows images, at least one key must be specified, and one will be selected to encrypt the administrator + * password. Keys are optional for other images, but if no keys are specified, the bare metal server will be + * inaccessible unless the specified image provides another means of access. */ keys: KeyIdentity[]; /** The default trusted profile to be used when initializing the bare metal server. @@ -33050,9 +32593,7 @@ namespace VpcV1 { * If unspecified, no default trusted profile will be made available. */ defaultTrustedProfile?: BareMetalServerInitializationDefaultTrustedProfilePrototype; - /** The [user data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the - * bare metal server. - */ + /** The user data to be made available when initializing the bare metal server. */ userData?: string; } @@ -34085,7 +33626,6 @@ namespace VpcV1 { DEPRECATED = 'deprecated', FAILED = 'failed', OBSOLETE = 'obsolete', - PARTIALLY_AVAILABLE = 'partially_available', PENDING = 'pending', UNUSABLE = 'unusable', } @@ -34662,10 +34202,6 @@ namespace VpcV1 { /** Parameters for the `listInstanceProfiles` operation. */ export interface ListInstanceProfilesParams extends DefaultParams { - /** A server-provided token determining what resource to start the page on. */ - start?: string; - /** The number of resources to return on a page. */ - limit?: number; } /** Parameters for the `getInstanceProfile` operation. */ @@ -34822,13 +34358,6 @@ namespace VpcV1 { */ profile?: InstancePatchProfile; reservationAffinity?: InstanceReservationAffinityPatch; - /** The threads per core to use for this virtual server instance. Must be one of the values in the profile's - * `threads_per_core.values`. - * - * For this property to be changed, the virtual server instance `status` must be - * `stopping` or `stopped`. - */ - threadsPerCore?: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An * increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -35188,32 +34717,6 @@ namespace VpcV1 { id: string; } - /** Parameters for the `listInstanceSoftwareAttachments` operation. */ - export interface ListInstanceSoftwareAttachmentsParams extends DefaultParams { - /** The virtual server instance identifier. */ - instanceId: string; - } - - /** Parameters for the `getInstanceSoftwareAttachment` operation. */ - export interface GetInstanceSoftwareAttachmentParams extends DefaultParams { - /** The virtual server instance identifier. */ - instanceId: string; - /** The instance software attachment identifier. */ - id: string; - } - - /** Parameters for the `updateInstanceSoftwareAttachment` operation. */ - export interface UpdateInstanceSoftwareAttachmentParams extends DefaultParams { - /** The virtual server instance identifier. */ - instanceId: string; - /** The instance software attachment identifier. */ - id: string; - /** The name for this instance software attachment. The name must not be used by another software attachment for - * this instance. - */ - name?: string; - } - /** Parameters for the `listInstanceVolumeAttachments` operation. */ export interface ListInstanceVolumeAttachmentsParams extends DefaultParams { /** The virtual server instance identifier. */ @@ -35506,12 +35009,6 @@ namespace VpcV1 { acceptProxyProtocol?: boolean; /** The certificate instance to use for SSL termination. The listener must have a `protocol` of `https`. */ certificateInstance?: CertificateInstanceIdentity; - /** The client authentication to use for this listener. - * - * Supported by load balancers with `mtls_supported` set to `true`. The listener must - * have a `protocol` of `https`. - */ - clientAuthentication?: LoadBalancerListenerClientAuthenticationPrototype; /** The concurrent connection limit for the listener. If reached, incoming connections may be queued or * rejected. * @@ -35630,14 +35127,6 @@ namespace VpcV1 { acceptProxyProtocol?: boolean; /** The certificate instance to use for SSL termination. The listener must have a `protocol` of `https`. */ certificateInstance?: CertificateInstanceIdentity; - /** The client authentication to use for this listener. - * - * Supported by load balancers with `mtls_supported` set to `true`. The listener must - * have a `protocol` of `https`. - * - * Specify `null` to remove an existing client authentication. - */ - clientAuthentication?: LoadBalancerListenerClientAuthenticationPatch; /** The concurrent connection limit for the listener. If reached, incoming connections may be queued or * rejected. * @@ -35893,7 +35382,6 @@ namespace VpcV1 { CONTAINS = 'contains', EQUALS = 'equals', MATCHES_REGEX = 'matches_regex', - STARTS_WITH = 'starts_with', } /** The content the rule applies to: - `body`: The UTF-8 form-encoded HTTP request body - `header`: The HTTP header - `hostname`: The fully-qualified domain name of the server specified in the Host HTTP request header - `path`: The path of the HTTP request - `query`: The query of the HTTP request URL - `sni_hostname`: The fully-qualified domain name of the server provided in the "server name indicator" extension during TLS negotiation - For listeners with `protocol` `http` or `https`, any type may be specified. - For listeners with `protocol` `tcp`, only type `sni_hostname` may be specified. */ export enum Type { @@ -35976,7 +35464,6 @@ namespace VpcV1 { CONTAINS = 'contains', EQUALS = 'equals', MATCHES_REGEX = 'matches_regex', - STARTS_WITH = 'starts_with', } /** The content the rule applies to: - `body`: The UTF-8 form-encoded HTTP request body - `header`: The HTTP header - `hostname`: The fully-qualified domain name of the server specified in the Host HTTP request header - `path`: The path of the HTTP request - `query`: The query of the HTTP request URL - `sni_hostname`: The fully-qualified domain name of the server provided in the "server name indicator" extension during TLS negotiation - For listeners with `protocol` `http` or `https`, any type may be specified. - For listeners with `protocol` `tcp`, only type `sni_hostname` may be specified. */ export enum Type { @@ -36022,19 +35509,8 @@ namespace VpcV1 { /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and * `udp` (if `udp_supported` is `true`). Load balancers in the * `application` family support `tcp`, `http`, and `https`. - * - * **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP - * has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to - * choose `https` instead of `http`. For more details, see: - * https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. */ protocol: CreateLoadBalancerPoolConstants.Protocol | string; - /** The client authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - */ - clientAuthentication?: LoadBalancerPoolClientAuthenticationPrototype; /** The failsafe policy to use for this pool. * * If unspecified, the default failsafe policy action from the profile will be used. @@ -36056,12 +35532,6 @@ namespace VpcV1 { * For load balancers in the `network` family, this property must be `disabled`. */ proxyProtocol?: CreateLoadBalancerPoolConstants.ProxyProtocol | string; - /** The server authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - */ - serverAuthentication?: LoadBalancerPoolServerAuthenticationPrototype; /** The session persistence of this pool. If specified, the load balancer must have * `source_ip_session_persistence_supported` set to `true` in its profile. * @@ -36079,7 +35549,7 @@ namespace VpcV1 { ROUND_ROBIN = 'round_robin', WEIGHTED_ROUND_ROBIN = 'weighted_round_robin', } - /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`. **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to choose `https` instead of `http`. For more details, see: https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. */ + /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`. */ export enum Protocol { HTTP = 'http', HTTPS = 'https', @@ -36120,14 +35590,6 @@ namespace VpcV1 { * have `availability` with value `subnet` in the profile. */ algorithm?: UpdateLoadBalancerPoolConstants.Algorithm | string; - /** The client authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - * - * Specify `null` to remove an existing client authentication. - */ - clientAuthentication?: LoadBalancerPoolClientAuthenticationPatch; /** The failsafe policy for this load balancer pool. */ failsafePolicy?: LoadBalancerPoolFailsafePolicyPatch; /** The health monitor of this pool. @@ -36167,20 +35629,8 @@ namespace VpcV1 { * For load balancers in the `network` family, this property must be `disabled`. */ proxyProtocol?: UpdateLoadBalancerPoolConstants.ProxyProtocol | string; - /** The server authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - * - * Specify `null` to remove an existing server authentication. - */ - serverAuthentication?: LoadBalancerPoolServerAuthenticationPatch; /** The session persistence of this pool. */ sessionPersistence?: LoadBalancerPoolSessionPersistencePatch; - /** If present, the request will fail if the specified ETag value does not match the resource's current ETag - * value. Required if the request body includes an array. - */ - ifMatch?: string; } /** Constants for the `updateLoadBalancerPool` operation. */ @@ -37329,8 +36779,6 @@ namespace VpcV1 { * mount target control access to the mount target. * - `vpc`: All clients in the VPC for a mount target have access to the mount target. * - * The `vpc` access control mode has been deprecated. Use `security_group` instead. - * * For this property to be changed, the share must have no mount targets, * `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. */ @@ -37398,7 +36846,7 @@ namespace VpcV1 { /** Constants for the `updateShare` operation. */ export namespace UpdateShareConstants { - /** The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. - `vpc`: All clients in the VPC for a mount target have access to the mount target. The `vpc` access control mode has been deprecated. Use `security_group` instead. For this property to be changed, the share must have no mount targets, `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. */ + /** The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. - `vpc`: All clients in the VPC for a mount target have access to the mount target. For this property to be changed, the share must have no mount targets, `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. */ export enum AccessControlMode { SECURITY_GROUP = 'security_group', VPC = 'vpc', @@ -37625,10 +37073,6 @@ namespace VpcV1 { * identifier. */ backupPolicyPlanId?: string; - /** Filters the collection to snapshot consistency groups with a `backup_policy_job.id` property matching the - * specified identifier. - */ - backupPolicyJobId?: string; } /** Constants for the `listSnapshotConsistencyGroups` operation. */ @@ -39256,59 +38700,14 @@ namespace VpcV1 { /** Parameters for the `createIkePolicy` operation. */ export interface CreateIkePolicyParams extends DefaultParams { + /** The authentication algorithm. */ + authenticationAlgorithm: CreateIkePolicyConstants.AuthenticationAlgorithm | string; + /** The Diffie-Hellman group. */ + dhGroup: number; + /** The encryption algorithm. */ + encryptionAlgorithm: CreateIkePolicyConstants.EncryptionAlgorithm | string; /** The IKE protocol version. */ ikeVersion: number; - /** Deprecated: The authentication algorithm. - * - * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. - * - * If specified, `authentication_algorithms` must not be specified. - */ - authenticationAlgorithm?: CreateIkePolicyConstants.AuthenticationAlgorithm | string; - /** The authentication algorithms to use for IKE Negotiation. - * - * If specified, `authentication_algorithm` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - */ - authenticationAlgorithms?: CreateIkePolicyConstants.AuthenticationAlgorithms[] | string[]; - /** Deprecated: The Diffie-Hellman group. - * - * `dh_group` has been deprecated. Use `dh_groups` instead. - * - * If specified, `dh_groups` must not be specified. - */ - dhGroup?: number; - /** The Diffie-Hellman groups to use for IKE negotiation. - * - * If specified, `dh_group` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each - * Diffie-Hellman group having priority over the one after it. - */ - dhGroups?: number[]; - /** Deprecated: The encryption algorithm. - * - * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. - * - * If specified, `encryption_algorithms` must not be specified. - */ - encryptionAlgorithm?: CreateIkePolicyConstants.EncryptionAlgorithm | string; - /** The encryption algorithms to use for IKE Negotiation. - * - * If specified, `encryption_algorithm` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - */ - encryptionAlgorithms?: CreateIkePolicyConstants.EncryptionAlgorithms[] | string[]; /** The key lifetime in seconds. */ keyLifetime?: number; /** The name for this IKE policy. The name must not be used by another IKE policy in the region. If unspecified, @@ -39323,30 +38722,18 @@ namespace VpcV1 { /** Constants for the `createIkePolicy` operation. */ export namespace CreateIkePolicyConstants { - /** The authentication algorithm. `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. If specified, `authentication_algorithms` must not be specified. */ + /** The authentication algorithm. */ export enum AuthenticationAlgorithm { SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** AuthenticationAlgorithms */ - export enum AuthenticationAlgorithms { - SHA256 = 'sha256', - SHA384 = 'sha384', - SHA512 = 'sha512', - } - /** The encryption algorithm. `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. If specified, `encryption_algorithms` must not be specified. */ + /** The encryption algorithm. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES192 = 'aes192', AES256 = 'aes256', } - /** EncryptionAlgorithms */ - export enum EncryptionAlgorithms { - AES128 = 'aes128', - AES192 = 'aes192', - AES256 = 'aes256', - } } /** Parameters for the `deleteIkePolicy` operation. */ @@ -39365,72 +38752,12 @@ namespace VpcV1 { export interface UpdateIkePolicyParams extends DefaultParams { /** The IKE policy identifier. */ id: string; - /** Deprecated: The authentication algorithm. - * - * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. - * - * If specified, `authentication_algorithms` must not be specified. - * - * Updating this property will also update the - * `authentication_algorithms` field accordingly. - */ + /** The authentication algorithm. */ authenticationAlgorithm?: UpdateIkePolicyConstants.AuthenticationAlgorithm | string; - /** The authentication algorithms to use for IKE Negotiation. - * - * If specified, `authentication_algorithm` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * - * Updating this property will also update the - * `authentication_algorithm` field accordingly. - */ - authenticationAlgorithms?: UpdateIkePolicyConstants.AuthenticationAlgorithms[] | string[]; - /** Deprecated: The Diffie-Hellman group. - * - * `dh_group` has been deprecated. Use `dh_groups` instead. - * - * If specified, `dh_groups` must not be specified. - * - * Updating this property will also update the `dh_groups` field accordingly. - */ + /** The Diffie-Hellman group. */ dhGroup?: number; - /** The Diffie-Hellman groups to use for IKE Negotiation. - * - * If specified, `dh_group` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each - * Diffie-Hellman group having priority over the one after it. - * - * Updating this property will also update the `dh_group` field accordingly. - */ - dhGroups?: number[]; - /** Deprecated: The encryption algorithm. - * - * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. - * - * If specified, `encryption_algorithms` must not be specified. - * - * Updating this property will also update the - * `encryption_algorithms` field accordingly. - */ + /** The encryption algorithm. */ encryptionAlgorithm?: UpdateIkePolicyConstants.EncryptionAlgorithm | string; - /** The encryption algorithms to use for IKE negotiation. - * - * If specified, `encryption_algorithm` must not be specified. - * - * If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * - * Updating this property will also update the `encryption_algorithm` field accordingly. - */ - encryptionAlgorithms?: UpdateIkePolicyConstants.EncryptionAlgorithms[] | string[]; /** The IKE protocol version. */ ikeVersion?: number; /** The key lifetime in seconds. */ @@ -39441,30 +38768,18 @@ namespace VpcV1 { /** Constants for the `updateIkePolicy` operation. */ export namespace UpdateIkePolicyConstants { - /** The authentication algorithm. `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. If specified, `authentication_algorithms` must not be specified. Updating this property will also update the `authentication_algorithms` field accordingly. */ + /** The authentication algorithm. */ export enum AuthenticationAlgorithm { SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** AuthenticationAlgorithms */ - export enum AuthenticationAlgorithms { - SHA256 = 'sha256', - SHA384 = 'sha384', - SHA512 = 'sha512', - } - /** The encryption algorithm. `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. If specified, `encryption_algorithms` must not be specified. Updating this property will also update the `encryption_algorithms` field accordingly. */ + /** The encryption algorithm. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES192 = 'aes192', AES256 = 'aes256', } - /** EncryptionAlgorithms */ - export enum EncryptionAlgorithms { - AES128 = 'aes128', - AES192 = 'aes192', - AES256 = 'aes256', - } } /** Parameters for the `listIkePolicyConnections` operation. */ @@ -39487,81 +38802,33 @@ namespace VpcV1 { /** Parameters for the `createIpsecPolicy` operation. */ export interface CreateIpsecPolicyParams extends DefaultParams { - /** Deprecated: The authentication algorithm. - * - * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. - * - * If specified, `authentication_algorithms` must not be specified. + /** The authentication algorithm * * Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, * `aes192gcm16`, or `aes256gcm16` * * The `md5` and `sha1` algorithms have been deprecated. */ - authenticationAlgorithm?: CreateIpsecPolicyConstants.AuthenticationAlgorithm | string; - /** The authentication algorithms to use for IPsec negotiation. - * - * If specified, `authentication_algorithm` must not be specified. - * - * Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms - * (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). - * - * The `md5` and `sha1` algorithms have been deprecated. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - */ - authenticationAlgorithms?: CreateIpsecPolicyConstants.AuthenticationAlgorithms[] | string[]; - /** Deprecated: The encryption algorithm. - * - * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. - * - * If specified, `encryption_algorithms` must not be specified. + authenticationAlgorithm: CreateIpsecPolicyConstants.AuthenticationAlgorithm | string; + /** The encryption algorithm * * The `authentication_algorithm` must be `disabled` if and only if * `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` * * The `triple_des` algorithm has been deprecated. */ - encryptionAlgorithm?: CreateIpsecPolicyConstants.EncryptionAlgorithm | string; - /** The encryption algorithms to use for IPsec negotiation. - * - * If specified, `encryption_algorithm` must not be specified. - * - * If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and - * `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. + encryptionAlgorithm: CreateIpsecPolicyConstants.EncryptionAlgorithm | string; + /** The Perfect Forward Secrecy group. * - * The `triple_des` algorithm has been deprecated. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. + * Groups `group_2` and `group_5` have been deprecated. */ - encryptionAlgorithms?: CreateIpsecPolicyConstants.EncryptionAlgorithms[] | string[]; + pfs: CreateIpsecPolicyConstants.Pfs | string; /** The key lifetime in seconds. */ keyLifetime?: number; /** The name for this IPsec policy. The name must not be used by another IPsec policy in the region. If * unspecified, the name will be a hyphenated list of randomly-selected words. */ name?: string; - /** Deprecated: The Perfect Forward Secrecy group. - * - * `pfs` has been deprecated. Use `pfs_groups` instead. - * - * If specified, `pfs_groups` must not be specified. - * - * Groups `group_2` and `group_5` have been deprecated. - */ - pfs?: CreateIpsecPolicyConstants.Pfs | string; - /** The Perfect Forward Secrecy groups to use for IPsec negotiation. - * - * If specified, `pfs` must not be specified. - * - * Groups `group_2` and `group_5` have been deprecated. - * - * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with - * each Perfect Forward Secrecy group having priority over the one after it. - */ - pfsGroups?: CreateIpsecPolicyConstants.PfsGroups[] | string[]; /** The resource group to use. If unspecified, the account's [default resource * group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. */ @@ -39570,21 +38837,14 @@ namespace VpcV1 { /** Constants for the `createIpsecPolicy` operation. */ export namespace CreateIpsecPolicyConstants { - /** The authentication algorithm. `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. If specified, `authentication_algorithms` must not be specified. Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `md5` and `sha1` algorithms have been deprecated. */ + /** The authentication algorithm Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `md5` and `sha1` algorithms have been deprecated. */ export enum AuthenticationAlgorithm { DISABLED = 'disabled', SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** AuthenticationAlgorithms */ - export enum AuthenticationAlgorithms { - DISABLED = 'disabled', - SHA256 = 'sha256', - SHA384 = 'sha384', - SHA512 = 'sha512', - } - /** The encryption algorithm. `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. If specified, `encryption_algorithms` must not be specified. The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `triple_des` algorithm has been deprecated. */ + /** The encryption algorithm The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `triple_des` algorithm has been deprecated. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES128GCM16 = 'aes128gcm16', @@ -39593,16 +38853,7 @@ namespace VpcV1 { AES256 = 'aes256', AES256GCM16 = 'aes256gcm16', } - /** EncryptionAlgorithms */ - export enum EncryptionAlgorithms { - AES128 = 'aes128', - AES128GCM16 = 'aes128gcm16', - AES192 = 'aes192', - AES192GCM16 = 'aes192gcm16', - AES256 = 'aes256', - AES256GCM16 = 'aes256gcm16', - } - /** The Perfect Forward Secrecy group. `pfs` has been deprecated. Use `pfs_groups` instead. If specified, `pfs_groups` must not be specified. Groups `group_2` and `group_5` have been deprecated. */ + /** The Perfect Forward Secrecy group. Groups `group_2` and `group_5` have been deprecated. */ export enum Pfs { DISABLED = 'disabled', GROUP_14 = 'group_14', @@ -39618,22 +38869,6 @@ namespace VpcV1 { GROUP_24 = 'group_24', GROUP_31 = 'group_31', } - /** PfsGroups */ - export enum PfsGroups { - DISABLED = 'disabled', - GROUP_14 = 'group_14', - GROUP_15 = 'group_15', - GROUP_16 = 'group_16', - GROUP_17 = 'group_17', - GROUP_18 = 'group_18', - GROUP_19 = 'group_19', - GROUP_20 = 'group_20', - GROUP_21 = 'group_21', - GROUP_22 = 'group_22', - GROUP_23 = 'group_23', - GROUP_24 = 'group_24', - GROUP_31 = 'group_31', - } } /** Parameters for the `deleteIpsecPolicy` operation. */ @@ -39652,114 +38887,43 @@ namespace VpcV1 { export interface UpdateIpsecPolicyParams extends DefaultParams { /** The IPsec policy identifier. */ id: string; - /** Deprecated: The authentication algorithm. - * - * `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. - * - * If specified, `authentication_algorithms` must not be specified. + /** The authentication algorithm. * * Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, * `aes192gcm16`, or `aes256gcm16` * * The `md5` and `sha1` algorithms have been deprecated. - * - * Updating this property will also update the - * `authentication_algorithms` field accordingly. */ authenticationAlgorithm?: UpdateIpsecPolicyConstants.AuthenticationAlgorithm | string; - /** The authentication algorithms to use for IPsec negotiation. - * - * If specified, `authentication_algorithm` must not be specified. - * - * Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms - * (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). - * - * The `md5` and `sha1` algorithms have been deprecated. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * - * Updating this property will also update the - * `authentication_algorithm` field accordingly. - */ - authenticationAlgorithms?: UpdateIpsecPolicyConstants.AuthenticationAlgorithms[] | string[]; - /** Deprecated: The encryption algorithm. - * - * `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. - * - * If specified, `encryption_algorithms` must not be specified. + /** The encryption algorithm. * * The `authentication_algorithm` must be `disabled` if and only if * `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` * * The `triple_des` algorithm has been deprecated. - * - * Updating this property will also update the - * `encryption_algorithms` field accordingly. */ encryptionAlgorithm?: UpdateIpsecPolicyConstants.EncryptionAlgorithm | string; - /** The encryption algorithms to use for IPsec negotiation. - * - * If specified, `encryption_algorithm` must not be specified. - * - * If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and - * `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. - * - * The `triple_des` algorithm has been deprecated. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - * - * Updating this property will also update the `encryption_algorithm` field accordingly. - */ - encryptionAlgorithms?: UpdateIpsecPolicyConstants.EncryptionAlgorithms[] | string[]; /** The key lifetime in seconds. */ keyLifetime?: number; - /** The name for this IPsec policy. The name is unique across all IPsec policies in the region. */ + /** The name for this IPsec policy. The name must not be used by another IPsec policy in the region. */ name?: string; - /** Deprecated: The Perfect Forward Secrecy group. - * - * `pfs` has been deprecated. Use `pfs_groups` instead. - * - * If specified, `pfs_groups` must not be specified. + /** The Perfect Forward Secrecy group. * * Groups `group_2` and `group_5` have been deprecated. - * - * Updating this property will also update the - * `pfs_groups` field accordingly. */ pfs?: UpdateIpsecPolicyConstants.Pfs | string; - /** The Perfect Forward Secrecy groups to use for IPsec negotiation. - * - * If specified, `pfs_groups` must not be specified. - * - * Groups `group_2` and `group_5` have been deprecated. - * - * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with - * each Perfect Forward Secrecy group having priority over the one after it. - * - * Updating this property will also update the `pfs` field accordingly. - */ - pfsGroups?: UpdateIpsecPolicyConstants.PfsGroups[] | string[]; } /** Constants for the `updateIpsecPolicy` operation. */ export namespace UpdateIpsecPolicyConstants { - /** The authentication algorithm. `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. If specified, `authentication_algorithms` must not be specified. Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `md5` and `sha1` algorithms have been deprecated. Updating this property will also update the `authentication_algorithms` field accordingly. */ + /** The authentication algorithm. Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `md5` and `sha1` algorithms have been deprecated. */ export enum AuthenticationAlgorithm { DISABLED = 'disabled', SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** AuthenticationAlgorithms */ - export enum AuthenticationAlgorithms { - DISABLED = 'disabled', - SHA256 = 'sha256', - SHA384 = 'sha384', - SHA512 = 'sha512', - } - /** The encryption algorithm. `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. If specified, `encryption_algorithms` must not be specified. The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `triple_des` algorithm has been deprecated. Updating this property will also update the `encryption_algorithms` field accordingly. */ + /** The encryption algorithm. The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `triple_des` algorithm has been deprecated. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES128GCM16 = 'aes128gcm16', @@ -39768,16 +38932,7 @@ namespace VpcV1 { AES256 = 'aes256', AES256GCM16 = 'aes256gcm16', } - /** EncryptionAlgorithms */ - export enum EncryptionAlgorithms { - AES128 = 'aes128', - AES128GCM16 = 'aes128gcm16', - AES192 = 'aes192', - AES192GCM16 = 'aes192gcm16', - AES256 = 'aes256', - AES256GCM16 = 'aes256gcm16', - } - /** The Perfect Forward Secrecy group. `pfs` has been deprecated. Use `pfs_groups` instead. If specified, `pfs_groups` must not be specified. Groups `group_2` and `group_5` have been deprecated. Updating this property will also update the `pfs_groups` field accordingly. */ + /** The Perfect Forward Secrecy group. Groups `group_2` and `group_5` have been deprecated. */ export enum Pfs { DISABLED = 'disabled', GROUP_14 = 'group_14', @@ -39793,22 +38948,6 @@ namespace VpcV1 { GROUP_24 = 'group_24', GROUP_31 = 'group_31', } - /** PfsGroups */ - export enum PfsGroups { - DISABLED = 'disabled', - GROUP_14 = 'group_14', - GROUP_15 = 'group_15', - GROUP_16 = 'group_16', - GROUP_17 = 'group_17', - GROUP_18 = 'group_18', - GROUP_19 = 'group_19', - GROUP_20 = 'group_20', - GROUP_21 = 'group_21', - GROUP_22 = 'group_22', - GROUP_23 = 'group_23', - GROUP_24 = 'group_24', - GROUP_31 = 'group_31', - } } /** Parameters for the `listIpsecPolicyConnections` operation. */ @@ -40697,30 +39836,6 @@ namespace VpcV1 { total_count: number; } - /** - * BackupPolicyJobReference. - */ - export interface BackupPolicyJobReference { - /** If present, this property indicates the referenced resource has been deleted, and provides - * some supplementary information. - */ - deleted?: Deleted; - /** The URL for this backup policy job. */ - href: string; - /** The unique identifier for this backup policy job. */ - id: string; - /** The resource type. */ - resource_type: BackupPolicyJobReference.Constants.ResourceType | string; - } - export namespace BackupPolicyJobReference { - export namespace Constants { - /** The resource type. */ - export enum ResourceType { - BACKUP_POLICY_JOB = 'backup_policy_job', - } - } - } - /** * The source this backup was created from (may be * [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)). @@ -41481,15 +40596,12 @@ namespace VpcV1 { * keys for the [default * user](https://cloud.ibm.com/docs/vpc?topic=vpc-vsi_is_connecting_linux#determining-default-user-account). * - * For Windows images, at least one SSH key of type `rsa` must be specified. One of the provided keys is selected - * to encrypt the administrator password. SSH keys are optional for other images; however, if no keys are - * specified, the bare metal server will be inaccessible unless the selected image provides an alternative access - * mechanism. + * For Windows images, at least one key must be specified, and one will be selected to encrypt the administrator + * password. Keys are optional for other images, but if no keys are specified, the bare metal server will be + * inaccessible unless the specified image provides another means of access. */ keys: KeyIdentity[]; - /** The [user data](https://cloud.ibm.com/docs/vpc?topic=vpc-user-data) to make available when setting up the - * bare metal server. - */ + /** The user data to be made available when initializing the bare metal server. */ user_data?: string; } @@ -44990,45 +44102,24 @@ namespace VpcV1 { * IKEPolicy. */ export interface IKEPolicy { - /** Deprecated: The authentication algorithm. + /** The authentication algorithm. * * The `md5` and `sha1` algorithms have been deprecated. * * The enumerated values for this property may * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. - * - * If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` - * property to retrieve all supported algorithms. */ authentication_algorithm: IKEPolicy.Constants.AuthenticationAlgorithm | string; - /** The authentication algorithms to use for IKE Negotiation. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - */ - authentication_algorithms: IKEPolicy.Constants.AuthenticationAlgorithms[] | string[]; /** The VPN gateway connections that use this IKE policy. */ connections: VPNGatewayConnectionReference[]; /** The date and time that this IKE policy was created. */ created_at: string; - /** Deprecated: The Diffie-Hellman group + /** The Diffie-Hellman group * * Groups `2` and `5` have been deprecated. - * - * If `65535`, the policy supports more than one Diffie-Hellman group. Use the `dh_groups` property to retrieve all - * supported Diffie-Hellman groups. */ dh_group: number; - /** The Diffie-Hellman groups to use for IKE negotiation. - * - * The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each - * Diffie-Hellman group having priority over the one after it. - */ - dh_groups: number[]; - /** Deprecated: The encryption algorithm. - * - * If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property - * to retrieve all supported algorithms. + /** The encryption algorithm. * * The `triple_des` algorithm has been deprecated. * @@ -45036,12 +44127,6 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ encryption_algorithm: IKEPolicy.Constants.EncryptionAlgorithm | string; - /** The encryption algorithms to use for IKE Negotiation. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - */ - encryption_algorithms: IKEPolicy.Constants.EncryptionAlgorithms[] | string[]; /** The URL for this IKE policy. */ href: string; /** The unique identifier for this IKE policy. */ @@ -45065,35 +44150,21 @@ namespace VpcV1 { } export namespace IKEPolicy { export namespace Constants { - /** The authentication algorithm. The `md5` and `sha1` algorithms have been deprecated. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` property to retrieve all supported algorithms. */ + /** The authentication algorithm. The `md5` and `sha1` algorithms have been deprecated. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum AuthenticationAlgorithm { MD5 = 'md5', - MULTIPLE = 'multiple', SHA1 = 'sha1', SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', } - /** The authentication algorithms to use for IKE Negotiation. The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having priority over the one after it. */ - export enum AuthenticationAlgorithms { - SHA256 = 'sha256', - SHA384 = 'sha384', - SHA512 = 'sha512', - } - /** The encryption algorithm. If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property to retrieve all supported algorithms. The `triple_des` algorithm has been deprecated. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The encryption algorithm. The `triple_des` algorithm has been deprecated. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES192 = 'aes192', AES256 = 'aes256', - MULTIPLE = 'multiple', TRIPLE_DES = 'triple_des', } - /** The encryption algorithms to use for IKE Negotiation. The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having priority over the one after it. */ - export enum EncryptionAlgorithms { - AES128 = 'aes128', - AES192 = 'aes192', - AES256 = 'aes256', - } /** The IKE negotiation mode. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum NegotiationMode { MAIN = 'main', @@ -45179,10 +44250,7 @@ namespace VpcV1 { * IPsecPolicy. */ export interface IPsecPolicy { - /** Deprecated: The authentication algorithms. - * - * If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` - * property to retrieve all supported algorithms. + /** The authentication algorithm * * The `md5` and `sha1` algorithms have been deprecated * @@ -45190,12 +44258,6 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ authentication_algorithm: IPsecPolicy.Constants.AuthenticationAlgorithm | string; - /** The authentication algorithms to use for IPsec Negotiation. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - */ - authentication_algorithms: IPsecPolicy.Constants.AuthenticationAlgorithms[] | string[]; /** The VPN gateway connections that use this IPsec policy. */ connections: VPNGatewayConnectionReference[]; /** The date and time that this IPsec policy was created. */ @@ -45206,10 +44268,7 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ encapsulation_mode: IPsecPolicy.Constants.EncapsulationMode | string; - /** Deprecated: The encryption algorithm. - * - * If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property - * to retrieve all supported algorithms. + /** The encryption algorithm * * The `triple_des` algorithm has been deprecated * @@ -45217,12 +44276,6 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ encryption_algorithm: IPsecPolicy.Constants.EncryptionAlgorithm | string; - /** The encryption algorithms to use for IKE Negotiation. - * - * The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having - * priority over the one after it. - */ - encryption_algorithms: IPsecPolicy.Constants.EncryptionAlgorithms[] | string[]; /** The URL for this IPsec policy. */ href: string; /** The unique identifier for this IPsec policy. */ @@ -45231,10 +44284,7 @@ namespace VpcV1 { key_lifetime: number; /** The name for this IPsec policy. The name is unique across all IPsec policies in the region. */ name: string; - /** Deprecated: The Perfect Forward Secrecy group. - * - * If `multiple`, the policy supports more than one PFS group. Use the `pfs_groups` property to retrieve all - * supported PFS groups. + /** The Perfect Forward Secrecy group * * Groups `group_2` and `group_5` have been deprecated * @@ -45242,12 +44292,6 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ pfs: IPsecPolicy.Constants.Pfs | string; - /** The Perfect Forward Secrecy groups to use for IPsec negotiation. - * - * The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with - * each Perfect Forward Secrecy group having priority over the one after it. - */ - pfs_groups: IPsecPolicy.Constants.PfsGroups[] | string[]; /** The resource group for this IPsec policy. */ resource_group: ResourceGroupReference; /** The resource type. */ @@ -45261,17 +44305,11 @@ namespace VpcV1 { } export namespace IPsecPolicy { export namespace Constants { - /** The authentication algorithms. If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` property to retrieve all supported algorithms. The `md5` and `sha1` algorithms have been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The authentication algorithm The `md5` and `sha1` algorithms have been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum AuthenticationAlgorithm { DISABLED = 'disabled', - MULTIPLE = 'multiple', - SHA256 = 'sha256', - SHA384 = 'sha384', - SHA512 = 'sha512', - } - /** The authentication algorithms to use for IPsec Negotiation. The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having priority over the one after it. */ - export enum AuthenticationAlgorithms { - DISABLED = 'disabled', + MD5 = 'md5', + SHA1 = 'sha1', SHA256 = 'sha256', SHA384 = 'sha384', SHA512 = 'sha512', @@ -45280,7 +44318,7 @@ namespace VpcV1 { export enum EncapsulationMode { TUNNEL = 'tunnel', } - /** The encryption algorithm. If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property to retrieve all supported algorithms. The `triple_des` algorithm has been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The encryption algorithm The `triple_des` algorithm has been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum EncryptionAlgorithm { AES128 = 'aes128', AES128GCM16 = 'aes128gcm16', @@ -45288,19 +44326,9 @@ namespace VpcV1 { AES192GCM16 = 'aes192gcm16', AES256 = 'aes256', AES256GCM16 = 'aes256gcm16', - MULTIPLE = 'multiple', TRIPLE_DES = 'triple_des', } - /** The encryption algorithms to use for IKE Negotiation. The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having priority over the one after it. */ - export enum EncryptionAlgorithms { - AES128 = 'aes128', - AES128GCM16 = 'aes128gcm16', - AES192 = 'aes192', - AES192GCM16 = 'aes192gcm16', - AES256 = 'aes256', - AES256GCM16 = 'aes256gcm16', - } - /** The Perfect Forward Secrecy group. If `multiple`, the policy supports more than one PFS group. Use the `pfs_groups` property to retrieve all supported PFS groups. Groups `group_2` and `group_5` have been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The Perfect Forward Secrecy group Groups `group_2` and `group_5` have been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum Pfs { DISABLED = 'disabled', GROUP_14 = 'group_14', @@ -45317,23 +44345,6 @@ namespace VpcV1 { GROUP_24 = 'group_24', GROUP_31 = 'group_31', GROUP_5 = 'group_5', - MULTIPLE = 'multiple', - } - /** The Perfect Forward Secrecy groups to use for IPsec negotiation. The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with each Perfect Forward Secrecy group having priority over the one after it. */ - export enum PfsGroups { - DISABLED = 'disabled', - GROUP_14 = 'group_14', - GROUP_15 = 'group_15', - GROUP_16 = 'group_16', - GROUP_17 = 'group_17', - GROUP_18 = 'group_18', - GROUP_19 = 'group_19', - GROUP_20 = 'group_20', - GROUP_21 = 'group_21', - GROUP_22 = 'group_22', - GROUP_23 = 'group_23', - GROUP_24 = 'group_24', - GROUP_31 = 'group_31', } /** The resource type. */ export enum ResourceType { @@ -45464,19 +44475,17 @@ namespace VpcV1 { */ source_volume?: VolumeReference; /** The status of this image: - * - `available`: image can be used to create resources - * - `deleting`: image is being deleted, and can no longer be used to create + * - available: image can be used to create resources + * - deleting: image is being deleted, and can no longer be used to create * resources - * - `deprecated`: image is slated to be deleted, but can still be used to create + * - deprecated: image is slated to be deleted, but can still be used to create * resources - * - `failed`: image was not created successfully, and cannot be used to create + * - failed: image was not created successfully, and cannot be used to create * resources - * - `obsolete`: image is slated to be deleted, and can no longer be used to create + * - obsolete: image is slated to be deleted, and can no longer be used to create * resources - * - `partially_available`: image can be used to create resources in the - * zones listed in the `zones` property. - * - `pending`: image is being imported, and cannot yet be used to create resources - * - `unusable`: image cannot be used (see `status_reasons[]` for possible remediation) + * - pending: image is being imported, and cannot yet be used to create resources + * - unusable: image cannot be used (see `status_reasons[]` for possible remediation) * * The enumerated values for this property may * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. @@ -45495,15 +44504,6 @@ namespace VpcV1 { user_data_format: Image.Constants.UserDataFormat | string; /** The visibility of this image. - `private`: Visible only to this account - `public`: Visible to all accounts. */ visibility: Image.Constants.Visibility | string; - /** The zones in which this image is available for use. - * - * If the image has a status of `available` or `deprecated`, this will include all zones in the region. - * - * If the image has a status of `partially_available`, this will include one or more zones in the region. - * - * If the image has a status of `failed`, `obsolete`, `pending`, `unusable`, or `deleting`, this will be empty. - */ - zones: ZoneReference[]; } export namespace Image { export namespace Constants { @@ -45516,14 +44516,13 @@ namespace VpcV1 { export enum ResourceType { IMAGE = 'image', } - /** The status of this image: - `available`: image can be used to create resources - `deleting`: image is being deleted, and can no longer be used to create resources - `deprecated`: image is slated to be deleted, but can still be used to create resources - `failed`: image was not created successfully, and cannot be used to create resources - `obsolete`: image is slated to be deleted, and can no longer be used to create resources - `partially_available`: image can be used to create resources in the zones listed in the `zones` property. - `pending`: image is being imported, and cannot yet be used to create resources - `unusable`: image cannot be used (see `status_reasons[]` for possible remediation) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** The status of this image: - available: image can be used to create resources - deleting: image is being deleted, and can no longer be used to create resources - deprecated: image is slated to be deleted, but can still be used to create resources - failed: image was not created successfully, and cannot be used to create resources - obsolete: image is slated to be deleted, and can no longer be used to create resources - pending: image is being imported, and cannot yet be used to create resources - unusable: image cannot be used (see `status_reasons[]` for possible remediation) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum Status { AVAILABLE = 'available', DELETING = 'deleting', DEPRECATED = 'deprecated', FAILED = 'failed', OBSOLETE = 'obsolete', - PARTIALLY_AVAILABLE = 'partially_available', PENDING = 'pending', UNUSABLE = 'unusable', } @@ -45567,11 +44566,7 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model - * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled - * - `metadata_service.protocol` (string): The communication protocol used for the - * metadata service endpoint - * - `vcpu.count` (integer): The number of virtual CPUs. + * - `gpu.model` (string): The GPU model. */ instance: string; } @@ -45605,11 +44600,7 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model - * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled - * - `metadata_service.protocol` (string): The communication protocol used for the - * metadata service endpoint - * - `vcpu.count` (integer): The number of virtual CPUs. + * - `gpu.model` (string): The GPU model. */ instance?: string; } @@ -45648,11 +44639,7 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model - * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled - * - `metadata_service.protocol` (string): The communication protocol used for the - * metadata service endpoint. - * - `vcpu.count` (integer): The number of virtual CPUs. + * - `gpu.model` (string): The GPU model. */ instance?: string; } @@ -46141,8 +45128,6 @@ namespace VpcV1 { resource_group: ResourceGroupReference; /** The resource type. */ resource_type: Instance.Constants.ResourceType | string; - /** The software attachments for this instance. */ - software_attachments: InstanceSoftwareAttachmentReference[]; /** Indicates whether the state of the virtual server instance permits a start request. */ startable: boolean; /** The status of the virtual server instance. @@ -46153,8 +45138,6 @@ namespace VpcV1 { status: Instance.Constants.Status | string; /** The reasons for the current status (if any). */ status_reasons: InstanceStatusReason[]; - /** The threads per core for this virtual server instance. */ - threads_per_core: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance network attachments or * instance network interfaces. */ @@ -47395,7 +46378,6 @@ namespace VpcV1 { */ export interface InstanceLifecycleReason { /** A reason code for this lifecycle state: - * - `failed_licensing`: Allocation of one or more software license(s) has failed. Delete * - `failed_registration`: The instance's registration to Resource Controller has * failed. Delete the instance and provision it again. If the problem persists, * contact IBM Support. @@ -47416,9 +46398,8 @@ namespace VpcV1 { } export namespace InstanceLifecycleReason { export namespace Constants { - /** A reason code for this lifecycle state: - `failed_licensing`: Allocation of one or more software license(s) has failed. Delete - `failed_registration`: The instance's registration to Resource Controller has failed. Delete the instance and provision it again. If the problem persists, contact IBM Support. - `internal_error`: Internal error (contact IBM support) - `pending_registration`: The instance's registration to Resource Controller is being processed. - `resource_suspended_by_provider`: The resource has been suspended (contact IBM support) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ + /** A reason code for this lifecycle state: - `failed_registration`: The instance's registration to Resource Controller has failed. Delete the instance and provision it again. If the problem persists, contact IBM Support. - `internal_error`: Internal error (contact IBM support) - `pending_registration`: The instance's registration to Resource Controller is being processed. - `resource_suspended_by_provider`: The resource has been suspended (contact IBM support) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum Code { - FAILED_LICENSING = 'failed_licensing', FAILED_REGISTRATION = 'failed_registration', INTERNAL_ERROR = 'internal_error', PENDING_REGISTRATION = 'pending_registration', @@ -47655,12 +46636,10 @@ namespace VpcV1 { } /** - * The placement restrictions to use for the virtual server instance. For the placement restrictions to be changed, - * the instance `status` must be `stopping` or - * `stopped`. + * The placement restrictions to use for the virtual server instance. * - * If set, `reservation_affinity.policy` must be `disabled`. If specifying a dedicated host or dedicated host group, - * the `vcpu.percentage` must be `100` and the instance must have two or more vCPUs. + * If specified, `reservation_affinity.policy` must be `disabled`. If specifying a dedicated host or dedicated host + * group, the `vcpu.percentage` must be `100` and the instance must have two or more vCPUs. */ export interface InstancePlacementTargetPatch { } @@ -47720,9 +46699,6 @@ namespace VpcV1 { status: InstanceProfile.Constants.Status | string; /** The cluster network profiles that support this instance profile. */ supported_cluster_network_profiles: ClusterNetworkProfileReference[]; - /** The supported values for vcpu count for an instance with this profile. */ - supported_vcpu_count: InstanceProfileSupportedVCPUCountEnum; - threads_per_core: InstanceProfileThreadsPerCoreEnum; total_volume_bandwidth: InstanceProfileVolumeBandwidth; vcpu_architecture: InstanceProfileVCPUArchitecture; vcpu_burst_limit: InstanceProfileVCPUBurstLimit; @@ -47731,8 +46707,6 @@ namespace VpcV1 { /** The permitted values for VCPU percentage for an instance with this profile. */ vcpu_percentage: InstanceProfileVCPUPercentage; volume_bandwidth_qos_modes: InstanceProfileVolumeBandwidthQoSModes; - /** The zones in this region that support this instance profile. */ - zones: ZoneReference[]; } export namespace InstanceProfile { export namespace Constants { @@ -47770,16 +46744,8 @@ namespace VpcV1 { * InstanceProfileCollection. */ export interface InstanceProfileCollection { - /** A link to the first page of resources. */ - first: PageLink; - /** The maximum number of resources that can be returned by the request. */ - limit: number; - /** A link to the next page of resources. This property is present for all pages except the last page. */ - next?: PageLink; - /** A page of virtual server instance profiles. */ + /** The virtual server instance profiles. */ profiles: InstanceProfile[]; - /** The total number of resources across all pages. */ - total_count: number; } /** @@ -48048,44 +47014,6 @@ namespace VpcV1 { } } - /** - * The supported values for vcpu count for an instance with this profile. - */ - export interface InstanceProfileSupportedVCPUCountEnum { - /** The type for this profile field. */ - type: InstanceProfileSupportedVCPUCountEnum.Constants.Type | string; - /** The permitted values for this profile field. */ - values: number[]; - } - export namespace InstanceProfileSupportedVCPUCountEnum { - export namespace Constants { - /** The type for this profile field. */ - export enum Type { - ENUM = 'enum', - } - } - } - - /** - * InstanceProfileThreadsPerCoreEnum. - */ - export interface InstanceProfileThreadsPerCoreEnum { - /** The default threads per core value for an instance with this profile. */ - default: number; - /** The type for this profile field. */ - type: InstanceProfileThreadsPerCoreEnum.Constants.Type | string; - /** The permitted threads per core values for an instance with this profile. */ - values: number[]; - } - export namespace InstanceProfileThreadsPerCoreEnum { - export namespace Constants { - /** The type for this profile field. */ - export enum Type { - ENUM = 'enum', - } - } - } - /** * InstanceProfileVCPU. */ @@ -48234,12 +47162,6 @@ namespace VpcV1 { * group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. */ resource_group?: ResourceGroupIdentity; - /** The threads per core to use for this virtual server instance. Must be one of the values in the profile's - * `threads_per_core.values`. - * - * If unspecified, the default threads per core from the profile will be used. - */ - threads_per_core?: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An * increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -48407,176 +47329,6 @@ namespace VpcV1 { } } - /** - * InstanceSoftwareAttachment. - */ - export interface InstanceSoftwareAttachment { - /** The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) - * offering for this instance software attachment. May be absent if - * `software_attachment.lifecycle_state` is not `stable`. - */ - catalog_offering?: InstanceSoftwareAttachmentCatalogOffering; - /** The date and time that the instance software attachment was created. */ - created_at: string; - /** The entitlement for the licensed software for this instance software attachment. */ - entitlement?: InstanceSoftwareAttachmentEntitlement; - /** The URL for this instance software attachment. */ - href: string; - /** The unique identifier for this instance software attachment. */ - id: string; - /** The lifecycle reasons for this instance software attachment (if any). */ - lifecycle_reasons: InstanceSoftwareAttachmentLifecycleReason[]; - /** The lifecycle state of the instance software attachment. */ - lifecycle_state: InstanceSoftwareAttachment.Constants.LifecycleState | string; - /** The name for this instance software attachment. The name is unique across all instance software attachments - * for the instance. - */ - name: string; - offering_instance?: InstanceSoftwareAttachmentOfferingInstance; - /** The resource type. */ - resource_type: InstanceSoftwareAttachment.Constants.ResourceType | string; - } - export namespace InstanceSoftwareAttachment { - export namespace Constants { - /** The lifecycle state of the instance software attachment. */ - export enum LifecycleState { - DELETING = 'deleting', - FAILED = 'failed', - PENDING = 'pending', - STABLE = 'stable', - SUSPENDED = 'suspended', - UPDATING = 'updating', - WAITING = 'waiting', - } - /** The resource type. */ - export enum ResourceType { - INSTANCE_SOFTWARE_ATTACHMENT = 'instance_software_attachment', - } - } - } - - /** - * The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering for this instance - * software attachment. May be absent if - * `software_attachment.lifecycle_state` is not `stable`. - */ - export interface InstanceSoftwareAttachmentCatalogOffering { - /** The billing plan for the catalog offering version associated with this instance software - * attachment. - * - * If absent, no billing plan is associated with the catalog offering version (free). - */ - plan?: CatalogOfferingVersionPlanReference; - /** The catalog offering version associated with this instance software attachment. */ - version: CatalogOfferingVersionReference; - } - - /** - * InstanceSoftwareAttachmentCollection. - */ - export interface InstanceSoftwareAttachmentCollection { - /** The software attachments for the instance. */ - software_attachments: InstanceSoftwareAttachment[]; - } - - /** - * The entitlement for the licensed software for this instance software attachment. - */ - export interface InstanceSoftwareAttachmentEntitlement { - /** The licensed software for this instance software attachment entitlement. */ - licensed_software: InstanceSoftwareAttachmentEntitlementLicensedSoftware[]; - } - - /** - * The licensed software for the instance software attachment's entitlement. - */ - export interface InstanceSoftwareAttachmentEntitlementLicensedSoftware { - /** The SKU for this licensed software. */ - sku: string; - vendor: InstanceSoftwareAttachmentEntitlementLicensedSoftwareVendor; - } - - /** - * InstanceSoftwareAttachmentEntitlementLicensedSoftwareVendor. - */ - export interface InstanceSoftwareAttachmentEntitlementLicensedSoftwareVendor { - /** The name of the vendor providing this licensed software. */ - name: string; - } - - /** - * InstanceSoftwareAttachmentLifecycleReason. - */ - export interface InstanceSoftwareAttachmentLifecycleReason { - /** A reason code for this lifecycle state: - * - `failed_licensing`: Allocation of one or more software license(s) has failed. Delete - * the instance and provision it again. If the problem persists, contact IBM Support. - * - `failed_registration`: The software instance's registration to Resource Controller has - * failed. Delete the instance and provision it again. If the problem persists, contact IBM - * Support. - * - `internal_error`: Internal error (contact IBM support) - * - `pending_registration`: The software instance's registration to Resource Controller, - * and the creation of any required software license(s), is being processed. - * - * The enumerated values for this property may - * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. - */ - code: InstanceSoftwareAttachmentLifecycleReason.Constants.Code | string; - /** An explanation of the reason for this lifecycle state. */ - message: string; - /** A link to documentation about the reason for this lifecycle state. */ - more_info?: string; - } - export namespace InstanceSoftwareAttachmentLifecycleReason { - export namespace Constants { - /** A reason code for this lifecycle state: - `failed_licensing`: Allocation of one or more software license(s) has failed. Delete the instance and provision it again. If the problem persists, contact IBM Support. - `failed_registration`: The software instance's registration to Resource Controller has failed. Delete the instance and provision it again. If the problem persists, contact IBM Support. - `internal_error`: Internal error (contact IBM support) - `pending_registration`: The software instance's registration to Resource Controller, and the creation of any required software license(s), is being processed. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ - export enum Code { - FAILED_LICENSING = 'failed_licensing', - FAILED_REGISTRATION = 'failed_registration', - INTERNAL_ERROR = 'internal_error', - PENDING_REGISTRATION = 'pending_registration', - } - } - } - - /** - * InstanceSoftwareAttachmentOfferingInstance. - */ - export interface InstanceSoftwareAttachmentOfferingInstance { - /** The CRN for the software offering instance registered with Resource Controller that is associated with the - * instance software attachment. - */ - crn: string; - } - - /** - * InstanceSoftwareAttachmentReference. - */ - export interface InstanceSoftwareAttachmentReference { - /** If present, this property indicates the referenced resource has been deleted, and provides - * some supplementary information. - */ - deleted?: Deleted; - /** The URL for this instance software attachment. */ - href: string; - /** The unique identifier for this instance software attachment. */ - id: string; - /** The name for this instance software attachment. The name is unique across all instance software attachments - * for the instance. - */ - name: string; - /** The resource type. */ - resource_type: InstanceSoftwareAttachmentReference.Constants.ResourceType | string; - } - export namespace InstanceSoftwareAttachmentReference { - export namespace Constants { - /** The resource type. */ - export enum ResourceType { - INSTANCE_SOFTWARE_ATTACHMENT = 'instance_software_attachment', - } - } - } - /** * InstanceStatusReason. */ @@ -48690,12 +47442,6 @@ namespace VpcV1 { reservation_affinity?: InstanceReservationAffinityPrototype; /** The resource group for this instance template. */ resource_group: ResourceGroupReference; - /** The threads per core to use for this virtual server instance. Must be one of the values in the profile's - * `threads_per_core.values`. - * - * If unspecified, the default threads per core from the profile will be used. - */ - threads_per_core?: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An * increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -48832,12 +47578,6 @@ namespace VpcV1 { * group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. */ resource_group?: ResourceGroupIdentity; - /** The threads per core to use for this virtual server instance. Must be one of the values in the profile's - * `threads_per_core.values`. - * - * If unspecified, the default threads per core from the profile will be used. - */ - threads_per_core?: number; /** The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An * increase in this value will result in a corresponding decrease to * `total_network_bandwidth`. @@ -49111,8 +47851,6 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ access_mode: LoadBalancer.Constants.AccessMode | string; - /** Indicates whether this load balancer supports advanced health checks. */ - advanced_health_checks_supported: boolean; /** The load balancer pool members attached to this load balancer. */ attached_load_balancer_pool_members: LoadBalancerPoolMemberReference[]; /** The availability of this load balancer: @@ -49138,8 +47876,6 @@ namespace VpcV1 { dns?: LoadBalancerDNS; /** The supported `failsafe_policy.action` values for this load balancer's pools. */ failsafe_policy_actions: LoadBalancer.Constants.FailsafePolicyActions[] | string[]; - /** Indicates whether this load balancer supports pool members specified by their fully qualified domain names. */ - fqdn_pool_members_supported: boolean; /** The fully qualified domain name assigned to this load balancer. */ hostname: string; /** The URL for this load balancer. */ @@ -49156,8 +47892,6 @@ namespace VpcV1 { listeners: LoadBalancerListenerReference[]; /** The logging configuration for this load balancer. */ logging: LoadBalancerLogging; - /** Indicates whether this load balancer supports mTLS. */ - mtls_supported: boolean; /** The name for this load balancer. The name is unique across all load balancers in the VPC. */ name: string; /** The operating status of this load balancer. @@ -49362,7 +48096,6 @@ namespace VpcV1 { * If absent, this listener is not using a certificate instance. */ certificate_instance?: CertificateInstanceReference; - client_authentication?: LoadBalancerListenerClientAuthentication; /** The concurrent connection limit for the listener. If reached, incoming connections may be queued or * rejected. * @@ -49428,72 +48161,6 @@ namespace VpcV1 { } } - /** - * LoadBalancerListenerClientAuthentication. - */ - export interface LoadBalancerListenerClientAuthentication { - /** The certificate instance used for the listener client certificate authority. */ - certificate_authority: CertificateInstanceReference; - /** A [PEM-encoded](https://www.rfc-editor.org/rfc/rfc7468) certificate revocation list - * (CRL) used for the listener. - */ - certificate_revocation_list?: string; - } - - /** - * The certificate instance to use for the listener client certificate authority. - * - * Specify `null` to remove an existing certificate authority. - */ - export interface LoadBalancerListenerClientAuthenticationCertificateAuthorityPatch { - } - - /** - * The client authentication to use for this listener. - * - * Supported by load balancers with `mtls_supported` set to `true`. The listener must have a `protocol` of `https`. - * - * Specify `null` to remove an existing client authentication. - */ - export interface LoadBalancerListenerClientAuthenticationPatch { - /** The certificate instance to use for the listener client certificate authority. - * - * Specify `null` to remove an existing certificate authority. - */ - certificate_authority?: LoadBalancerListenerClientAuthenticationCertificateAuthorityPatch; - /** A [PEM-encoded](https://www.rfc-editor.org/rfc/rfc7468) (with the label `X509 CRL`) certificate revocation - * list (CRL) to use for the listener. - * - * The CRL must be formatted using the X.509 standard as described in - * [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280). - * - * Specify `null` to remove an existing certificate revocation list. - */ - certificate_revocation_list?: string; - } - - /** - * The client authentication to use for this listener. - * - * Supported by load balancers with `mtls_supported` set to `true`. The listener must have a `protocol` of `https`. - */ - export interface LoadBalancerListenerClientAuthenticationPrototype { - /** The certificate instance to use for the listener client certificate authority. - * - * Required if `certificate_revocation_list` is specified. - */ - certificate_authority: CertificateInstanceIdentity; - /** A [PEM-encoded](https://www.rfc-editor.org/rfc/rfc7468) (with the label `X509 CRL`) certificate revocation - * list (CRL) to use for the listener. - * - * The CRL must be formatted using the X.509 standard as described in - * [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280). - * - * If specified, `certificate_authority` must also be specified. - */ - certificate_revocation_list?: string; - } - /** * LoadBalancerListenerCollection. */ @@ -49757,7 +48424,6 @@ namespace VpcV1 { CONTAINS = 'contains', EQUALS = 'equals', MATCHES_REGEX = 'matches_regex', - STARTS_WITH = 'starts_with', } /** The provisioning status of this rule The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ export enum ProvisioningStatus { @@ -49826,7 +48492,6 @@ namespace VpcV1 { CONTAINS = 'contains', EQUALS = 'equals', MATCHES_REGEX = 'matches_regex', - STARTS_WITH = 'starts_with', } /** The content the rule applies to: - `body`: The UTF-8 form-encoded HTTP request body - `header`: The HTTP header - `hostname`: The fully-qualified domain name of the server specified in the Host HTTP request header - `path`: The path of the HTTP request - `query`: The query of the HTTP request URL - `sni_hostname`: The fully-qualified domain name of the server provided in the "server name indicator" extension during TLS negotiation - For listeners with `protocol` `http` or `https`, any type may be specified. - For listeners with `protocol` `tcp`, only type `sni_hostname` may be specified. */ export enum Type { @@ -49905,12 +48570,6 @@ namespace VpcV1 { accept_proxy_protocol?: boolean; /** The certificate instance to use for SSL termination. The listener must have a `protocol` of `https`. */ certificate_instance?: CertificateInstanceIdentity; - /** The client authentication to use for this listener. - * - * Supported by load balancers with `mtls_supported` set to `true`. The listener must - * have a `protocol` of `https`. - */ - client_authentication?: LoadBalancerListenerClientAuthenticationPrototype; /** The concurrent connection limit for the listener. If reached, incoming connections may be queued or * rejected. * @@ -50077,8 +48736,6 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ algorithm: LoadBalancerPool.Constants.Algorithm | string; - /** The client authentication used for this pool. */ - client_authentication?: LoadBalancerPoolClientAuthentication; /** The date and time that this pool was created. */ created_at: string; failsafe_policy: LoadBalancerPoolFailsafePolicy; @@ -50129,11 +48786,6 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ proxy_protocol: LoadBalancerPool.Constants.ProxyProtocol | string; - /** The server authentication used for this pool. - * - * This property will be absent if the `pool.protocol` is not `https`. - */ - server_authentication?: LoadBalancerPoolServerAuthentication; /** The session persistence of this pool. * * If absent, session persistence will be disabled, and traffic will be distributed @@ -50173,45 +48825,6 @@ namespace VpcV1 { } } - /** - * The client authentication used for this pool. - */ - export interface LoadBalancerPoolClientAuthentication { - certificate_instance: CertificateInstanceReference; - } - - /** - * The client authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must have a `protocol` of `https`. - * - * Specify `null` to remove an existing client authentication. - */ - export interface LoadBalancerPoolClientAuthenticationPatch { - /** The backend certificate instance to use for client - * certificate verification. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool - * must have a `protocol` of `https`. - */ - certificate_instance?: CertificateInstanceIdentity; - } - - /** - * The client authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must have a `protocol` of `https`. - */ - export interface LoadBalancerPoolClientAuthenticationPrototype { - /** The backend certificate instance to use for client - * certificate verification. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool - * must have a `protocol` of `https`. - */ - certificate_instance: CertificateInstanceIdentity; - } - /** * LoadBalancerPoolCollection. */ @@ -50280,24 +48893,11 @@ namespace VpcV1 { * - Belong to this load balancer * - Have the same `protocol` as this pool, or have a compatible protocol. * At present, the compatible protocols are `http` and `https`. - * - * For load balancers in the `application` family, the failsafe target pool must not - * already be the default pool or a failsafe target pool for the same listener. - * - * For load balancers in the `network` family, the pool specified in the URL must not - * be a failsafe target pool for another pool. + * - Not have a `failsafe_policy.action` of `forward` or `bypass`. * * If specified, `action` must be `forward`. * * Specify `null` to remove an existing failsafe target pool. - * - * **For more information, see:** - * - [Creating an application load balancer]( - * https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancers&interface=ui) - * - [Working with application load balancer pools]( - * https://cloud.ibm.com/docs/vpc?topic=vpc-alb-pools&interface=ui) - * - [Working with network load balancer pools]( - * https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-pools&interface=ui). */ target?: LoadBalancerPoolFailsafePolicyTargetPatch; } @@ -50334,22 +48934,9 @@ namespace VpcV1 { * - Belong to this load balancer * - Have the same `protocol` as this pool, or have a compatible protocol. * At present, the compatible protocols are `http` and `https`. - * - * For load balancers in the `application` family, the failsafe target pool must not - * already be the default pool or a failsafe target pool for the same listener. - * - * For load balancers in the `network` family, the pool specified in the URL must not - * be a failsafe target pool for another pool. + * - Have a `failsafe_policy.action` of `fail` or `drop` * * If specified, `action` must be `forward`. - * - * **For more information, see:** - * - [Creating an application load balancer]( - * https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancers&interface=ui) - * - [Working with application load balancer pools]( - * https://cloud.ibm.com/docs/vpc?topic=vpc-alb-pools&interface=ui) - * - [Working with network load balancer pools]( - * https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-pools&interface=ui). */ target?: LoadBalancerPoolIdentity; } @@ -50372,24 +48959,11 @@ namespace VpcV1 { * - Belong to this load balancer * - Have the same `protocol` as this pool, or have a compatible protocol. * At present, the compatible protocols are `http` and `https`. - * - * For load balancers in the `application` family, the failsafe target pool must not already be the default pool or a - * failsafe target pool for the same listener. - * - * For load balancers in the `network` family, the pool specified in the URL must not be a failsafe target pool for - * another pool. + * - Not have a `failsafe_policy.action` of `forward` or `bypass`. * * If specified, `action` must be `forward`. * * Specify `null` to remove an existing failsafe target pool. - * - * **For more information, see:** - * - [Creating an application load balancer]( - * https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancers&interface=ui) - * - [Working with application load balancer pools]( - * https://cloud.ibm.com/docs/vpc?topic=vpc-alb-pools&interface=ui) - * - [Working with network load balancer pools]( - * https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-pools&interface=ui). */ export interface LoadBalancerPoolFailsafePolicyTargetPatch { } @@ -50442,10 +49016,6 @@ namespace VpcV1 { * Specify `null` to remove an existing health check port. */ port?: number; - /** Supported by load balancers with `advanced_health_checks_supported` set to `true`. */ - request?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch; - /** Supported by load balancers with `advanced_health_checks_supported` set to `true`. */ - response?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePatch; /** The seconds to wait for a response to a health check. Must be less than `delay`. */ timeout: number; /** The protocol type to use for health checks. */ @@ -50498,148 +49068,6 @@ namespace VpcV1 { } } - /** - * LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest { - /** The HTTP request body used for health checks. - * - * If absent, the health checks will ignore the request body. - */ - body?: string; - /** The HTTP request headers used for health checks. - * - * If empty, the health checks will ignore the request headers. - */ - headers?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeader[]; - /** The HTTP request method used for health checks. */ - method: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest.Constants.Method | string; - } - export namespace LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest { - export namespace Constants { - /** The HTTP request method used for health checks. */ - export enum Method { - GET = 'get', - POST = 'post', - } - } - } - - /** - * An HTTP request header used for health checks. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeader { - /** The field of an HTTP request header used for health checks. */ - field: string; - /** The value of an HTTP request header used for health checks. */ - value: string; - } - - /** - * An HTTP request header to use for health checks. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype { - /** The field of an HTTP request header to use for health checks. */ - field: string; - /** The value of an HTTP request header to use for health checks. */ - value: string; - } - - /** - * Supported by load balancers with `advanced_health_checks_supported` set to `true`. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch { - /** The HTTP request body to use for health checks. If set, a corresponding `Content-Type` field must be - * included in the `request.headers` array. - * - * Specify `null` to remove the request body used for health checks. - * - * The body must be formatted in a way that will be understood by the backend server member. - */ - body?: string; - /** The HTTP request headers to use for health checks. - * - * Specify an empty array to remove the request headers for health checks. - * - * Include a `Host` field and its value to enable the `HTTP/1.1` protocol for health checks. If a `Host` header is - * not included, `HTTP/1.0` will be used by default. More than one - * `Host` header is not allowed. - * - * Include a `Content-Type` field and its value to indicate the media type of the - * `request.body` (if set). - * - * A header must not exceed 1000 characters, and all headers combined must not exceed 4000 characters. - */ - headers?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype[]; - /** The HTTP request method to use for health checks. If updating to `get`, the - * `health_monitor.request.body` property (if set) must be removed. - */ - method?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch.Constants.Method | string; - } - export namespace LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPatch { - export namespace Constants { - /** The HTTP request method to use for health checks. If updating to `get`, the `health_monitor.request.body` property (if set) must be removed. */ - export enum Method { - GET = 'get', - POST = 'post', - } - } - } - - /** - * The HTTP request to use for health checks. If unspecified, a `request.method` value of - * `get` will be used with no `request.headers`. - * - * Supported by load balancers with `advanced_health_checks_supported` set to `true`. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototype { - } - - /** - * LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponse. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponse { - /** The PCRE-flavor regular expression that HTTP response bodies must match for successful health checks. - * - * If absent, health checks will ignore any response body. - */ - body_regex?: string; - /** The HTTP response codes expected for successful health checks. */ - codes: string[]; - } - - /** - * Supported by load balancers with `advanced_health_checks_supported` set to `true`. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePatch { - /** The PCRE-flavor regular expression that HTTP response bodies will be expected to match for successful health - * checks. - * - * Specify `null` to remove the response body for successful health checks. If removed, health checks will ignore - * any response body. - */ - body_regex?: string; - /** The HTTP response codes to expect for successful health checks. */ - codes?: string[]; - } - - /** - * The HTTP response to use for health checks. If unspecified, a `response.codes` value of - * `["200"]` will be used with no `response.body_regex`. - * - * Supported by load balancers with `advanced_health_checks_supported` set to `true`. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePrototype { - /** The PCRE-flavor regular expression that HTTP response bodies will be expected to match for successful health - * checks. - * - * If unspecified, health checks will ignore any response body. - */ - body_regex?: string; - /** The HTTP response codes to expect for successful health checks. */ - codes?: string[]; - } - /** * Identifies a load balancer pool by a unique property. */ @@ -50795,12 +49223,6 @@ namespace VpcV1 { * have `availability` with value `subnet` in the profile. */ algorithm: LoadBalancerPoolPrototypeLoadBalancerContext.Constants.Algorithm | string; - /** The client authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - */ - client_authentication?: LoadBalancerPoolClientAuthenticationPrototype; /** The health monitor of this pool. * * If this pool has a member targeting a load balancer then: @@ -50828,11 +49250,6 @@ namespace VpcV1 { /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and * `udp` (if `udp_supported` is `true`). Load balancers in the * `application` family support `tcp`, `http`, and `https`. - * - * **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP - * has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to - * choose `https` instead of `http`. For more details, see: - * https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. */ protocol: LoadBalancerPoolPrototypeLoadBalancerContext.Constants.Protocol | string; /** The PROXY protocol setting for this pool: @@ -50843,12 +49260,6 @@ namespace VpcV1 { * For load balancers in the `network` family, this property must be `disabled`. */ proxy_protocol?: LoadBalancerPoolPrototypeLoadBalancerContext.Constants.ProxyProtocol | string; - /** The server authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - */ - server_authentication?: LoadBalancerPoolServerAuthenticationPrototype; /** The session persistence of this pool. If specified, the load balancer must have * `source_ip_session_persistence_supported` set to `true` in its profile. * @@ -50865,7 +49276,7 @@ namespace VpcV1 { ROUND_ROBIN = 'round_robin', WEIGHTED_ROUND_ROBIN = 'weighted_round_robin', } - /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`. **NOTE**: HTTP sends data in plain text, making it vulnerable to eavesdropping and tampering. Additionally, HTTP has no built-in mechanism to verify the identity of the server you are connecting to. It is recommended to choose `https` instead of `http`. For more details, see: https://www.cloudflare.com/learning/ssl/why-is-http-not-secure. */ + /** The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`. */ export enum Protocol { HTTP = 'http', HTTPS = 'https', @@ -50897,70 +49308,6 @@ namespace VpcV1 { name: string; } - /** - * The server authentication used for this pool. - * - * This property will be absent if the `pool.protocol` is not `https`. - */ - export interface LoadBalancerPoolServerAuthentication { - /** The backend server certificate authority instance used for server certificate verification. */ - certificate_authority?: CertificateInstanceReference; - /** If set to `true`, the backend server certificate is verified. */ - verify_certificate: boolean; - } - - /** - * The server authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must have a `protocol` of `https`. - * - * Specify `null` to remove an existing server authentication. - */ - export interface LoadBalancerPoolServerAuthenticationPatch { - /** The backend server certificate authority instance to use for server - * certificate verification. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - * - * If specified, `verify_certificate` must be `true`. - */ - certificate_authority?: CertificateInstanceIdentity; - /** Indicates whether server certificate verification is enabled. - * - * If set to `true`, the backend server certificate is verified by: - * - `certificate_authority`, if specified. - * - the system default certificate authorities, if `certificate_authority` - * is not specified. - */ - verify_certificate?: boolean; - } - - /** - * The server authentication to use for this pool. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must have a `protocol` of `https`. - */ - export interface LoadBalancerPoolServerAuthenticationPrototype { - /** The backend server certificate authority instance to use for server - * certificate verification. - * - * Supported by load balancers with `mtls_supported` set to `true`. The pool must - * have a `protocol` of `https`. - * - * If specified, `verify_certificate` must be `true`. - */ - certificate_authority?: CertificateInstanceIdentity; - /** Indicates whether server certificate verification is enabled. - * - * If set to `true`, the backend server certificate is verified by: - * - `certificate_authority`, if specified. - * - the system default certificate authorities, if `certificate_authority` - * is not specified. - */ - verify_certificate?: boolean; - } - /** * LoadBalancerPoolSessionPersistence. */ @@ -51044,7 +49391,6 @@ namespace VpcV1 { */ export interface LoadBalancerProfile { access_modes: LoadBalancerProfileAccessModes; - advanced_health_checks_supported: LoadBalancerProfileAdvancedHealthCheckSupported; availability: LoadBalancerProfileAvailability; failsafe_policy_actions: LoadBalancerProfileFailsafePolicyActions; /** The product family this load balancer profile belongs to. @@ -51053,13 +49399,11 @@ namespace VpcV1 { * [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. */ family: LoadBalancerProfile.Constants.Family | string; - fqdn_pool_members_supported: LoadBalancerProfileFQDNSupported; /** The URL for this load balancer profile. */ href: string; instance_groups_supported: LoadBalancerProfileInstanceGroupsSupported; /** Indicates which logging type(s) are supported for a load balancer with this profile. */ logging_supported: LoadBalancerProfileLoggingSupported; - mtls_supported: LoadBalancerProfileMtlsSupported; /** The globally unique name for this load balancer profile. */ name: string; route_mode_supported: LoadBalancerProfileRouteModeSupported; @@ -51104,12 +49448,6 @@ namespace VpcV1 { } } - /** - * LoadBalancerProfileAdvancedHealthCheckSupported. - */ - export interface LoadBalancerProfileAdvancedHealthCheckSupported { - } - /** * LoadBalancerProfileAvailability. */ @@ -51132,12 +49470,6 @@ namespace VpcV1 { total_count: number; } - /** - * LoadBalancerProfileFQDNSupported. - */ - export interface LoadBalancerProfileFQDNSupported { - } - /** * LoadBalancerProfileFailsafePolicyActions. */ @@ -51174,12 +49506,6 @@ namespace VpcV1 { } } - /** - * LoadBalancerProfileMtlsSupported. - */ - export interface LoadBalancerProfileMtlsSupported { - } - /** * LoadBalancerProfileReference. */ @@ -56712,11 +55038,7 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model - * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled - * - `metadata_service.protocol` (string): The communication protocol used for the - * metadata service endpoint - * - `vcpu.count` (integer): The number of virtual CPUs. + * - `gpu.model` (string): The GPU model. */ instance: string; } @@ -56751,11 +55073,7 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model - * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled - * - `metadata_service.protocol` (string): The communication protocol used for the - * metadata service endpoint - * - `vcpu.count` (integer): The number of virtual CPUs. + * - `gpu.model` (string): The GPU model. */ instance?: string; } @@ -56795,11 +55113,7 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model - * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled - * - `metadata_service.protocol` (string): The communication protocol used for the - * metadata service endpoint. - * - `vcpu.count` (integer): The number of virtual CPUs. + * - `gpu.model` (string): The GPU model. */ instance?: string; } @@ -56868,11 +55182,6 @@ namespace VpcV1 { * SnapshotConsistencyGroup. */ export interface SnapshotConsistencyGroup { - /** If present, the backup policy job that created this snapshot consistency group. - * Snapshot consistency groups with the same backup policy job identifier represent - * snapshots of the same instance across different storage generations. - */ - backup_policy_job?: BackupPolicyJobReference; /** If present, the backup policy plan which created this snapshot consistency group. */ backup_policy_plan?: BackupPolicyPlanReference; /** The date and time that this snapshot consistency group was created. */ @@ -59806,11 +58115,7 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model - * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled - * - `metadata_service.protocol` (string): The communication protocol used for the - * metadata service endpoint - * - `vcpu.count` (integer): The number of virtual CPUs. + * - `gpu.model` (string): The GPU model. */ instance: string; } @@ -59845,11 +58150,7 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model - * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled - * - `metadata_service.protocol` (string): The communication protocol used for the - * metadata service endpoint - * - `vcpu.count` (integer): The number of virtual CPUs. + * - `gpu.model` (string): The GPU model. */ instance?: string; } @@ -59889,11 +58190,7 @@ namespace VpcV1 { * - `gpu.count` (integer): The number of GPUs * - `gpu.manufacturer` (string): The GPU manufacturer * - `gpu.memory` (integer): The overall amount of GPU memory in GiB (gibibytes) - * - `gpu.model` (string): The GPU model - * - `metadata_service.enabled` (boolean): Whether the metadata service is enabled - * - `metadata_service.protocol` (string): The communication protocol used for the - * metadata service endpoint - * - `vcpu.count` (integer): The number of virtual CPUs. + * - `gpu.model` (string): The GPU model. */ instance?: string; } @@ -59965,9 +58262,7 @@ namespace VpcV1 { } /** - * The configuration for the volume as a device in the instance operating system. - * - * This property may be absent if the volume attachment's `status` is not `attached`. + * VolumeAttachmentDevice. */ export interface VolumeAttachmentDevice { /** A unique identifier for the device which is exposed to the instance operating system. */ @@ -60567,14 +58862,10 @@ namespace VpcV1 { */ bandwidth?: number; /** The capacity to use for the volume (in gigabytes). The specified value must be at least the image's - * `minimum_provisioned_size`, at most 250 gigabytes for - * `storage_generation: 1` or at most 32,000 gigabytes for `storage_generation: 2`, and within the `boot_capacity` - * range of the volume's profile. + * `minimum_provisioned_size`, at most 250 gigabytes, and within the + * `boot_capacity` range of the volume's profile. * - * If unspecified, the capacity will depend on the image: - * - When using a system-provided image, 100 gigabytes or the `minimum_provisioned_size` - * of the image, whichever is larger. - * - When using a custom image, the `minimum_provisioned_size` of the image. + * If unspecified, the capacity will be the image's `minimum_provisioned_size`. */ capacity?: number; /** The root key to use to wrap the data encryption key for the volume. @@ -60625,9 +58916,8 @@ namespace VpcV1 { */ bandwidth?: number; /** The capacity to use for the volume (in gigabytes). The specified value must be at least the snapshot's - * `minimum_capacity`, at most 250 gigabytes for - * `storage_generation: 1` or at most 32,000 gigabytes for `storage_generation: 2`, and within the `boot_capacity` - * range of the volume's profile. + * `minimum_capacity`, at most 250 gigabytes, and within the + * `boot_capacity` range of the volume's profile. */ capacity?: number; /** The root key to use to wrap the data encryption key for the volume. @@ -61070,8 +59360,8 @@ namespace VpcV1 { /** The resource type this backup policy will apply to. Resources that have both a matching type and a matching * user tag will be subject to the backup policy. * - * If the targeted instance contains volumes with different `storage_generation` values, a backup policy of type - * `instance` will create separate backups for each `storage_generation` present. + * A backup policy of type `instance` will create a backup of all volumes with a + * `storage_generation` value of `1` attached to the instance. */ match_resource_type: BackupPolicyPrototypeBackupPolicyMatchResourceTypeInstancePrototype.Constants.MatchResourceType | string; } @@ -61082,7 +59372,7 @@ namespace VpcV1 { BOOT_VOLUME = 'boot_volume', DATA_VOLUMES = 'data_volumes', } - /** The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag will be subject to the backup policy. If the targeted instance contains volumes with different `storage_generation` values, a backup policy of type `instance` will create separate backups for each `storage_generation` present. */ + /** The resource type this backup policy will apply to. Resources that have both a matching type and a matching user tag will be subject to the backup policy. A backup policy of type `instance` will create a backup of all volumes with a `storage_generation` value of `1` attached to the instance. */ export enum MatchResourceType { INSTANCE = 'instance', } @@ -64855,7 +63145,7 @@ namespace VpcV1 { } /** - * The default VCPU count for an instance with this profile. + * The VCPU count for an instance with this profile. */ export interface InstanceProfileVCPUFixed extends InstanceProfileVCPU { /** The type for this profile field. */ @@ -65557,14 +63847,6 @@ namespace VpcV1 { id: string; } - /** - * LoadBalancerListenerClientAuthenticationCertificateAuthorityPatchByCRN. - */ - export interface LoadBalancerListenerClientAuthenticationCertificateAuthorityPatchByCRN extends LoadBalancerListenerClientAuthenticationCertificateAuthorityPatch { - /** The CRN for this certificate instance. */ - crn: string; - } - /** * LoadBalancerListenerDefaultPoolPatchLoadBalancerPoolIdentityByHref. */ @@ -65795,18 +64077,6 @@ namespace VpcV1 { * LoadBalancerPoolHealthMonitorPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSPrototype. */ export interface LoadBalancerPoolHealthMonitorPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSPrototype extends LoadBalancerPoolHealthMonitorPrototype { - /** The HTTP request to use for health checks. If unspecified, a `request.method` value of - * `get` will be used with no `request.headers`. - * - * Supported by load balancers with `advanced_health_checks_supported` set to `true`. - */ - request?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototype; - /** The HTTP response to use for health checks. If unspecified, a `response.codes` value of - * `["200"]` will be used with no `response.body_regex`. - * - * Supported by load balancers with `advanced_health_checks_supported` set to `true`. - */ - response?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponsePrototype; /** The protocol type to use for health checks. * * Load balancers in the `network` family do not support the `https` protocol. @@ -65848,8 +64118,6 @@ namespace VpcV1 { * LoadBalancerPoolHealthMonitorTypeHTTPHTTPS. */ export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPS extends LoadBalancerPoolHealthMonitor { - request: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequest; - response: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSResponse; /** The protocol type used for health checks. */ type: LoadBalancerPoolHealthMonitorTypeHTTPHTTPS.Constants.Type | string; /** The health check URL path, in the format of an [origin-form request @@ -65867,67 +64135,6 @@ namespace VpcV1 { } } - /** - * LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestGetPrototype. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestGetPrototype extends LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototype { - /** The HTTP request headers to use for health checks. If empty, health check HTTP requests will not have - * headers. - * - * Include a `Host` field and its value to enable the `HTTP/1.1` protocol for health checks. If a `Host` header is - * not included, `HTTP/1.0` will be used by default. More than one - * `Host` header is not allowed. - * - * A header must not exceed 1000 characters, and all headers combined must not exceed 4000 characters. - */ - headers?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype[]; - /** The HTTP request method to use for health checks. */ - method?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestGetPrototype.Constants.Method | string; - } - export namespace LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestGetPrototype { - export namespace Constants { - /** The HTTP request method to use for health checks. */ - export enum Method { - GET = 'get', - } - } - } - - /** - * LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPostPrototype. - */ - export interface LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPostPrototype extends LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototype { - /** The HTTP request body to use for health checks. If unspecified, health check requests will not have a - * request body. - * - * The body must be formatted in a way that is understood by the backend member. If specified, the - * `request.headers` array must include a corresponding `Content-Type` header. - */ - body?: string; - /** The HTTP request headers to use for health checks. If empty, health check requests will not have headers. - * - * Include a `Host` field and its value to enable the `HTTP/1.1` protocol for health checks. If a `Host` header is - * not included, `HTTP/1.0` will be used by default. More than one - * `Host` header is not allowed. - * - * Include a `Content-Type` field and its value to indicate the media type of the - * `request.body` (if set). - * - * A header must not exceed 1000 characters, and all headers combined must not exceed 4000 characters. - */ - headers?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestHeaderPrototype[]; - /** The HTTP request method to use for health checks. */ - method?: LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPostPrototype.Constants.Method | string; - } - export namespace LoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPrototypeLoadBalancerPoolHealthMonitorTypeHTTPHTTPSRequestPostPrototype { - export namespace Constants { - /** The HTTP request method to use for health checks. */ - export enum Method { - POST = 'post', - } - } - } - /** * LoadBalancerPoolHealthMonitorTypeTCP. */ @@ -65994,14 +64201,6 @@ namespace VpcV1 { } } - /** - * LoadBalancerPoolMemberTargetPrototypeFQDN. - */ - export interface LoadBalancerPoolMemberTargetPrototypeFQDN extends LoadBalancerPoolMemberTargetPrototype { - /** A fully qualified domain name for this resource. */ - fqdn: string; - } - /** * LoadBalancerPoolMemberTargetPrototypeIP. */ @@ -66032,14 +64231,6 @@ namespace VpcV1 { export interface LoadBalancerPoolMemberTargetPrototypeReservedIPIdentity extends LoadBalancerPoolMemberTargetPrototype { } - /** - * LoadBalancerPoolMemberTargetFQDN. - */ - export interface LoadBalancerPoolMemberTargetFQDN extends LoadBalancerPoolMemberTarget { - /** A fully qualified domain name for this resource. */ - fqdn: string; - } - /** * LoadBalancerPoolMemberTargetIPNotReservedIP. */ @@ -66100,40 +64291,6 @@ namespace VpcV1 { } } - /** - * The advanced health check support for a load balancer with this profile depends on its configuration. - */ - export interface LoadBalancerProfileAdvancedHealthCheckSupportedDependent extends LoadBalancerProfileAdvancedHealthCheckSupported { - /** The type for this profile field. */ - type: LoadBalancerProfileAdvancedHealthCheckSupportedDependent.Constants.Type | string; - } - export namespace LoadBalancerProfileAdvancedHealthCheckSupportedDependent { - export namespace Constants { - /** The type for this profile field. */ - export enum Type { - DEPENDENT = 'dependent', - } - } - } - - /** - * The advanced health check support for a load balancer with this profile. - */ - export interface LoadBalancerProfileAdvancedHealthCheckSupportedFixed extends LoadBalancerProfileAdvancedHealthCheckSupported { - /** The type for this profile field. */ - type: LoadBalancerProfileAdvancedHealthCheckSupportedFixed.Constants.Type | string; - /** The value for this profile field. */ - value: boolean; - } - export namespace LoadBalancerProfileAdvancedHealthCheckSupportedFixed { - export namespace Constants { - /** The type for this profile field. */ - export enum Type { - FIXED = 'fixed', - } - } - } - /** * The availability mode for a load balancer with this profile depends on its configuration. */ @@ -66180,40 +64337,6 @@ namespace VpcV1 { } } - /** - * The FQDN support for a load balancer with this profile depends on its configuration. - */ - export interface LoadBalancerProfileFQDNSupportedDependent extends LoadBalancerProfileFQDNSupported { - /** The type for this profile field. */ - type: LoadBalancerProfileFQDNSupportedDependent.Constants.Type | string; - } - export namespace LoadBalancerProfileFQDNSupportedDependent { - export namespace Constants { - /** The type for this profile field. */ - export enum Type { - DEPENDENT = 'dependent', - } - } - } - - /** - * The FQDN support for a load balancer with this profile. - */ - export interface LoadBalancerProfileFQDNSupportedFixed extends LoadBalancerProfileFQDNSupported { - /** The type for this profile field. */ - type: LoadBalancerProfileFQDNSupportedFixed.Constants.Type | string; - /** The value for this profile field. */ - value: boolean; - } - export namespace LoadBalancerProfileFQDNSupportedFixed { - export namespace Constants { - /** The type for this profile field. */ - export enum Type { - FIXED = 'fixed', - } - } - } - /** * The failsafe policy action configuration for a load balancer with this profile depends on its configuration. */ @@ -66314,40 +64437,6 @@ namespace VpcV1 { } } - /** - * The mTLS support for a load balancer with this profile depends on its configuration. - */ - export interface LoadBalancerProfileMtlsSupportedDependent extends LoadBalancerProfileMtlsSupported { - /** The type for this profile field. */ - type: LoadBalancerProfileMtlsSupportedDependent.Constants.Type | string; - } - export namespace LoadBalancerProfileMtlsSupportedDependent { - export namespace Constants { - /** The type for this profile field. */ - export enum Type { - DEPENDENT = 'dependent', - } - } - } - - /** - * The mTLS support for a load balancer with this profile. - */ - export interface LoadBalancerProfileMtlsSupportedFixed extends LoadBalancerProfileMtlsSupported { - /** The type for this profile field. */ - type: LoadBalancerProfileMtlsSupportedFixed.Constants.Type | string; - /** The value for this profile field. */ - value: boolean; - } - export namespace LoadBalancerProfileMtlsSupportedFixed { - export namespace Constants { - /** The type for this profile field. */ - export enum Type { - FIXED = 'fixed', - } - } - } - /** * The [route mode](https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-vnf&interface=ui) support for a load balancer with * this profile depends on its configuration. @@ -66666,8 +64755,8 @@ namespace VpcV1 { export interface NetworkACLRuleItemNetworkACLRuleProtocolIndividual extends NetworkACLRuleItem { /** The network protocol. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and - * `udp`. Names for well known protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known + * protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -67101,8 +65190,8 @@ namespace VpcV1 { export interface NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIndividualPrototype extends NetworkACLRulePrototypeNetworkACLContext { /** The network protocol. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and - * `udp`. Names for well known protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known + * protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -67552,8 +65641,8 @@ namespace VpcV1 { export interface NetworkACLRulePrototypeNetworkACLRuleProtocolIndividualPrototype extends NetworkACLRulePrototype { /** The network protocol. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and - * `udp`. Names for well known protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known + * protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -68003,8 +66092,8 @@ namespace VpcV1 { export interface NetworkACLRuleNetworkACLRuleProtocolIndividual extends NetworkACLRule { /** The network protocol. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and - * `udp`. Names for well known protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known + * protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -69038,8 +67127,8 @@ namespace VpcV1 { export interface SecurityGroupRuleProtocolIndividual extends SecurityGroupRule { /** The network protocol to allow. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and - * `udp`. Names for well known protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known + * protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -69456,8 +67545,8 @@ namespace VpcV1 { export interface SecurityGroupRulePrototypeSecurityGroupRuleProtocolIndividualPrototype extends SecurityGroupRulePrototype { /** The network protocol to allow. * - * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and - * `udp`. Names for well known protocols are: + * The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known + * protocols are: * - `ah`: AH (authentication header, protocol number `51`) * - `esp`: ESP (encapsulating security payload, protocol number `50`) * - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -70803,8 +68892,6 @@ namespace VpcV1 { * require a virtual network interface. * - `vpc`: All clients in the VPC for a mount target have access to the mount target. * Mount targets for this share require a VPC. - * - * The `vpc` access control mode has been deprecated. Use `security_group` instead. */ access_control_mode?: SharePrototypeShareBySize.Constants.AccessControlMode | string; /** The access protocols to allow for this share. If unspecified: @@ -70871,7 +68958,7 @@ namespace VpcV1 { NONE = 'none', STUNNEL = 'stunnel', } - /** The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. Mount targets for this share require a virtual network interface. - `vpc`: All clients in the VPC for a mount target have access to the mount target. Mount targets for this share require a VPC. The `vpc` access control mode has been deprecated. Use `security_group` instead. */ + /** The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. Mount targets for this share require a virtual network interface. - `vpc`: All clients in the VPC for a mount target have access to the mount target. Mount targets for this share require a VPC. */ export enum AccessControlMode { SECURITY_GROUP = 'security_group', VPC = 'vpc', @@ -71072,9 +69159,9 @@ namespace VpcV1 { * SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots. */ export interface SnapshotConsistencyGroupPrototypeSnapshotConsistencyGroupBySnapshots extends SnapshotConsistencyGroupPrototype { - /** The data-consistent member snapshots to create. Each snapshot must specify a - * `source_volume` attached to the same virtual server instance, and all source volumes must have the same - * `storage_generation` value. + /** The data-consistent member snapshots to create. Each snapshot must specify a + * `source_volume` attached to the same virtual server instance, and all source volumes must have a + * `storage_generation` value of `1`. */ snapshots: SnapshotPrototypeSnapshotConsistencyGroupContext[]; } @@ -76917,87 +75004,6 @@ namespace VpcV1 { } } - /** - * InstanceProfilesPager can be used to simplify the use of listInstanceProfiles(). - */ - export class InstanceProfilesPager { - protected _hasNext: boolean; - - protected pageContext: any; - - protected client: VpcV1; - - protected params: VpcV1.ListInstanceProfilesParams; - - /** - * Construct a InstanceProfilesPager object. - * - * @param {VpcV1} client - The service client instance used to invoke listInstanceProfiles() - * @param {Object} [params] - The parameters to be passed to listInstanceProfiles() - * @constructor - * @returns {InstanceProfilesPager} - */ - constructor(client: VpcV1, params?: VpcV1.ListInstanceProfilesParams) { - if (params && params.start) { - throw new Error(`the params.start field should not be set`); - } - - this._hasNext = true; - this.pageContext = { next: undefined }; - this.client = client; - this.params = JSON.parse(JSON.stringify(params || {})); - } - - /** - * Returns true if there are potentially more results to be retrieved by invoking getNext(). - * @returns {boolean} - */ - public hasNext(): boolean { - return this._hasNext; - } - - /** - * Returns the next page of results by invoking listInstanceProfiles(). - * @returns {Promise} - */ - public async getNext(): Promise { - if (!this.hasNext()) { - throw new Error('No more results available'); - } - - if (this.pageContext.next) { - this.params.start = this.pageContext.next; - } - const response = await this.client.listInstanceProfiles(this.params); - const { result } = response; - - let next; - if (result && result.next) { - if (result.next.href) { - next = getQueryParam(result.next.href, 'start'); - } - } - this.pageContext.next = next; - if (!this.pageContext.next) { - this._hasNext = false; - } - return result.profiles; - } - - /** - * Returns all results by invoking listInstanceProfiles() repeatedly until all pages of results have been retrieved. - * @returns {Promise} - */ - public async getAll(): Promise { - const results: InstanceProfile[] = []; - while (this.hasNext()) { - const nextPage = await this.getNext(); - results.push(...nextPage); - } - return results; - } - } - /** * InstancesPager can be used to simplify the use of listInstances(). */