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":{"Command":{"example":{"commandId":6398,"commandName":"c1","description":"asd","serviceId":10190},"properties":{"command_id":{"description":"命令id","maximum":999999999999999999,"minimum":0,"type":"integer"},"command_name":{"description":"命令名称","maxLength":255,"minLength":0,"type":"string"},"description":{"description":"命令描述","maxLength":255,"minLength":0,"type":"string"},"service_id":{"description":"命令所属服务id","maximum":999999999999999999,"minimum":0,"type":"integer"}}},"CreateCommandRequestBody":{"example":{"description":"服务A描述","name":"服务A"},"properties":{"description":{"description":"服务命令描述,长度0-200","maxLength":200,"minLength":0,"type":"string"},"name":{"description":"服务命令名称,支持大小写字母,数字,中划线及下划线,长度2-50","maxLength":50,"minLength":2,"type":"string"}},"required":["name"]},"Error":{"properties":{"error_code":{"description":"系统错误码,针对4xx和5xx类HTTP错误码的详细错误码","maxLength":64,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述","maxLength":200,"minLength":0,"type":"string"},"request_id":{"description":"消息ID","maxLength":64,"minLength":0,"type":"string"}}}},"description":null,"group_id":"025d125ee4da4956af037c3315e94b30","host":"roma.cn-north-4.myhuaweicloud.com","id":"60c4320ff28d45b4bcd284b3e42fe20f","info_version":"v2","method":"post","name":"CreateCommand","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"},"service_id":{"description":"服务ID","in":"path","maxLength":20,"minLength":0,"name":"service_id","required":true,"type":"string"}},"paths":{"/v2/{project_id}/link/instances/{instance_id}/services/{service_id}/commands":{"post":{"description":"创建命令","operationId":"CreateCommand","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/instance_id"},{"$ref":"#/parameters/service_id"},{"description":"创建命令对象","in":"body","name":"CreateCommandRequestBody","required":true,"schema":{"$ref":"#/definitions/CreateCommandRequestBody"}}],"produces":["application/json"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/Command"}},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/Error"}},"500":{"description":"Internal Server Error","schema":{"$ref":"#/definitions/Error"}}},"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"}