检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
最小长度:1 最大长度:10240 响应参数 无 请求示例 DELETE https://{Endpoint}/v2/d199ba7e0ba64899b2e81518104b1526d/nat_gateways/f4dfea98-874a-46f7-aa2a-fb348d0ceb02
7bb9073ded66fc/nat_gateways/fe1a4cf0-27fe-4b97-a9b1-2c67c127f0e0/tags 响应示例 状态码: 200 查询操作成功。 { "tags" : [ { "key" : "key1", "value"
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
https://{Endpoint}/v2/d199ba7e0ba64899b2e81518104b1526/dnat_rules { "dnat_rule" : { "nat_gateway_id" : "cda3a125-2406-456c-a11f-598e10578541", "floating_ip_id"
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
d199ba7e0ba64899b2e81518104b1526/dnat_rules/batch { "dnat_rules" : [ { "floating_ip_id" : "bf99c679-9f41-4dac-8513-9c9228e713e1",
fd8/private-nat/snat-rules/8a522ff9-8158-494b-83cd-533b045700e6 响应示例 无 状态码 状态码 描述 204 删除SNAT规则成功。 错误码 请参见错误码。 父主题: SNAT规则
3ded66fc/nat_gateways/fe1a4cf0-27fe-4b97-a9b1-2c67c127f0e0/tags/key1 响应示例 无 状态码 状态码 描述 204 删除操作成功。 错误码 请参见错误码。 父主题: 公网NAT网关标签
"bf99c679-9f41-4dac-8513-9c9228e713e1", "status": "ACTIVE", "nat_gateway_id": "cda3a125-2406-456c-a11f-598e10578541",
"bf99c679-9f41-4dac-8513-9c9228e713e1", "status": "ACTIVE", "nat_gateway_id": "cda3a125-2406-456c-a11f-598e10578541",
"id": "e824f1b4-4290-4ebc-8322-cfff370dbd1e", "name": "lyl001" } ] } 状态码 请参考状态码。 父主题: 公网NAT网关
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) SNAT规则更新的请求体。
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
0-27fe-4b97-a9b1-2c67c127f0e0/tags { "tag" : { "key" : "key1", "value" : "value1" } } 响应示例 无 状态码 状态码 描述 204 添加操作成功。 错误码 请参见错误码。