API网关 APIG-添加或更新后端实例:请求示例

时间:2024-11-11 18:22:29

请求示例

  • VPC通道添加后端服务器地址

    {
      "members" : [ {
        "host" : "192.168.2.25",
        "weight" : 1,
        "member_group_name" : "test"
      } ]
    }
  • VPC通道添加云服务器

    {
      "members" : [ {
        "ecs_id" : "1082720c-3c15-409c-9ae3-4983ddfb6a9d",
        "ecs_name" : "APIGtest02",
        "weight" : 2
      } ]
    }
support.huaweicloud.com/api-apig/AddingBackendInstancesV2.html