查询指定ELB实例的特性配置
功能介绍
查询指定ELB实例的特性配置情况。
调用方法
请参见如何调用API。
URI
GET /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/features
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
project_id |
是 |
String |
租户ID。 |
loadbalancer_id |
是 |
String |
ELB实例ID。 |
请求参数
无
响应参数
状态码: 200
参数 |
参数类型 |
描述 |
---|---|---|
features |
Array of LoadbalancerFeature objects |
参数解释:ELB实例特性信息列表。 |
request_id |
String |
参数解释:请求ID。 注:自动生成 。 |
请求示例
https://elb.cn-southwest-242.myhuaweicloud.com/v3/0c1503d710984bad92306faea3654dfd/elb/loadbalancers/6c9ddefb-c0c2-40fb-9505-0b4c81fac234/features
响应示例
状态码: 200
查询成功
{ "features" : [ { "feature" : "update_elastic_flavor", "value" : "true", "type" : "BOOL" }, { "feature" : "tcpssl", "value" : "true", "type" : "BOOL" }, { "feature" : "dnat_forward_mode_enable", "value" : "true", "type" : "BOOL" }, { "feature" : "upgrade_l4_resource_package", "value" : "false", "type" : "BOOL" }, { "feature" : "upgrade_l7_resource_package", "value" : "false", "type" : "BOOL" }, { "feature" : "l7policy_cors", "value" : "true", "type" : "BOOL" }, { "feature" : "l7policy_traffic_limit", "value" : "true", "type" : "BOOL" }, { "feature" : "listener_qos", "value" : "true", "type" : "BOOL" }, { "feature" : "l7_traffic_mirror", "value" : "true", "type" : "BOOL" }, { "feature" : "traffic_mirror_enable", "value" : "true", "type" : "BOOL" }, { "feature" : "nat64_enable", "value" : "true", "type" : "BOOL" }, { "feature" : "multi_eip", "value" : "true", "type" : "BOOL" }, { "feature" : "multi_vip", "value" : "true", "type" : "BOOL" } ], "request_id" : "d8e8d908-1f54-46da-b254-45203bc1115d" }
状态码
状态码 |
描述 |
---|---|
200 |
查询成功 |
错误码
请参见错误码。