diff --git a/CHANGELOG.md b/CHANGELOG.md index f4b2331..179f146 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,88 +1,100 @@ # CHANGELOG +## [v0.5.0](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.5.0) + +> Release Date: 2024-11-25 + +- Added support for VCF 5.2.01 APIs. +- Replaced `go-swagger` with `oapi-codegen`. + ## [v0.4.0](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.4.0) > Release Date: 2024-10-14 -Support for VCF 5.2.0 APIs\ -Replace `go-swagger` with `oapi-codegen` +- Added support for VCF 5.2.0 APIs. +- Replaced `go-swagger` with `oapi-codegen`. ## [v0.3.3](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.3.3) > Release Date: 2024-07-24 -Fix vSAN ESA config serialization when value is false +- Fixed vSAN ESA config serialization when value is `false`. ## [v0.3.2](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.3.2) > Release Date: 2024-06-07 -Accept 0 as a valid VLAN ID for network pools and edge node management portgroups +- Accept 0 as a valid VLAN ID for network pools and edge node management + portgroups. ## [v0.3.1](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.3.1) > Release Date: 2024-06-07 -Do not use this release. Use v0.3.2 instead. +- Do not use this release. Use v0.3.2 instead. ## [v0.3.0](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.3.0) > Release Date: 2024-05-23 -Support for VCF 5.1.1 APIs\ -Move to go-swagger 0.30.5 +- Added support for VCF 5.1.1 APIs. +- Updated `go-swagger` to v0.30.5. ## [v0.2.4](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.2.4) > Release Date: 2024-03-11 -Patch personalities API +- Patched personalities API. ## [v0.2.3](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.2.3) > Release Date: 2024-02-27 -Made GeneveVlanID in NsxTClusterSpec а required field. +- Updated `GeneveVlanID` in `NsxTClusterSpec` to а required field. ## [v0.2.2](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.2.2) > Release Date: 2023-12-11 -Prevent `AutoRotateCredentialPolicyInputSpec.EnableAutoRotatePolicy` being omitted when set to `false` +- Updated `AutoRotateCredentialPolicyInputSpec.EnableAutoRotatePolicy` from + being omitted when set to `false` ## [v0.2.1](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.2.1) > Release Date: 2023-11-22 -Include 202 as response code to "/v1/domains/{id}/resource-certificates" API endpoint +- Added 202 as response code to `/v1/domains/{id}/resource-certificates` API +endpoint. ## [v0.2.0](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.2.0) > Release Date: 2023-10-18 - -Support APIs from VCF 4.5.2\ + +- Added support for VCF 4.5.2 APIs. + Note: PUT “/v1/personalities/files” API omitted as it made the swagger file invalid. ## [v0.1.3](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.1.3) > Release Date: 2023-10-02 -Made MemorySharesValue in SDDC's ResourcePoolSpec а required field. +- Updated `MemorySharesValue` in SDDC's `ResourcePoolSpec` а required field. ## [v0.1.2](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.1.2) > Release Date: 2023-10-02 -Made TransportVlanID in SDDCNSXTSpec а required field. +- Updated `TransportVlanID` in `SDDCNSXTSpec` to а required field. ## [v0.1.1](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.1.1) > Release Date: 2023-05-31 -Removed the GET and POST abbreviations from the additional initialism list, for better dev experience when using the SDK. +- Removed the `GET` and `POST` abbreviations from the additional initialism + list, for better dev experience when using the SDK. ## [v0.1.0](https://github.com/vmware/vcf-sdk-go/releases/tag/v0.1.0) > Release Date: 2023-04-21 -Initial release, bringing support for VCF 4.5.0 +- Initial release with support for VCF 4.5.0. diff --git a/swagger.json b/swagger.json index 193149d..d5df205 100644 --- a/swagger.json +++ b/swagger.json @@ -7,7 +7,7 @@ "license": { "name": "VMware Cloud Foundation" }, - "version": "5.2.0" + "version": "5.2.1" }, "servers": [ { @@ -28,10 +28,6 @@ "name": "Suite Lifecycle", "description": "APIs for managing VMware Aria Suite Lifecycle" }, - { - "name": "CustomIso", - "description": "API for managing Custom Isos" - }, { "name": "CheckSets", "description": "APIs to trigger check-set runs" @@ -612,22 +608,22 @@ "required": true }, "responses": { - "200": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfVersionAliasesForBundleComponentType" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfVersionAliasesForBundleComponentType" } } } @@ -684,22 +680,22 @@ "required": true }, "responses": { - "200": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfVersionAliasesForBundleComponentType" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfVersionAliasesForBundleComponentType" } } } @@ -757,9 +753,6 @@ } }, "responses": { - "204": { - "description": "No COntent" - }, "400": { "description": "Bad Request", "content": { @@ -770,6 +763,9 @@ } } }, + "204": { + "description": "No COntent" + }, "500": { "description": "InternalServerError", "content": { @@ -792,22 +788,22 @@ "description": "Get the depot configuration. In a fresh setup, this would be empty.", "operationId": "getDepotSettings", "responses": { - "500": { - "description": "InternalServerError", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/DepotSettings" } } } }, - "200": { - "description": "Ok", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DepotSettings" + "$ref": "#/components/schemas/Error" } } } @@ -832,22 +828,22 @@ "required": true }, "responses": { - "202": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DepotSettings" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "202": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/DepotSettings" } } } @@ -883,11 +879,8 @@ } ], "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -896,8 +889,11 @@ } } }, - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -917,8 +913,8 @@ "summary": "Retrieve the NTP configuration", "operationId": "getNtpConfiguration", "responses": { - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -927,8 +923,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -966,8 +962,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -976,8 +972,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -1017,8 +1013,8 @@ } } }, - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1027,8 +1023,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -1056,8 +1052,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1066,8 +1062,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -1097,12 +1093,12 @@ "summary": "Retrieve the backup configuration for SDDC Manager and NSX Manager", "operationId": "getBackupConfiguration", "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/BackupConfiguration" } } } @@ -1117,12 +1113,12 @@ } } }, - "200": { - "description": "Ok", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BackupConfiguration" + "$ref": "#/components/schemas/Error" } } } @@ -1146,28 +1142,28 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Validation" } } } }, - "200": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -1195,8 +1191,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1205,8 +1201,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -1246,8 +1242,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1256,8 +1252,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -1709,28 +1705,28 @@ } ], "responses": { - "500": { - "description": "InternalServerError", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfCertificate" } } } }, - "200": { - "description": "Ok", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfCertificate" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -1778,6 +1774,15 @@ "responses": { "202": { "description": "Accepted", + "headers": { + "location": { + "description": "API to fetch resource certificate installation status.", + "style": "simple", + "schema": { + "type": "string" + } + } + }, "content": { "application/json": { "schema": { @@ -1786,8 +1791,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -1796,8 +1801,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -1845,18 +1850,17 @@ "required": true }, "responses": { - "500": { - "description": "InternalServerError", - "content": { - "application/json": { + "201": { + "description": "Created", + "headers": { + "location": { + "description": "API to fetch certificate validation status", + "style": "simple", "schema": { - "$ref": "#/components/schemas/Error" + "type": "string" } } - } - }, - "201": { - "description": "Created", + }, "content": { "application/json": { "schema": { @@ -1875,8 +1879,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -1909,28 +1913,28 @@ } ], "responses": { - "200": { - "description": "Ok", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfCsr" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "InternalServerError", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfCsr" } } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -1971,12 +1975,12 @@ "required": true }, "responses": { - "202": { - "description": "Accepted", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -1991,12 +1995,21 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", + "headers": { + "location": { + "description": "API to fetch CSRs generation status.", + "style": "simple", + "schema": { + "type": "string" + } + } + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } @@ -2011,8 +2024,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -2045,28 +2058,28 @@ } ], "responses": { - "500": { - "description": "InternalServerError", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfCertificate" } } } }, - "200": { - "description": "Ok", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfCertificate" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -2107,18 +2120,27 @@ "required": true }, "responses": { - "400": { - "description": "Bad Request", + "202": { + "description": "Accepted", + "headers": { + "location": { + "description": "API to fetch Certificate generation status.", + "style": "simple", + "schema": { + "type": "string" + } + } + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -2127,12 +2149,12 @@ } } }, - "202": { - "description": "Accepted", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -2147,8 +2169,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -2191,6 +2213,15 @@ "responses": { "202": { "description": "Accepted", + "headers": { + "location": { + "description": "API to fetch certificate installation status.", + "style": "simple", + "schema": { + "type": "string" + } + } + }, "content": { "application/json": { "schema": { @@ -2199,8 +2230,8 @@ } } }, - "400": { - "description": "Bad Request", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -2209,8 +2240,8 @@ } } }, - "500": { - "description": "InternalServerError", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2219,8 +2250,8 @@ } } }, - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -2229,8 +2260,8 @@ } } }, - "409": { - "description": "Conflict", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -2239,8 +2270,8 @@ } } }, - "404": { - "description": "Not Found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2294,8 +2325,8 @@ "200": { "description": "Ok" }, - "400": { - "description": "Bad Request", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -2304,8 +2335,8 @@ } } }, - "500": { - "description": "InternalServerError", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2314,8 +2345,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -2347,8 +2378,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Resource Not Found", "content": { "application/json": { "schema": { @@ -2357,8 +2388,8 @@ } } }, - "404": { - "description": "Resource Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -2408,10 +2439,7 @@ }, "responses": { "200": { - "description": "Ok", - "content": { - "application/json": {} - } + "description": "Ok" }, "400": { "description": "Bad Request", @@ -2703,8 +2731,8 @@ "200": { "description": "Ok" }, - "400": { - "description": "Bad Request", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -2713,8 +2741,8 @@ } } }, - "500": { - "description": "InternalServerError", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2723,8 +2751,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -2916,22 +2944,22 @@ "required": true }, "responses": { - "400": { - "description": "Bad Request", + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/VasaProvider" } } } }, - "201": { - "description": "Created", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VasaProvider" + "$ref": "#/components/schemas/Error" } } } @@ -2968,16 +2996,6 @@ } ], "responses": { - "404": { - "description": "VASA Provider not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "200": { "description": "Ok", "content": { @@ -3001,6 +3019,16 @@ } } }, + "404": { + "description": "VASA Provider not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, "500": { "description": "InternalServerError", "content": { @@ -3045,12 +3073,12 @@ "required": true }, "responses": { - "404": { - "description": "VASA Provider not found", + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/VasaProvider" } } } @@ -3065,12 +3093,12 @@ } } }, - "201": { - "description": "Created", + "404": { + "description": "VASA Provider not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VasaProvider" + "$ref": "#/components/schemas/Error" } } } @@ -3116,16 +3144,6 @@ } ], "responses": { - "404": { - "description": "VASA Provider not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "200": { "description": "Ok", "content": { @@ -3149,6 +3167,16 @@ } } }, + "404": { + "description": "VASA Provider not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, "500": { "description": "InternalServerError", "content": { @@ -3193,12 +3221,12 @@ "required": true }, "responses": { - "404": { - "description": "VASA Provider not found", + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/VasaProvider" } } } @@ -3213,12 +3241,12 @@ } } }, - "201": { - "description": "Created", + "404": { + "description": "VASA Provider not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VasaProvider" + "$ref": "#/components/schemas/Error" } } } @@ -3254,16 +3282,6 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Validation" - } - } - } - }, "202": { "description": "Accepted", "content": { @@ -3283,6 +3301,9 @@ } } } + }, + "500": { + "description": "Internal Server Error" } } } @@ -3296,8 +3317,8 @@ "description": "Get a list of all users", "operationId": "getUsers", "responses": { - "401": { - "description": "Unauthorized Request", + "400": { + "description": "Bad request", "content": { "application/json": { "schema": { @@ -3326,8 +3347,8 @@ } } }, - "400": { - "description": "Bad request", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -3360,8 +3381,8 @@ "required": true }, "responses": { - "401": { - "description": "Unauthorized Request", + "400": { + "description": "Bad request", "content": { "application/json": { "schema": { @@ -3380,22 +3401,22 @@ } } }, - "400": { - "description": "Bad request", + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PageOfUser" } } } }, - "201": { - "description": "Created", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfUser" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -3441,22 +3462,22 @@ } ], "responses": { - "200": { - "description": "Ok", + "404": { + "description": "Upgrade Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfUpgrade" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Upgrade Not Found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfUpgrade" } } } @@ -3501,8 +3522,8 @@ "required": true }, "responses": { - "424": { - "description": "Failed Dependency", + "403": { + "description": "Operation not allowed", "content": { "application/json": { "schema": { @@ -3511,8 +3532,8 @@ } } }, - "403": { - "description": "Operation not allowed", + "424": { + "description": "Failed Dependency", "content": { "application/json": { "schema": { @@ -3531,22 +3552,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -3593,22 +3614,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -3635,12 +3656,12 @@ "required": true }, "responses": { - "200": { - "description": "Ok", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TokenPair" + "$ref": "#/components/schemas/Error" } } } @@ -3664,26 +3685,6 @@ } } } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } } } } @@ -3696,8 +3697,8 @@ "summary": "Retrieve a list of Support Bundle tasks", "operationId": "getSupportBundleTask", "responses": { - "401": { - "description": "Bad request! Authorization Header is missing or not in correct format.", + "500": { + "description": "Something went wrong. Internal server error occurred. Error {error}", "content": { "application/json": { "schema": { @@ -3706,18 +3707,18 @@ } } }, - "500": { - "description": "Something went wrong. Internal server error occurred. Error {error}", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfSupportBundle" } } } }, - "400": { - "description": "Bad request! Invalid Headers or Data. Error: {error}", + "401": { + "description": "Bad request! Authorization Header is missing or not in correct format.", "content": { "application/json": { "schema": { @@ -3726,12 +3727,12 @@ } } }, - "200": { - "description": "Ok", + "400": { + "description": "Bad request! Invalid Headers or Data. Error: {error}", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfSupportBundle" + "$ref": "#/components/schemas/Error" } } } @@ -3755,8 +3756,8 @@ "required": true }, "responses": { - "401": { - "description": "Bad request! Authorization Header is missing or not in correct format.", + "500": { + "description": "Something went wrong. Internal server error occurred. Error {error}", "content": { "application/json": { "schema": { @@ -3765,28 +3766,28 @@ } } }, - "409": { - "description": "Operation is in progress for Id {id}. Wait for the operation to complete.", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SupportBundle" } } } }, - "202": { - "description": "Accepted", + "401": { + "description": "Bad request! Authorization Header is missing or not in correct format.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SupportBundle" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "Something went wrong. Internal server error occurred. Error {error}", + "400": { + "description": "Bad request! Invalid Headers or Data. Error: {error}", "content": { "application/json": { "schema": { @@ -3795,8 +3796,8 @@ } } }, - "400": { - "description": "Bad request! Invalid Headers or Data. Error: {error}", + "409": { + "description": "Operation is in progress for Id {id}. Wait for the operation to complete.", "content": { "application/json": { "schema": { @@ -3852,8 +3853,8 @@ } }, "responses": { - "501": { - "description": "Not Implemented", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -3862,18 +3863,8 @@ } } }, - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SddcSpec" - } - } - } - }, - "400": { - "description": "Converting SDDC specification failed", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -3882,18 +3873,18 @@ } } }, - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SddcSpec" } } } }, - "404": { - "description": "Not Found", + "400": { + "description": "Converting SDDC specification failed", "content": { "application/json": { "schema": { @@ -3934,22 +3925,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -3977,31 +3968,28 @@ } ], "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Validation" - } + "$ref": "#/components/schemas/Validation" } } } }, - "200": { - "description": "OK", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -4034,7 +4022,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } @@ -4070,28 +4058,28 @@ "summary": "Retieve a list of Health Check tasks", "operationId": "getHealthCheckTask", "responses": { - "401": { - "description": "Bad request! Authorization Header is missing or not in correct format.", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfHealthSummary" } } } }, - "200": { - "description": "Ok", + "500": { + "description": "Something went wrong. Internal server error occurred. Error {error}", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfHealthSummary" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "Something went wrong. Internal server error occurred. Error {error}", + "401": { + "description": "Bad request! Authorization Header is missing or not in correct format.", "content": { "application/json": { "schema": { @@ -4129,8 +4117,8 @@ "required": true }, "responses": { - "401": { - "description": "Bad request! Authorization Header is missing or not in correct format.", + "500": { + "description": "Something went wrong. Internal server error occurred. Error {error}", "content": { "application/json": { "schema": { @@ -4139,8 +4127,8 @@ } } }, - "409": { - "description": "Operation is in progress for Id {id}. Wait for the operation to complete.", + "401": { + "description": "Bad request! Authorization Header is missing or not in correct format.", "content": { "application/json": { "schema": { @@ -4159,8 +4147,8 @@ } } }, - "500": { - "description": "Something went wrong. Internal server error occurred. Error {error}", + "400": { + "description": "Bad request! Invalid Headers or Data. Error: {error}", "content": { "application/json": { "schema": { @@ -4169,8 +4157,8 @@ } } }, - "400": { - "description": "Bad request! Invalid Headers or Data. Error: {error}", + "409": { + "description": "Operation is in progress for Id {id}. Wait for the operation to complete.", "content": { "application/json": { "schema": { @@ -4201,31 +4189,28 @@ } ], "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Validation" - } + "$ref": "#/components/schemas/Validation" } } } }, - "200": { - "description": "OK", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -4258,7 +4243,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } @@ -4306,25 +4291,25 @@ } ], "responses": { - "200": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssessmentTaskInfo" - } + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/AssessmentTaskInfo" + } } } } @@ -4369,22 +4354,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -4411,22 +4396,22 @@ "required": true }, "responses": { - "200": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CheckSetQueryResult" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CheckSetQueryResult" } } } @@ -4462,8 +4447,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4472,8 +4457,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -4503,22 +4488,22 @@ "summary": "Retrieve all bringup tasks", "operationId": "getBringupTasks", "responses": { - "200": { - "description": "Accepted", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfSddcTask" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "Internal Server Error", + "200": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfSddcTask" } } } @@ -4542,22 +4527,22 @@ "required": true }, "responses": { - "202": { - "description": "Success", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SddcTask" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "Internal Server Error", + "202": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SddcTask" } } } @@ -4583,8 +4568,8 @@ "summary": "Retrieve a list of bringup validations", "operationId": "getBringupValidations", "responses": { - "501": { - "description": "Not Implemented", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4602,26 +4587,6 @@ } } } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } } } }, @@ -4680,8 +4645,8 @@ "required": true }, "responses": { - "403": { - "description": "Forbidden", + "200": { + "description": "Accepted", "content": { "application/json": { "schema": { @@ -4690,38 +4655,38 @@ } } }, - "202": { - "description": "Success", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "Internal Server Error", + "202": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Validation" } } } }, - "200": { - "description": "Accepted", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Not Found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4742,22 +4707,22 @@ "description": "Retrieve all trusted certificates from SDDC Manager", "operationId": "getTrustedCertificates", "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfTrustedCertificate" } } } }, - "200": { - "description": "OK", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfTrustedCertificate" + "$ref": "#/components/schemas/Error" } } } @@ -4782,28 +4747,28 @@ "required": true }, "responses": { - "200": { - "description": "OK", + "400": { + "description": "Bad request", "content": { - "*/*": { + "application/json": { "schema": { - "$ref": "#/components/schemas/Page" + "$ref": "#/components/schemas/Error" } } } }, - "409": { - "description": "Trusted certificate already exists", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfTrustedCertificate" } } } }, - "400": { - "description": "Bad request", + "409": { + "description": "Trusted certificate already exists", "content": { "application/json": { "schema": { @@ -4843,8 +4808,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4853,8 +4818,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -4894,28 +4859,28 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourcesLicenseCheckResult" } } } }, - "202": { - "description": "Accepted", + "400": { + "description": "Bad Request", "content": { - "*/*": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ResourcesLicenseCheckResult" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -4970,8 +4935,8 @@ } ], "responses": { - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4980,22 +4945,22 @@ } } }, - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfResourceWarning" } } } }, - "200": { - "description": "OK", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfResourceWarning" + "$ref": "#/components/schemas/Error" } } } @@ -5019,12 +4984,12 @@ "required": true }, "responses": { - "201": { - "description": "Created", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceWarning" + "$ref": "#/components/schemas/Error" } } } @@ -5039,12 +5004,12 @@ } } }, - "500": { - "description": "Internal Server Error", + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceWarning" } } } @@ -5316,22 +5281,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -5496,6 +5461,119 @@ } } }, + "/v1/nsx-alb-clusters": { + "get": { + "tags": [ + "NsxALBClusters" + ], + "summary": "Retrieve a list of NSX ALB Clusters", + "operationId": "getALBClusters", + "parameters": [ + { + "name": "domainId", + "in": "query", + "description": "Domain Id", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "200": { + "description": "Ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PageOfNsxALBCluster" + } + } + } + } + } + }, + "post": { + "tags": [ + "NsxALBClusters" + ], + "summary": "Create NSX ALB cluster", + "operationId": "createALBCluster", + "parameters": [ + { + "name": "skipCompatibilityCheck", + "in": "query", + "description": "Pass an optional Skip compatibility checks", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NsxAlbControllerClusterSpec" + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Task" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, "/v1/nsx-alb-clusters/validations": { "post": { "tags": [ @@ -5612,12 +5690,12 @@ "description": "Get the Network Pools", "operationId": "getNetworkPool", "responses": { - "500": { - "description": "Unexpected error", + "200": { + "description": "Referenced network pool", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfNetworkPool" } } } @@ -5632,12 +5710,12 @@ } } }, - "200": { - "description": "Referenced network pool", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfNetworkPool" + "$ref": "#/components/schemas/Error" } } } @@ -5662,12 +5740,12 @@ "required": true }, "responses": { - "500": { - "description": "Unexpected error", + "201": { + "description": "The newly created network pool", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/NetworkPool" } } } @@ -5682,12 +5760,12 @@ } } }, - "201": { - "description": "The newly created network pool", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkPool" + "$ref": "#/components/schemas/Error" } } } @@ -5734,12 +5812,12 @@ "required": true }, "responses": { - "404": { - "description": "Either Network Pool ID or Network ID not found", + "200": { + "description": "Add the IP Pool associated with a Network of a Network Pool", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Network" } } } @@ -5754,12 +5832,12 @@ } } }, - "200": { - "description": "Add the IP Pool associated with a Network of a Network Pool", + "404": { + "description": "Either Network Pool ID or Network ID not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Network" + "$ref": "#/components/schemas/Error" } } } @@ -5824,8 +5902,8 @@ } } }, - "500": { - "description": "Unexpected error", + "400": { + "description": "Errors due to network/networkpool validations failures", "content": { "application/json": { "schema": { @@ -5834,8 +5912,8 @@ } } }, - "400": { - "description": "Errors due to network/networkpool validations failures", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { @@ -5859,22 +5937,22 @@ "description": "Get manifest. There should be only one valid manifest in the System.", "operationId": "getManifest", "responses": { - "200": { - "description": "Ok", + "404": { + "description": "Manifest Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Manifest" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Manifest Not Found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Manifest" } } } @@ -6058,8 +6136,8 @@ "description": "Get a list of all identity providers", "operationId": "getIdentityProviders", "responses": { - "401": { - "description": "Unauthorized Request", + "400": { + "description": "Bad request", "content": { "application/json": { "schema": { @@ -6088,8 +6166,8 @@ } } }, - "400": { - "description": "Bad request", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -6118,15 +6196,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "201": { + "description": "Created" }, "400": { "description": "Bad Request", @@ -6138,12 +6209,12 @@ } } }, - "201": { - "description": "Created", + "500": { + "description": "Internal server error", "content": { - "*/*": { + "application/json": { "schema": { - "type": "object" + "$ref": "#/components/schemas/Error" } } } @@ -6181,8 +6252,8 @@ } ], "responses": { - "500": { - "description": "Internal server error", + "404": { + "description": "IDP is not found", "content": { "application/json": { "schema": { @@ -6201,8 +6272,8 @@ } } }, - "404": { - "description": "IDP is not found", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -6245,17 +6316,10 @@ }, "responses": { "204": { - "description": "No content", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } + "description": "No content" }, - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6264,8 +6328,8 @@ } } }, - "400": { - "description": "Bad Request", + "404": { + "description": "Identity Provider not found", "content": { "application/json": { "schema": { @@ -6274,8 +6338,8 @@ } } }, - "404": { - "description": "Identity Provider not found", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -6428,7 +6492,7 @@ "content": { "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/Error" } } } @@ -6476,14 +6540,7 @@ } }, "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Task" - } - } - } + "description": "Internal server error" } } } @@ -6531,14 +6588,7 @@ } }, "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Validation" - } - } - } + "description": "Internal server error" } } } @@ -6586,14 +6636,7 @@ } }, "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Validation" - } - } - } + "description": "Internal server error" } }, "deprecated": true @@ -6680,28 +6723,28 @@ "required": true }, "responses": { - "200": { - "description": "Ok", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HostsPrechecksResponse" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/HostsPrechecksResponse" } } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6791,22 +6834,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -7111,28 +7154,28 @@ } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfComplianceAudit" + "$ref": "#/components/schemas/Error" } } } }, - "401": { - "description": "Unauthorized Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfComplianceAudit" } } } }, - "500": { - "description": "Internal Server Error", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -7182,28 +7225,28 @@ "required": true }, "responses": { - "202": { - "description": "Accepted", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ComplianceTask" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ComplianceTask" } } } }, - "500": { - "description": "InternalServerError", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7212,8 +7255,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -7565,76 +7608,6 @@ } } }, - "/v1/custom-isos/file": { - "post": { - "tags": [ - "CustomIso" - ], - "summary": "Upload a Custom ISO", - "description": "Upload Custom ISO to SDDC Manager", - "operationId": "uploadCustomIso", - "parameters": [ - { - "name": "name", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "required": [ - "file" - ], - "type": "object", - "properties": { - "file": { - "type": "string", - "format": "binary" - } - } - } - } - } - }, - "responses": { - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "202": { - "description": "Accepted", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Task" - } - } - } - } - } - } - }, "/v1/credentials/expirations": { "post": { "tags": [ @@ -7664,18 +7637,18 @@ } } }, - "202": { - "description": "Accepted", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CredentialsExpiration" + "$ref": "#/components/schemas/Error" } } } }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7684,12 +7657,12 @@ } } }, - "400": { - "description": "Bad Request", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CredentialsExpiration" } } } @@ -7736,28 +7709,28 @@ "required": true }, "responses": { - "202": { - "description": "Accepted", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8703,22 +8676,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -8744,8 +8717,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8754,22 +8727,22 @@ } } }, - "202": { - "description": "Accepted", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BackupTask" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/BackupTask" } } } @@ -8797,25 +8770,25 @@ } ], "responses": { - "500": { - "description": "Unexpected error", + "200": { + "description": "Returns the list of all matching AVNs", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/Avn" + } } } } }, - "200": { - "description": "Returns the list of all matching AVNs", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Avn" - } + "$ref": "#/components/schemas/Error" } } } @@ -8849,22 +8822,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -8891,22 +8864,22 @@ "required": true }, "responses": { - "500": { - "description": "Unexpected error", + "200": { + "description": "Validation of AVN Creation spec completed", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Validation" } } } }, - "200": { - "description": "Validation of AVN Creation spec completed", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } @@ -8957,18 +8930,18 @@ "summary": "Get vSAN HCL configuration", "operationId": "getVsanHclConfiguration", "responses": { - "404": { - "description": "vSAN HCL configuration not found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/VsanHclConfiguration" } } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "vSAN HCL configuration not found", "content": { "application/json": { "schema": { @@ -8977,12 +8950,12 @@ } } }, - "200": { - "description": "Ok", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VsanHclConfiguration" + "$ref": "#/components/schemas/Error" } } } @@ -9006,22 +8979,22 @@ "required": true }, "responses": { - "404": { - "description": "vSAN HCL configuration not found", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/VsanHclConfiguration" } } } }, - "202": { - "description": "Accepted", + "404": { + "description": "vSAN HCL configuration not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VsanHclConfiguration" + "$ref": "#/components/schemas/Error" } } } @@ -9118,8 +9091,11 @@ } ], "responses": { - "404": { - "description": "VASA Provider not found", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9128,11 +9104,8 @@ } } }, - "204": { - "description": "No Content" - }, - "400": { - "description": "Bad Request", + "404": { + "description": "VASA Provider not found", "content": { "application/json": { "schema": { @@ -9181,8 +9154,8 @@ "required": true }, "responses": { - "404": { - "description": "VASA Provider not found", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9191,8 +9164,8 @@ } } }, - "400": { - "description": "Bad Request", + "404": { + "description": "VASA Provider not found", "content": { "application/json": { "schema": { @@ -9333,9 +9306,6 @@ } ], "responses": { - "204": { - "description": "No Content" - }, "404": { "description": "Storage container not found", "content": { @@ -9346,6 +9316,9 @@ } } }, + "204": { + "description": "No Content" + }, "400": { "description": "Bad Request", "content": { @@ -9457,8 +9430,8 @@ "description": "Get information on the local account", "operationId": "getLocalAccount", "responses": { - "401": { - "description": "Unauthorized Request", + "400": { + "description": "Bad request", "content": { "application/json": { "schema": { @@ -9477,22 +9450,22 @@ } } }, - "400": { - "description": "Bad request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/LocalUser" } } } }, - "200": { - "description": "OK", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocalUser" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -9507,8 +9480,11 @@ "description": "Disable local account", "operationId": "disableLocalAccount", "responses": { - "401": { - "description": "Unauthorized Request", + "204": { + "description": "No content" + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9517,11 +9493,8 @@ } } }, - "204": { - "description": "No content" - }, - "500": { - "description": "Internal Server Error", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -9585,22 +9558,22 @@ } ], "responses": { - "200": { - "description": "Ok", + "404": { + "description": "Upgrade Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Upgrade" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Upgrade Not Found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Upgrade" } } } @@ -9645,22 +9618,22 @@ "required": true }, "responses": { - "200": { - "description": "Ok", + "404": { + "description": "Upgrade Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Upgrade" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Upgrade Not Found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Upgrade" } } } @@ -9708,8 +9681,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9718,8 +9691,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -9728,8 +9701,8 @@ } } }, - "404": { - "description": "Not Found", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9761,8 +9734,8 @@ } ], "responses": { - "500": { - "description": "Unexpected error", + "404": { + "description": "Task not found", "content": { "application/json": { "schema": { @@ -9771,8 +9744,8 @@ } } }, - "404": { - "description": "Task not found", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { @@ -9812,8 +9785,8 @@ } ], "responses": { - "409": { - "description": "Task can not be cancelled. Only a IN_PROGRESS task can be cancelled.", + "404": { + "description": "Task not found", "content": { "application/json": { "schema": { @@ -9822,8 +9795,8 @@ } } }, - "500": { - "description": "Unexpected error", + "409": { + "description": "Task can not be cancelled. Only a IN_PROGRESS task can be cancelled.", "content": { "application/json": { "schema": { @@ -9832,8 +9805,8 @@ } } }, - "404": { - "description": "Task not found", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { @@ -9866,8 +9839,8 @@ } ], "responses": { - "500": { - "description": "Unexpected error", + "404": { + "description": "Task not found", "content": { "application/json": { "schema": { @@ -9876,9 +9849,6 @@ } } }, - "200": { - "description": "Task was retried successfully." - }, "409": { "description": "Task can not be retried. Only a failed Task can be retried.", "content": { @@ -9889,8 +9859,11 @@ } } }, - "404": { - "description": "Task not found", + "200": { + "description": "Task was retried successfully." + }, + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { @@ -9921,8 +9894,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9931,8 +9904,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9964,8 +9937,8 @@ "200": { "description": "OK" }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9974,8 +9947,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -10017,14 +9990,7 @@ } }, "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProxyConfiguration" - } - } - } + "description": "Internal server error" } } }, @@ -10057,19 +10023,12 @@ } }, "500": { - "description": "Internal server error", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/Task" - } - } - } + "description": "Internal server error" }, "202": { "description": "Accepted", "content": { - "*/*": { + "application/json": { "schema": { "$ref": "#/components/schemas/Task" } @@ -10100,18 +10059,18 @@ } ], "responses": { - "400": { - "description": "Bad Request", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AssessmentOutput" } } } }, - "500": { - "description": "InternalServerError", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -10120,12 +10079,12 @@ } } }, - "200": { - "description": "Ok", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AssessmentOutput" + "$ref": "#/components/schemas/Error" } } } @@ -10182,22 +10141,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -10247,7 +10206,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CeipUpdateSpec" + "type": "string", + "description": "Required action for CEIP.", + "enum": [ + "ENABLED", + "DISABLED", + "DISABLING", + "ENABLING", + "ENABLING_FAILED", + "DISABLING_FAILED" + ] } } }, @@ -10274,22 +10242,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -10311,34 +10279,36 @@ "description": "SDDC ID", "required": true, "schema": { + "maximum": 36, + "minimum": 36, "type": "string" }, "example": "123e4567-e89b-42d3-a456-556642440000" } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SddcTask" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SddcTask" } } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -10347,8 +10317,8 @@ } } }, - "404": { - "description": "Not Found", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -10372,6 +10342,8 @@ "description": "SDDC ID", "required": true, "schema": { + "maximum": 36, + "minimum": 36, "type": "string" }, "example": "123e4567-e89b-42d3-a456-556642440000" @@ -10387,28 +10359,28 @@ } }, "responses": { - "202": { - "description": "Accepted", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SddcTask" + "$ref": "#/components/schemas/Error" } } } }, - "405": { - "description": "Not allowed", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SddcTask" } } } }, - "400": { - "description": "Bad Request", + "405": { + "description": "Not allowed", "content": { "application/json": { "schema": { @@ -10417,8 +10389,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -10427,8 +10399,8 @@ } } }, - "404": { - "description": "Not Found", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -10454,24 +10426,16 @@ "description": "SDDC validation ID", "required": true, "schema": { + "maximum": 36, + "minimum": 36, "type": "string" }, "example": "123e4567-e89b-42d3-a456-556642440000" } ], "responses": { - "501": { - "description": "Not Implemented", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "400": { - "description": "Bad Request", + "200": { + "description": "Accepted", "content": { "application/json": { "schema": { @@ -10480,8 +10444,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -10490,18 +10454,8 @@ } } }, - "200": { - "description": "Accepted", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Validation" - } - } - } - }, - "404": { - "description": "Not Found", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -10509,6 +10463,9 @@ } } } + }, + "500": { + "description": "Internal Server Error" } } }, @@ -10526,6 +10483,8 @@ "description": "SDDC validation ID", "required": true, "schema": { + "maximum": 36, + "minimum": 36, "type": "string" }, "example": "123e4567-e89b-42d3-a456-556642440000" @@ -10535,19 +10494,19 @@ "500": { "description": "Internal Server Error", "content": { - "*/*": { + "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } }, - "200": { - "description": "Completed", + "400": { + "description": "Bad Request", "content": { - "*/*": { + "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } @@ -10555,17 +10514,17 @@ "405": { "description": "Method Not Allowed", "content": { - "*/*": { + "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "Completed", "content": { - "*/*": { + "application/json": { "schema": { "$ref": "#/components/schemas/Validation" } @@ -10633,28 +10592,28 @@ } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfResourceFunctionalities" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfResourceFunctionalities" } } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -10682,8 +10641,8 @@ "required": true }, "responses": { - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -10692,22 +10651,22 @@ } } }, - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceFunctionalitiesCaller" } } } }, - "200": { - "description": "OK", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceFunctionalitiesCaller" + "$ref": "#/components/schemas/Error" } } } @@ -10723,28 +10682,28 @@ "summary": "Get Resource Functionalities Allowed Global Configuration", "operationId": "getResourcesFunctionalitiesAllowedGlobal", "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceFunctionalitiesGlobalConfiguration" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceFunctionalitiesGlobalConfiguration" } } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -10782,8 +10741,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -10792,8 +10751,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -10978,8 +10937,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Personality Not Found", "content": { "application/json": { "schema": { @@ -10988,8 +10947,8 @@ } } }, - "404": { - "description": "Personality Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -11029,28 +10988,28 @@ "required": true }, "responses": { - "400": { - "description": "Bad Request", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Personality" } } } }, - "200": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Personality" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Personality Not Found", "content": { "application/json": { "schema": { @@ -11059,8 +11018,8 @@ } } }, - "404": { - "description": "Personality Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -11092,8 +11051,8 @@ } ], "responses": { - "500": { - "description": "Unexpected error", + "404": { + "description": "Referenced network pool not found", "content": { "application/json": { "schema": { @@ -11102,22 +11061,22 @@ } } }, - "404": { - "description": "Referenced network pool not found", + "200": { + "description": "Referenced network pool", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/NetworkPool" } } } }, - "200": { - "description": "Referenced network pool", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkPool" + "$ref": "#/components/schemas/Error" } } } @@ -11153,8 +11112,8 @@ } ], "responses": { - "500": { - "description": "Unexpected error", + "404": { + "description": "Referenced network pool not found", "content": { "application/json": { "schema": { @@ -11166,8 +11125,8 @@ "204": { "description": "The specification of the deleted network pool" }, - "404": { - "description": "Referenced network pool not found", + "400": { + "description": "Hosts are still associated with NetworkPool", "content": { "application/json": { "schema": { @@ -11176,8 +11135,8 @@ } } }, - "400": { - "description": "Hosts are still associated with NetworkPool", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { @@ -11250,6 +11209,71 @@ } } }, + "/v1/license-keys/{licenseKeyOrId}": { + "patch": { + "tags": [ + "License Keys" + ], + "summary": "Update the license key", + "operationId": "updateLicenseKey", + "parameters": [ + { + "name": "licenseKeyOrId", + "in": "path", + "description": "license key or ID of the LicenseKey", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LicenseKeyUpdateSpec" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Ok" + }, + "404": { + "description": "License key with ID / LicenseKey does not exist", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, "/v1/identity-providers/{id}": { "get": { "tags": [ @@ -11270,32 +11294,32 @@ } ], "responses": { - "401": { - "description": "Unauthorized Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/IdentityProvider" } } } }, - "200": { - "description": "OK", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IdentityProvider" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -11322,17 +11346,10 @@ ], "responses": { "204": { - "description": "No content", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } + "description": "No content" }, - "500": { - "description": "Internal server error", + "404": { + "description": "Identity Provider not found", "content": { "application/json": { "schema": { @@ -11341,8 +11358,8 @@ } } }, - "404": { - "description": "Identity Provider not found", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -11383,17 +11400,10 @@ }, "responses": { "204": { - "description": "No content", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } + "description": "No content" }, - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -11402,8 +11412,8 @@ } } }, - "400": { - "description": "Bad Request", + "404": { + "description": "Identity Provider not found", "content": { "application/json": { "schema": { @@ -11412,8 +11422,8 @@ } } }, - "404": { - "description": "Identity Provider not found", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -11455,11 +11465,14 @@ ], "responses": { "204": { - "description": "No content", + "description": "No content" + }, + "400": { + "description": "Bad Request", "content": { - "*/*": { + "application/json": { "schema": { - "type": "object" + "$ref": "#/components/schemas/Error" } } } @@ -11483,16 +11496,6 @@ } } } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } } } }, @@ -11535,11 +11538,14 @@ }, "responses": { "204": { - "description": "No content", + "description": "No content" + }, + "400": { + "description": "Bad Request", "content": { - "*/*": { + "application/json": { "schema": { - "type": "object" + "$ref": "#/components/schemas/Error" } } } @@ -11563,16 +11569,6 @@ } } } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } } } } @@ -11676,22 +11672,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -11920,12 +11916,12 @@ } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ComplianceTask" + "$ref": "#/components/schemas/Error" } } } @@ -11940,8 +11936,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -11950,12 +11946,12 @@ } } }, - "404": { - "description": "Not Found", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ComplianceTask" } } } @@ -11990,18 +11986,18 @@ } ], "responses": { - "202": { - "description": "Accepted", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ComplianceTask" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -12010,18 +12006,18 @@ } } }, - "500": { - "description": "Internal Server Error", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ComplianceTask" } } } }, - "404": { - "description": "Not Found", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -12117,16 +12113,6 @@ "required": true }, "responses": { - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "202": { "description": "Accepted", "content": { @@ -12137,174 +12123,6 @@ } } }, - "500": { - "description": "InternalServerError", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - } - }, - "/v1/custom-isos/{custom_iso_id}": { - "get": { - "tags": [ - "CustomIso" - ], - "summary": "Get the Custom ISO based on ID", - "description": "Get the Custom ISO based matching the ID", - "operationId": "getCustomIsoById", - "parameters": [ - { - "name": "custom_iso_id", - "in": "path", - "description": "Custom ISO ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomIso" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - }, - "delete": { - "tags": [ - "CustomIso" - ], - "summary": "Delete the Custom ISO based on ID", - "description": "Delete the Custom ISO based on ID", - "operationId": "deleteCustomIsoById", - "parameters": [ - { - "name": "custom_iso_id", - "in": "path", - "description": "custom ISO image ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Successfully deleted the Custom ISO" - }, - "404": { - "description": "Custom ISO not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "400": { - "description": "Custom ISO ID passed is invalid", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - }, - "patch": { - "tags": [ - "CustomIso" - ], - "summary": "Rename the Custom ISO corresponding to the ID", - "description": "Rename the Custom ISO corresponding to the ID", - "operationId": "renameCustomIsoById", - "parameters": [ - { - "name": "custom_iso_id", - "in": "path", - "description": "Custom ISO ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomIsoRenameSpec" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomIso" - } - } - } - }, "400": { "description": "Bad Request", "content": { @@ -12316,17 +12134,7 @@ } }, "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -12414,22 +12222,22 @@ } ], "responses": { - "401": { - "description": "Unauthorized", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfCredential" } } } }, - "200": { - "description": "Ok", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfCredential" + "$ref": "#/components/schemas/Error" } } } @@ -12504,22 +12312,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -12567,22 +12375,22 @@ } } }, - "500": { - "description": "InternalServerError", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CredentialsTask" } } } }, - "200": { - "description": "Ok", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CredentialsTask" + "$ref": "#/components/schemas/Error" } } } @@ -12618,22 +12426,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -12689,22 +12497,22 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } @@ -12775,52 +12583,216 @@ }, "delete": { "tags": [ - "Clusters" + "Clusters" + ], + "summary": "Delete a cluster from a domain if it has been previously initialized for deletion", + "operationId": "deleteCluster", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Cluster ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "force", + "in": "query", + "description": "Force deletion of the cluster. Please note when passed true, deletion will ignore vCenter Server connection issues and could possible leave cluster related resources in the vCenter Server if a connection cannot be established.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Task" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "tags": [ + "Clusters" + ], + "summary": "Update a Cluster by adding or removing Hosts, Stretching a standard vSAN cluster, Unstretching a stretched cluster or by marking for deletion", + "operationId": "updateCluster", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Cluster ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterUpdateSpec" + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Task" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/v1/bundles/{id}": { + "get": { + "tags": [ + "Bundles" + ], + "summary": "Retrieve a bundle by its ID", + "description": "Get a Bundle", + "operationId": "getBundle", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Bundle ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Bundle" + } + } + } + }, + "404": { + "description": "Bundle Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Bundles" ], - "summary": "Delete a cluster from a domain if it has been previously initialized for deletion", - "operationId": "deleteCluster", + "summary": "Delete a bundle by bundle ID", + "description": "Delete a Bundle by bundle ID.", + "operationId": "deleteBundle", "parameters": [ { "name": "id", "in": "path", - "description": "Cluster ID", + "description": "Bundle ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "force", - "in": "query", - "description": "Force deletion of the cluster. Please note when passed true, deletion will ignore vCenter Server connection issues and could possible leave cluster related resources in the vCenter Server if a connection cannot be established.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } } ], "responses": { - "202": { - "description": "Accepted", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Task" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "400": { "description": "Bad Request", "content": { @@ -12831,56 +12803,6 @@ } } }, - "500": { - "description": "InternalServerError", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Clusters" - ], - "summary": "Update a Cluster by adding or removing Hosts, Stretching a standard vSAN cluster, Unstretching a stretched cluster or by marking for deletion", - "operationId": "updateCluster", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "Cluster ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterUpdateSpec" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Task" - } - } - } - }, "202": { "description": "Accepted", "content": { @@ -12891,112 +12813,8 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "InternalServerError", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - } - }, - "/v1/bundles/{id}": { - "get": { - "tags": [ - "Bundles" - ], - "summary": "Retrieve a bundle by its ID", - "description": "Get a Bundle", - "operationId": "getBundle", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "Bundle ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "404": { - "description": "Bundle Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Bundle" - } - } - } - }, - "500": { - "description": "InternalServerError", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Bundles" - ], - "summary": "Delete a bundle by bundle ID", - "description": "Delete a Bundle by bundle ID.", - "operationId": "deleteBundle", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "Bundle ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "400": { - "description": "Bad Request", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -13014,26 +12832,6 @@ } } } - }, - "202": { - "description": "Accepted", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Task" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } } } }, @@ -13076,28 +12874,28 @@ } } }, - "500": { - "description": "InternalServerError", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "202": { - "description": "Accepted", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } }, - "409": { - "description": "Conflict", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -13141,8 +12939,8 @@ } } }, - "500": { - "description": "InternalServerError", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -13151,8 +12949,8 @@ } } }, - "409": { - "description": "Conflict", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -13541,22 +13339,22 @@ } ], "responses": { - "200": { - "description": "Ok", + "404": { + "description": "vCenter not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Vcenter" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "vCenter not found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Vcenter" } } } @@ -13594,14 +13392,7 @@ ], "responses": { "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Validation" - } - } - } + "description": "Internal server error" }, "200": { "description": "OK", @@ -13645,8 +13436,8 @@ "description": "Retrieve a list of users assigned access via SDDC Manager", "operationId": "getUiUsers", "responses": { - "401": { - "description": "Unauthorized Request", + "400": { + "description": "Bad request", "content": { "application/json": { "schema": { @@ -13675,8 +13466,8 @@ } } }, - "400": { - "description": "Bad request", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -13788,18 +13579,18 @@ } ], "responses": { - "404": { - "description": "Domain Not Found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfUpgradable" } } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Domain Not Found", "content": { "application/json": { "schema": { @@ -13808,12 +13599,12 @@ } } }, - "200": { - "description": "Ok", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfUpgradable" + "$ref": "#/components/schemas/Error" } } } @@ -13903,22 +13694,22 @@ } ], "responses": { - "404": { - "description": "Domain Not Found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfUpgradablesClusterResource" } } } }, - "200": { - "description": "Ok", + "404": { + "description": "Domain Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfUpgradablesClusterResource" + "$ref": "#/components/schemas/Error" } } } @@ -14044,22 +13835,22 @@ } ], "responses": { - "500": { - "description": "Unexpected error", + "200": { + "description": "Returns the list of tasks.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfTask" } } } }, - "200": { - "description": "Returns the list of tasks.", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfTask" + "$ref": "#/components/schemas/Error" } } } @@ -14076,22 +13867,22 @@ "description": "Fetches the list of Upgradables in the System. Only one Upgradable becomes AVAILABLE for Upgrade. The Upgradables provides information that can be use for Precheck API and also in the actual Upgrade API call.", "operationId": "getUpgradables", "responses": { - "500": { - "description": "InternalServerError", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfUpgradable" } } } }, - "200": { - "description": "Ok", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfUpgradable" + "$ref": "#/components/schemas/Error" } } } @@ -14118,12 +13909,12 @@ } ], "responses": { - "401": { - "description": "Bad request! Authorization Header is missing or not in correct format.", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SupportBundle" } } } @@ -14138,12 +13929,12 @@ } } }, - "200": { - "description": "Ok", + "401": { + "description": "Bad request! Authorization Header is missing or not in correct format.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SupportBundle" + "$ref": "#/components/schemas/Error" } } } @@ -14180,8 +13971,8 @@ } ], "responses": { - "500": { - "description": "Something went wrong. Internal server error occurred. Error {error}", + "404": { + "description": "Bundle not found or not available for download. Id:{id}", "content": { "application/octet-stream": { "schema": { @@ -14190,8 +13981,8 @@ } } }, - "401": { - "description": "Bad request! Authorization Header is missing or not in correct format.", + "400": { + "description": "Bad request! Invalid Headers or Data. Error: {error}", "content": { "application/octet-stream": { "schema": { @@ -14211,8 +14002,8 @@ } } }, - "404": { - "description": "Bundle not found or not available for download. Id:{id}", + "401": { + "description": "Bad request! Authorization Header is missing or not in correct format.", "content": { "application/octet-stream": { "schema": { @@ -14221,8 +14012,8 @@ } } }, - "400": { - "description": "Bad request! Invalid Headers or Data. Error: {error}", + "500": { + "description": "Something went wrong. Internal server error occurred. Error {error}", "content": { "application/octet-stream": { "schema": { @@ -14254,14 +14045,7 @@ } }, "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Fips" - } - } - } + "description": "Internal server error" } } } @@ -14296,8 +14080,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -14306,8 +14090,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -14339,8 +14123,8 @@ } ], "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { @@ -14349,18 +14133,18 @@ } } }, - "200": { - "description": "OK", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -14391,28 +14175,28 @@ } ], "responses": { - "401": { - "description": "Bad request! Authorization Header is missing or not in correct format.", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/HealthSummary" } } } }, - "200": { - "description": "Ok", + "500": { + "description": "Something went wrong. Internal server error occurred. Error {error}", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HealthSummary" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "Something went wrong. Internal server error occurred. Error {error}", + "401": { + "description": "Bad request! Authorization Header is missing or not in correct format.", "content": { "application/json": { "schema": { @@ -14463,8 +14247,8 @@ } } }, - "401": { - "description": "Bad request! Authorization Header is missing or not in correct format.", + "500": { + "description": "Something went wrong. Internal server error occurred. Error {error}.", "content": { "application/octet-stream": { "schema": { @@ -14494,8 +14278,8 @@ } } }, - "500": { - "description": "Something went wrong. Internal server error occurred. Error {error}.", + "401": { + "description": "Bad request! Authorization Header is missing or not in correct format.", "content": { "application/octet-stream": { "schema": { @@ -14526,8 +14310,8 @@ } ], "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { @@ -14536,18 +14320,18 @@ } } }, - "200": { - "description": "OK", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Validation" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -14587,28 +14371,28 @@ } ], "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/BackupLocation" } } } }, - "200": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BackupLocation" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -14629,12 +14413,12 @@ "description": "Get a list of all SSO domains", "operationId": "getSSODomains", "responses": { - "401": { - "description": "Unauthorized Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PageOfString" } } } @@ -14659,12 +14443,12 @@ } } }, - "200": { - "description": "OK", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfString" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -14701,12 +14485,12 @@ } ], "responses": { - "401": { - "description": "Unauthorized Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PageOfSsoDomainEntity" } } } @@ -14731,12 +14515,12 @@ } } }, - "200": { - "description": "OK", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfSsoDomainEntity" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -14759,22 +14543,14 @@ "description": "SDDC ID", "required": true, "schema": { + "maximum": 36, + "minimum": 36, "type": "string" }, "example": "123e4567-e89b-42d3-a456-556642440000" } ], "responses": { - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SddcManagerInfo" - } - } - } - }, "200": { "description": "OK", "content": { @@ -14785,22 +14561,22 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SddcManagerInfo" + "$ref": "#/components/schemas/Error" } } } }, - "501": { - "description": "Not Implemented", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SddcManagerInfo" + "$ref": "#/components/schemas/Error" } } } @@ -14823,6 +14599,8 @@ "description": "SDDC ID", "required": true, "schema": { + "maximum": 36, + "minimum": 36, "type": "string" }, "example": "123e4567-e89b-42d3-a456-556642440000" @@ -14846,32 +14624,15 @@ "500": { "description": "Internal Server Error", "content": { - "application/pdf": { - "schema": { - "type": "string", - "format": "byte" - } - }, - "text/csv": { + "application/json": { "schema": { - "type": "string", - "format": "byte" + "$ref": "#/components/schemas/Error" } } } }, "200": { "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - }, - "501": { - "description": "Not Implemented", "content": { "application/pdf": { "schema": { @@ -14886,16 +14647,6 @@ } } } - }, - "204": { - "description": "No content", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } } } } @@ -14915,6 +14666,8 @@ "description": "Bringup validation ID", "required": true, "schema": { + "maximum": 36, + "minimum": 36, "type": "string" }, "example": "123e4567-e89b-42d3-a456-556642440000" @@ -14942,26 +14695,15 @@ "500": { "description": "Internal Server Error", "content": { - "application/pdf": { + "application/json": { "schema": { - "type": "string", - "format": "byte" + "$ref": "#/components/schemas/Error" } } } }, "200": { "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - }, - "501": { - "description": "Not Implemented", "content": { "application/pdf": { "schema": { @@ -14988,7 +14730,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VcfService" + "$ref": "#/components/schemas/Error" } } } @@ -15002,26 +14744,6 @@ } } } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VcfService" - } - } - } - }, - "501": { - "description": "Not Implemented", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VcfService" - } - } - } } } } @@ -15086,22 +14808,22 @@ } ], "responses": { - "200": { - "description": "Ok", + "404": { + "description": "Sddc Manager not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SddcManager" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Sddc Manager not found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SddcManager" } } } @@ -15138,22 +14860,22 @@ } ], "responses": { - "404": { - "description": "SDDC Manager not found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/History" } } } }, - "200": { - "description": "Ok", + "404": { + "description": "SDDC Manager not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/History" + "$ref": "#/components/schemas/Error" } } } @@ -15206,7 +14928,21 @@ "200": { "description": "OK", "content": { - "application/json": {} + "application/json": { + "schema": { + "$ref": "#/components/schemas/PageOfSddcManagerUpgradable" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, "500": { @@ -15266,8 +15002,8 @@ "description": "Get a list of all roles", "operationId": "getRoles", "responses": { - "401": { - "description": "Unauthorized Request", + "400": { + "description": "Bad request", "content": { "application/json": { "schema": { @@ -15296,8 +15032,8 @@ } } }, - "400": { - "description": "Bad request", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -15328,28 +15064,28 @@ } ], "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } }, - "200": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -15380,12 +15116,12 @@ } ], "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "Successful", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourcesLicenseCheckResult" } } } @@ -15400,12 +15136,12 @@ } } }, - "200": { - "description": "Successful", + "500": { + "description": "Internal server error", "content": { - "*/*": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ResourcesLicenseCheckResult" + "$ref": "#/components/schemas/Error" } } } @@ -15431,28 +15167,28 @@ } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceWarning" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Resource Warning not found", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceWarning" } } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Resource Warning not found", "content": { "application/json": { "schema": { @@ -15597,22 +15333,22 @@ "description": "Returns release for the lowest deployed VCF version for a domain on the environment.If Management domain is ahead of WLD domain, VCF BOM version for the WLDdomain will be returned.", "operationId": "getSystemRelease", "responses": { - "404": { - "description": "Release not found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Release" } } } }, - "200": { - "description": "Ok", + "404": { + "description": "Release not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Release" + "$ref": "#/components/schemas/Error" } } } @@ -15683,18 +15419,18 @@ } ], "responses": { - "404": { - "description": "Domain not found with given ID.", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfDomainFutureRelease" } } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Domain not found with given ID.", "content": { "application/json": { "schema": { @@ -15703,12 +15439,12 @@ } } }, - "200": { - "description": "Ok", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfDomainFutureRelease" + "$ref": "#/components/schemas/Error" } } } @@ -15809,8 +15545,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -15819,8 +15555,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -15902,8 +15638,8 @@ } } }, - "404": { - "description": "Psc not found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -15912,8 +15648,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Psc not found", "content": { "application/json": { "schema": { @@ -16347,58 +16083,6 @@ } } }, - "/v1/nsx-alb-clusters": { - "get": { - "tags": [ - "NsxALBClusters" - ], - "summary": "Retrieve a list of NSX ALB Clusters", - "operationId": "getALBClusters", - "parameters": [ - { - "name": "domainId", - "in": "query", - "description": "Domain Id", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PageOfNsxALBCluster" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "InternalServerError", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - } - }, "/v1/nsx-alb-clusters/{id}": { "get": { "tags": [ @@ -16418,22 +16102,22 @@ } ], "responses": { - "200": { - "description": "Ok", + "404": { + "description": "ALB Cluster not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NsxALBCluster" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "ALB Cluster not found", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/NsxALBCluster" } } } @@ -16562,8 +16246,8 @@ } ], "responses": { - "500": { - "description": "Unexpected error", + "404": { + "description": "Network pool not found", "content": { "application/json": { "schema": { @@ -16582,8 +16266,8 @@ } } }, - "404": { - "description": "Network pool not found", + "500": { + "description": "Unexpected error", "content": { "application/json": { "schema": { @@ -16689,8 +16373,8 @@ } ], "responses": { - "500": { - "description": "Internal server error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -16699,8 +16383,8 @@ } } }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -16712,7 +16396,7 @@ "200": { "description": "Successful", "content": { - "*/*": { + "application/json": { "schema": { "type": "array", "items": { @@ -16746,9 +16430,12 @@ "200": { "description": "Successful", "content": { - "*/*": { + "application/json": { "schema": { - "$ref": "#/components/schemas/LicensingInfo" + "type": "array", + "items": { + "$ref": "#/components/schemas/LicensingInfo" + } } } } @@ -16788,9 +16475,12 @@ "200": { "description": "Successful", "content": { - "*/*": { + "application/json": { "schema": { - "$ref": "#/components/schemas/LicensingInfo" + "type": "array", + "items": { + "$ref": "#/components/schemas/LicensingInfo" + } } } } @@ -16818,18 +16508,18 @@ } ], "responses": { - "404": { - "description": "License key not found", + "200": { + "description": "Successful", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/LicenseKey" } } } }, - "500": { - "description": "Internal server error", + "404": { + "description": "License key not found", "content": { "application/json": { "schema": { @@ -16838,12 +16528,12 @@ } } }, - "200": { - "description": "Successful", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LicenseKey" + "$ref": "#/components/schemas/Error" } } } @@ -16872,52 +16562,8 @@ "204": { "description": "No content" }, - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "404": { "description": "License key not found" - } - } - }, - "patch": { - "tags": [ - "License Keys" - ], - "summary": "Update the license key", - "operationId": "updateLicenseKey", - "parameters": [ - { - "name": "key", - "in": "path", - "description": "The 29 alpha numeric character license key with hyphens", - "required": true, - "schema": { - "type": "string" - }, - "example": "4J6TH-3XK57-480X4-0E9H6-2X00P" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LicenseKeyUpdateSpec" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Ok" }, "500": { "description": "Internal server error", @@ -16928,26 +16574,6 @@ } } } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "License key with ID / LicenseKey does not exist", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } } } } @@ -16960,25 +16586,25 @@ "summary": "Get product types", "operationId": "getLicenseProductTypes", "responses": { - "500": { - "description": "Internal server error", + "200": { + "description": "Successful", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "type": "string" + } } } } }, - "200": { - "description": "Successful", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Error" } } } @@ -16995,22 +16621,22 @@ "description": "Get the SDDC Manager WS1B OIDC Information", "operationId": "getSddcWs1bOidcInfo", "responses": { - "401": { - "description": "Unauthorized Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SDDCManagerOidcInfo" } } } }, - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SDDCManagerOidcInfo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -17025,8 +16651,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -17068,8 +16694,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -17078,8 +16704,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -17134,7 +16760,7 @@ "content": { "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/Error" } } } @@ -17286,14 +16912,7 @@ } }, "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Validation" - } - } - } + "description": "Internal server error" } } } @@ -17419,22 +17038,22 @@ } ], "responses": { - "200": { - "description": "Ok", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HostsPrechecksResponse" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "Internal Server Error", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/HostsPrechecksResponse" } } } @@ -17586,14 +17205,7 @@ ], "responses": { "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Validation" - } - } - } + "description": "Internal server error" }, "200": { "description": "OK", @@ -17817,28 +17429,28 @@ } ], "responses": { - "500": { - "description": "InternalServerError", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfCertificate" } } } }, - "200": { - "description": "Ok", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfCertificate" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -17934,8 +17546,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -17944,8 +17556,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -17987,12 +17599,12 @@ } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ComplianceAudit" + "$ref": "#/components/schemas/Error" } } } @@ -18007,12 +17619,12 @@ } } }, - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ComplianceAudit" } } } @@ -18059,28 +17671,28 @@ } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfComplianceAuditItem" + "$ref": "#/components/schemas/Error" } } } }, - "401": { - "description": "Unauthorized Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfComplianceAuditItem" } } } }, - "500": { - "description": "Internal Server Error", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -18192,22 +17804,22 @@ } ], "responses": { - "200": { - "description": "Ok", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HealthCheckTask" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/HealthCheckTask" } } } @@ -18770,76 +18382,6 @@ } } }, - "/v1/custom-isos": { - "get": { - "tags": [ - "CustomIso" - ], - "summary": "Get the Custom ISOs", - "description": "Get all Custom ISOs or Custom ISOs that match specified parameters", - "operationId": "getCustomIsos", - "parameters": [ - { - "name": "name", - "in": "query", - "description": "The name of the Custom ISO", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "vendor", - "in": "query", - "description": "The vendor name of the Custom ISO", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "domainId", - "in": "query", - "description": "The domain resource ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "targetVersion", - "in": "query", - "description": "The ESXi target version", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PageOfCustomIso" - } - } - } - } - } - } - }, "/v1/credentials/{id}": { "get": { "tags": [ @@ -18870,8 +18412,8 @@ } } }, - "401": { - "description": "Unauthorized", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -18880,8 +18422,8 @@ } } }, - "400": { - "description": "Bad Request", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -18890,8 +18432,8 @@ } } }, - "500": { - "description": "InternalServerError", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -18900,8 +18442,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -18910,8 +18452,8 @@ } } }, - "404": { - "description": "Not Found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -19016,22 +18558,22 @@ } } }, - "500": { - "description": "InternalServerError", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CredentialsTask" } } } }, - "200": { - "description": "Ok", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CredentialsTask" + "$ref": "#/components/schemas/Error" } } } @@ -19115,28 +18657,28 @@ } ], "responses": { - "400": { - "description": "Bad Request", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CredentialsExpiration" } } } }, - "200": { - "description": "Ok", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CredentialsExpiration" + "$ref": "#/components/schemas/Error" } } } }, - "500": { - "description": "InternalServerError", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -19145,8 +18687,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -19233,22 +18775,22 @@ } } }, - "200": { - "description": "OK", + "503": { + "description": "Internal Service Unavailable", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfConfigDriftSpec" + "$ref": "#/components/schemas/Error" } } } }, - "503": { - "description": "Internal Service Unavailable", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfConfigDriftSpec" } } } @@ -19276,22 +18818,22 @@ } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Task" + "$ref": "#/components/schemas/Error" } } } }, - "404": { - "description": "Reconciliation task not found", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Task" } } } @@ -19306,8 +18848,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Reconciliation task not found", "content": { "application/json": { "schema": { @@ -19328,8 +18870,8 @@ "description": "Get a list of all compliance standards", "operationId": "getComplianceStandards", "responses": { - "401": { - "description": "Unauthorized Request", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -19338,22 +18880,22 @@ } } }, - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfComplianceStandard" } } } }, - "200": { - "description": "OK", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfComplianceStandard" + "$ref": "#/components/schemas/Error" } } } @@ -19408,8 +18950,8 @@ } ], "responses": { - "401": { - "description": "Unauthorized Request", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -19418,28 +18960,28 @@ } } }, - "200": { - "description": "OK", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfComplianceConfiguration" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfComplianceConfiguration" } } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -19460,28 +19002,28 @@ "description": "Get compliance audit history", "operationId": "getComplianceAuditHistory", "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfComplianceAudit" + "$ref": "#/components/schemas/Error" } } } }, - "401": { - "description": "Unauthorized Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfComplianceAudit" } } } }, - "500": { - "description": "Internal Server Error", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -19523,12 +19065,12 @@ } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ComplianceAudit" + "$ref": "#/components/schemas/Error" } } } @@ -19543,12 +19085,12 @@ } } }, - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ComplianceAudit" } } } @@ -19586,28 +19128,28 @@ } ], "responses": { - "200": { - "description": "OK", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfComplianceAuditItem" + "$ref": "#/components/schemas/Error" } } } }, - "401": { - "description": "Unauthorized Request", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfComplianceAuditItem" } } } }, - "500": { - "description": "Internal Server Error", + "401": { + "description": "Unauthorized Request", "content": { "application/json": { "schema": { @@ -19659,8 +19201,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Resource Not Found", "content": { "application/json": { "schema": { @@ -19669,8 +19211,8 @@ } } }, - "404": { - "description": "Resource Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -19712,8 +19254,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Resource Not Found", "content": { "application/json": { "schema": { @@ -19722,8 +19264,8 @@ } } }, - "404": { - "description": "Resource Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -19765,8 +19307,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Resource Not Found", "content": { "application/json": { "schema": { @@ -19775,8 +19317,8 @@ } } }, - "404": { - "description": "Resource Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -20050,7 +19592,11 @@ "200": { "description": "Ok", "content": { - "application/json": {} + "application/json": { + "schema": { + "$ref": "#/components/schemas/PageOfClusterNetworkConfigurationCriterion" + } + } } } } @@ -20490,8 +20036,8 @@ } } }, - "500": { - "description": "InternalServerError", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -20500,8 +20046,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -20535,8 +20081,8 @@ "204": { "description": "No Content" }, - "400": { - "description": "Bad Request", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -20545,8 +20091,8 @@ } } }, - "500": { - "description": "InternalServerError", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -20555,8 +20101,8 @@ } } }, - "404": { - "description": "Not Found", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { @@ -20597,22 +20143,22 @@ } ], "responses": { - "404": { - "description": "Domain not found with given ID.", + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PageOfBundle" } } } }, - "200": { - "description": "Ok", + "404": { + "description": "Domain not found with given ID.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageOfBundle" + "$ref": "#/components/schemas/Error" } } } @@ -20653,8 +20199,8 @@ "204": { "description": "No content" }, - "500": { - "description": "Internal server error", + "404": { + "description": "User not found", "content": { "application/json": { "schema": { @@ -20663,8 +20209,8 @@ } } }, - "404": { - "description": "User not found", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -20722,9 +20268,6 @@ } ], "responses": { - "204": { - "description": "No COntent" - }, "400": { "description": "Bad Request", "content": { @@ -20735,6 +20278,9 @@ } } }, + "204": { + "description": "No COntent" + }, "500": { "description": "InternalServerError", "content": { @@ -20768,6 +20314,12 @@ } ], "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + }, "500": { "description": "Internal server error", "content": { @@ -20777,12 +20329,6 @@ } } } - }, - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found" } } } @@ -20989,17 +20535,6 @@ }, "description": "This specification contains information related to the existing VMware Aria Suite Lifecycle instance deployment" }, - "CeipUpdateSpec" : { - "required" : [ "status" ], - "properties" : { - "status" : { - "type" : "string", - "example" : "One among: ENABLE, DISABLE", - "description" : "User provided CEIP operation" - } - }, - "description" : "Specification for CEIP state change" - }, "MessagePack": { "required": [ "messageKey" @@ -21076,7 +20611,6 @@ }, "Stage": { "required": [ - "completionTimestamp", "creationTimestamp", "description", "name", @@ -21110,7 +20644,9 @@ "type": "string" }, "completionTimestamp": { - "type": "string" + "type": "string", + "description": "Stage completion timestamp", + "readOnly": true }, "errors": { "type": "array", @@ -21126,11 +20662,11 @@ }, "SubTask": { "required": [ - "completionTimestamp", "creationTimestamp", "description", "name", - "status" + "status", + "type" ], "type": "object", "properties": { @@ -21233,7 +20769,7 @@ "type": "string", "description": "Task status", "readOnly": true, - "example": "One among: PENDING, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED" + "example": "One among: PENDING, Pending, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED" }, "creationTimestamp": { "type": "string", @@ -21923,7 +21459,8 @@ "$ref": "#/components/schemas/ProductInfo" } }, - "description": "Resource Licensing Info" + "description": "Resource Licensing Info", + "readOnly": true }, "TagAssignmentResult": { "type": "object", @@ -22760,13 +22297,13 @@ "description": "Resource Upgrade Specification" }, "TemporaryNetwork": { - "required": [ - "gateway", - "ipAddress", - "subnetMask" - ], "type": "object", "properties": { + "networkMode": { + "type": "string", + "description": "Network mode for target vCenter server", + "example": "One among: STATIC, AUTOMATIC" + }, "ipAddress": { "type": "string", "description": "IP Address for vCenter Upgrade temporary network" @@ -22837,6 +22374,19 @@ ], "type": "object", "properties": { + "resourceId": { + "type": "string", + "description": "Resource ID for Upgrade" + }, + "upgradeMechanism": { + "type": "string", + "description": "vCenter upgrade mechanism. This field is only supported for vCenter patch upgrades. Minimum supported vCenter target version is 8.0 Update 3b", + "example": "One among: ReducedDowntimeMigration, InPlace" + }, + "startSwitchoverTimestamp": { + "type": "string", + "description": "Start switchover time. This field is only supported for ReducedDowntimeMigration upgrade mechanism" + }, "temporaryNetwork": { "$ref": "#/components/schemas/TemporaryNetwork" } @@ -24817,7 +24367,7 @@ }, "description": "This specification contains certificate & certificate usage" }, - "Page": { + "PageOfTrustedCertificate": { "type": "object", "properties": { "elements": { @@ -24831,8 +24381,7 @@ "pageMetadata": { "$ref": "#/components/schemas/PageMetadata" } - }, - "description": "Represents a page of elements of a single type" + } }, "TrustedCertificate": { "required": [ @@ -24948,7 +24497,7 @@ "type": "string", "description": "Task status", "readOnly": true, - "example": "One among: PENDING, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED" + "example": "One among: PENDING, Pending, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED" }, "resourceLicensingInfos": { "type": "array", @@ -25467,8 +25016,9 @@ }, "isVlcmCompatible": { "type": "boolean", - "description": "Boolean to identify if the NSX cluster is compatible with vLCM. This should not be used to determineif vLCM Clusters can be created on the domain", - "readOnly": true + "description": "[Deprecated] Boolean to identify if the NSX cluster is compatible with vLCM. This should not be used to determineif vLCM Clusters can be created on the domain", + "readOnly": true, + "deprecated": true }, "status": { "type": "string", @@ -27640,7 +27190,6 @@ "edgeAdminPassword", "edgeAuditPassword", "edgeClusterName", - "edgeClusterProfileSpec", "edgeClusterProfileType", "edgeClusterType", "edgeFormFactor", @@ -28093,7 +27642,7 @@ }, "clusterImageId": { "type": "string", - "description": "ID of the Cluster Image to be used with the Cluster" + "description": "ID of the Cluster Image to be used only with the Cluster managed by vSphere Lifecycle Manager Images" }, "vxRailDetails": { "$ref": "#/components/schemas/VxRailDetails" @@ -29243,7 +28792,7 @@ "type": "string", "description": "Compliance task status", "readOnly": true, - "example": "One among: PENDING, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED" + "example": "One among: PENDING, Pending, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED" }, "complianceAuditId": { "type": "string", @@ -30789,7 +30338,8 @@ "readOnly": true } }, - "description": "Represents criterion for querying the network properties of a cluster." + "description": "Represents criterion for querying the network properties of a cluster.", + "readOnly": true }, "DatastoreMountSpec": { "required": [ @@ -31132,10 +30682,35 @@ "markForCancellation": { "type": "boolean", "description": "Flag for marking an upgrade for cancellation. If set to true, other fields in the request will be ignored" + }, + "vcenterUpgradePatchSpecs": { + "type": "array", + "description": "User input for vCenter ReducedDowntimeMigration upgrade", + "items": { + "$ref": "#/components/schemas/VcenterUpgradePatchSpec" + } } }, "description": "Upgrade Commit/Reschedule Specification" }, + "VcenterUpgradePatchSpec": { + "required": [ + "resourceId", + "startSwitchoverTimestamp" + ], + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource ID for Upgrade" + }, + "startSwitchoverTimestamp": { + "type": "string", + "description": "Start switchover time. This field is only supported for ReducedDowntimeMigration upgrade mechanism. To unset startSwitchoverTimestamp, provide the value as: 1970-01-01T00:00:00Z" + } + }, + "description": "vCenter Upgrade User editable Input Specification" + }, "Bundle": { "required": [ "downloadStatus", @@ -31337,9 +30912,13 @@ "type": "integer", "description": "End time of the upgrade", "format": "int64" + }, + "vcenterUpgradeUserInputSpec": { + "$ref": "#/components/schemas/VcenterUpgradeUserInputSpec" } }, - "description": "Upgrade object which contain details regarding the upgrade" + "description": "Upgrade object which contain details regarding the upgrade", + "readOnly": true }, "SystemUpdateSpec": { "required": [ @@ -31802,55 +31381,6 @@ }, "description": "HealthCheckTask" }, - "CustomIsoRenameSpec": { - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Custom Iso name" - } - }, - "description": "Custom Iso rename spec contains the name field in which the new name is to be entered" - }, - "CustomIso": { - "required": [ - "id", - "name" - ], - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Custom Iso Id", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Custom Image Name", - "readOnly": true - }, - "version": { - "type": "string", - "description": "Custom Iso ESXi Version", - "readOnly": true, - "example": "7.0.2-18426014" - }, - "vendor": { - "type": "string", - "description": "Vendor of the Custom Iso", - "readOnly": true - }, - "uploadedTimestamp": { - "type": "string", - "description": "Date when the ISO was uploaded", - "readOnly": true - } - }, - "description": "Custom Iso contains bits to install/update the appropriate Cloud Foundation software components and vendor add ons in your management domain or workload domain hosts." - }, "AutoRotateCredentialPolicyInputSpec": { "required": [ "enableAutoRotatePolicy" @@ -32818,6 +32348,10 @@ "items": { "$ref": "#/components/schemas/HardwareSupportPackages" } + }, + "nsxtComponentId": { + "type": "string", + "description": "Nsxt Component native id of the nsxt host cluster" } }, "description": "NSX Host Cluster Upgrade Resource" @@ -33078,6 +32612,10 @@ "items": { "$ref": "#/components/schemas/AssessmentResource" } + }, + "upgradeId": { + "type": "string", + "description": "Upgrade Id for the configure upgrade precheck" } }, "description": "Metadata about the assessment run that is triggered and passed to the result" @@ -33531,7 +33069,98 @@ }, "description": "Represents version change history for a resource" }, - "PageOfTrustedCertificate": { + "BundleDownload": { + "type": "object", + "properties": { + "downloadId": { + "type": "string", + "description": "Uniquely identity a download", + "readOnly": true + }, + "bundleId": { + "type": "string", + "description": "Bundle id associated with this download", + "readOnly": true + }, + "scheduledTime": { + "type": "integer", + "description": "The scheduled time when the download to start", + "format": "int64", + "readOnly": true + }, + "status": { + "type": "string", + "description": "Bundle download status", + "readOnly": true, + "enum": [ + "PENDING,SCHEDULED,INPROGRESS,SUCCESS,FAILED;" + ] + }, + "startTime": { + "type": "integer", + "description": "The actual start download time", + "format": "int64", + "readOnly": true + }, + "endTime": { + "type": "integer", + "description": "The actual end download time", + "format": "int64", + "readOnly": true + }, + "downloadError": { + "$ref": "#/components/schemas/DownloadBundleError" + } + }, + "description": "Represents a download record of a bundle. A bundle may be associated with multiple downloads if previous downloads failed", + "readOnly": true + }, + "DownloadBundleError": { + "type": "object", + "properties": { + "errorCode": { + "type": "string", + "description": "Error code", + "readOnly": true + }, + "errorMessage": { + "type": "string", + "description": "Error message", + "readOnly": true + }, + "stackTraceStr": { + "type": "string", + "description": "Exception stack trace string", + "readOnly": true + }, + "retriable": { + "type": "boolean", + "description": "Error is retriable", + "readOnly": true + } + }, + "description": "Describe a download error", + "readOnly": true + }, + "DownloadProgressIndicator": { + "type": "object", + "properties": { + "downloadedBytes": { + "type": "integer", + "description": "Number of bytes downloaded", + "format": "int64", + "readOnly": true + }, + "isDownloadCancelled": { + "type": "boolean", + "description": "is download cancelled", + "readOnly": true + } + }, + "description": "Download progress indicator", + "readOnly": true + }, + "PageOfSddcManagerUpgradable": { "type": "object", "properties": { "elements": { @@ -33539,7 +33168,7 @@ "description": "The list of elements included in this page", "readOnly": true, "items": { - "$ref": "#/components/schemas/TrustedCertificate" + "$ref": "#/components/schemas/SddcManagerUpgradable" } }, "pageMetadata": { @@ -33547,6 +33176,139 @@ } } }, + "SddcManagerBundle": { + "required": [ + "downloadStatus", + "type" + ], + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Bundle ID", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Bundle Type", + "readOnly": true, + "example": "One among: SDDC_MANAGER, VMWARE_SOFTWARE, VXRAIL" + }, + "description": { + "type": "string", + "description": "Bundle Description", + "readOnly": true + }, + "version": { + "type": "string", + "description": "Bundle Version", + "readOnly": true + }, + "vendor": { + "type": "string", + "description": "Bundle Vendor", + "readOnly": true + }, + "releasedDate": { + "type": "string", + "description": "Bundle Release Date", + "readOnly": true + }, + "isCumulative": { + "type": "boolean", + "description": "Is Bundle Cumulative", + "readOnly": true + }, + "sizeMB": { + "type": "number", + "description": "Bundle Size in MB", + "format": "double", + "readOnly": true + }, + "downloadStatus": { + "type": "string", + "description": "Bundle Download Status", + "readOnly": true, + "example": "One among: PENDING, AVAILABLE, SCHEDULED, INPROGRESS, VALIDATING, SUCCESS, CANCELLED, FAILED, RECALLED" + }, + "downloadProgress": { + "$ref": "#/components/schemas/DownloadProgressIndicator" + }, + "downloadStartTime": { + "type": "integer", + "description": "Bundle download start time", + "format": "int64" + }, + "downloadEndTime": { + "type": "integer", + "description": "Bundle download end time", + "format": "int64" + }, + "bundleDownload": { + "$ref": "#/components/schemas/BundleDownload" + } + }, + "description": "SDDC Manager Bundle consists the bits to perform the upgrade of an SDDC Manager", + "readOnly": true + }, + "SddcManagerUpgradable": { + "required": [ + "compatibilityStatus" + ], + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "SDDC Manager Release Description", + "readOnly": true + }, + "version": { + "type": "string", + "description": "SDDC Manager Release Version", + "readOnly": true + }, + "releaseDate": { + "type": "string", + "description": "SDDC Manager Release Date", + "readOnly": true + }, + "applicabilityStatus": { + "type": "string", + "description": "SDDC Manager Release Applicability Status", + "readOnly": true + }, + "compatibilityStatus": { + "type": "string", + "description": "SDDC Manager Release Compatibility Status", + "readOnly": true, + "example": "One among: COMPATIBLE, INCOMPATIBLE, DISABLED" + }, + "errors": { + "type": "array", + "description": "SDDC Manager Release in-applicability reasons", + "readOnly": true, + "items": { + "$ref": "#/components/schemas/MessagePack" + } + }, + "warnings": { + "type": "array", + "description": "SDDC Manager Release applicable with warnings reasons", + "readOnly": true, + "items": { + "$ref": "#/components/schemas/MessagePack" + } + }, + "sddcManagerBundle": { + "$ref": "#/components/schemas/SddcManagerBundle" + }, + "upgrade": { + "$ref": "#/components/schemas/Upgrade" + } + }, + "description": "SDDC Manager Upgradable consists of release information, bits and the upgrade information to upgrade SDDC Manager on the system.", + "readOnly": true + }, "LocalOsUserAccount": { "type": "object", "properties": { @@ -34896,6 +34658,23 @@ } } }, + "Page": { + "type": "object", + "properties": { + "elements": { + "type": "array", + "description": "The list of elements included in this page", + "readOnly": true, + "items": { + "$ref": "#/components/schemas/EdgeClusterNsxtEntityCriterion" + } + }, + "pageMetadata": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "description": "Represents a page of elements of a single type" + }, "Domain": { "type": "object", "properties": { @@ -35259,7 +35038,7 @@ "type": "string", "description": "The last operation status", "readOnly": true, - "example": "One among: PENDING, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED" + "example": "One among: PENDING, Pending, IN_PROGRESS, In Progress, SUCCESSFUL, Successful, FAILED, Failed, CANCELLED, Cancelled, COMPLETED_WITH_WARNING, SKIPPED" }, "operationMessage": { "type": "string", @@ -35712,22 +35491,6 @@ } } }, - "PageOfCustomIso": { - "type": "object", - "properties": { - "elements": { - "type": "array", - "description": "The list of elements included in this page", - "readOnly": true, - "items": { - "$ref": "#/components/schemas/CustomIso" - } - }, - "pageMetadata": { - "$ref": "#/components/schemas/PageMetadata" - } - } - }, "AutoRotateCredentialPolicy": { "required": [ "nextSchedule" @@ -36327,6 +36090,22 @@ } } }, + "PageOfClusterNetworkConfigurationCriterion": { + "type": "object", + "properties": { + "elements": { + "type": "array", + "description": "The list of elements included in this page", + "readOnly": true, + "items": { + "$ref": "#/components/schemas/ClusterNetworkConfigurationCriterion" + } + }, + "pageMetadata": { + "$ref": "#/components/schemas/PageMetadata" + } + } + }, "NiocBandwidthAllocation": { "type": "object", "properties": { diff --git a/vcf/vcf.gen.go b/vcf/vcf.gen.go index aa2a39e..b3b1aad 100644 --- a/vcf/vcf.gen.go +++ b/vcf/vcf.gen.go @@ -28,6 +28,11 @@ const ( INPROGRESS AssessmentOutputStatus = "IN_PROGRESS" ) +// Defines values for BundleDownloadStatus. +const ( + PENDINGSCHEDULEDINPROGRESSSUCCESSFAILED BundleDownloadStatus = "PENDING,SCHEDULED,INPROGRESS,SUCCESS,FAILED;" +) + // Defines values for ClassificationSource. const ( CLASSIFIER ClassificationSource = "CLASSIFIER" @@ -53,8 +58,8 @@ const ( // Defines values for DomainIntegrationStatus. const ( - DISABLED DomainIntegrationStatus = "DISABLED" - ENABLED DomainIntegrationStatus = "ENABLED" + DomainIntegrationStatusDISABLED DomainIntegrationStatus = "DISABLED" + DomainIntegrationStatusENABLED DomainIntegrationStatus = "ENABLED" ) // Defines values for FrequencyMetricUnit. @@ -191,6 +196,16 @@ const ( Pdf ExportBringupDetailReportParamsFormat = "pdf" ) +// Defines values for SetCeipStatusJSONBody. +const ( + SetCeipStatusJSONBodyDISABLED SetCeipStatusJSONBody = "DISABLED" + SetCeipStatusJSONBodyDISABLING SetCeipStatusJSONBody = "DISABLING" + SetCeipStatusJSONBodyDISABLINGFAILED SetCeipStatusJSONBody = "DISABLING_FAILED" + SetCeipStatusJSONBodyENABLED SetCeipStatusJSONBody = "ENABLED" + SetCeipStatusJSONBodyENABLING SetCeipStatusJSONBody = "ENABLING" + SetCeipStatusJSONBodyENABLINGFAILED SetCeipStatusJSONBody = "ENABLING_FAILED" +) + // Defines values for StartBringupSpecConversionParamsDesign. const ( EMS StartBringupSpecConversionParamsDesign = "EMS" @@ -282,6 +297,9 @@ type AssessmentMetadata struct { // TargetVersion Version of target state definitions that is going to be used for assessment TargetVersion *string `json:"targetVersion,omitempty"` + + // UpgradeId Upgrade Id for the configure upgrade precheck + UpgradeId *string `json:"upgradeId,omitempty"` } // AssessmentOutput Result from the baseliner assessment run (execution result, presented artifacts or ask for extra info). @@ -742,6 +760,33 @@ type BundleComponent struct { Vendor *string `json:"vendor,omitempty"` } +// BundleDownload Represents a download record of a bundle. A bundle may be associated with multiple downloads if previous downloads failed +type BundleDownload struct { + // BundleId Bundle id associated with this download + BundleId *string `json:"bundleId,omitempty"` + + // DownloadError Describe a download error + DownloadError *DownloadBundleError `json:"downloadError,omitempty"` + + // DownloadId Uniquely identity a download + DownloadId *string `json:"downloadId,omitempty"` + + // EndTime The actual end download time + EndTime *int64 `json:"endTime,omitempty"` + + // ScheduledTime The scheduled time when the download to start + ScheduledTime *int64 `json:"scheduledTime,omitempty"` + + // StartTime The actual start download time + StartTime *int64 `json:"startTime,omitempty"` + + // Status Bundle download status + Status *BundleDownloadStatus `json:"status,omitempty"` +} + +// BundleDownloadStatus Bundle download status +type BundleDownloadStatus string + // BundleDownloadSpec Bundle Download Specification. This specification gets used in the Bundle Download API type BundleDownloadSpec struct { // CancelNow Flag for cancelling the download. If true, scheduledTimestamp/downloadNow is ignored @@ -828,12 +873,6 @@ type Ceip struct { Status string `json:"status"` } -// CeipUpdateSpec Specification for CEIP state change -type CeipUpdateSpec struct { - // Status User provided CEIP operation - Status string `json:"status"` -} - // Certificate Represents certificate and its attributes type Certificate struct { // CaChain Certificate chain ordered from intermediate to root certificates @@ -1354,7 +1393,7 @@ type ClusterSpec struct { // AdvancedOptions Advanced Options used to add Cluster AdvancedOptions *AdvancedOptions `json:"advancedOptions,omitempty"` - // ClusterImageId ID of the Cluster Image to be used with the Cluster + // ClusterImageId ID of the Cluster Image to be used only with the Cluster managed by vSphere Lifecycle Manager Images ClusterImageId *string `json:"clusterImageId,omitempty"` // DatastoreSpec This specification contains cluster storage configuration @@ -1985,30 +2024,6 @@ type CustomISOSpec struct { Id string `json:"id"` } -// CustomIso Custom Iso contains bits to install/update the appropriate Cloud Foundation software components and vendor add ons in your management domain or workload domain hosts. -type CustomIso struct { - // Id Custom Iso Id - Id *string `json:"id,omitempty"` - - // Name Custom Image Name - Name *string `json:"name,omitempty"` - - // UploadedTimestamp Date when the ISO was uploaded - UploadedTimestamp *string `json:"uploadedTimestamp,omitempty"` - - // Vendor Vendor of the Custom Iso - Vendor *string `json:"vendor,omitempty"` - - // Version Custom Iso ESXi Version - Version *string `json:"version,omitempty"` -} - -// CustomIsoRenameSpec Custom Iso rename spec contains the name field in which the new name is to be entered -type CustomIsoRenameSpec struct { - // Name Custom Iso name - Name string `json:"name"` -} - // DataMetric Represents a single metric representing digital data type DataMetric struct { // Unit Unit of the metric @@ -2468,6 +2483,30 @@ type Domains struct { DomainName *string `json:"domainName,omitempty"` } +// DownloadBundleError Describe a download error +type DownloadBundleError struct { + // ErrorCode Error code + ErrorCode *string `json:"errorCode,omitempty"` + + // ErrorMessage Error message + ErrorMessage *string `json:"errorMessage,omitempty"` + + // Retriable Error is retriable + Retriable *bool `json:"retriable,omitempty"` + + // StackTraceStr Exception stack trace string + StackTraceStr *string `json:"stackTraceStr,omitempty"` +} + +// DownloadProgressIndicator Download progress indicator +type DownloadProgressIndicator struct { + // DownloadedBytes Number of bytes downloaded + DownloadedBytes *int64 `json:"downloadedBytes,omitempty"` + + // IsDownloadCancelled is download cancelled + IsDownloadCancelled *bool `json:"isDownloadCancelled,omitempty"` +} + // DvsSpec Spec contains parameters for DVS type DvsSpec struct { // DvsName vSphere Distributed Switch Name. It will be auto-generated if blank @@ -2544,7 +2583,7 @@ type EdgeClusterCreationSpec struct { EdgeClusterName string `json:"edgeClusterName"` // EdgeClusterProfileSpec This specification contains edge cluster profile configurations - EdgeClusterProfileSpec NsxTEdgeClusterProfileSpec `json:"edgeClusterProfileSpec"` + EdgeClusterProfileSpec *NsxTEdgeClusterProfileSpec `json:"edgeClusterProfileSpec,omitempty"` // EdgeClusterProfileType Type of edge cluster profile EdgeClusterProfileType string `json:"edgeClusterProfileType"` @@ -4379,7 +4418,8 @@ type NsxTCluster struct { // IsShared Boolean to identify if the NSX cluster is shared among workload domains IsShared *bool `json:"isShared,omitempty"` - // IsVlcmCompatible Boolean to identify if the NSX cluster is compatible with vLCM. This should not be used to determineif vLCM Clusters can be created on the domain + // IsVlcmCompatible [Deprecated] Boolean to identify if the NSX cluster is compatible with vLCM. This should not be used to determineif vLCM Clusters can be created on the domain + // Deprecated: IsVlcmCompatible *bool `json:"isVlcmCompatible,omitempty"` // NativeId [Deprecated] Native ID of the NSX cluster @@ -4636,6 +4676,9 @@ type NsxtHostCluster struct { // Name Cluster name Name *string `json:"name,omitempty"` + // NsxtComponentId Nsxt Component native id of the nsxt host cluster + NsxtComponentId *string `json:"nsxtComponentId,omitempty"` + // PrimaryCluster Flag to determine if primary cluster for vLCM PrimaryCluster *bool `json:"primaryCluster,omitempty"` @@ -4989,7 +5032,7 @@ type PackageSpec struct { // Page Represents a page of elements of a single type type Page struct { // Elements The list of elements included in this page - Elements *[]TrustedCertificate `json:"elements,omitempty"` + Elements *[]EdgeClusterNsxtEntityCriterion `json:"elements,omitempty"` // PageMetadata Represents pageable elements pagination metadata PageMetadata *PageMetadata `json:"pageMetadata,omitempty"` @@ -5100,6 +5143,15 @@ type PageOfClusterCriterion struct { PageMetadata *PageMetadata `json:"pageMetadata,omitempty"` } +// PageOfClusterNetworkConfigurationCriterion defines model for PageOfClusterNetworkConfigurationCriterion. +type PageOfClusterNetworkConfigurationCriterion struct { + // Elements The list of elements included in this page + Elements *[]ClusterNetworkConfigurationCriterion `json:"elements,omitempty"` + + // PageMetadata Represents pageable elements pagination metadata + PageMetadata *PageMetadata `json:"pageMetadata,omitempty"` +} + // PageOfCompatibilityMatrix defines model for PageOfCompatibilityMatrix. type PageOfCompatibilityMatrix struct { // Elements The list of elements included in this page @@ -5181,15 +5233,6 @@ type PageOfCsr struct { PageMetadata *PageMetadata `json:"pageMetadata,omitempty"` } -// PageOfCustomIso defines model for PageOfCustomIso. -type PageOfCustomIso struct { - // Elements The list of elements included in this page - Elements *[]CustomIso `json:"elements,omitempty"` - - // PageMetadata Represents pageable elements pagination metadata - PageMetadata *PageMetadata `json:"pageMetadata,omitempty"` -} - // PageOfDatastoreCriterion defines model for PageOfDatastoreCriterion. type PageOfDatastoreCriterion struct { // Elements The list of elements included in this page @@ -5433,6 +5476,15 @@ type PageOfSddcManager struct { PageMetadata *PageMetadata `json:"pageMetadata,omitempty"` } +// PageOfSddcManagerUpgradable defines model for PageOfSddcManagerUpgradable. +type PageOfSddcManagerUpgradable struct { + // Elements The list of elements included in this page + Elements *[]SddcManagerUpgradable `json:"elements,omitempty"` + + // PageMetadata Represents pageable elements pagination metadata + PageMetadata *PageMetadata `json:"pageMetadata,omitempty"` +} + // PageOfSddcTask defines model for PageOfSddcTask. type PageOfSddcTask struct { // Elements The list of elements included in this page @@ -6632,6 +6684,48 @@ type SddcManager struct { Version *string `json:"version,omitempty"` } +// SddcManagerBundle SDDC Manager Bundle consists the bits to perform the upgrade of an SDDC Manager +type SddcManagerBundle struct { + // BundleDownload Represents a download record of a bundle. A bundle may be associated with multiple downloads if previous downloads failed + BundleDownload *BundleDownload `json:"bundleDownload,omitempty"` + + // Description Bundle Description + Description *string `json:"description,omitempty"` + + // DownloadEndTime Bundle download end time + DownloadEndTime *int64 `json:"downloadEndTime,omitempty"` + + // DownloadProgress Download progress indicator + DownloadProgress *DownloadProgressIndicator `json:"downloadProgress,omitempty"` + + // DownloadStartTime Bundle download start time + DownloadStartTime *int64 `json:"downloadStartTime,omitempty"` + + // DownloadStatus Bundle Download Status + DownloadStatus *string `json:"downloadStatus,omitempty"` + + // Id Bundle ID + Id *string `json:"id,omitempty"` + + // IsCumulative Is Bundle Cumulative + IsCumulative *bool `json:"isCumulative,omitempty"` + + // ReleasedDate Bundle Release Date + ReleasedDate *string `json:"releasedDate,omitempty"` + + // SizeMB Bundle Size in MB + SizeMB *float64 `json:"sizeMB,omitempty"` + + // Type Bundle Type + Type *string `json:"type,omitempty"` + + // Vendor Bundle Vendor + Vendor *string `json:"vendor,omitempty"` + + // Version Bundle Version + Version *string `json:"version,omitempty"` +} + // SddcManagerInfo SDDC Manager Information type SddcManagerInfo struct { // Fqdn FQDN of the SDDC Manager @@ -6686,6 +6780,36 @@ type SddcManagerSpec struct { SecondUserCredentials *SddcCredentials `json:"secondUserCredentials,omitempty"` } +// SddcManagerUpgradable SDDC Manager Upgradable consists of release information, bits and the upgrade information to upgrade SDDC Manager on the system. +type SddcManagerUpgradable struct { + // ApplicabilityStatus SDDC Manager Release Applicability Status + ApplicabilityStatus *string `json:"applicabilityStatus,omitempty"` + + // CompatibilityStatus SDDC Manager Release Compatibility Status + CompatibilityStatus *string `json:"compatibilityStatus,omitempty"` + + // Description SDDC Manager Release Description + Description *string `json:"description,omitempty"` + + // Errors SDDC Manager Release in-applicability reasons + Errors *[]MessagePack `json:"errors,omitempty"` + + // ReleaseDate SDDC Manager Release Date + ReleaseDate *string `json:"releaseDate,omitempty"` + + // SddcManagerBundle SDDC Manager Bundle consists the bits to perform the upgrade of an SDDC Manager + SddcManagerBundle *SddcManagerBundle `json:"sddcManagerBundle,omitempty"` + + // Upgrade Upgrade object which contain details regarding the upgrade + Upgrade *Upgrade `json:"upgrade,omitempty"` + + // Version SDDC Manager Release Version + Version *string `json:"version,omitempty"` + + // Warnings SDDC Manager Release applicable with warnings reasons + Warnings *[]MessagePack `json:"warnings,omitempty"` +} + // SddcNetworkSpec Defines a network spec type SddcNetworkSpec struct { // ActiveUplinks Active Uplinks for teaming policy, specify uplink1 for failover_explicit VSAN Teaming Policy @@ -7058,8 +7182,9 @@ type SsoDomainSpec struct { // Stage Represents a Stage type Stage struct { - CompletionTimestamp string `json:"completionTimestamp"` - CreationTimestamp string `json:"creationTimestamp"` + // CompletionTimestamp Stage completion timestamp + CompletionTimestamp *string `json:"completionTimestamp,omitempty"` + CreationTimestamp string `json:"creationTimestamp"` // Description Stage description Description *string `json:"description,omitempty"` @@ -7387,13 +7512,16 @@ type TeamingSpec struct { // TemporaryNetwork Temporary Network for vCenter Upgrade type TemporaryNetwork struct { // Gateway Gateway for vCenter Upgrade temporary network - Gateway string `json:"gateway"` + Gateway *string `json:"gateway,omitempty"` // IpAddress IP Address for vCenter Upgrade temporary network - IpAddress string `json:"ipAddress"` + IpAddress *string `json:"ipAddress,omitempty"` + + // NetworkMode Network mode for target vCenter server + NetworkMode *string `json:"networkMode,omitempty"` // SubnetMask Subnet Mask for vCenter Upgrade temporary network - SubnetMask string `json:"subnetMask"` + SubnetMask *string `json:"subnetMask,omitempty"` } // TokenCreationSpec The spec used to sign the token @@ -7536,6 +7664,9 @@ type Upgrade struct { // TaskId Task ID associated with upgrade TaskId string `json:"taskId"` + + // VcenterUpgradeUserInputSpec vCenter Upgrade User Input Specification + VcenterUpgradeUserInputSpec *VcenterUpgradeUserInputSpec `json:"vcenterUpgradeUserInputSpec,omitempty"` } // UpgradeCommitSpec Upgrade Commit/Reschedule Specification @@ -7548,6 +7679,9 @@ type UpgradeCommitSpec struct { // UpgradeNow Flag for enabling Upgrade Now. If true, scheduledTimestamp is ignored UpgradeNow *bool `json:"upgradeNow,omitempty"` + + // VcenterUpgradePatchSpecs User input for vCenter ReducedDowntimeMigration upgrade + VcenterUpgradePatchSpecs *[]VcenterUpgradePatchSpec `json:"vcenterUpgradePatchSpecs,omitempty"` } // UpgradeSpec Upgrade Specification @@ -7825,10 +7959,28 @@ type VcenterSpec struct { VmSize *string `json:"vmSize,omitempty"` } +// VcenterUpgradePatchSpec vCenter Upgrade User editable Input Specification +type VcenterUpgradePatchSpec struct { + // ResourceId Resource ID for Upgrade + ResourceId string `json:"resourceId"` + + // StartSwitchoverTimestamp Start switchover time. This field is only supported for ReducedDowntimeMigration upgrade mechanism. To unset startSwitchoverTimestamp, provide the value as: 1970-01-01T00:00:00Z + StartSwitchoverTimestamp string `json:"startSwitchoverTimestamp"` +} + // VcenterUpgradeUserInputSpec vCenter Upgrade User Input Specification type VcenterUpgradeUserInputSpec struct { + // ResourceId Resource ID for Upgrade + ResourceId *string `json:"resourceId,omitempty"` + + // StartSwitchoverTimestamp Start switchover time. This field is only supported for ReducedDowntimeMigration upgrade mechanism + StartSwitchoverTimestamp *string `json:"startSwitchoverTimestamp,omitempty"` + // TemporaryNetwork Temporary Network for vCenter Upgrade TemporaryNetwork TemporaryNetwork `json:"temporaryNetwork"` + + // UpgradeMechanism vCenter upgrade mechanism. This field is only supported for vCenter patch upgrades. Minimum supported vCenter target version is 8.0 Update 3b + UpgradeMechanism *string `json:"upgradeMechanism,omitempty"` } // VcfService VCF service representation @@ -8566,31 +8718,6 @@ type GetCredentialsTasksParams struct { Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"` } -// GetCustomIsosParams defines parameters for GetCustomIsos. -type GetCustomIsosParams struct { - // Name The name of the Custom ISO - Name *string `form:"name,omitempty" json:"name,omitempty"` - - // Vendor The vendor name of the Custom ISO - Vendor *string `form:"vendor,omitempty" json:"vendor,omitempty"` - - // DomainId The domain resource ID - DomainId *string `form:"domainId,omitempty" json:"domainId,omitempty"` - - // TargetVersion The ESXi target version - TargetVersion *string `form:"targetVersion,omitempty" json:"targetVersion,omitempty"` -} - -// UploadCustomIsoMultipartBody defines parameters for UploadCustomIso. -type UploadCustomIsoMultipartBody struct { - File openapi_types.File `json:"file"` -} - -// UploadCustomIsoParams defines parameters for UploadCustomIso. -type UploadCustomIsoParams struct { - Name string `form:"name" json:"name"` -} - // GetDomainsParams defines parameters for GetDomains. type GetDomainsParams struct { // Type The type of the domain @@ -8718,6 +8845,12 @@ type GetALBClustersParams struct { DomainId *string `form:"domainId,omitempty" json:"domainId,omitempty"` } +// CreateALBClusterParams defines parameters for CreateALBCluster. +type CreateALBClusterParams struct { + // SkipCompatibilityCheck Pass an optional Skip compatibility checks + SkipCompatibilityCheck *bool `form:"skipCompatibilityCheck,omitempty" json:"skipCompatibilityCheck,omitempty"` +} + // ValidateALBClusterCreationSpecParams defines parameters for ValidateALBClusterCreationSpec. type ValidateALBClusterCreationSpecParams struct { // SkipCompatibilityCheck Pass an optional Skip compatibility checks @@ -8892,6 +9025,9 @@ type GetBackupLocationParams struct { Port string `form:"port" json:"port"` } +// SetCeipStatusJSONBody defines parameters for SetCeipStatus. +type SetCeipStatusJSONBody string + // GetLastAssessmentRunInfoParams defines parameters for GetLastAssessmentRunInfo. type GetLastAssessmentRunInfoParams struct { // DomainId Id of the domain to filter tasks for, accepts multiple values as comma separated @@ -9087,12 +9223,6 @@ type GetPasswordExpirationJSONRequestBody = CredentialsExpirationSpec // RetryCredentialsTaskJSONRequestBody defines body for RetryCredentialsTask for application/json ContentType. type RetryCredentialsTaskJSONRequestBody = CredentialsUpdateSpec -// UploadCustomIsoMultipartRequestBody defines body for UploadCustomIso for multipart/form-data ContentType. -type UploadCustomIsoMultipartRequestBody UploadCustomIsoMultipartBody - -// RenameCustomIsoByIdJSONRequestBody defines body for RenameCustomIsoById for application/json ContentType. -type RenameCustomIsoByIdJSONRequestBody = CustomIsoRenameSpec - // CreateDomainJSONRequestBody defines body for CreateDomain for application/json ContentType. type CreateDomainJSONRequestBody = DomainCreationSpec @@ -9219,6 +9349,9 @@ type DeleteIpPoolFromNetworkOfNetworkPoolJSONRequestBody = IpPool // AddIpPoolToNetworkOfNetworkPoolJSONRequestBody defines body for AddIpPoolToNetworkOfNetworkPool for application/json ContentType. type AddIpPoolToNetworkOfNetworkPoolJSONRequestBody = IpPool +// CreateALBClusterJSONRequestBody defines body for CreateALBCluster for application/json ContentType. +type CreateALBClusterJSONRequestBody = NsxAlbControllerClusterSpec + // ValidateALBClusterCreationSpecJSONRequestBody defines body for ValidateALBClusterCreationSpec for application/json ContentType. type ValidateALBClusterCreationSpecJSONRequestBody = NsxAlbControllerClusterSpec @@ -9295,7 +9428,7 @@ type SetBackupConfigurationJSONRequestBody = BackupConfigurationSpec type ValidateBackupConfigurationsOperationsJSONRequestBody = BackupConfigurationSpec // SetCeipStatusJSONRequestBody defines body for SetCeipStatus for application/json ContentType. -type SetCeipStatusJSONRequestBody = CeipUpdateSpec +type SetCeipStatusJSONRequestBody SetCeipStatusJSONBody // TriggerCheckRunJSONRequestBody defines body for TriggerCheckRun for application/json ContentType. type TriggerCheckRunJSONRequestBody = CheckSetRunInput @@ -9750,23 +9883,6 @@ type ClientInterface interface { // GetCredential request GetCredential(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetCustomIsos request - GetCustomIsos(ctx context.Context, params *GetCustomIsosParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // UploadCustomIsoWithBody request with any body - UploadCustomIsoWithBody(ctx context.Context, params *UploadCustomIsoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteCustomIsoById request - DeleteCustomIsoById(ctx context.Context, customIsoId string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetCustomIsoById request - GetCustomIsoById(ctx context.Context, customIsoId string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // RenameCustomIsoByIdWithBody request with any body - RenameCustomIsoByIdWithBody(ctx context.Context, customIsoId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - RenameCustomIsoById(ctx context.Context, customIsoId string, body RenameCustomIsoByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetDomains request GetDomains(ctx context.Context, params *GetDomainsParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -10112,9 +10228,9 @@ type ClientInterface interface { GetLicenseKey(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateLicenseKeyWithBody request with any body - UpdateLicenseKeyWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateLicenseKeyWithBody(ctx context.Context, licenseKeyOrId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - UpdateLicenseKey(ctx context.Context, key string, body UpdateLicenseKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateLicenseKey(ctx context.Context, licenseKeyOrId string, body UpdateLicenseKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLicenseInformation request GetLicenseInformation(ctx context.Context, params *GetLicenseInformationParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -10171,6 +10287,11 @@ type ClientInterface interface { // GetALBClusters request GetALBClusters(ctx context.Context, params *GetALBClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateALBClusterWithBody request with any body + CreateALBClusterWithBody(ctx context.Context, params *CreateALBClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CreateALBCluster(ctx context.Context, params *CreateALBClusterParams, body CreateALBClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetALBClustersFormFactors request GetALBClustersFormFactors(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -12013,78 +12134,6 @@ func (c *Client) GetCredential(ctx context.Context, id string, reqEditors ...Req return c.Client.Do(req) } -func (c *Client) GetCustomIsos(ctx context.Context, params *GetCustomIsosParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetCustomIsosRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) UploadCustomIsoWithBody(ctx context.Context, params *UploadCustomIsoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUploadCustomIsoRequestWithBody(c.Server, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteCustomIsoById(ctx context.Context, customIsoId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteCustomIsoByIdRequest(c.Server, customIsoId) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetCustomIsoById(ctx context.Context, customIsoId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetCustomIsoByIdRequest(c.Server, customIsoId) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) RenameCustomIsoByIdWithBody(ctx context.Context, customIsoId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewRenameCustomIsoByIdRequestWithBody(c.Server, customIsoId, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) RenameCustomIsoById(ctx context.Context, customIsoId string, body RenameCustomIsoByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewRenameCustomIsoByIdRequest(c.Server, customIsoId, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) GetDomains(ctx context.Context, params *GetDomainsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetDomainsRequest(c.Server, params) if err != nil { @@ -13597,8 +13646,8 @@ func (c *Client) GetLicenseKey(ctx context.Context, key string, reqEditors ...Re return c.Client.Do(req) } -func (c *Client) UpdateLicenseKeyWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateLicenseKeyRequestWithBody(c.Server, key, contentType, body) +func (c *Client) UpdateLicenseKeyWithBody(ctx context.Context, licenseKeyOrId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateLicenseKeyRequestWithBody(c.Server, licenseKeyOrId, contentType, body) if err != nil { return nil, err } @@ -13609,8 +13658,8 @@ func (c *Client) UpdateLicenseKeyWithBody(ctx context.Context, key string, conte return c.Client.Do(req) } -func (c *Client) UpdateLicenseKey(ctx context.Context, key string, body UpdateLicenseKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateLicenseKeyRequest(c.Server, key, body) +func (c *Client) UpdateLicenseKey(ctx context.Context, licenseKeyOrId string, body UpdateLicenseKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateLicenseKeyRequest(c.Server, licenseKeyOrId, body) if err != nil { return nil, err } @@ -13861,6 +13910,30 @@ func (c *Client) GetALBClusters(ctx context.Context, params *GetALBClustersParam return c.Client.Do(req) } +func (c *Client) CreateALBClusterWithBody(ctx context.Context, params *CreateALBClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateALBClusterRequestWithBody(c.Server, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CreateALBCluster(ctx context.Context, params *CreateALBClusterParams, body CreateALBClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateALBClusterRequest(c.Server, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) GetALBClustersFormFactors(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetALBClustersFormFactorsRequest(c.Server) if err != nil { @@ -20041,265 +20114,6 @@ func NewGetCredentialRequest(server string, id string) (*http.Request, error) { return req, nil } -// NewGetCustomIsosRequest generates requests for GetCustomIsos -func NewGetCustomIsosRequest(server string, params *GetCustomIsosParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/v1/custom-isos") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Name != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Vendor != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vendor", runtime.ParamLocationQuery, *params.Vendor); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.DomainId != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domainId", runtime.ParamLocationQuery, *params.DomainId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.TargetVersion != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "targetVersion", runtime.ParamLocationQuery, *params.TargetVersion); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewUploadCustomIsoRequestWithBody generates requests for UploadCustomIso with any type of body -func NewUploadCustomIsoRequestWithBody(server string, params *UploadCustomIsoParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/v1/custom-isos/file") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, params.Name); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewDeleteCustomIsoByIdRequest generates requests for DeleteCustomIsoById -func NewDeleteCustomIsoByIdRequest(server string, customIsoId string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "custom_iso_id", runtime.ParamLocationPath, customIsoId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/v1/custom-isos/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetCustomIsoByIdRequest generates requests for GetCustomIsoById -func NewGetCustomIsoByIdRequest(server string, customIsoId string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "custom_iso_id", runtime.ParamLocationPath, customIsoId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/v1/custom-isos/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewRenameCustomIsoByIdRequest calls the generic RenameCustomIsoById builder with application/json body -func NewRenameCustomIsoByIdRequest(server string, customIsoId string, body RenameCustomIsoByIdJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewRenameCustomIsoByIdRequestWithBody(server, customIsoId, "application/json", bodyReader) -} - -// NewRenameCustomIsoByIdRequestWithBody generates requests for RenameCustomIsoById with any type of body -func NewRenameCustomIsoByIdRequestWithBody(server string, customIsoId string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "custom_iso_id", runtime.ParamLocationPath, customIsoId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/v1/custom-isos/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewGetDomainsRequest generates requests for GetDomains func NewGetDomainsRequest(server string, params *GetDomainsParams) (*http.Request, error) { var err error @@ -24158,23 +23972,23 @@ func NewGetLicenseKeyRequest(server string, key string) (*http.Request, error) { } // NewUpdateLicenseKeyRequest calls the generic UpdateLicenseKey builder with application/json body -func NewUpdateLicenseKeyRequest(server string, key string, body UpdateLicenseKeyJSONRequestBody) (*http.Request, error) { +func NewUpdateLicenseKeyRequest(server string, licenseKeyOrId string, body UpdateLicenseKeyJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewUpdateLicenseKeyRequestWithBody(server, key, "application/json", bodyReader) + return NewUpdateLicenseKeyRequestWithBody(server, licenseKeyOrId, "application/json", bodyReader) } // NewUpdateLicenseKeyRequestWithBody generates requests for UpdateLicenseKey with any type of body -func NewUpdateLicenseKeyRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error) { +func NewUpdateLicenseKeyRequestWithBody(server string, licenseKeyOrId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "key", runtime.ParamLocationPath, key) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "licenseKeyOrId", runtime.ParamLocationPath, licenseKeyOrId) if err != nil { return nil, err } @@ -24833,6 +24647,68 @@ func NewGetALBClustersRequest(server string, params *GetALBClustersParams) (*htt return req, nil } +// NewCreateALBClusterRequest calls the generic CreateALBCluster builder with application/json body +func NewCreateALBClusterRequest(server string, params *CreateALBClusterParams, body CreateALBClusterJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCreateALBClusterRequestWithBody(server, params, "application/json", bodyReader) +} + +// NewCreateALBClusterRequestWithBody generates requests for CreateALBCluster with any type of body +func NewCreateALBClusterRequestWithBody(server string, params *CreateALBClusterParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/v1/nsx-alb-clusters") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.SkipCompatibilityCheck != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "skipCompatibilityCheck", runtime.ParamLocationQuery, *params.SkipCompatibilityCheck); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewGetALBClustersFormFactorsRequest generates requests for GetALBClustersFormFactors func NewGetALBClustersFormFactorsRequest(server string) (*http.Request, error) { var err error @@ -32531,23 +32407,6 @@ type ClientWithResponsesInterface interface { // GetCredentialWithResponse request GetCredentialWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCredentialResponse, error) - // GetCustomIsosWithResponse request - GetCustomIsosWithResponse(ctx context.Context, params *GetCustomIsosParams, reqEditors ...RequestEditorFn) (*GetCustomIsosResponse, error) - - // UploadCustomIsoWithBodyWithResponse request with any body - UploadCustomIsoWithBodyWithResponse(ctx context.Context, params *UploadCustomIsoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadCustomIsoResponse, error) - - // DeleteCustomIsoByIdWithResponse request - DeleteCustomIsoByIdWithResponse(ctx context.Context, customIsoId string, reqEditors ...RequestEditorFn) (*DeleteCustomIsoByIdResponse, error) - - // GetCustomIsoByIdWithResponse request - GetCustomIsoByIdWithResponse(ctx context.Context, customIsoId string, reqEditors ...RequestEditorFn) (*GetCustomIsoByIdResponse, error) - - // RenameCustomIsoByIdWithBodyWithResponse request with any body - RenameCustomIsoByIdWithBodyWithResponse(ctx context.Context, customIsoId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameCustomIsoByIdResponse, error) - - RenameCustomIsoByIdWithResponse(ctx context.Context, customIsoId string, body RenameCustomIsoByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameCustomIsoByIdResponse, error) - // GetDomainsWithResponse request GetDomainsWithResponse(ctx context.Context, params *GetDomainsParams, reqEditors ...RequestEditorFn) (*GetDomainsResponse, error) @@ -32893,9 +32752,9 @@ type ClientWithResponsesInterface interface { GetLicenseKeyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetLicenseKeyResponse, error) // UpdateLicenseKeyWithBodyWithResponse request with any body - UpdateLicenseKeyWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLicenseKeyResponse, error) + UpdateLicenseKeyWithBodyWithResponse(ctx context.Context, licenseKeyOrId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLicenseKeyResponse, error) - UpdateLicenseKeyWithResponse(ctx context.Context, key string, body UpdateLicenseKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLicenseKeyResponse, error) + UpdateLicenseKeyWithResponse(ctx context.Context, licenseKeyOrId string, body UpdateLicenseKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLicenseKeyResponse, error) // GetLicenseInformationWithResponse request GetLicenseInformationWithResponse(ctx context.Context, params *GetLicenseInformationParams, reqEditors ...RequestEditorFn) (*GetLicenseInformationResponse, error) @@ -32952,6 +32811,11 @@ type ClientWithResponsesInterface interface { // GetALBClustersWithResponse request GetALBClustersWithResponse(ctx context.Context, params *GetALBClustersParams, reqEditors ...RequestEditorFn) (*GetALBClustersResponse, error) + // CreateALBClusterWithBodyWithResponse request with any body + CreateALBClusterWithBodyWithResponse(ctx context.Context, params *CreateALBClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateALBClusterResponse, error) + + CreateALBClusterWithResponse(ctx context.Context, params *CreateALBClusterParams, body CreateALBClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateALBClusterResponse, error) + // GetALBClustersFormFactorsWithResponse request GetALBClustersFormFactorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetALBClustersFormFactorsResponse, error) @@ -34463,7 +34327,6 @@ func (r GetClusterResponse) GetBody() []byte { type UpdateClusterResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *Task JSON202 *Task JSON400 *Error JSON404 *Error @@ -34753,6 +34616,7 @@ func (r PostHostQueryResponse) GetBody() []byte { type GetClusterNetworkConfigurationCriteriaResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *PageOfClusterNetworkConfigurationCriterion } // Status returns HTTPResponse.Status @@ -35751,152 +35615,6 @@ func (r GetCredentialResponse) GetBody() []byte { return r.Body } -type GetCustomIsosResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *PageOfCustomIso - JSON500 *Error -} - -// Status returns HTTPResponse.Status -func (r GetCustomIsosResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetCustomIsosResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -// GetBody returns the response body as a byte array -func (r GetCustomIsosResponse) GetBody() []byte { - return r.Body -} - -type UploadCustomIsoResponse struct { - Body []byte - HTTPResponse *http.Response - JSON202 *Task - JSON400 *Error - JSON500 *Error -} - -// Status returns HTTPResponse.Status -func (r UploadCustomIsoResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r UploadCustomIsoResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -// GetBody returns the response body as a byte array -func (r UploadCustomIsoResponse) GetBody() []byte { - return r.Body -} - -type DeleteCustomIsoByIdResponse struct { - Body []byte - HTTPResponse *http.Response - JSON400 *Error - JSON404 *Error - JSON500 *Error -} - -// Status returns HTTPResponse.Status -func (r DeleteCustomIsoByIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteCustomIsoByIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -// GetBody returns the response body as a byte array -func (r DeleteCustomIsoByIdResponse) GetBody() []byte { - return r.Body -} - -type GetCustomIsoByIdResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *CustomIso - JSON400 *Error - JSON404 *Error - JSON500 *Error -} - -// Status returns HTTPResponse.Status -func (r GetCustomIsoByIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetCustomIsoByIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -// GetBody returns the response body as a byte array -func (r GetCustomIsoByIdResponse) GetBody() []byte { - return r.Body -} - -type RenameCustomIsoByIdResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *CustomIso - JSON400 *Error - JSON404 *Error - JSON500 *Error -} - -// Status returns HTTPResponse.Status -func (r RenameCustomIsoByIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r RenameCustomIsoByIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -// GetBody returns the response body as a byte array -func (r RenameCustomIsoByIdResponse) GetBody() []byte { - return r.Body -} - type GetDomainsResponse struct { Body []byte HTTPResponse *http.Response @@ -37074,7 +36792,6 @@ type ValidateResourceCertificatesResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CertificateValidationTask - JSON400 *Error JSON404 *Error JSON500 *Error } @@ -37424,7 +37141,6 @@ type GetEdgeClusterValidationByIDResponse struct { HTTPResponse *http.Response JSON200 *Validation JSON400 *Error - JSON500 *Validation } // Status returns HTTPResponse.Status @@ -37570,7 +37286,6 @@ type DecommissionHostsResponse struct { HTTPResponse *http.Response JSON202 *Task JSON400 *Error - JSON500 *Task } // Status returns HTTPResponse.Status @@ -37628,7 +37343,7 @@ type CommissionHostsResponse struct { HTTPResponse *http.Response JSON202 *Task JSON400 *Error - JSON500 *string + JSON500 *Error } // Status returns HTTPResponse.Status @@ -37858,7 +37573,6 @@ type ValidateHostCommissionSpecResponse struct { HTTPResponse *http.Response JSON202 *Validation JSON400 *Error - JSON500 *Validation } // Status returns HTTPResponse.Status @@ -37887,7 +37601,6 @@ type ValidateCommissionHostsResponse struct { HTTPResponse *http.Response JSON202 *Validation JSON400 *Error - JSON500 *Validation } // Status returns HTTPResponse.Status @@ -37916,7 +37629,6 @@ type GetHostCommissionValidationByIDResponse struct { HTTPResponse *http.Response JSON202 *Validation JSON400 *Error - JSON500 *Validation } // Status returns HTTPResponse.Status @@ -37945,7 +37657,7 @@ type GetHostResponse struct { HTTPResponse *http.Response JSON200 *Host JSON400 *Error - JSON500 *string + JSON500 *Error } // Status returns HTTPResponse.Status @@ -38604,6 +38316,7 @@ func (r UpdateLicenseKeyResponse) GetBody() []byte { type GetLicenseInformationResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *[]LicensingInfo JSON400 *Error JSON500 *Error } @@ -38632,6 +38345,7 @@ func (r GetLicenseInformationResponse) GetBody() []byte { type GetDomainLicensingInfoResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *[]LicensingInfo JSON500 *Error } @@ -38659,6 +38373,7 @@ func (r GetDomainLicensingInfoResponse) GetBody() []byte { type GetSystemLicensingInfoResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *[]LicensingInfo JSON500 *Error } @@ -39031,6 +38746,35 @@ func (r GetALBClustersResponse) GetBody() []byte { return r.Body } +type CreateALBClusterResponse struct { + Body []byte + HTTPResponse *http.Response + JSON202 *Task + JSON400 *Error + JSON500 *Error +} + +// Status returns HTTPResponse.Status +func (r CreateALBClusterResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CreateALBClusterResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +// GetBody returns the response body as a byte array +func (r CreateALBClusterResponse) GetBody() []byte { + return r.Body +} + type GetALBClustersFormFactorsResponse struct { Body []byte HTTPResponse *http.Response @@ -40291,6 +40035,7 @@ func (r GetResourceWarningResponse) GetBody() []byte { type StartLicenseCheckByResourceResponse struct { Body []byte HTTPResponse *http.Response + JSON202 *ResourcesLicenseCheckResult JSON400 *Error JSON500 *Error } @@ -40319,6 +40064,7 @@ func (r StartLicenseCheckByResourceResponse) GetBody() []byte { type GetLicenseCheckResultByIDResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *ResourcesLicenseCheckResult JSON400 *Error JSON500 *Error } @@ -40520,6 +40266,7 @@ func (r GetTrustedCertificatesResponse) GetBody() []byte { type AddTrustedCertificateResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *PageOfTrustedCertificate JSON400 *Error JSON409 *Error JSON500 *Error @@ -40576,6 +40323,8 @@ func (r DeleteTrustedCertificateResponse) GetBody() []byte { type GetSddcManagerUpgradablesResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *PageOfSddcManagerUpgradable + JSON400 *Error JSON500 *Error } @@ -40748,9 +40497,7 @@ type GetBringupAppInfoResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VcfService - JSON404 *VcfService - JSON500 *VcfService - JSON501 *VcfService + JSON500 *Error } // Status returns HTTPResponse.Status @@ -40778,9 +40525,7 @@ type GetBringupValidationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PageOfValidation - JSON404 *Error JSON500 *Error - JSON501 *Error } // Status returns HTTPResponse.Status @@ -40809,7 +40554,7 @@ type ValidateBringupSpecResponse struct { HTTPResponse *http.Response JSON200 *Validation JSON202 *Validation - JSON403 *Validation + JSON403 *Error JSON404 *Error JSON500 *Error } @@ -40839,10 +40584,8 @@ type GetBringupValidationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Validation - JSON400 *Validation + JSON400 *Error JSON404 *Error - JSON500 *Error - JSON501 *Error } // Status returns HTTPResponse.Status @@ -40869,6 +40612,10 @@ func (r GetBringupValidationResponse) GetBody() []byte { type RetryBringupValidationResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *Validation + JSON400 *Error + JSON405 *Error + JSON500 *Error } // Status returns HTTPResponse.Status @@ -40895,7 +40642,7 @@ func (r RetryBringupValidationResponse) GetBody() []byte { type ExportBringupValidationReportResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *string + JSON500 *Error } // Status returns HTTPResponse.Status @@ -40983,8 +40730,7 @@ func (r RetrySddcResponse) GetBody() []byte { type ExportBringupDetailReportResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *string - JSON204 *string + JSON500 *Error } // Status returns HTTPResponse.Status @@ -41012,9 +40758,8 @@ type GetSddcManagerInfoResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SddcManagerInfo - JSON404 *SddcManagerInfo - JSON500 *SddcManagerInfo - JSON501 *SddcManagerInfo + JSON404 *Error + JSON500 *Error } // Status returns HTTPResponse.Status @@ -41567,7 +41312,7 @@ type GetValidationsOfDNSConfigurationResponse struct { HTTPResponse *http.Response JSON200 *Validation JSON400 *Error - JSON500 *[]Validation + JSON500 *Error } // Status returns HTTPResponse.Status @@ -41596,7 +41341,7 @@ type ValidateDnsConfigurationResponse struct { HTTPResponse *http.Response JSON202 *Validation JSON400 *Error - JSON500 *Validation + JSON500 *Error } // Status returns HTTPResponse.Status @@ -41625,7 +41370,7 @@ type GetValidationOfDnsConfigurationResponse struct { HTTPResponse *http.Response JSON200 *Validation JSON400 *Error - JSON500 *Validation + JSON500 *Error } // Status returns HTTPResponse.Status @@ -41829,7 +41574,7 @@ type GetValidationsOfNtpConfigurationResponse struct { HTTPResponse *http.Response JSON200 *Validation JSON400 *Error - JSON500 *[]Validation + JSON500 *Error } // Status returns HTTPResponse.Status @@ -41858,7 +41603,7 @@ type ValidateNtpConfigurationResponse struct { HTTPResponse *http.Response JSON202 *Validation JSON400 *Error - JSON500 *Validation + JSON500 *Error } // Status returns HTTPResponse.Status @@ -41887,7 +41632,7 @@ type GetValidationOfNtpConfigurationResponse struct { HTTPResponse *http.Response JSON200 *Validation JSON400 *Error - JSON500 *Validation + JSON500 *Error } // Status returns HTTPResponse.Status @@ -41974,7 +41719,6 @@ type GetProxyConfigurationResponse struct { HTTPResponse *http.Response JSON200 *ProxyConfiguration JSON400 *Error - JSON500 *ProxyConfiguration } // Status returns HTTPResponse.Status @@ -42001,6 +41745,7 @@ func (r GetProxyConfigurationResponse) GetBody() []byte { type UpdateProxyConfigurationResponse struct { Body []byte HTTPResponse *http.Response + JSON202 *Task JSON400 *Error } @@ -42032,7 +41777,6 @@ type StartBringupSpecConversionResponse struct { JSON400 *Error JSON404 *Error JSON500 *Error - JSON501 *Error } // Status returns HTTPResponse.Status @@ -42060,7 +41804,6 @@ type GetFIPSConfigurationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Fips - JSON500 *Fips } // Status returns HTTPResponse.Status @@ -42574,10 +42317,8 @@ func (r RetryTaskResponse) GetBody() []byte { type CreateTokenResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *TokenPair JSON201 *TokenPair JSON400 *Error - JSON401 *Error JSON500 *Error } @@ -43190,7 +42931,6 @@ type ValidateVasaProviderSpecResponse struct { HTTPResponse *http.Response JSON202 *Validation JSON400 *Error - JSON500 *Validation } // Status returns HTTPResponse.Status @@ -43220,7 +42960,6 @@ type GetVasaProviderValidationResponse struct { JSON200 *Validation JSON400 *Error JSON404 *Error - JSON500 *Validation } // Status returns HTTPResponse.Status @@ -45106,59 +44845,6 @@ func (c *ClientWithResponses) GetCredentialWithResponse(ctx context.Context, id return ParseGetCredentialResponse(rsp) } -// GetCustomIsosWithResponse request returning *GetCustomIsosResponse -func (c *ClientWithResponses) GetCustomIsosWithResponse(ctx context.Context, params *GetCustomIsosParams, reqEditors ...RequestEditorFn) (*GetCustomIsosResponse, error) { - rsp, err := c.GetCustomIsos(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetCustomIsosResponse(rsp) -} - -// UploadCustomIsoWithBodyWithResponse request with arbitrary body returning *UploadCustomIsoResponse -func (c *ClientWithResponses) UploadCustomIsoWithBodyWithResponse(ctx context.Context, params *UploadCustomIsoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadCustomIsoResponse, error) { - rsp, err := c.UploadCustomIsoWithBody(ctx, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseUploadCustomIsoResponse(rsp) -} - -// DeleteCustomIsoByIdWithResponse request returning *DeleteCustomIsoByIdResponse -func (c *ClientWithResponses) DeleteCustomIsoByIdWithResponse(ctx context.Context, customIsoId string, reqEditors ...RequestEditorFn) (*DeleteCustomIsoByIdResponse, error) { - rsp, err := c.DeleteCustomIsoById(ctx, customIsoId, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteCustomIsoByIdResponse(rsp) -} - -// GetCustomIsoByIdWithResponse request returning *GetCustomIsoByIdResponse -func (c *ClientWithResponses) GetCustomIsoByIdWithResponse(ctx context.Context, customIsoId string, reqEditors ...RequestEditorFn) (*GetCustomIsoByIdResponse, error) { - rsp, err := c.GetCustomIsoById(ctx, customIsoId, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetCustomIsoByIdResponse(rsp) -} - -// RenameCustomIsoByIdWithBodyWithResponse request with arbitrary body returning *RenameCustomIsoByIdResponse -func (c *ClientWithResponses) RenameCustomIsoByIdWithBodyWithResponse(ctx context.Context, customIsoId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameCustomIsoByIdResponse, error) { - rsp, err := c.RenameCustomIsoByIdWithBody(ctx, customIsoId, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseRenameCustomIsoByIdResponse(rsp) -} - -func (c *ClientWithResponses) RenameCustomIsoByIdWithResponse(ctx context.Context, customIsoId string, body RenameCustomIsoByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameCustomIsoByIdResponse, error) { - rsp, err := c.RenameCustomIsoById(ctx, customIsoId, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseRenameCustomIsoByIdResponse(rsp) -} - // GetDomainsWithResponse request returning *GetDomainsResponse func (c *ClientWithResponses) GetDomainsWithResponse(ctx context.Context, params *GetDomainsParams, reqEditors ...RequestEditorFn) (*GetDomainsResponse, error) { rsp, err := c.GetDomains(ctx, params, reqEditors...) @@ -46260,16 +45946,16 @@ func (c *ClientWithResponses) GetLicenseKeyWithResponse(ctx context.Context, key } // UpdateLicenseKeyWithBodyWithResponse request with arbitrary body returning *UpdateLicenseKeyResponse -func (c *ClientWithResponses) UpdateLicenseKeyWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLicenseKeyResponse, error) { - rsp, err := c.UpdateLicenseKeyWithBody(ctx, key, contentType, body, reqEditors...) +func (c *ClientWithResponses) UpdateLicenseKeyWithBodyWithResponse(ctx context.Context, licenseKeyOrId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLicenseKeyResponse, error) { + rsp, err := c.UpdateLicenseKeyWithBody(ctx, licenseKeyOrId, contentType, body, reqEditors...) if err != nil { return nil, err } return ParseUpdateLicenseKeyResponse(rsp) } -func (c *ClientWithResponses) UpdateLicenseKeyWithResponse(ctx context.Context, key string, body UpdateLicenseKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLicenseKeyResponse, error) { - rsp, err := c.UpdateLicenseKey(ctx, key, body, reqEditors...) +func (c *ClientWithResponses) UpdateLicenseKeyWithResponse(ctx context.Context, licenseKeyOrId string, body UpdateLicenseKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLicenseKeyResponse, error) { + rsp, err := c.UpdateLicenseKey(ctx, licenseKeyOrId, body, reqEditors...) if err != nil { return nil, err } @@ -46451,6 +46137,23 @@ func (c *ClientWithResponses) GetALBClustersWithResponse(ctx context.Context, pa return ParseGetALBClustersResponse(rsp) } +// CreateALBClusterWithBodyWithResponse request with arbitrary body returning *CreateALBClusterResponse +func (c *ClientWithResponses) CreateALBClusterWithBodyWithResponse(ctx context.Context, params *CreateALBClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateALBClusterResponse, error) { + rsp, err := c.CreateALBClusterWithBody(ctx, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCreateALBClusterResponse(rsp) +} + +func (c *ClientWithResponses) CreateALBClusterWithResponse(ctx context.Context, params *CreateALBClusterParams, body CreateALBClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateALBClusterResponse, error) { + rsp, err := c.CreateALBCluster(ctx, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCreateALBClusterResponse(rsp) +} + // GetALBClustersFormFactorsWithResponse request returning *GetALBClustersFormFactorsResponse func (c *ClientWithResponses) GetALBClustersFormFactorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetALBClustersFormFactorsResponse, error) { rsp, err := c.GetALBClustersFormFactors(ctx, reqEditors...) @@ -49749,13 +49452,6 @@ func ParseUpdateClusterResponse(rsp *http.Response) (*UpdateClusterResponse, err } switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest Task - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 202: var dest Task if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -50148,6 +49844,16 @@ func ParseGetClusterNetworkConfigurationCriteriaResponse(rsp *http.Response) (*G HTTPResponse: rsp, } + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PageOfClusterNetworkConfigurationCriterion + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + return response, nil } @@ -51597,213 +51303,6 @@ func ParseGetCredentialResponse(rsp *http.Response) (*GetCredentialResponse, err return response, nil } -// ParseGetCustomIsosResponse parses an HTTP response from a GetCustomIsosWithResponse call -func ParseGetCustomIsosResponse(rsp *http.Response) (*GetCustomIsosResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetCustomIsosResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest PageOfCustomIso - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - -// ParseUploadCustomIsoResponse parses an HTTP response from a UploadCustomIsoWithResponse call -func ParseUploadCustomIsoResponse(rsp *http.Response) (*UploadCustomIsoResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &UploadCustomIsoResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 202: - var dest Task - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON202 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - -// ParseDeleteCustomIsoByIdResponse parses an HTTP response from a DeleteCustomIsoByIdWithResponse call -func ParseDeleteCustomIsoByIdResponse(rsp *http.Response) (*DeleteCustomIsoByIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteCustomIsoByIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - -// ParseGetCustomIsoByIdResponse parses an HTTP response from a GetCustomIsoByIdWithResponse call -func ParseGetCustomIsoByIdResponse(rsp *http.Response) (*GetCustomIsoByIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetCustomIsoByIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest CustomIso - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - -// ParseRenameCustomIsoByIdResponse parses an HTTP response from a RenameCustomIsoByIdWithResponse call -func ParseRenameCustomIsoByIdResponse(rsp *http.Response) (*RenameCustomIsoByIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &RenameCustomIsoByIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest CustomIso - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - // ParseGetDomainsResponse parses an HTTP response from a GetDomainsWithResponse call func ParseGetDomainsResponse(rsp *http.Response) (*GetDomainsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -53516,13 +53015,6 @@ func ParseValidateResourceCertificatesResponse(rsp *http.Response) (*ValidateRes } response.JSON201 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -54010,13 +53502,6 @@ func ParseGetEdgeClusterValidationByIDResponse(rsp *http.Response) (*GetEdgeClus } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -54217,13 +53702,6 @@ func ParseDecommissionHostsResponse(rsp *http.Response) (*DecommissionHostsRespo } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Task - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -54298,7 +53776,7 @@ func ParseCommissionHostsResponse(rsp *http.Response) (*CommissionHostsResponse, response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest string + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -54603,13 +54081,6 @@ func ParseValidateHostCommissionSpecResponse(rsp *http.Response) (*ValidateHostC } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -54643,13 +54114,6 @@ func ParseValidateCommissionHostsResponse(rsp *http.Response) (*ValidateCommissi } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -54683,13 +54147,6 @@ func ParseGetHostCommissionValidationByIDResponse(rsp *http.Response) (*GetHostC } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -54724,7 +54181,7 @@ func ParseGetHostResponse(rsp *http.Response) (*GetHostResponse, error) { response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest string + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -55587,6 +55044,13 @@ func ParseGetLicenseInformationResponse(rsp *http.Response) (*GetLicenseInformat } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []LicensingInfo + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -55620,6 +55084,13 @@ func ParseGetDomainLicensingInfoResponse(rsp *http.Response) (*GetDomainLicensin } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []LicensingInfo + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -55646,6 +55117,13 @@ func ParseGetSystemLicensingInfoResponse(rsp *http.Response) (*GetSystemLicensin } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []LicensingInfo + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -56138,6 +55616,46 @@ func ParseGetALBClustersResponse(rsp *http.Response) (*GetALBClustersResponse, e return response, nil } +// ParseCreateALBClusterResponse parses an HTTP response from a CreateALBClusterWithResponse call +func ParseCreateALBClusterResponse(rsp *http.Response) (*CreateALBClusterResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CreateALBClusterResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 202: + var dest Task + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON202 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + } + + return response, nil +} + // ParseGetALBClustersFormFactorsResponse parses an HTTP response from a GetALBClustersFormFactorsWithResponse call func ParseGetALBClustersFormFactorsResponse(rsp *http.Response) (*GetALBClustersFormFactorsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -57776,6 +57294,13 @@ func ParseStartLicenseCheckByResourceResponse(rsp *http.Response) (*StartLicense } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 202: + var dest ResourcesLicenseCheckResult + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON202 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -57809,6 +57334,13 @@ func ParseGetLicenseCheckResultByIDResponse(rsp *http.Response) (*GetLicenseChec } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ResourcesLicenseCheckResult + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -58075,6 +57607,13 @@ func ParseAddTrustedCertificateResponse(rsp *http.Response) (*AddTrustedCertific } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PageOfTrustedCertificate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -58141,6 +57680,20 @@ func ParseGetSddcManagerUpgradablesResponse(rsp *http.Response) (*GetSddcManager } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PageOfSddcManagerUpgradable + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -58367,27 +57920,13 @@ func ParseGetBringupAppInfoResponse(rsp *http.Response) (*GetBringupAppInfoRespo } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest VcfService - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest VcfService + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON500 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest VcfService - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON501 = &dest - } return response, nil @@ -58414,13 +57953,6 @@ func ParseGetBringupValidationsResponse(rsp *http.Response) (*GetBringupValidati } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -58428,13 +57960,6 @@ func ParseGetBringupValidationsResponse(rsp *http.Response) (*GetBringupValidati } response.JSON500 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON501 = &dest - } return response, nil @@ -58469,7 +57994,7 @@ func ParseValidateBringupSpecResponse(rsp *http.Response) (*ValidateBringupSpecR response.JSON202 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Validation + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -58516,7 +58041,7 @@ func ParseGetBringupValidationResponse(rsp *http.Response) (*GetBringupValidatio response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Validation + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -58529,20 +58054,6 @@ func ParseGetBringupValidationResponse(rsp *http.Response) (*GetBringupValidatio } response.JSON404 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON501 = &dest - } return response, nil @@ -58561,6 +58072,37 @@ func ParseRetryBringupValidationResponse(rsp *http.Response) (*RetryBringupValid HTTPResponse: rsp, } + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Validation + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 405: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON405 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + } + return response, nil } @@ -58578,12 +58120,12 @@ func ParseExportBringupValidationReportResponse(rsp *http.Response) (*ExportBrin } switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest string + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON200 = &dest + response.JSON500 = &dest } @@ -58705,19 +58247,12 @@ func ParseExportBringupDetailReportResponse(rsp *http.Response) (*ExportBringupD } switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest string - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 204: - var dest string + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON204 = &dest + response.JSON500 = &dest } @@ -58746,26 +58281,19 @@ func ParseGetSddcManagerInfoResponse(rsp *http.Response) (*GetSddcManagerInfoRes response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest SddcManagerInfo + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest SddcManagerInfo + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON500 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest SddcManagerInfo - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON501 = &dest - } return response, nil @@ -59534,7 +59062,7 @@ func ParseGetValidationsOfDNSConfigurationResponse(rsp *http.Response) (*GetVali response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest []Validation + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -59574,7 +59102,7 @@ func ParseValidateDnsConfigurationResponse(rsp *http.Response) (*ValidateDnsConf response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -59614,7 +59142,7 @@ func ParseGetValidationOfDnsConfigurationResponse(rsp *http.Response) (*GetValid response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -59898,7 +59426,7 @@ func ParseGetValidationsOfNtpConfigurationResponse(rsp *http.Response) (*GetVali response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest []Validation + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -59938,7 +59466,7 @@ func ParseValidateNtpConfigurationResponse(rsp *http.Response) (*ValidateNtpConf response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -59978,7 +59506,7 @@ func ParseGetValidationOfNtpConfigurationResponse(rsp *http.Response) (*GetValid response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation + var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -60097,13 +59625,6 @@ func ParseGetProxyConfigurationResponse(rsp *http.Response) (*GetProxyConfigurat } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest ProxyConfiguration - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -60123,6 +59644,13 @@ func ParseUpdateProxyConfigurationResponse(rsp *http.Response) (*UpdateProxyConf } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 202: + var dest Task + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON202 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -60177,13 +59705,6 @@ func ParseStartBringupSpecConversionResponse(rsp *http.Response) (*StartBringupS } response.JSON500 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON501 = &dest - } return response, nil @@ -60210,13 +59731,6 @@ func ParseGetFIPSConfigurationResponse(rsp *http.Response) (*GetFIPSConfiguratio } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Fips - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -60871,13 +60385,6 @@ func ParseCreateTokenResponse(rsp *http.Response) (*CreateTokenResponse, error) } switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest TokenPair - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: var dest TokenPair if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -60892,13 +60399,6 @@ func ParseCreateTokenResponse(rsp *http.Response) (*CreateTokenResponse, error) } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: var dest Error if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -61757,13 +61257,6 @@ func ParseValidateVasaProviderSpecResponse(rsp *http.Response) (*ValidateVasaPro } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -61804,13 +61297,6 @@ func ParseGetVasaProviderValidationResponse(rsp *http.Response) (*GetVasaProvide } response.JSON404 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Validation - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil