检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
build(); ShowPublicipPoolRequest request = new ShowPublicipPoolRequest(); request.withPublicipPoolId("{publicip_pool_id}");
响应参数 状态码: 200 表2 响应Header参数 参数 参数类型 描述 X-Request-Id String 本次请求编号 表3 响应Body参数 参数 参数类型 描述 request_id String 本次请求的编号 total_count Integer 当前列表中资源数量。
响应参数 状态码: 201 表3 响应Header参数 参数 参数类型 描述 X-Request-Id String 本次请求编号 表4 响应Body参数 参数 参数类型 描述 request_id String 本次请求的编号 user_disclaimer_record C
build() try: request = ListTenantVpcIgwsRequest() response = client.list_tenant_vpc_igws(request) print(response)
响应参数 状态码: 200 表4 响应Header参数 参数 参数类型 描述 X-Request-Id String 本次请求编号 表5 响应Body参数 参数 参数类型 描述 request_id String 本次请求的编号 user_disclaimer_record S
https://{Endpoint}/v1/{project_id}/publicips”,project_id为项目ID。 在Request Header中增加“X-Auth-Token”。 在Request Body中传入参数如下: { "publicip": {
最大长度:255 响应参数 状态码: 201 表4 响应Header参数 参数 参数类型 描述 X-Request-Id String 本次请求编号 表5 响应Body参数 参数 参数类型 描述 request_id String 本次请求的编号 total_count Integer 当前列表中资源数量。
device_id String 功能说明:端口所属设备ID 约束:不支持设置和更新,由系统自动维护 最小长度:0 最大长度:36 device_owner String 功能说明:设备所属 取值范围:合法设备所属 network:dhcp network:VIP_PORT ne
响应参数 状态码: 200 表2 响应Header参数 参数 参数类型 描述 X-Request-Id String 本次请求编号 表3 响应Body参数 参数 参数类型 描述 request_id String 本次请求的编号 total_count Integer 当前列表中资源数量。
响应参数 状态码: 200 表4 响应Header参数 参数 参数类型 描述 X-Request-Id String 本次请求编号 表5 响应Body参数 参数 参数类型 描述 request_id String 本次请求的编号 internet_bandwidth CountInternetBandwidths
最大长度:255 响应参数 状态码: 200 表4 响应Header参数 参数 参数类型 描述 X-Request-Id String 本次请求编号 表5 响应Body参数 参数 参数类型 描述 request_id String 本次请求的编号 total_count Integer 当前列表中资源数量。
V3的POST操作正常返回 204 No Content DELETE操作正常返回 表2 异常返回值 返回值 说明 400 Bad Request 服务器未能处理请求。 401 Unauthorized 被请求的页面需要用户名和密码。 403 Forbidden 对被请求页面的访问被禁止。
响应参数 状态码: 200 表3 响应Header参数 参数 参数类型 描述 X-Request-Id String 本次请求编号 表4 响应Body参数 参数 参数类型 描述 request_id String 本次请求的编号 tags Array of Tag objects
try: request = ListShareBandwidthTypesRequest() response = client.list_share_bandwidth_types(request) print(response)
build(); AttachShareBandwidthRequest request = new AttachShareBandwidthRequest(); request.withPublicipId("{publicip_id}");
build(); DetachShareBandwidthRequest request = new DetachShareBandwidthRequest(); request.withPublicipId("{publicip_id}");
响应参数 状态码: 200 表3 响应Header参数 参数 参数类型 描述 X-Request-Id String 本次请求编号 表4 响应Body参数 参数 参数类型 描述 request_id String 本次请求的编号 tags Array of Tag objects
/v1/{project_id}/publicips/{publicip_id}”,project_id为项目ID。 在Request Header中增加“X-Auth-Token”。 Request Body中传入参数如下: { "publicip": {
request = ShowPublicipRequest() request.publicip_id = "{publicip_id}" response = client.show_publicip(request)
build() try: request = ListEipBandwidthsRequest() response = client.list_eip_bandwidths(request) print(response)