@@ -142,6 +142,63 @@ def delete_ipv_6internet_bandwidth(
142142 resp = self .invoke ("DeleteIpv6InternetBandwidth" , d , ** kwargs )
143143 return apis .DeleteIpv6InternetBandwidthResponseSchema ().loads (resp )
144144
145+ def describe_ipv_6gateway_attribute (
146+ self , req : typing .Optional [dict ] = None , ** kwargs
147+ ) -> dict :
148+ """DescribeIpv6GatewayAttribute - 查看指定ipv6网关详情, 该接口仅返回能开启公网带宽的ipv6信息
149+
150+ **Request**
151+
152+ - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
153+ - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
154+ - **Ipv6GatewayId** (str) - (Required) ipv6网关ID
155+ - **Limit** (int) - 返回数据长度,默认值为20,最大值为100
156+ - **ObjectType** (str) - ipv6地址绑定资源类型。传空则返回不按资源类型过滤。枚举值:"uhost" -> 云主机; "uni" -> 虚拟网卡; "alb" -> 应用型负载均衡; "nlb" -> 网络型负载均衡
157+ - **Offset** (int) - 列表起始位置偏移量,默认值为0
158+
159+ **Response**
160+
161+ - **CreateTime** (int) - 创建时间
162+ - **Ipv6AddressInfos** (list) - 见 **IPv6AddressInfo** 模型定义
163+ - **Ipv6GatewayId** (str) - ipv6网关ID
164+ - **Name** (str) - 名称
165+ - **Remark** (str) - 备注
166+ - **Tag** (str) - 业务组
167+ - **TotalCount** (int) - 总数
168+ - **VPCId** (str) - vpc ID
169+
170+ **Response Model**
171+
172+ **IPv6AddressInfo**
173+ - **AutoRenew** (str) - 是否自动续费。枚举值:"Yes" -> 是; "No" -> 否; "UnKnown" -> 未知
174+ - **Bandwidth** (int) - 带宽值
175+ - **ChargeType** (str) - 收费类型
176+ - **Expire** (str) - 是否过期。 枚举值: "Expired" -> 过期; "UnExpired" -> 未过期; "UnKnown" -> 未知
177+ - **ExpireTime** (int) - 过期时间
178+ - **InternetBandwidthId** (str) - ipv6外网带宽Id
179+ - **Ipv6Address** (str) - ipv6地址
180+ - **Ipv6AddressId** (str) - ipv6地址ID
181+ - **ObjectId** (str) - 绑定的资源ID
182+ - **ObjectName** (str) - 绑定对象名称
183+ - **ObjectType** (str) - 绑定对象资源类型
184+ - **OperatorName** (str) - 线路名称。枚举值: "ChinaMobile" -> 移动; "BGP" -> BGP; "Unicom" -> 联通; "Telecom" -> 电信
185+ - **PayMode** (str) - 付费模式。枚举值:"Bandwidth" -> 带宽计费
186+ - **Status** (str) - 状态。 枚举值:"Public" -> 已开启公网带宽; "Normal" -> 未开启公网带宽
187+ - **SubnetId** (str) - 子网ID
188+
189+
190+ """
191+ # build request
192+ d = {
193+ "ProjectId" : self .config .project_id ,
194+ "Region" : self .config .region ,
195+ }
196+ req and d .update (req )
197+ d = apis .DescribeIpv6GatewayAttributeRequestSchema ().dumps (d )
198+
199+ resp = self .invoke ("DescribeIpv6GatewayAttribute" , d , ** kwargs )
200+ return apis .DescribeIpv6GatewayAttributeResponseSchema ().loads (resp )
201+
145202 def modify_ipv_6internet_bandwidth (
146203 self , req : typing .Optional [dict ] = None , ** kwargs
147204 ) -> dict :
0 commit comments