
# CLI命令参考（V3）
#### 带宽
| API名称    | 命令                                | 描述          | 操作                                                                                                      |
|:---|:---|:---|:---|
| 查询带宽列表   | hcloud EIP ListEipBandwidths/v3   | 查询带宽列表      | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListEipBandwidths)   |
| 查看租户带宽限制 | hcloud EIP ListBandwidthsLimit/v3 | 获取EIP带宽限制列表 | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListBandwidthsLimit) |
| 查询带宽列表   | hcloud EIP ListBandwidth/v3       | 查询带宽列表      | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListBandwidth)       |
   
#### 弹性公网IP
| API名称          | 命令                                       | 描述              | 操作                                                                                                             |
|:---|:---|:---|:---|
| 共享带宽加入弹性公网IP   | hcloud EIP AttachShareBandwidth/v3       | 共享带宽加入弹性公网IP    | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=AttachShareBandwidth)       |
| 共享带宽批量加入弹性公网IP | hcloud EIP AttachBatchPublicIp/v3        | 共享带宽批量加入弹性公网IP  | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=AttachBatchPublicIp)        |
| 共享带宽移出弹性公网IP   | hcloud EIP DetachShareBandwidth/v3       | 共享带宽移出弹性公网IP    | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=DetachShareBandwidth)       |
| 共享带宽批量移出弹性公网IP | hcloud EIP DetachBatchPublicIp/v3        | 共享带宽批量移出弹性公网IP  | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=DetachBatchPublicIp)        |
| 弹性公网IP开启NAT64  | hcloud EIP EnableNat64/v3                | 弹性公网IP开启NAT64   | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=EnableNat64)                |
| 弹性公网IP关闭NAT64  | hcloud EIP DisableNat64/v3               | 弹性公网IP关闭NAT64   | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=DisableNat64)               |
| 查询弹性公网IP可用数    | hcloud EIP CountEipAvailableResources/v3 | IP池用于查询公网可用ip个数 | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=CountEipAvailableResources) |
| 全量查询弹性公网IP列表   | hcloud EIP ListPublicips/v3              | 查询弹性公网IP列表信息    | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListPublicips)              |
| 查询弹性公网IP详情     | hcloud EIP ShowPublicip/v3               | 查询弹性公网IP详情      | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ShowPublicip)               |
| 更新弹性公网IP       | hcloud EIP UpdatePublicip/v3             | 更新弹性公网IP        | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=UpdatePublicip)             |
| 解绑弹性公网IP       | hcloud EIP DisassociatePublicips/v3      | 解绑弹性公网IP        | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=DisassociatePublicips)      |
| 绑定弹性公网IP       | hcloud EIP AssociatePublicips/v3         | 绑定弹性公网IP        | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=AssociatePublicips)         |
   
#### 公共池
| API名称     | 命令                                  | 描述          | 操作                                                                                                        |
|:---|:---|:---|:---|
| 查询公共池列表   | hcloud EIP ListCommonPools/v3       | 查询公共池列表     | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListCommonPools)       |
| 查询公网IP池列表 | hcloud EIP ListPublicipPool/v3      | 全量查询公网IP池列表 | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListPublicipPool)      |
| 查询公网IP池类型 | hcloud EIP ShowPublicipPoolTypes/v3 | 查询公网IP池类型。  | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ShowPublicipPoolTypes) |
| 查询公网IP池详情 | hcloud EIP ShowPublicipPool/v3      | 查询公网IP池详情   | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ShowPublicipPool)      |
| 更新公网IP池详情 | hcloud EIP UpdatePublicipPool/v3    | 更新公网IP池详情。  | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=UpdatePublicipPool)    |
   
#### 共享带宽类型
| API名称            | 命令                                    | 描述               | 操作                                                                                                          |
|:---|:---|:---|:---|
| 查询指定租户下的共享带宽类型列表 | hcloud EIP ListShareBandwidthTypes/v3 | 查询指定租户下的共享带宽类型列表 | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListShareBandwidthTypes) |
   
#### 带宽规则
| API名称      | 命令                                | 描述                    | 操作                                                                                                      |
|:---|:---|:---|:---|
| 全量查询带宽规则列表 | hcloud EIP ListBandwidthRule/v3   | 查询租户在指定带宽实例的所有带宽分组规则。 | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListBandwidthRule)   |
| 创建带宽分组规则   | hcloud EIP CreateBandwidthRule/v3 | 创建带宽分组规则。             | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=CreateBandwidthRule) |
| 查询带宽规则     | hcloud EIP ShowBandwidthRule/v3   | 查询在指定带宽实例下的带宽分组规则。    | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ShowBandwidthRule)   |
| 更新带宽分组规则   | hcloud EIP UpdateBandwidthRule/v3 | 更新带宽分组规则对象。           | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=UpdateBandwidthRule) |
| 删除带宽分组规则   | hcloud EIP DeleteBandwidthRule/v3 | 删除在指定带宽实例的带宽规则。       | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=DeleteBandwidthRule) |
   
#### 虚拟igw
| API名称           | 命令                               | 描述              | 操作                                                                                                     |
|:---|:---|:---|:---|
| 查询指定租户下的虚拟igw列表 | hcloud EIP ListTenantVpcIgws/v3  | 查询指定租户下的虚拟igw列表 | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListTenantVpcIgws)  |
| 创建虚拟igw         | hcloud EIP CreateTenantVpcIgw/v3 | 创建虚拟igw         | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=CreateTenantVpcIgw) |
| 删除虚拟igw         | hcloud EIP DeleteTenantVpcIgw/v3 | 删除虚拟igw         | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=DeleteTenantVpcIgw) |
| 查询虚拟igw详情       | hcloud EIP ShowInternalVpcIgw/v3 | 查询虚拟igw详情       | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ShowInternalVpcIgw) |
| 修改虚拟igw         | hcloud EIP UpdateTenantVpcIgw/v3 | 修改虚拟igw         | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=UpdateTenantVpcIgw) |
   
#### GEIP与实例的绑定关系
| API名称              | 命令                                    | 描述                 | 操作                                                                                                          |
|:---|:---|:---|:---|
| 查询GEIP与实例绑定关系的租户列表 | hcloud EIP ListProjectGeipBindings/v3 | 查询GEIP与实例绑定关系的租户列表 | [去调试](https://console.huaweicloud.com/apiexplorer/#/openapi/EIP/cli?version=v3&api=ListProjectGeipBindings) |
   
