检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
时,需要使用同一个Token鉴权时,可以先将Token缓存,避免频繁调用。 操作步骤 通过云服务器的ID查询网卡信息。 发送“GET https://VPC的Endpoint/v1/{project_id}/ports?device_id={ecs_id}”,project_id为项目ID。
通过IAM服务获取到的Token有效期为24小时,需要使用同一个Token鉴权时,可以先将Token缓存,避免频繁调用。 操作步骤 创建IPv6虚拟IP。 发送“POST https://VPC的Endpoint/v2.0/ports”。 在Request Header中增加“X-Auth-Token”。 在Request
firewall_policy_id 是 String 网络ACL策略唯一标识,按照firewall_policy_id查询 请求参数 无 请求示例 GET https://{Endpoint}/v2.0/fwaas/firewall_policies/fed2d88f-d0e7-4cc5-bd7e-c495f67037b6
由英文字母、数字、下划线、点、中划线、中文字符组成。 请求示例 创建一条子网资源标签,key为key1,value为value1。 POST https://{Endpoint}/v2.0/{project_id}/subnets/{subnet_id}/tags { "tag":
过滤查询子网资源实例,action为filter,从第1条数据开始查询,单次查询最多返回100条,用matches和tags过滤查询。 POST https://{Endpoint}/v2.0/{project_id}/subnets/resource_instances/action {
0-acc8-f2374f8187ff,子网id为4b910a10-0860-428b-b463-d84dbc5e288e。 PUT https://{Endpoint}/v2.0/routers/b625c58c-0cfe-49e0-acc8-f2374f8187ff/remove_router_interface
error_msg String 错误消息。 error_code String 错误码。 请求示例 删除网络ACL资源标签。 DELETE https://{Endpoint}/v3/{project_id}/firewalls/{firewall_id}/tags/{tag_key}
参数说明请参见表1。 表1 参数说明 名称 是否必选 说明 project_id 是 项目ID,请参见获取项目ID。 请求参数 无 请求示例 GET https://{Endpoint}/v2.0/{project_id}/subnets/tags 响应参数 表2 响应参数 参数名称 类型 说明
过滤查询VPC资源实例,action为filter,从第1条数据开始查询,单次查询最多返回100条,用matches和tags过滤查询。 POST https://{Endpoint}/v2.0/{project_id}/vpcs/resource_instances/action {
GET https://{Endpoint}/v2.0/networks?limit=2&marker=3d42a0d4-a980-4613-ae76-a2cddecff054&page_reverse=False page_reverse为True GET https://{Endpoint}/v2
创建ACL策略,命名为test-policy,关联ACL规则b8243448-cb3c-496e-851c-dadade4c161b。 POST https://{Endpoint}/v2.0/fwaas/firewall_policies { "firewall_policy":
4feb8330341的ACL策略中移除ACL规则0f82b221-8cd6-44bd-9dfc-0e118fa7b6b1。 PUT https://{Endpoint}/v2.0/fwaas/firewall_policies/afc52ce9-5305-4ec9-9feb-4
error_code String 错误码。 请求示例 批量删除网络ACL标签,标签key为keyxxx,value为value1。 POST https://{Endpoint}/v3/{project_id}/firewalls/{firewall_id}/tags/delete {
参数类型 说明 peering_id 是 String 对等连接的唯一标识,按照peering_id查询 请求参数 无 请求示例 GET https://{Endpoint}/v2.0/vpc/peerings/22b76469-08e3-4937-8c1d-7aad34892be1
您可以在API Explorer中调试该接口。 URI GET /v1/{project_id}/routetables 样例: GET https://{Endpoint}/v1/{project_id}/routetables?limit=10&marker=4779ab1c-7
2-baf9-2249c8ed1270,子网id为ab78be2d-782f-42a5-aa72-35879f6890ff。 PUT https://{Endpoint}/v2.0/routers/5b8e885c-1347-4ac2-baf9-2249c8ed1270/add_router_interface
错误消息。 error_code String 错误码。 请求示例 添加一条ACL标签,key为key4,value为value4。 POST https://{Endpoint}/v3/{project_id}/firewalls/{firewall_id}/tags { "tag"
请求返回的错误码 message String 请求返回的错误信息 最小长度:1 最大长度:999 请求示例 删除安全组资源标签 DELETE https://{Endpoint}/v2.0/{project_id}/security-groups/{security_group_id}/tags/{key}
firewall_rule_id 是 String 网络ACL规则唯一标识,按照firewall_rule_id查询 请求参数 无。 请求示例 GET https://{Endpoint}/v2.0/fwaas/firewall_rules/514e6776-162a-4b5d-ab8b-aa36b86655ef
firewall_group_id 是 String 网络ACL组唯一标识,按照fire_group_id查询 请求参数 无。 请求示例 GET https://{Endpoint}/v2.0/fwaas/firewall_groups/a504a4cf-9300-40e0-b2d4-649bd157c55a