huawei-cloud-api-definitions-DAS 0.1.20260918

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"CancelInstanceProcessInfo":{"description":"进程信息","properties":{"id":{"description":"进程ID","example":429374,"format":"int64","type":"integer"},"user":{"description":"用户名","example":"root","type":"string"}},"required":["id","user"],"type":"object"},"CancelInstanceProcessRequestBody":{"description":"删除会话请求体","properties":{"engine_type":{"description":"数据库引擎类型","example":"postgresql","type":"string"},"processes":{"description":"会话列表","items":{"$ref":"#/definitions/CancelInstanceProcessInfo"},"type":"array"}},"required":["engine_type","processes"],"type":"object"},"CancelInstanceProcessResp":{"description":"删除会话响应","properties":{"count":{"description":"进程数量","format":"int32","type":"integer"}},"type":"object"},"ErrorResp":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]}},"description":null,"group_id":"7f831fc0dd494cfe86eff0b79e4f207d","host":"das.cn-north-4.myhuaweicloud.com","id":"68a61d356ebe475691172c701af3325a","info_version":"v3","method":"post","name":"CancelInstanceProcess","parameters":{},"paths":{"/v3/{project_id}/instances/{instance_id}/kill-process":{"post":{"description":"删除会话","operationId":"CancelInstanceProcess","parameters":[{"description":"租户在某一Region下的项目ID","in":"path","name":"project_id","required":true,"type":"string"},{"description":"实例ID","in":"path","name":"instance_id","required":true,"type":"string"},{"description":"删除会话请求体","in":"body","name":"CancelInstanceProcessRequestBody","required":true,"schema":{"$ref":"#/definitions/CancelInstanceProcessRequestBody"}}],"responses":{"200":{"description":"Success.","schema":{"$ref":"#/definitions/CancelInstanceProcessResp"}},"400":{"description":"BadRequest.","schema":{"$ref":"#/definitions/ErrorResp"}},"500":{"description":"InternalServerError.","schema":{"$ref":"#/definitions/ErrorResp"}}},"schemes":["https"],"summary":"删除会话","tags":["APIG-SN-DAS"],"x-api-type":"open-api","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"DAS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"删除会话","tags":"APIG-SN-DAS","uri":null,"version":"2.0"}