@@ -199,6 +199,48 @@ def describe_ipv_6gateway_attribute(
199199 resp = self .invoke ("DescribeIpv6GatewayAttribute" , d , ** kwargs )
200200 return apis .DescribeIpv6GatewayAttributeResponseSchema ().loads (resp )
201201
202+ def describe_ipv_6gateways (
203+ self , req : typing .Optional [dict ] = None , ** kwargs
204+ ) -> dict :
205+ """DescribeIpv6Gateways - ipv6网关列表
206+
207+ **Request**
208+
209+ - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
210+ - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
211+ - **Ipv6GatewayIds** (list) - ipv6网关ID列表,最大长度为20。指定Ipv6GatewayIds查询时,将忽略其他条件
212+ - **Limit** (int) - 返回数据长度,默认值为20,最大值为100
213+ - **Offset** (int) - 列表起始位置偏移量,默认值为0
214+ - **VPCId** (str) - vpc ID
215+
216+ **Response**
217+
218+ - **Ipv6GatewayInfos** (list) - 见 **IPv6GateWayInfo** 模型定义
219+ - **TotalCount** (int) - Ipv6Gateway总数。指定Ipv6GatewayIds / VPCId时,返回数量受限
220+
221+ **Response Model**
222+
223+ **IPv6GateWayInfo**
224+ - **CreateTime** (int) - 创建时间
225+ - **Ipv6GatewayId** (str) - ipv6 网关 ID
226+ - **Name** (str) - 名称
227+ - **Remark** (str) - 备注
228+ - **Tag** (str) - 业务组
229+ - **VPCId** (str) - vpc ID
230+
231+
232+ """
233+ # build request
234+ d = {
235+ "ProjectId" : self .config .project_id ,
236+ "Region" : self .config .region ,
237+ }
238+ req and d .update (req )
239+ d = apis .DescribeIpv6GatewaysRequestSchema ().dumps (d )
240+
241+ resp = self .invoke ("DescribeIpv6Gateways" , d , ** kwargs )
242+ return apis .DescribeIpv6GatewaysResponseSchema ().loads (resp )
243+
202244 def modify_ipv_6internet_bandwidth (
203245 self , req : typing .Optional [dict ] = None , ** kwargs
204246 ) -> dict :
0 commit comments