forked from docs/doc-exports
Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
6.6 KiB
6.6 KiB
Querying the Version List of Clusters That Can Be Connected to UCS
Function
This API is used to query the version list of clusters that can be connected to UCS.
URI
GET /v1/config/registeredclusterversions
Request Parameter
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
X-Auth-Token |
Yes |
String |
Identity authentication information. Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token. |
Response Parameter
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
versions |
Array of strings |
Cluster version list |
Example Requests
None
Example Responses
Status code: 200
Version list of clusters that can be connected to UCS
{
"versions" : [ "v1.19", "v1.20", "v1.21", "v1.22", "v1.23", "v1.24", "v1.25" ]
}
Status Codes
Status Code |
Description |
|---|---|
200 |
Version list of clusters that can be connected to UCS |
Error Codes
See Error Codes.
Parent topic: UCS Clusters