应用与数据集成平台 ROMA CONNECT-查询项目下所有实例的VPC通道列表:响应示例

时间:2023-11-29 17:31:17

响应示例

状态码: 200

OK

{
  "total" : 2,
  "size" : 2,
  "project_vpc_channels" : [ {
    "member_type" : "ip",
    "balance_strategy" : 1,
    "create_time" : "2020-07-23T07:24:33Z",
    "port" : 8080,
    "name" : "channel 1",
    "id" : "105c6902457144a4820dff8b1ad63331",
    "type" : 1,
    "status" : 1,
    "instance_id" : "f0fa1789-3b76-433b-a787-9892951c620e",
    "instance_name" : "test"
  }, {
    "member_type" : "ip",
    "balance_strategy" : 2,
    "create_time" : "2020-07-23T07:11:57Z",
    "port" : 8088,
    "name" : "channel 2",
    "id" : "56a7d7358e1b42459c9d730d65b14e59",
    "type" : 2,
    "status" : 1,
    "instance_id" : "f0fa1789-3b76-433b-a787-9892951c620e",
    "instance_name" : "test"
  } ]
}

状态码: 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/ListProjectVpcChannelsV2.html