huawei-cloud-api-definitions-CSS 0.1.20240215

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"BatchAddOrDeleteTagOnClusterReq":{"properties":{"action":{"description":"操作类型。通过该属性标识当前所需的操作类型。\n\n- create:批量添加标签。\n- delete:批量删除标签。","type":"string"},"sysTags":{"description":"系统标签列表。\n- key固定为:_sys_enterprise_project_id。\n- value是UUID或0,value为0表示默认企业项目。","items":{"$ref":"#/definitions/SysTags"},"type":"array"},"tags":{"description":"标签列表。","items":{"$ref":"#/definitions/Tag"},"type":"array"}},"required":["action","tags"]},"SysTags":{"description":"系统标签对象。","properties":{"key":{"description":"标签名。","example":"K1","type":"string"},"value":{"description":"标签值。","example":"V1","type":"string"}},"required":["key","value"]},"Tag":{"description":"待添加的标签对象。","properties":{"key":{"description":"标签名。","example":"K1","type":"string"},"value":{"description":"标签值。","example":"V1","type":"string"}},"required":["key","value"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"074dfda5a5414069a1e3b774b45829de","info_version":"v1","method":"post","name":"UpdateBatchClustersTags","parameters":{},"paths":{"/v1.0/{project_id}/{resource_type}/{cluster_id}/tags/action":{"post":{"description":"该接口用于对集群批量添加或删除标签。","operationId":"UpdateBatchClustersTags","parameters":[{"description":"项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。","in":"path","name":"project_id","required":true,"type":"string","x-example":"6204a5bd270343b5885144cf9c8c158d"},{"description":"指定批量添加标签的集群ID。","in":"path","name":"cluster_id","required":true,"type":"string","x-example":"4f3deec3-efa8-4598-bf91-560aad1377a3"},{"description":"资源类型,当前固定值为“css-cluster”,表示是集群类型。","in":"path","name":"resource_type","required":true,"type":"string","x-example":"css-cluster"},{"in":"body","name":"BatchAddOrDeleteTagOnClusterReq","required":true,"schema":{"$ref":"#/definitions/BatchAddOrDeleteTagOnClusterReq"}}],"responses":{"204":{"description":"请求已成功。"},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"409":{"description":"服务器在完成请求时发生冲突。\n\n返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。"},"412":{"description":"未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。"}},"summary":"批量添加或删除集群标签","tags":["集群管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-order":16,"x-publishpath":"","x-request-examples-1":{"action":"create","tags":[{"key":"K1","value":"V1"},{"key":"K2","value":"V2"}]},"x-request-examples-description-1":"批量创建或删除集群标签。","x-request-examples-text-1":{"action":"create","tags":[{"key":"K1","value":"V1"},{"key":"K2","value":"V2"}]},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/css-cluster/4f3deec3-efa8-4598-bf91-560aad1377a3/tags/action","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/css-cluster/4f3deec3-efa8-4598-bf91-560aad1377a3/tags/action","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量添加或删除集群标签","tags":"集群管理接口","uri":null,"version":"2.0"}