huawei-cloud-api-definitions-CBR 0.1.20251031

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"AgentAddPathReq":{"description":"","properties":{"add_path":{"description":"增加备份路径详情","items":{"description":"","pattern":"(^[a-zA-Z]:(\\\\\\\\)+[(\\\\\\\\)+\\\\S|*\\\\S]?.*$|(^//.|^/|^[a-zA-Z])?:?/.+(/$)?)","type":"string"},"type":"array"},"exclude_path":{"description":"增加排除目录\n> 该特性目前处于公测阶段,部分region可能无法使用。","items":{"$ref":"#/definitions/ExcludePath"},"type":"array"}},"required":["add_path"]},"AgentAddPathResp":{"description":"","properties":{"added":{"description":"新添加成功的路径列表","items":{"description":"","type":"string"},"type":"array"},"existed":{"description":"已经存在的路径列表","items":{"description":"","type":"string"},"type":"array"}}},"ExcludePath":{"properties":{"exclude_path_name":{"description":"排除目录列表","items":{"type":"string"},"type":"array"},"path_name":{"description":"备份目录","type":"string"}},"type":"object"}},"description":null,"group_id":"11b1e4b30d524dacb6891902e04115dd","host":"cbr.cn-north-4.myhuaweicloud.com","id":"6e0041208e594dd2ab477aaa0df73076","info_version":"v1","method":"post","name":"AddAgentPath","parameters":{},"paths":{"/v3/{project_id}/agents/{agent_id}/add-path":{"post":{"consumes":[],"deprecated":false,"description":"对客户端新增备份路径,新增的路径不会校验是否存在。","operationId":"AddAgentPath","parameters":[{"description":"项目ID","in":"path","name":"project_id","required":true,"type":"string","x-open-region-cloud":"","x-order":1},{"description":"客户端ID","in":"path","name":"agent_id","required":true,"type":"string","x-open-region-cloud":"","x-order":2},{"description":"用户Token。\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXX...","x-open-region-cloud":"","x-order":3},{"description":"新增文件备份路径参数","in":"body","name":"AddAgentPathRequestBody","required":true,"schema":{"$ref":"#/definitions/AgentAddPathReq"},"x-open-region-cloud":"","x-order":4}],"produces":[],"responses":{"200":{"description":"OK","examples":{"application/json":{"added":["/opt/backup","/var/log"],"existed":["/tmp/backup"]}},"schema":{"$ref":"#/definitions/AgentAddPathResp"}}},"summary":"新增备份路径","tags":["文件应用备份"],"x-apiErrorCodes":[{"errorCode":"BackupService.7407","errorDescription":"客户端备份路径超过阈值。","errorDescriptionEn":"Agent %(agent_id)s path count is exceeded.","errorMessage":"客户端备份路径超过阈值。","httpStatus":"400","parentId":"i1cb2dabd0b342a59241685999d9282e","solution":"请在正确的状态下执行该操作,明确具体操作约束。","solutionEn":""}],"x-apiexplorer-hide":"false","x-constraint":"","x-first-open-time":"","x-hybridcloud":"","x-is-registered":"Y","x-name":"新增备份路径","x-open-region-cloud":"hc,hk","x-order":3,"x-publishpath":"","x-request-examples-1":{"add_path":["/home/hcp","/opt/workspace/"]},"x-request-examples-description-1":"\n","x-request-examples-text-1":"{\n    \"add_path\": [\"/home/hcp\",\"/opt/workspace/\"]\n}","x-request-examples-url-1":"POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/agents/79bd9daa-884f-4f84-b8fe-235d58cd927d/add-path","x-scope":"Commercial","x-source":"","x-support-sdk":"Y"}}},"product_short":"CBR","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"新增备份路径","tags":"文件应用备份","uri":null,"version":"2.0"}