应用与数据集成平台 ROMA Connect-项目下批量修改VPC通道:响应示例

时间:2025-02-12 14:55:39

响应示例

状态码: 200

OK

{  "project_vpc_channels" : [ {    "balance_strategy" : 1,    "member_type" : "ip",    "name" : "VPC_demo",    "port" : 22,    "type" : 2,    "vpc_health_config" : {      "http_code" : "200",      "path" : "/vpc/demo",      "port" : 22,      "protocol" : "http",      "threshold_abnormal" : 5,      "threshold_normal" : 2,      "time_interval" : 10,      "timeout" : 5,      "enable_client_ssl" : false    },    "member_groups" : [ {      "member_group_id" : "c1ce135c705c4066853a0460b318fe16",      "member_group_name" : "test",      "member_group_weight" : 1,      "member_group_remark" : "remark",      "create_time" : "2020-07-23T07:11:57.244829604Z",      "update_time" : "2020-07-23T07:11:57.244829604Z"    }, {      "member_group_id" : "c1ce135c705c4066853a0460b318fe17",      "member_group_name" : "default",      "member_group_weight" : 2,      "member_group_remark" : "remark",      "create_time" : "2020-07-23T07:11:57.244829604Z",      "update_time" : "2020-07-23T07:11:57.244829604Z"    } ],    "instance_id" : "eea73cde015940908ae0117d67bf7330",    "instance_name" : "test1"  }, {    "balance_strategy" : 1,    "member_type" : "ip",    "name" : "VPC_demo",    "port" : 22,    "type" : 2,    "vpc_health_config" : {      "http_code" : "200",      "path" : "/vpc/demo",      "port" : 22,      "protocol" : "http",      "threshold_abnormal" : 5,      "threshold_normal" : 2,      "time_interval" : 10,      "timeout" : 5,      "enable_client_ssl" : false    },    "member_groups" : [ {      "create_time" : "2021-08-30T14:02:25Z",      "member_group_id" : "ec79066c6f6f462e91ff3f17f0e43f2a",      "member_group_name" : "test",      "member_group_remark" : "",      "member_group_weight" : 1,      "update_time" : "2021-08-30T14:02:25Z"    }, {      "create_time" : "2021-08-04T06:03:47Z",      "member_group_id" : "5b26a82cd18547f3ada54b3cfa641df9",      "member_group_name" : "default",      "member_group_remark" : "",      "member_group_weight" : 1,      "update_time" : "2021-08-04T06:03:47Z"    } ],    "instance_id" : "ddd73cde017890908ae0117d67bf7330",    "instance_name" : "test2"  } ]}

状态码: 400

Bad Request

{  "error_code" : "APIG.2011",  "error_msg" : "The request parameters must be specified,parameterName:name. Please refer to the support documentation"}

状态码: 401

Unauthorized

{  "error_code" : "APIG.1002",  "error_msg" : "Incorrect token or token resolution failed"}

状态码: 403

Forbidden

{  "error_code" : "APIG.1005",  "error_msg" : "No permissions to request this method"}

状态码: 500

Internal Server Error

{  "error_code" : "APIG.9999",  "error_msg" : "System error"}
support.huaweicloud.com/api-roma/UpdateProjectVpcChannel.html