@@ -262,15 +262,16 @@ async def list_i_ps(
262262 subnet_id : Optional [str ] = None ,
263263 vpc_id : Optional [str ] = None ,
264264 attached : Optional [bool ] = None ,
265+ resource_name : Optional [str ] = None ,
265266 resource_id : Optional [str ] = None ,
266267 resource_ids : Optional [List [str ]] = None ,
267268 resource_type : Optional [ResourceType ] = None ,
269+ resource_types : Optional [List [ResourceType ]] = None ,
268270 mac_address : Optional [str ] = None ,
269271 tags : Optional [List [str ]] = None ,
270272 organization_id : Optional [str ] = None ,
271273 is_ipv6 : Optional [bool ] = None ,
272- resource_name : Optional [str ] = None ,
273- resource_types : Optional [List [ResourceType ]] = None ,
274+ ip_ids : Optional [List [str ]] = None ,
274275 ) -> ListIPsResponse :
275276 """
276277 List existing IPs.
@@ -288,15 +289,16 @@ async def list_i_ps(
288289 One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id' could be set.
289290 :param vpc_id: Only IPs owned by resources in this VPC will be returned.
290291 :param attached: Defines whether to filter only for IPs which are attached to a resource.
292+ :param resource_name: Attached resource name to filter for, only IPs attached to a resource with this string within their name will be returned.
291293 :param resource_id: Resource ID to filter for. Only IPs attached to this resource will be returned.
292294 :param resource_ids: Resource IDs to filter for. Only IPs attached to at least one of these resources will be returned.
293295 :param resource_type: Resource type to filter for. Only IPs attached to this type of resource will be returned.
296+ :param resource_types: Resource types to filter for. Only IPs attached to these types of resources will be returned.
294297 :param mac_address: MAC address to filter for. Only IPs attached to a resource with this MAC address will be returned.
295298 :param tags: Tags to filter for, only IPs with one or more matching tags will be returned.
296299 :param organization_id: Organization ID to filter for. Only IPs belonging to this Organization will be returned.
297300 :param is_ipv6: Defines whether to filter only for IPv4s or IPv6s.
298- :param resource_name: Attached resource name to filter for, only IPs attached to a resource with this string within their name will be returned.
299- :param resource_types: Resource types to filter for. Only IPs attached to these types of resources will be returned.
301+ :param ip_ids: IP IDs to filter for. Only IPs with these UUIDs will be returned.
300302 :return: :class:`ListIPsResponse <ListIPsResponse>`
301303
302304 Usage:
@@ -314,6 +316,7 @@ async def list_i_ps(
314316 f"/ipam/v1/regions/{ param_region } /ips" ,
315317 params = {
316318 "attached" : attached ,
319+ "ip_ids" : ip_ids ,
317320 "is_ipv6" : is_ipv6 ,
318321 "mac_address" : mac_address ,
319322 "order_by" : order_by ,
@@ -355,15 +358,16 @@ async def list_i_ps_all(
355358 subnet_id : Optional [str ] = None ,
356359 vpc_id : Optional [str ] = None ,
357360 attached : Optional [bool ] = None ,
361+ resource_name : Optional [str ] = None ,
358362 resource_id : Optional [str ] = None ,
359363 resource_ids : Optional [List [str ]] = None ,
360364 resource_type : Optional [ResourceType ] = None ,
365+ resource_types : Optional [List [ResourceType ]] = None ,
361366 mac_address : Optional [str ] = None ,
362367 tags : Optional [List [str ]] = None ,
363368 organization_id : Optional [str ] = None ,
364369 is_ipv6 : Optional [bool ] = None ,
365- resource_name : Optional [str ] = None ,
366- resource_types : Optional [List [ResourceType ]] = None ,
370+ ip_ids : Optional [List [str ]] = None ,
367371 ) -> List [IP ]:
368372 """
369373 List existing IPs.
@@ -381,15 +385,16 @@ async def list_i_ps_all(
381385 One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id' could be set.
382386 :param vpc_id: Only IPs owned by resources in this VPC will be returned.
383387 :param attached: Defines whether to filter only for IPs which are attached to a resource.
388+ :param resource_name: Attached resource name to filter for, only IPs attached to a resource with this string within their name will be returned.
384389 :param resource_id: Resource ID to filter for. Only IPs attached to this resource will be returned.
385390 :param resource_ids: Resource IDs to filter for. Only IPs attached to at least one of these resources will be returned.
386391 :param resource_type: Resource type to filter for. Only IPs attached to this type of resource will be returned.
392+ :param resource_types: Resource types to filter for. Only IPs attached to these types of resources will be returned.
387393 :param mac_address: MAC address to filter for. Only IPs attached to a resource with this MAC address will be returned.
388394 :param tags: Tags to filter for, only IPs with one or more matching tags will be returned.
389395 :param organization_id: Organization ID to filter for. Only IPs belonging to this Organization will be returned.
390396 :param is_ipv6: Defines whether to filter only for IPv4s or IPv6s.
391- :param resource_name: Attached resource name to filter for, only IPs attached to a resource with this string within their name will be returned.
392- :param resource_types: Resource types to filter for. Only IPs attached to these types of resources will be returned.
397+ :param ip_ids: IP IDs to filter for. Only IPs with these UUIDs will be returned.
393398 :return: :class:`List[IP] <List[IP]>`
394399
395400 Usage:
@@ -410,15 +415,16 @@ async def list_i_ps_all(
410415 "project_id" : project_id ,
411416 "vpc_id" : vpc_id ,
412417 "attached" : attached ,
418+ "resource_name" : resource_name ,
413419 "resource_id" : resource_id ,
414420 "resource_ids" : resource_ids ,
415421 "resource_type" : resource_type ,
422+ "resource_types" : resource_types ,
416423 "mac_address" : mac_address ,
417424 "tags" : tags ,
418425 "organization_id" : organization_id ,
419426 "is_ipv6" : is_ipv6 ,
420- "resource_name" : resource_name ,
421- "resource_types" : resource_types ,
427+ "ip_ids" : ip_ids ,
422428 "zonal" : zonal ,
423429 "private_network_id" : private_network_id ,
424430 "subnet_id" : subnet_id ,
0 commit comments