容器服务
参数 | 类型 | 是否必选 | 示例值 | 描述 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | UpdateAddonConfig | 接口名称。当前 API 的名称为 UpdateAddonConfig。 |
Version | String | 是 | 2022-05-12 | 接口版本。当前 API 的版本为 2022-05-12。 |
ClusterId | String | 是 | cc5silum**** | 待更新组件所属集群的 ID。 注意 |
Name | String | 是 | ingress-nginx | 待更新组件的名称。 注意
|
Config | String | 否 | | 组件配置。 |
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 | NotSupported.{{parameter}} | The specified {{resourceType}} {{resourceContent}} is not supported. | 指定的组件不支持更新。仅支持更新该接口 Name 参数说明中列出的组件。 |