容器服务
参数 | 类型 | 是否必选 | 示例值 | 描述 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DeleteAddon | 接口名称。当前 API 的名称为 DeleteAddon。 |
Version | String | 是 | 2022-05-12 | 接口版本。当前 API 的版本为 2022-05-12。 |
ClusterId | String | 是 | cc5silumrsfeqxxxx | 待卸载组件所属集群的 ID。 注意 |
Name | String | 是 | ingress-nginx | 待卸载组件的名称。 注意 组件必须 不处于{Creating, [Progressing]}、{Deleting, [Progressing]}或者{Failed, [ClusterNotRunning]}状态。可调用 ListAddons接口获取组件当前状态。 |
CascadingDeleteResources | Array of String | 否 | ["Crd"] | 注意 参数废弃说明:
级联删除组件关联的资源,取值:
|
RetainResources | Array of String | 否 | ["Crd"] |
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.RequiredAddon | It is forbidden to delete required addon. | 该组件为系统必装组件,禁止卸载。 |