huawei-cloud-api-definitions-ManageOneOCHCS 0.1.20260605

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"DeployNodeCreateReq":{"description":"创建部署节点请求","properties":{"bmcIp":{"description":"物理服务器类型部署节点的bmcIp","maxLength":128,"minLength":1,"type":"string"},"floatIpAddresses":{"description":"浮动IP地址列表","items":{"$ref":"#/definitions/DeployNodeFloatIPAddress"},"maxItems":1000,"type":"array"},"ipAddresses":{"description":"IP地址列表","items":{"$ref":"#/definitions/DeployNodeIPAddress"},"maxItems":1000,"type":"array"},"isLocal":{"default":true,"description":"是否本地","type":"boolean"},"mgmtIp":{"description":"部署节点管理IP","maxLength":128,"minLength":1,"type":"string"},"name":{"description":"部署节点名称","maxLength":128,"minLength":1,"type":"string"},"regionId":{"description":"区域ID","maxLength":32,"minLength":32,"type":"string"},"serverSn":{"description":"部署节点的serverSn","maxLength":128,"minLength":0,"type":"string"},"vmNativeId":{"description":"部署节点的vmNativeId","maxLength":128,"minLength":0,"type":"string"}},"required":["name","ipAddresses"]},"DeployNodeFloatIPAddress":{"description":"部署节点浮动IP信息","properties":{"cloudServiceIndex":{"description":"云服务索引","type":"string"},"fixedIp":{"description":"固定IP","type":"string"},"floatIp":{"description":"浮动IP","type":"string"}},"required":["floatIp"]},"DeployNodeIPAddress":{"description":"部署节点IP信息","properties":{"gateway":{"description":"网关","type":"string"},"ip":{"description":"IP","type":"string"},"netMask":{"description":"掩码","type":"string"},"netPlane":{"description":"网络平面","type":"string"}},"required":["ip"]},"ResourceReturnId":{"description":"资源实例ID","properties":{"id":{"description":"资源实例ID","type":"string"},"resId":{"description":"实例ID","type":"string"}}}},"description":null,"group_id":"a58bba086da947389167b8c3715f7155","host":"hcs.cn-north-4.myhuaweicloud.com","id":"ea74ccefa3824cedaae0b5f3797112bd","info_version":"v1","method":"post","name":"CreateDeployNode","parameters":{},"paths":{"/rest/cmdb/v2/deploy-nodes":{"post":{"consumes":["application/json"],"description":"批量新增节点信息。\n\n**接口SLA:**\n\n|SLA项|定义|\n|-----|-----|\n|请求成功率| ≥ 99.9%|\n|可用性|Tier1|\n|数据一致性|最终一致,不一致时长<1分钟|\n|吞吐量|10 tps|\n|TP50请求时延|1000 ms|\n|TP99.9请求时延|2000 ms|","operationId":"CreateDeployNode","parameters":[{"description":"IAM_OP token、SSO token。","in":"header","name":"x-auth-token","required":true,"type":"string"},{"description":"节点信息","in":"body","name":"data","required":true,"schema":{"items":{"$ref":"#/definitions/DeployNodeCreateReq"},"type":"array"},"x-maxLength":10000}],"responses":{"200":{"description":"批量新增节点信息成功","examples":{"application/json":[{"id":""}]},"schema":{"items":{"$ref":"#/definitions/ResourceReturnId"},"type":"array"}},"400":{"description":"参数错误。"},"403":{"description":"URL鉴权失败。"},"404":{"description":"rest接口未找到。"},"500":{"description":"默认ServiceException异常码,应用内部错误。"},"502":{"description":"网关错误。"},"503":{"description":"服务不可用。"},"504":{"description":"表示时间超时,总线超时时间300s。"},"888":{"description":"服务摘机,不提供服务。"}},"summary":"批量新增节点信息","tags":["资源管理"],"x-precautions":"使用前先调用条件查询部署节点信息接口获取部署节点信息标识。调用该接口需要“创建资源实例”权限,归属权限组:运维中心>资源实例管理。\n错误码:当请求不成功时,响应体内的错误码信息请参见“ManageOne 运维面API参考 > 错误码说明 > 资源管理特性”章节。\n","x-request-examples-1":[{"floatIpAddresses":[{"floatIp":"192.168.0.0"}],"ipAddresses":[{"gateway":"192.168.0.0","ip":"192.168.0.0","netMask":"255.255.0.0","netPlane":"internal_base"}],"name":"allinonefm0","regionId":"xxxx"}],"x-request-examples-description-1":"","x-request-examples-url-1":"POST https://{endpoint}/rest/cmdb/v2/deploy-nodes","x-support-sdk":"N"}}},"product_short":"ManageOneOCHCS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量新增节点信息","tags":"资源管理","uri":null,"version":"2.0"}