全域弹性公网IP支持绑定的Region限制 - ListSupportRegions
功能介绍
全域弹性公网IP支持绑定的Region限制
调试
您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。
授权信息
账号具备所有API的调用权限,如果使用账号下的IAM用户调用当前API,该IAM用户需具备调用API所需的权限。
- 如果使用角色与策略授权,具体权限要求请参见权限和授权项。
- 如果使用身份策略授权,当前API调用无需身份策略权限。
URI
GET /v3/{domain_id}/geip/support-regions
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
domain_id |
是 |
String |
最小长度:5 最大长度:32 |
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
limit |
否 |
Integer |
每页条数 最小值:0 最大值:2000 |
|
offset |
否 |
Integer |
分页查询起始的资源序号 |
|
marker |
否 |
String |
|
|
page_reverse |
否 |
Boolean |
|
|
fields |
否 |
Array of strings |
|
|
sort_key |
否 |
Array of strings |
按照sort_key指定的字段排序 |
|
sort_dir |
否 |
Array of strings |
|
|
id |
否 |
Array of strings |
根据ID过滤,支持多值查询,查询条件格式:id=xxx&id=xxx。 |
|
instance_type |
否 |
Array of strings |
根据实例类型过滤 |
|
public_border_group |
否 |
Array of strings |
|
|
access_site |
否 |
Array of strings |
根据接入点过滤,支持多值查询,查询条件格式:access_site=xxx&access_site=xxx。 |
|
region_id |
否 |
Array of strings |
根据region_id过滤 |
|
remote_endpoint |
否 |
Array of strings |
query by remote_endpoint |
|
status |
否 |
Array of strings |
根据资源状态过滤 |
请求参数
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
X-Auth-Token |
是 |
String |
用户的Token,如何获取用户Token请参见获取用户Token |
响应参数
状态码:200
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
X-Request-Id |
String |
本次请求编号 |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
request_id |
String |
本次请求的编号 |
|
support_regions |
Array of ListSupportRegions objects |
支持的Region对象 |
|
page_info |
page_info object |
分页页码信息 |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
id |
String |
全域弹性公网IP支持绑定的Region的ID |
|
instance_type |
String |
支持绑定的实例类型 |
|
access_site |
String |
接入点信息,具体接入点信息可通过查询接入点列表接口查询。 |
|
region_id |
String |
局点的id |
|
public_border_group |
String |
最小长度:1 最大长度:64 |
|
remote_endpoint |
String |
下一跳地址 |
|
status |
String |
状态 |
|
created_at |
String |
创建时间 |
|
updated_at |
String |
更新时间 |
请求示例
全域弹性公网IP支持绑定的Region限制
GET https://{Endpoint}/v3/{domain_id}/geip/support-regions
响应示例
状态码:200
OK
{
"request_id" : "d224afc0e7add65c715707dbadd3004a",
"support_regions" : [ {
"id" : "0eb4d1ce-c7f1-447d-85a2-dbe9c7c360a8",
"status" : "active",
"created_at" : "2023-04-17T07:41:50Z",
"updated_at" : "2023-07-08T03:22:07Z",
"instance_type" : "IPV6-PORT",
"region_id" : "cn-southwest-242",
"public_border_group" : "center",
"access_site" : "cn-south-odin",
"remote_endpoint" : "https://eip-internal.cn-southwest-242.myhuaweicloud.com"
}, {
"id" : "108f97b3-ab96-45bc-8c8e-1db586ed3752",
"status" : "active",
"created_at" : "2023-04-03T07:56:39Z",
"updated_at" : "2023-07-08T03:22:23Z",
"instance_type" : "ECS",
"region_id" : "cn-southwest-242",
"public_border_group" : "center",
"access_site" : "cn-south-odin",
"remote_endpoint" : "https://eip-internal.cn-southwest-242.myhuaweicloud.com"
} ],
"page_info" : {
"previous_marker" : "0eb4d1ce-c7f1-447d-85a2-dbe9c7c360a8",
"current_count" : 2
}
}
状态码
|
状态码 |
描述 |
|---|---|
|
200 |
OK |
错误码
请参见错误码。