文档首页/ 弹性公网IP EIP/ CLI参考/ CLI命令参考(V3)
更新时间:2026-09-04 GMT+08:00

CLI命令参考(V3)

带宽

API名称

命令

描述

操作

查询带宽列表

hcloud EIP ListEipBandwidths/v3

查询带宽列表

去调试

查看租户带宽限制

hcloud EIP ListBandwidthsLimit/v3

获取EIP带宽限制列表

去调试

查询带宽列表

hcloud EIP ListBandwidth/v3

查询带宽列表

去调试

弹性公网IP

API名称

命令

描述

操作

共享带宽加入弹性公网IP

hcloud EIP AttachShareBandwidth/v3

共享带宽加入弹性公网IP

去调试

共享带宽批量加入弹性公网IP

hcloud EIP AttachBatchPublicIp/v3

共享带宽批量加入弹性公网IP

去调试

共享带宽移出弹性公网IP

hcloud EIP DetachShareBandwidth/v3

共享带宽移出弹性公网IP

去调试

共享带宽批量移出弹性公网IP

hcloud EIP DetachBatchPublicIp/v3

共享带宽批量移出弹性公网IP

去调试

弹性公网IP开启NAT64

hcloud EIP EnableNat64/v3

弹性公网IP开启NAT64

去调试

弹性公网IP关闭NAT64

hcloud EIP DisableNat64/v3

弹性公网IP关闭NAT64

去调试

查询弹性公网IP可用数

hcloud EIP CountEipAvailableResources/v3

IP池用于查询公网可用ip个数

去调试

全量查询弹性公网IP列表

hcloud EIP ListPublicips/v3

查询弹性公网IP列表信息

去调试

查询弹性公网IP详情

hcloud EIP ShowPublicip/v3

查询弹性公网IP详情

去调试

更新弹性公网IP

hcloud EIP UpdatePublicip/v3

更新弹性公网IP

去调试

解绑弹性公网IP

hcloud EIP DisassociatePublicips/v3

解绑弹性公网IP

去调试

绑定弹性公网IP

hcloud EIP AssociatePublicips/v3

绑定弹性公网IP

去调试

公共池

API名称

命令

描述

操作

查询公共池列表

hcloud EIP ListCommonPools/v3

查询公共池列表

去调试

查询公网IP池列表

hcloud EIP ListPublicipPool/v3

全量查询公网IP池列表

去调试

查询公网IP池详情

hcloud EIP ShowPublicipPool/v3

查询公网IP池详情

去调试

更新公网IP池详情

hcloud EIP UpdatePublicipPool/v3

更新公网IP池详情。

去调试

共享带宽类型

API名称

命令

描述

操作

查询指定租户下的共享带宽类型列表

hcloud EIP ListShareBandwidthTypes/v3

查询指定租户下的共享带宽类型列表

去调试

带宽规则

API名称

命令

描述

操作

全量查询带宽规则列表

hcloud EIP ListBandwidthRule/v3

查询租户在指定带宽实例的所有带宽分组规则。

去调试

创建带宽分组规则

hcloud EIP CreateBandwidthRule/v3

创建带宽分组规则。

去调试

查询带宽规则

hcloud EIP ShowBandwidthRule/v3

查询在指定带宽实例下的带宽分组规则。

去调试

更新带宽分组规则

hcloud EIP UpdateBandwidthRule/v3

更新带宽分组规则对象。

去调试

删除带宽分组规则

hcloud EIP DeleteBandwidthRule/v3

删除在指定带宽实例的带宽规则。

去调试

虚拟igw

API名称

命令

描述

操作

查询指定租户下的虚拟igw列表

hcloud EIP ListTenantVpcIgws/v3

查询指定租户下的虚拟igw列表

去调试

创建虚拟igw

hcloud EIP CreateTenantVpcIgw/v3

创建虚拟igw

去调试

删除虚拟igw

hcloud EIP DeleteTenantVpcIgw/v3

删除虚拟igw

去调试

查询虚拟igw详情

hcloud EIP ShowInternalVpcIgw/v3

查询虚拟igw详情

去调试

修改虚拟igw

hcloud EIP UpdateTenantVpcIgw/v3

修改虚拟igw

去调试

GEIP与实例的绑定关系

API名称

命令

描述

操作

查询GEIP与实例绑定关系的租户列表

hcloud EIP ListProjectGeipBindings/v3

查询GEIP与实例绑定关系的租户列表

去调试