@@ -21,7 +21,7 @@ def allocate_eip(self, req: typing.Optional[dict] = None, **kwargs) -> dict:
2121 - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。
2222 - **Region** (str) - (Config) 地域。
2323 - **Bandwidth** (int) - (Required) 弹性IP的外网带宽, 单位为Mbps. 共享带宽模式必须指定0M带宽, 非共享带宽模式必须指定非0Mbps带宽. 各地域非共享带宽的带宽范围如下: 流量计费[1-300],带宽计费[1-10000]
24- - **OperatorName** (str) - (Required) 弹性IP的线路如下: 国际: International BGP: Bgp 各地域允许的线路参数如下: cn-sh1: Bgp cn-sh2: Bgp cn-gd: Bgp cn-bj1: Bgp cn-bj2: Bgp hk: International us-ca: International th-bkk: International kr-seoul:International us-ws:International ge-fra:International sg:International tw-kh:International.其他海外线路均为 International
24+ - **OperatorName** (str) - (Required) 弹性IP线路,枚举值:国际线路, International;BGP线路: Bgp。使用BGP线路的地域:北京二、上海金融云、上海二、广州等,其他地域均使用国际线路。
2525 - **ChargeType** (str) - 付费方式, 枚举值为: Year, 按年付费; Month, 按月付费; Dynamic, 按需付费(需开启权限); Trial, 试用(需开启权限) 默认为按月付费
2626 - **CouponId** (str) - 代金券ID, 默认不使用
2727 - **Name** (str) - 弹性IP的名称, 默认为 "EIP"
@@ -178,7 +178,7 @@ def bind_eip(self, req: typing.Optional[dict] = None, **kwargs) -> dict:
178178 - **Region** (str) - (Config) 地域
179179 - **EIPId** (str) - (Required) 弹性IP的资源Id
180180 - **ResourceId** (str) - (Required) 弹性IP请求绑定的资源ID
181- - **ResourceType** (str) - (Required) 弹性IP请求绑定的资源类型, 枚举值为: uhost: 云主机; ulb, 负载均衡器 upm: 物理机; hadoophost: 大数据集群;fortresshost:堡垒机;udockhost:容器;udhost:私有专区主机;natgw:natgw;udb:udb;vpngw:ipsec vpn;ucdr:云灾备;dbaudit:数据库审计;uni:虚拟网卡。如果EIP为普通带宽计费,且带宽值高于2G,则只允许绑定在快杰型云主机和ULB
181+ - **ResourceType** (str) - (Required) 弹性IP请求绑定的资源类型, 枚举值为: uhost: 云主机; ulb, 负载均衡器 upm: 物理机; hadoophost: 大数据集群;fortresshost:堡垒机;udockhost:容器;udhost:私有专区主机;natgw:natgw;udb:udb;vpngw:ipsec vpn;ucdr:云灾备;dbaudit:数据库审计;uni:虚拟网卡;cube,Cube容器 。如果EIP为普通带宽计费,且带宽值高于2G,则只允许绑定在快杰型云主机和ULB
182182
183183 **Response**
184184
@@ -1051,8 +1051,8 @@ def update_eip_attribute(
10511051
10521052 **Request**
10531053
1054- - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html >`_
1055- - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist.html >`_
1054+ - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
1055+ - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
10561056 - **EIPId** (str) - (Required) EIP资源ID
10571057 - **Name** (str) - 名字(Name Tag Remark都为空则报错)
10581058 - **Remark** (str) - 备注
0 commit comments