{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"ApiAuthDetail":{"description":"api鉴权字段","properties":{"access_token_url":{"description":"访问API服务的AccessTokenUrl\n- 认证方式为(liHe、oauth2.0 huaweiNetworkManagement)时填写","example":"https://8af8c5285f724203ac676134dfca1716.apic.cn-north-7.huaweicloudapis.com/testvmall","maxLength":256,"minLength":0,"type":"string"},"alt_ip":{"description":"访问API服务的备用IP\n- 认证方式为(HuaweiNetworkManagement)时填写","example":"**.***.***.**","maxLength":256,"minLength":0,"type":"string"},"app_auth_type":{"description":"访问API服务的APP认证方式,认证方式为(apiGateway)时填写\n- default\n- secret\n- jwt","enum":["default","secret","jwt"],"example":"default","maxLength":2000,"minLength":0,"type":"string"},"app_key":{"description":"访问API服务的AppKey\n- 认证方式为(apiGateway、oauth2.0)时填写","example":"44f7ba81-18cb-430e-9815-aca2526da72f","maxLength":256,"minLength":0,"type":"string"},"app_secret":{"description":"访问API服务的AppSecret\n- 认证方式为(apiGateway、oauth2.0)时填写","example":"***","maxLength":256,"minLength":0,"type":"string"},"auth_method":{"description":"访问API服务的认证方式\n- none\n- basicauth\n- oauth2.0\n- hmac\n- secret\n- md5\n- apiGateway\n- keyTop\n- hikVision\n- huaweiNetworkManagement\n- liHe","enum":["none","basicauth","oauth2.0","hmac","secret","md5","apiGateway","keyTop","hikVision","huaweiNetworkManagement","liHe"],"example":"apiGateway","maxLength":256,"minLength":0,"type":"string"},"authorization":{"description":"访问API服务的Authorization\n- 认证方式为(LiHe)时填写","example":"hryrtrgrgrgrg","maxLength":256,"minLength":0,"type":"string"},"client_id":{"description":"访问API服务的客户端标识\n- 认证方式为Oauth2时填写","example":"deeeeeeee","maxLength":256,"minLength":0,"type":"string"},"client_secret":{"description":"访问API服务的客户端密钥\n- 认证方式为Oauth2时填写","example":"deeeeeeee","maxLength":256,"minLength":0,"type":"string"},"grant_type":{"description":"访问API服务的授权类型\n- 认证方式为(LiHe、Oauth2)时填写\n- client_credentials (oauth2.0使用)","example":"client_credentials","maxLength":256,"minLength":0,"type":"string"},"password":{"description":"访问API服务的密码\n- 认证方式为(lihe、huaweiNetworkManagement、basicauth、secret、md5、hmac)时填写","maxLength":2000,"minLength":4,"type":"string"},"scope":{"description":"访问API服务的Scope\n- 认证方式为(LiHe、Oauth2)时填写","example":"deeeeeeee","maxLength":256,"minLength":0,"type":"string"},"secret":{"description":"访问API服务的Secret\n- 认证方式为(KeyTop、HikVision、Secret、HMAC、MD5)时填写","example":"12345","maxLength":256,"minLength":0,"type":"string"},"user_name":{"description":"访问API服务的用户名\n- 认证方式为(lihe、huaweiNetworkManagement、basicauth)时填写","example":"fditest","maxLength":2000,"minLength":4,"type":"string"}}},"Content":{"properties":{"address":{"description":"地址\n- OBS (obs远端地址,obs数据源使用)\n- MONGODB (MONGODB数据源类型主机IP地址,多个IP:PORT, 使用\",\"隔开)\n- REDIS (redis服务地址,多个IP:PORT, 使用\",\"隔开)","example":"obs.sz-iep-1.hcs80-iep.com","maxLength":256,"minLength":0,"type":"string"},"ak":{"description":"Access Key ID\n- 数据源为OBS,DIS类型时需要配置","maxLength":256,"minLength":0,"type":"string"},"api_auth_detail":{"$ref":"#/definitions/ApiAuthDetail","description":"Api鉴权详细字段"},"api_method":{"description":"访问API请求方式\n- POST\n- PUT\n- DELETE\n- PATCH\n- GET","enum":["POST","PUT","DELETE","PATCH","GET"],"example":"POST","maxLength":10,"minLength":0,"type":"string"},"auth_method":{"description":"访问WEBSOCKET服务的认证方式\n- none\n- basicauth","enum":["none","basicauth"],"example":"basicauth","maxLength":256,"minLength":0,"type":"string"},"broker":{"description":"KAFKA、ACTIVEMQ的服务器地址,多个IP:PORT, 使用\",\"分隔","maxLength":256,"minLength":0,"type":"string"},"bucket_name":{"description":"桶名称,数据源为OBS时需要配置","example":"true","maxLength":256,"minLength":0,"type":"string"},"cdc_mode":{"description":"cdc模式,只有组合任务使用","enum":["xstream","logminer"],"example":"logminer","maxLength":10,"minLength":4,"type":"string"},"config_file_content":{"description":"- 用户认证文件内容,config_file_name对应的文件内容BASE64编码\n- 数据源为MRSHIVE、MRSHDFS、MRSHBASE、MRSKAFKA、FIHDFS、FIHIVE、FIKAFKA类型时配置","example":"xxxxxxxxxxxxxxxxxxxxx","maxLength":256,"minLength":0,"type":"string"},"config_file_name":{"description":"- 用户认证文件,文件获取方式参考《ROMA Connect API参考》的“附录>获取数据源配置文件”章节\n- 将获取到的文件打包成zip文件,文件名配置在config_file_name中,内容以BASE64编码形式放到config_file_content。\n- 数据源为MRSHIVE、MRSHDFS、MRSHBASE、MRSKAFKA、FIHDFS、FIHIVE、FIKAFKA类型时配置","example":"cyd_mrshive.zip","maxLength":256,"minLength":0,"type":"string"},"connection_instance_id":{"description":"连接器实例ID,连接器发布后对应的实例ID","example":"20ceec02-1773-4054-8e5b-3819117d6c1c","maxLength":256,"minLength":0,"type":"string"},"connector_params":{"description":"连接器对应的数据源参数,值按实际填写","example":"{ \"host\": \"**.**.**.**\", \"port\": \"25\", \"protocol\": \"smtp\", \"userName\": \"root\", \"password\": \"******\" }","maxLength":256,"minLength":0,"type":"object"},"database_name":{"description":"数据库名称\n- 数据源为DWS、HANA、RABBITMQ、SAP、SNMP、IBMMQ,obs类型时需要配置,\n- 数据源为MYSQL、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ARTEMISMQ、POSTGRESQL、HIVE类型且mode为default时需要配置,\n- 数据源为ORACLE类型且mode为(default、multiAddress)时需要配置","example":"testfdi","maxLength":2147483647,"minLength":4,"type":"string"},"dis_data_type":{"description":"DIS数据类别\n- JSON","enum":["JSON"],"example":"JSON","maxLength":256,"minLength":0,"type":"string"},"dis_endpoint":{"description":"DIS Endpoint,当setting_type为senior时填写","example":"https://92.168.0.53","maxLength":256,"minLength":0,"type":"string"},"dis_region":{"description":"DIS Region,当setting_type为senior时填写","example":"cn-north-7","maxLength":256,"minLength":0,"type":"string"},"dis_setting_type":{"description":"DIS配置类别\n- senior (高级)\n- basic (基础)","enum":["basic","senior"],"example":"basic","maxLength":256,"minLength":0,"type":"string"},"dis_source_project_id":{"description":"DIS源端项目id,当setting_type为senior时填写","example":"c53626012ba84727b938ca8bf03108ef","maxLength":256,"minLength":0,"type":"string"},"dis_tunnel_name":{"description":"DIS通道名称","example":"abcdefg","maxLength":256,"minLength":0,"type":"string"},"encoding":{"description":"编码格式\n- 数据源为GAUSS200、GAUSS100、POSTGRESQL类型时配置\"big5\",\n- 数据源为MYSQL、TAURUS类型且mode为default时配置","enum":["big5","dec8","cp850","hp8","koi8r","latin1","latin2","swe7","ascii","ujis","sjis","hebrew","tis620","koi8u","gb2312","greek","cp1250","gbk","latin5","armscii8","utf8","ucs2","cp866","keybcs2","macce","macroman","cp852","latin7","utf8mb4","cp1251","utf16","utf16le","cp1256","cp1257","utf32","binary","geostd8","cp932","eucjpms","gb18030"],"example":"big5","maxLength":10,"minLength":0,"type":"string"},"ftp_connect_mode":{"description":"访问FTP服务的连接模式\n- active (主动模式)\n- passive (被动模式)","enum":["active","passive"],"example":"active","maxLength":2147483647,"minLength":4,"type":"string"},"ftp_protocol":{"description":"访问FTP服务协议类型\n- sftp\n- ftp","enum":["sftp","ftp"],"example":"ftp","maxLength":2147483647,"minLength":4,"type":"string"},"gauss100_version":{"description":"gauss100的版本号\n- V100R003C20\n- V300R001C00","enum":["V100R003C20","V300R001C00"],"example":"V100R003C20","maxLength":64,"minLength":1,"type":"string"},"hdfs_path":{"description":"HDFS URL\n- 数据源为MRSHIVE、MRSHDFS、FIHDFS、FIHIVE类型时配置\n- fihadfs (/fdi/autotest)","example":"hdfs:///hacluster","maxLength":256,"minLength":0,"type":"string"},"hl7_position":{"description":"HL7数据源方向\n- source (源端)\n- target (目标端)","enum":["source","target"],"example":"source","maxLength":256,"minLength":0,"type":"string"},"hl7_whitelist":{"description":"HL7白名单\n- 允许同步数据到源端HL7的服务器地址,当HL7为源端(position为source)并且开启白名单设置(open_whitelist为true)时填写","maxLength":256,"minLength":0,"type":"string"},"hl7_whitelist_enable":{"description":"HL7是否开启白名单设置","example":false,"maxLength":256,"minLength":0,"type":"boolean"},"host":{"description":"主机IP地址\n- 数据源为DWS、HANA、RABBITMQ、SAP、SNMP、IBMMQ类型时需要配置。\n- 数据源为MYSQL、ORACLE、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ARTEMISMQ、POSTGRESQL、HIVE类型且mode为default时需要配置。\n- 数据源为HL7类型且作为目标端(position为target)时需要配置。\n- 初始值为空,配置任务启动后生成host","maxLength":255,"minLength":4,"type":"string"},"https":{"description":"是否使用https, 数据源为OBS时需要配置,一般默认使用","example":true,"maxLength":10,"minLength":0,"type":"boolean"},"ibmmq_ccs_id":{"description":"IBMMQ字符集标识","example":"819","maxLength":65535,"minLength":0,"type":"string"},"ibmmq_channel":{"description":"IBMMQ通道名称","example":"DEV.ADMIN.SVRCONN","maxLength":256,"minLength":0,"type":"string"},"ibmmq_cipher_suite":{"description":"IBMMQ密钥算法套件","example":"yyyyyyy","maxLength":256,"minLength":0,"type":"string"},"ibmmq_queue_manager":{"description":"IBMMQ队列管理器","example":"QM1","maxLength":256,"minLength":0,"type":"string"},"key_store":{"description":"私钥库文件内容,\n- 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置\n- 数据源类型HL7且为源端(position为source),并且开启SSL认证时需要配置","maxLength":1024,"minLength":0,"type":"string"},"key_store_file_type":{"description":"私钥库文件类型\n- 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置","enum":["ks","jks"],"example":"jks","maxLength":10,"minLength":0,"type":"string"},"key_store_key_password":{"description":"私钥库私钥密码\n- 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置\n- 数据源为HL7类型,为源端(position为source)并且开启SSL认证时需要配置","example":"ABC","maxLength":256,"minLength":0,"type":"string"},"key_store_password":{"description":"私钥库密码\n- 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置\n- 数据源为HL7类型,为源端(position为source)并且开启SSL认证时需要配置","example":"abcdefghijl","maxLength":256,"minLength":0,"type":"string"},"ldap_security_auth_type":{"description":"LDAP安全认证类型","enum":["no","simple"],"example":"no","maxLength":256,"minLength":0,"type":"string"},"mode":{"description":"数据源连接模式\n- 数据源为DWS、MONGODB、REDIS、HANA时配置默认,\n- 数据源为MYSQL、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、POSTGRESQL、HIVE时配置(default,professional),\n- 数据源为ORACLE时配置专有的模式multiAddress\n- default (默认模式)\n- professional (专业模式)\n- multiAddress (多地址)","enum":["default","professional","multiAddress"],"example":"default","maxLength":255,"minLength":4,"type":"string"},"mongodb_auth_source":{"description":"MONGODB认证源","example":"admin","maxLength":60,"minLength":0,"type":"string"},"mongodb_cluster_enable":{"description":"MONGODB集群模式\n- true (集群模式)\n- false (非集群模式)","example":false,"maxLength":256,"minLength":0,"type":"boolean"},"mongodb_replica_set":{"description":"MONGODB副本集\n当MONGODB为非集群模式时配置","example":"test","maxLength":256,"minLength":0,"type":"string"},"multi_oracle_address":{"description":"ORACLE集群地址,当mode为multiAddress时需要配置","items":{"$ref":"#/definitions/MultiOracleAddress"},"maxItems":100,"minItems":1,"type":"array"},"mysql_timeout":{"description":"MYSQL连接超时时间(秒)","example":1,"format":"int32","maximum":20000,"minimum":1,"type":"integer"},"oracle_service_name":{"description":"ORACLE集群服务名","example":"XE","maxLength":64,"minLength":4,"type":"string"},"password":{"description":"访问服务的密码\n- 数据源为MYSQL、DWS、FTP、ORACLE、MONGODB、HANA、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ACTIVEMQ、ARTEMISMQ、POSTGRESQL、RABBITMQ、SAP、IBMMQ、HIVE类型时需要配置\n- 数据源为WEBSOCKET,且认证方式(basicauth)时需要配置\n- 数据源为LDAP,且安全认证类型(security_auth_type)为simple时需要配置","example":"123456","maxLength":2147483647,"minLength":4,"type":"string"},"port":{"description":"端口,端口号为0到65535\n- 数据源为DWS、HANA、RABBITMQ、SAP、SNMP、IBMMQ,obs类型时需要配置,\n- 数据源为MYSQL、ORACLE、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ARTEMISMQ、POSTGRESQL、HIVE类型且mode为default时需要配置,\n- 数据源为HL7类型且作为目标端(position为target)时需要配置","example":"3306","maxLength":65535,"minLength":1,"type":"string"},"principal_name":{"description":"机机交互用户名\n- 数据源为MRSHIVE、MRSHDFS、MRSHBASE、MRSKAFKA、FIHDFS、FIHIVE、FIKAFKA类型时配置","example":"mrsjj","maxLength":256,"minLength":0,"type":"string"},"rabbitmq_ssl_protocol":{"description":"RABBITMQ SSL认证协议\n- TLS","enum":["TLS"],"example":"TLS","maxLength":10,"minLength":0,"type":"string"},"rabbitmq_virtual_host":{"description":"RABBITMQ虚拟主机","maxLength":256,"minLength":0,"type":"string"},"redis_database":{"description":"REDIS数据源类型配置,数据库编号, 纯数字编码","example":"123456","maxLength":1000,"minLength":1,"type":"string"},"sap_client":{"description":"SAP客户端号","example":"456","maxLength":10,"minLength":0,"type":"string"},"sap_sysnr":{"description":"SAP实例编号","example":"123","maxLength":256,"minLength":0,"type":"string"},"sk":{"description":"Secret Access Key\n- 数据源为OBS,DIS类型时需要配置","maxLength":256,"minLength":0,"type":"string"},"snmp_community":{"description":"SNMP团体名,用于访问SNMP管理代理的身份认证,相当于访问密码","example":"test","maxLength":256,"minLength":0,"type":"string"},"snmp_network_protocol":{"description":"SNMP网络协议\n- udp\n- tcp","enum":["udp","tcp"],"example":"udp","maxLength":10,"minLength":0,"type":"string"},"snmp_version":{"description":"SNMP版本号","enum":["0","1","3"],"example":"0","format":"int32","maximum":3,"minimum":0,"type":"integer"},"ssl":{"description":"是否开启SSL认证\n- 连接MQS内网地址时,若MQS开启了SSL,请选择“是”","example":true,"type":"boolean"},"ssl_auth_method":{"description":"数据源类型为ACTIVEMQ、ARTEMISMQ且开启SSL认证时需要配置\n- one-way (单向认证)\n- two-way (双向认证)","enum":["one-way","two-way"],"example":"one-way","maxLength":10,"minLength":0,"type":"string"},"ssl_enable":{"description":"是否开启SSL认证\n- 数据源为KAFKA时需要配置,连接MQS内网地址时,若MQS同时开启了SSL与VPC内网明文访问,请选择“否”\n- 数据源为ARTEMISMQ、ACTIVEMQ、RABBITMQ、IBMMQ时需要配置,\n- 数据源为HL7时且作为源端时需要配置","example":true,"maxLength":10,"minLength":0,"type":"boolean"},"ssl_password":{"description":"SSL密码/应用Secret\n- 数据源为KAFKA且开启SSL认证时需要配置","maxLength":256,"minLength":0,"type":"string"},"ssl_username":{"description":"SSL用户名/应用Key\n- 数据源为KAFKA且开启SSL认证时需要配置","example":"126715a2-8862-4e38-b353-668a20bf2261","maxLength":256,"minLength":0,"type":"string"},"trust_store":{"description":"- 数据源类型为ACTIVEMQ、ARTEMISMQ、RABBITMQ、IBMMQ且开启SSL认证时需要配置,公钥库密码\n- 数据源类型为HL7且为目标端(position为target),并且开启SSL认证时需要配置,公钥库密码","maxLength":1024,"minLength":0,"type":"string"},"trust_store_file_type":{"description":"- 数据源类型为ACTIVEMQ、ARTEMISMQ、RABBITMQ、IBMMQ且开启SSL认证时需要配置,公钥库密码\n- 数据源类型为HL7且为目标端(position为target),并且开启SSL认证时需要配置,公钥库密码","enum":["jks","ts"],"example":"jks","maxLength":10,"minLength":0,"type":"string"},"trust_store_password":{"description":"公钥库密码\n- 数据源类型为ACTIVEMQ、ARTEMISMQ、RABBITMQ、IBMMQ且开启SSL认证时需要配置\n- 数据源类为HL7且HL7为目标端(position为target)时,并且开启SSL认证时需要配置","example":"test","maxLength":256,"minLength":0,"type":"string"},"url":{"description":"连接字符串,访问url\n- 数据源为API、LDAP、WEBSOCKE类型时需要配置,\n- 数据源为MYSQL、ORACLE、DB2、GAUSS200、GAUSS100、TAURUS、POSTGRESQL,且mode配置为professional专业时需要配置","example":"https://8af8c5285f724203ac676134dfca1716.apic.cn-north-7.huaweicloudapis.com/testvmall","maxLength":256,"minLength":0,"type":"string"},"user_name":{"description":"访问服务的用户名\n- 数据源为MYSQL、DWS、FTP、ORACLE、MONGODB、HANA、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ACTIVEMQ、ARTEMISMQ、POSTGRESQL、RABBITMQ、SAP、IBMMQ、HIVE类型时需要配置\n- 数据源为WEBSOCKET类型,认证方式(basicauth)时需要配置\n- 数据源为LDAP,安全认证类型(security_auth_type)为simple时需要配置","example":"fditest","maxLength":2147483647,"minLength":4,"type":"string"}}},"DataSourceRsp":{"description":"数据源","properties":{"app_id":{"description":"数据源所属应用ID","example":"9dbd2cd2-9622-4a1b-ad47-31018cf44cbd","maxLength":255,"minLength":4,"type":"string"},"app_name":{"description":"数据源所属应用名称","example":"app-fdi-autotest-noOperation","maxLength":255,"minLength":4,"type":"string"},"app_permission":{"description":"集成应用权限信息\n- read (读权限)\n- access (调用权限)\n- delete (删除权限)\n- modify (修改权限)","example":["read","access","delete","modify"],"items":{"enum":["read","access","delete","modify"],"type":"string"},"maxItems":4,"minItems":0,"type":"array"},"content":{"$ref":"#/definitions/Content","description":"数据源详细信息"},"create_time":{"description":"数据源创建时间","example":1602206622829,"format":"int64","maximum":99999999999999999,"minimum":0,"type":"integer"},"custom_plugin_id":{"description":"数据源所属连接器Id","example":"299ae55f-c97f-41ef-8989-0689f0e97572","maxLength":64,"minLength":0,"type":"string"},"datasource_id":{"description":"数据源ID","example":"acb3b4049bb643e39ca12a87a735b34d","maxLength":64,"minLength":4,"type":"string"},"datasource_name":{"description":"数据源名称","example":"fdi_ds_y3k674","maxLength":255,"minLength":4,"type":"string"},"datasource_type":{"description":"数据源类型\n- DWS\n- MYSQL\n- KAFKA\n- API\n- OBS\n- SAP\n- MRSHBASE\n- MRSHDFS\n- MRSHIVE\n- WEBSOCKET\n- SQLSERVER\n- ORACLE\n- POSTGRESQL\n- REDIS\n- MONGODB\n- DIS\n- HL7\n- RABBITMQ\n- SNMP\n- IBMMQ\n- CUSTOMIZED (自定义类型)\n- ACTIVEMQ\n- ARTEMISMQ\n- FTP\n- HIVE\n- HANA\n- FIKAFKA\n- MRSKAFKA\n- FIHDFS\n- FIHIVE\n- GAUSS200\n- GAUSS100\n- LDAP\n- DB2\n- TAURUS","enum":["DWS","MYSQL","KAFKA","API","OBS","SAP","MRSHBASE","MRSHDFS","MRSHIVE","WEBSOCKET","SQLSERVER","ORACLE","POSTGRESQL","REDIS","MONGODB","DIS","HL7","RABBITMQ","SNMP","IBMMQ","CUSTOMIZED","ACTIVEMQ","ARTEMISMQ","FTP","HIVE","HANA","FIKAFKA","MRSKAFKA","FIHDFS","FIHIVE","GAUSS200","GAUSS100","LDAP","DB2","TAURUS"],"example":"MYSQL","maxLength":32,"minLength":1,"type":"string"},"description":{"description":"数据源描述","example":"fdi_auto_test","maxLength":2147483647,"minLength":4,"type":"string"},"instance_id":{"description":"数据源所属实例Id","example":"fae7ff6c-8e07-4cf8-9e67-589cab2f017c","maxLength":255,"minLength":4,"type":"string"},"update_time":{"description":"数据源修改时间","example":1605119892050,"format":"int64","maximum":99999999999999999,"minimum":0,"type":"integer"},"vpc_id":{"description":"数据源所属虚拟私有云VpcId","example":"456a0f01-c250-49db-a401-d1b28ada1dbc","maxLength":64,"minLength":4,"type":"string"}}},"DatasourceInfo":{"description":"数据源","properties":{"app_id":{"description":"数据源所属应用ID","example":"9dbd2cd2-9622-4a1b-ad47-31018cf44cbd","maxLength":255,"minLength":4,"type":"string"},"content":{"$ref":"#/definitions/Content","description":"数据源详细信息"},"datasource_name":{"description":"数据源名称,数据源名称不能包含&、<、>、\"、'、(、) ,长度为1~255字符","example":"fdi_ds_268na8","maxLength":255,"minLength":4,"type":"string"},"datasource_type":{"description":"数据源类型\n- DWS\n- MYSQL\n- KAFKA\n- API\n- OBS\n- SAP\n- MRSHBASE\n- MRSHDFS\n- MRSHIVE\n- WEBSOCKET\n- SQLSERVER\n- ORACLE\n- POSTGRESQL\n- REDIS\n- MONGODB\n- DIS\n- HL7\n- RABBITMQ\n- SNMP\n- IBMMQ\n- CUSTOMIZED (自定义类型)\n- ACTIVEMQ\n- ARTEMISMQ\n- FTP\n- HIVE\n- HANA\n- FIKAFKA\n- MRSKAFKA\n- FIHDFS\n- FIHIVE\n- GAUSS200\n- GAUSS100\n- LDAP\n- DB2\n- TAURUS","enum":["DWS","MYSQL","KAFKA","API","OBS","SAP","MRSHBASE","MRSHDFS","MRSHIVE","WEBSOCKET","SQLSERVER","ORACLE","POSTGRESQL","REDIS","MONGODB","DIS","HL7","RABBITMQ","SNMP","IBMMQ","CUSTOMIZED","ACTIVEMQ","ARTEMISMQ","FTP","HIVE","HANA","FIKAFKA","MRSKAFKA","FIHDFS","FIHIVE","GAUSS200","GAUSS100","LDAP","DB2","TAURUS"],"example":"DWS","maxLength":32,"minLength":4,"type":"string"},"description":{"description":"数据源描述","example":"create datesource","maxLength":1024,"minLength":4,"type":"string"}},"required":["datasource_name","datasource_type","app_id","content"],"type":"object"},"ErrorRsp":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","example":"FDI.xxxx","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","example":"Failed to xxxx.","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"]},"MultiOracleAddress":{"description":"ORACLE集群地址","properties":{"oracle_address":{"description":"ORACLE地址","example":"**.**.**.**","maxLength":30,"minLength":1,"type":"string"},"oracle_port":{"description":"ORACLE端口","example":"1521","maxLength":10,"minLength":1,"type":"string"}}}},"description":null,"group_id":"025d125ee4da4956af037c3315e94b30","host":"roma.cn-north-4.myhuaweicloud.com","id":"b50fb8facdd24a0ba03b543046d2d470","info_version":"v2","method":"post","name":"CreateDatasourceInfo","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}/datasources":{"post":{"description":"创建数据源","operationId":"CreateDatasourceInfo","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/instance_id"},{"description":"DatasourceInfo object that needs to be created","in":"body","name":"CreateDatasourceInfoRequestBody","required":true,"schema":{"$ref":"#/definitions/DatasourceInfo"}}],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/DataSourceRsp"}},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/ErrorRsp"}},"500":{"description":"Internal Server Error","schema":{"$ref":"#/definitions/ErrorRsp500"}}},"summary":"创建数据源","tags":["数据源管理"],"x-apigateway-request-type":"public","x-is-registered":"Y","x-request-examples-1":{"app_id":"9dbd2cd2-9622-4a1b-ad47-31018cf44cbd","content":{"database_name":"testfdi","host":"**.**.**.**","mode":"default","password":"******","port":"3306","user_name":"fditest"},"datasource_name":"fdi_ds_y3k674","datasource_type":"MYSQL","description":"testtesttest"},"x-request-examples-2":{"app_id":"9dbd2cd2-9622-4a1b-ad47-31018cf44cbd","content":{"connect_mode":"active","host":"**.**.**.**","password":"******","port":"21","protocol":"ftp","user_name":"ftpuser"},"datasource_name":"fdi_ds_v2frp","datasource_type":"FTP","description":"testtesttest"},"x-request-examples-3":{"app_id":"9dbd2cd2-9622-4a1b-ad47-31018cf44cbd","content":{"ApiAuthDetail":{"auth_method":"none"},"api_method":"GET","url":"http%3A%2F%2FVM6_ip%3A1080%2F0928njapi"},"datasource_name":"fdi_ds_api_v2","datasource_type":"API","description":"testAPI"},"x-support-sdk":"Y"}}},"product_short":"ROMA","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"创建数据源","tags":"数据源管理","uri":null,"version":"2.0"}