容器服务
参数 | 类型 | 是否必选 | 示例值 | 描述 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | UpdateAddonVersion | 接口名称。当前 API 的名称为 UpdateAddonVersion。 |
Version | String | 是 | 2022-05-12 | 接口版本。当前 API 的版本为 2022-05-12。 |
ClusterId | String | 是 | cc5silum**** | 待更新组件所属集群的 ID。 注意 |
Name | String | 是 | ingress-nginx | |
Version | String | 是 | v0.44.0 | 目标组件版本,即将组件更新到该版本。 |
ClientToken | String | 否 | BC028527-33B9-4990-A633-84E9F9****** | 用于保证请求幂等性的字符串。该字符串由调用方传入,需保证不同请求之间唯一。ClientToken 对大小写敏感,且最大值不超过 64 个 ASCII 字符。 |
HTTP 状态码 | 错误码 | 错误信息 | 说明 |
HTTP 状态码 | 错误码 | 错误信息 | 说明 |
400 | OperationDenied.ClusterStatus | The action has been denied due to wrong cluster status {{statusPhase}} and [{{statusConditions}}]. | 指定集群的当前状态不支持该操作。请确认该接口依赖的集群状态后重试。 |
400 | OperationDenied.AddonStatus | The action has been forbidden due to wrong addon status {{statusPhase}} and [{{statusConditions}}]. | 当前组件状态不支持更新组件版本。请确认该接口依赖的组件状态后重试。 |
400 | OperationDenied.GracefulUpgrade | The addon does not support graceful upgrade from the current version to the target version. | 组件不支持从当前版本平滑升级到目标版本。 |
400 | NotSupported.{{parameter}} | The specified {{resourceType}} {{resourceContent}} is not supported. |