@@ -585,6 +585,7 @@ async def list_i_ps(
585
585
organization_id : Optional [str ] = None ,
586
586
project_id : Optional [str ] = None ,
587
587
ip_type : Optional [ListIpsRequestIpType ] = None ,
588
+ tags : Optional [List [str ]] = None ,
588
589
) -> ListIpsResponse :
589
590
"""
590
591
List IP addresses.
@@ -596,6 +597,7 @@ async def list_i_ps(
596
597
:param organization_id: Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned.
597
598
:param project_id: Project ID to filter for, only Load Balancer IP addresses from this Project will be returned.
598
599
:param ip_type: IP type to filter for.
600
+ :param tags: Tag to filter for, only IPs with one or more matching tags will be returned.
599
601
:return: :class:`ListIpsResponse <ListIpsResponse>`
600
602
601
603
Usage:
@@ -617,6 +619,7 @@ async def list_i_ps(
617
619
"page" : page ,
618
620
"page_size" : page_size or self .client .default_page_size ,
619
621
"project_id" : project_id or self .client .default_project_id ,
622
+ "tags" : tags ,
620
623
},
621
624
)
622
625
@@ -633,6 +636,7 @@ async def list_i_ps_all(
633
636
organization_id : Optional [str ] = None ,
634
637
project_id : Optional [str ] = None ,
635
638
ip_type : Optional [ListIpsRequestIpType ] = None ,
639
+ tags : Optional [List [str ]] = None ,
636
640
) -> List [Ip ]:
637
641
"""
638
642
List IP addresses.
@@ -644,6 +648,7 @@ async def list_i_ps_all(
644
648
:param organization_id: Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned.
645
649
:param project_id: Project ID to filter for, only Load Balancer IP addresses from this Project will be returned.
646
650
:param ip_type: IP type to filter for.
651
+ :param tags: Tag to filter for, only IPs with one or more matching tags will be returned.
647
652
:return: :class:`List[Ip] <List[Ip]>`
648
653
649
654
Usage:
@@ -664,6 +669,7 @@ async def list_i_ps_all(
664
669
"organization_id" : organization_id ,
665
670
"project_id" : project_id ,
666
671
"ip_type" : ip_type ,
672
+ "tags" : tags ,
667
673
},
668
674
)
669
675
@@ -675,6 +681,7 @@ async def create_ip(
675
681
organization_id : Optional [str ] = None ,
676
682
project_id : Optional [str ] = None ,
677
683
reverse : Optional [str ] = None ,
684
+ tags : Optional [List [str ]] = None ,
678
685
) -> Ip :
679
686
"""
680
687
Create an IP address.
@@ -686,6 +693,7 @@ async def create_ip(
686
693
:param project_id: Project ID of the Project where the IP address should be created.
687
694
One-Of ('project_identifier'): at most one of 'project_id', 'organization_id' could be set.
688
695
:param reverse: Reverse DNS (domain name) for the IP address.
696
+ :param tags: List of tags for the IP.
689
697
:return: :class:`Ip <Ip>`
690
698
691
699
Usage:
@@ -706,6 +714,7 @@ async def create_ip(
706
714
is_ipv6 = is_ipv6 ,
707
715
zone = zone ,
708
716
reverse = reverse ,
717
+ tags = tags ,
709
718
project_id = project_id ,
710
719
organization_id = organization_id ,
711
720
),
@@ -785,6 +794,7 @@ async def update_ip(
785
794
zone : Optional [Zone ] = None ,
786
795
reverse : Optional [str ] = None ,
787
796
lb_id : Optional [str ] = None ,
797
+ tags : Optional [List [str ]] = None ,
788
798
) -> Ip :
789
799
"""
790
800
Update an IP address.
@@ -793,6 +803,7 @@ async def update_ip(
793
803
:param zone: Zone to target. If none is passed will use default zone from the config.
794
804
:param reverse: Reverse DNS (domain name) for the IP address.
795
805
:param lb_id: ID of the server on which to attach the flexible IP.
806
+ :param tags: List of tags for the IP.
796
807
:return: :class:`Ip <Ip>`
797
808
798
809
Usage:
@@ -815,6 +826,7 @@ async def update_ip(
815
826
zone = zone ,
816
827
reverse = reverse ,
817
828
lb_id = lb_id ,
829
+ tags = tags ,
818
830
),
819
831
self .client ,
820
832
),
@@ -3592,6 +3604,7 @@ async def list_i_ps(
3592
3604
organization_id : Optional [str ] = None ,
3593
3605
project_id : Optional [str ] = None ,
3594
3606
ip_type : Optional [ListIpsRequestIpType ] = None ,
3607
+ tags : Optional [List [str ]] = None ,
3595
3608
) -> ListIpsResponse :
3596
3609
"""
3597
3610
List IPs.
@@ -3602,6 +3615,7 @@ async def list_i_ps(
3602
3615
:param organization_id: Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned.
3603
3616
:param project_id: Project ID to filter for, only Load Balancer IP addresses from this Project will be returned.
3604
3617
:param ip_type: IP type to filter for.
3618
+ :param tags: Tag to filter for, only IPs with one or more matching tags will be returned.
3605
3619
:return: :class:`ListIpsResponse <ListIpsResponse>`
3606
3620
3607
3621
Usage:
@@ -3625,6 +3639,7 @@ async def list_i_ps(
3625
3639
"page" : page ,
3626
3640
"page_size" : page_size or self .client .default_page_size ,
3627
3641
"project_id" : project_id or self .client .default_project_id ,
3642
+ "tags" : tags ,
3628
3643
},
3629
3644
)
3630
3645
@@ -3641,6 +3656,7 @@ async def list_i_ps_all(
3641
3656
organization_id : Optional [str ] = None ,
3642
3657
project_id : Optional [str ] = None ,
3643
3658
ip_type : Optional [ListIpsRequestIpType ] = None ,
3659
+ tags : Optional [List [str ]] = None ,
3644
3660
) -> List [Ip ]:
3645
3661
"""
3646
3662
List IPs.
@@ -3651,6 +3667,7 @@ async def list_i_ps_all(
3651
3667
:param organization_id: Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned.
3652
3668
:param project_id: Project ID to filter for, only Load Balancer IP addresses from this Project will be returned.
3653
3669
:param ip_type: IP type to filter for.
3670
+ :param tags: Tag to filter for, only IPs with one or more matching tags will be returned.
3654
3671
:return: :class:`List[Ip] <List[Ip]>`
3655
3672
3656
3673
Usage:
@@ -3671,6 +3688,7 @@ async def list_i_ps_all(
3671
3688
"organization_id" : organization_id ,
3672
3689
"project_id" : project_id ,
3673
3690
"ip_type" : ip_type ,
3691
+ "tags" : tags ,
3674
3692
},
3675
3693
)
3676
3694
@@ -3682,6 +3700,7 @@ async def create_ip(
3682
3700
organization_id : Optional [str ] = None ,
3683
3701
project_id : Optional [str ] = None ,
3684
3702
reverse : Optional [str ] = None ,
3703
+ tags : Optional [List [str ]] = None ,
3685
3704
) -> Ip :
3686
3705
"""
3687
3706
Create an IP.
@@ -3692,6 +3711,7 @@ async def create_ip(
3692
3711
:param project_id: Project ID of the Project where the IP address should be created.
3693
3712
One-Of ('project_identifier'): at most one of 'project_id', 'organization_id' could be set.
3694
3713
:param reverse: Reverse DNS (domain name) for the IP address.
3714
+ :param tags: List of tags for the IP.
3695
3715
:return: :class:`Ip <Ip>`
3696
3716
3697
3717
Usage:
@@ -3714,6 +3734,7 @@ async def create_ip(
3714
3734
is_ipv6 = is_ipv6 ,
3715
3735
region = region ,
3716
3736
reverse = reverse ,
3737
+ tags = tags ,
3717
3738
project_id = project_id ,
3718
3739
organization_id = organization_id ,
3719
3740
),
@@ -3795,13 +3816,15 @@ async def update_ip(
3795
3816
region : Optional [Region ] = None ,
3796
3817
reverse : Optional [str ] = None ,
3797
3818
lb_id : Optional [str ] = None ,
3819
+ tags : Optional [List [str ]] = None ,
3798
3820
) -> Ip :
3799
3821
"""
3800
3822
Update an IP.
3801
3823
:param ip_id: IP address ID.
3802
3824
:param region: Region to target. If none is passed will use default region from the config.
3803
3825
:param reverse: Reverse DNS (domain name) for the IP address.
3804
3826
:param lb_id: ID of the server on which to attach the flexible IP.
3827
+ :param tags: List of tags for the IP.
3805
3828
:return: :class:`Ip <Ip>`
3806
3829
3807
3830
Usage:
@@ -3826,6 +3849,7 @@ async def update_ip(
3826
3849
region = region ,
3827
3850
reverse = reverse ,
3828
3851
lb_id = lb_id ,
3852
+ tags = tags ,
3829
3853
),
3830
3854
self .client ,
3831
3855
),
0 commit comments