huawei-cloud-api-definitions-RAM 0.1.20240315

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":{"parameters":{"ResourceShareId":{"description":"资源共享实例的ID。","in":"path","name":"resource_share_id","required":true,"schema":{"maxLength":36,"minLength":0,"pattern":"^[\\w-]+$","type":"string"}},"SecurityTokenHeader":{"description":"用户Token","in":"header","name":"X-Auth-Token","required":false,"schema":{"readOnly":true,"type":"string"}}},"schemas":{"Tag":{"description":"自定义键值对。","properties":{"key":{"description":"标签\"键\"的标识符或名称。","maxLength":128,"minLength":1,"pattern":"^((?!\\s)(?!_sys_)[\\p{L}\\p{Z}\\p{N}_.:=+\\-@]*)(?<!\\s)$","type":"string"},"value":{"description":"标签\"键\"对应的\"值\"。您可以将标签的值设置为空字符串,但不能设置为null。","maxLength":255,"minLength":0,"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@]*)$","type":"string"}},"required":["key","value"],"type":"object"},"TagResourceReqBody":{"description":"The request body of the TagResource operation.","properties":{"tags":{"description":"一个或多个标签键值对的列表。标签键必须存在,而不是空字符串。标签值必须存在,但可以是空字符串。","items":{"$ref":"#/components/schemas/Tag"},"maxItems":20,"minItems":1,"type":"array"}},"required":["tags"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"a4962198b5cd4b19998df4c381657138","host":"ram.myhuaweicloud.com","id":"91f4559134fe46458959ec5bebcee3f1","info_version":"v1","method":"post","name":"BatchCreateResourceShareTags","parameters":null,"paths":{"/v1/resource-shares/{resource_share_id}/tags/create":{"post":{"description":"资源共享实例增加标签。","operationId":"BatchCreateResourceShareTags","parameters":[{"$ref":"#/components/parameters/ResourceShareId"},{"$ref":"#/components/parameters/SecurityTokenHeader"}],"requestBody":{"content":{"application/json":{"example":{"tags":[{"key":"string","value":"string"}]},"schema":{"$ref":"#/components/schemas/TagResourceReqBody"}}},"required":true},"responses":{"200":{"description":"请求成功。"}},"security":[{"AccessKeyAuth":[]}],"summary":"资源共享实例增加标签","tags":["Tag"],"x-is-registered":"Y","x-request-examples-1":{"tags":[{"key":"string","value":"string"}]},"x-request-examples-description-1":"资源共享实例增加标签。","x-request-examples-url-1":"POST https://{hostname}/v1/resource-shares/{resource_share_id}/tags/create","x-support-sdk":"Y"}}},"product_short":"RAM","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"资源共享实例增加标签","tags":"标签管理","uri":null,"version":"3.0.3"}