huawei-cloud-api-definitions-ROMA 0.1.20240626

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"ErrorRsp400":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","example":"FDI.3002","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","example":"Invalid parameters.","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"ErrorRsp404":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","example":"FDI.3081","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","example":"The task does not exist.","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"ErrorRsp500":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","example":"FDI.9999","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","example":"Network error.","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"TaskStatisticDetails":{"description":"每种状态任务的数量信息","properties":{"abnormal_tasks_count":{"description":"异常任务数量","example":12,"format":"int32","maximum":999999999999,"minimum":0,"type":"integer"},"completed_tasks_count":{"description":"成功任务数量","example":12,"format":"int32","maximum":999999999999,"minimum":0,"type":"integer"},"running_tasks_count":{"description":"运行任务数量","example":12,"format":"int32","maximum":999999999999,"minimum":0,"type":"integer"},"terminated_tasks_count":{"description":"终止任务数量","example":12,"format":"int32","maximum":999999999999,"minimum":0,"type":"integer"}}},"TaskStatistics":{"description":"统计信息详情","properties":{"cdc_task_details":{"$ref":"#/definitions/TaskStatisticDetails"},"common_task_details":{"$ref":"#/definitions/TaskStatisticDetails"}}}},"description":null,"group_id":"025d125ee4da4956af037c3315e94b30","host":"roma.cn-north-4.myhuaweicloud.com","id":"6641fe84cc6343aaa5a01325d08d82da","info_version":"v2","method":"get","name":"CountTasks","parameters":{"instance_id":{"description":"实例ID","in":"path","maxLength":36,"minLength":0,"name":"instance_id","required":true,"type":"string"},"project_id":{"description":"项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。","in":"path","maxLength":32,"minLength":0,"name":"project_id","required":true,"type":"string"}},"paths":{"/v2/{project_id}/fdi/instances/{instance_id}/statistics/tasks":{"get":{"description":"统计不同类型不同状态任务数量","operationId":"CountTasks","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/instance_id"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/TaskStatistics"}},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/ErrorRsp400"}},"404":{"description":"Not Found","schema":{"$ref":"#/definitions/ErrorRsp404"}},"500":{"description":"Internal Server Error","schema":{"$ref":"#/definitions/ErrorRsp500"}}},"summary":"统计不同类型不同状态任务数量","tags":["任务管理"],"x-apigateway-request-type":"public","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"ROMA","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"统计不同类型不同状态任务数量","tags":"任务管理","uri":null,"version":"2.0"}