{"base_path":"/","components":null,"consumes":"","definitions":{"AccessSystemInfo":{"description":"接入系统注册信息","properties":{"actionJson":{"$ref":"#/definitions/BackupActionInfo","description":"接入系统注册的url信息"},"backupType":{"description":"支持的备份类型,[\"full\",\"increment\"]","items":{"type":"string"},"type":"array","x-maxLength":1000},"ip":{"description":"接入系统访问IP地址","type":"string"},"port":{"description":"接入系统访问端口号","maxLength":32,"minLength":1,"type":"string"},"region":{"description":"区域名称","maxLength":512,"minLength":1,"type":"string"},"regionId":{"description":"区域id","maxLength":64,"minLength":0,"type":"string"},"systemType":{"description":"接入系统名称","maxLength":32,"minLength":1,"type":"string"},"tranProtocal":{"description":"支持的传输协议,[\"SFTP\"]","items":{"type":"string"},"type":"array","x-maxLength":1000}},"required":["region","systemType","ip","port","backupType","tranProtocal","actionJson"]},"BackupActionInfo":{"description":"备份操作信息","properties":{"backupaction":{"description":"下发备份任务url","type":"string"},"backuppolicy":{"description":"备份策略操作url","type":"string"},"bkserver":{"description":"备份服务器操作url","type":"string"},"connection":{"description":"检验联通性url","type":"string"},"subsystem":{"description":"查询子系统url","type":"string"},"taskstatus":{"description":"查询任务状态url","type":"string"}}}},"description":null,"group_id":"a58bba086da947389167b8c3715f7155","host":"hcs.cn-north-4.myhuaweicloud.com","id":"3fbf925782e0419fb5cc3989ad9beaf1","info_version":"v1","method":"post","name":"AddAccessSystem","parameters":{},"paths":{"/rest/mounibackupservice/v1/access":{"post":{"consumes":["application/json"],"description":"备份注册","operationId":"AddAccessSystem","parameters":[{"description":"IAM_OP token。","in":"header","maxLength":65535,"minLength":1,"name":"x-auth-token","required":true,"type":"string"},{"description":"备份注册信息","in":"body","name":"AccessSystemInfo","required":true,"schema":{"$ref":"#/definitions/AccessSystemInfo"}}],"produces":["application/json"],"responses":{"200":{"description":"系统注册成功","examples":{"application/json":{"resultCode":"success"}},"schema":{"type":"string"}},"400":{"description":"参数错误。"},"403":{"description":"URL鉴权失败。"},"404":{"description":"rest接口未找到。"},"500":{"description":"默认ServiceException异常码,应用内部错误。"},"502":{"description":"网关错误。"},"503":{"description":"服务不可用。"},"504":{"description":"表示时间超时,总线超时时间300s。"}},"summary":"备份注册","tags":["统一备份"],"x-filter":"ManageOne,openapi","x-plane":"Tenant,OM","x-precautions":"接口请求参数中x-auth-token使用有效token(op_svc_oc_service权限的用户token)。","x-request-examples-1":{"actionJson":{"backupaction":"/api/v3/etcdbackup/tasks","bkserver":"/api/v3/etcdbackup/backup_server","connection":"/api/v3/etcdbackup/health_check","taskstatus":"/api/v3/etcdbackup/tasks"},"backupType":["full"],"ip":"xxx.xxx.xxx.xxx","port":"443","region":"华北","systemType":"CCE","tranProtocal":["SFTP"]},"x-request-examples-description-1":"","x-request-examples-url-1":"POST https://{endpoint}/rest/mounibackupservice/v1/access","x-support-sdk":"N"}}},"product_short":"ManageOneOCHCS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"备份注册","tags":"统一备份","uri":null,"version":"2.0"}