File tree Expand file tree Collapse file tree 6 files changed +22
-0
lines changed
scaleway/scaleway/instance/v1
scaleway-async/scaleway_async/instance/v1 Expand file tree Collapse file tree 6 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -3781,6 +3781,7 @@ async def create_private_nic(
3781
3781
zone : Optional [Zone ] = None ,
3782
3782
tags : Optional [List [str ]] = None ,
3783
3783
ip_ids : Optional [List [str ]] = None ,
3784
+ ipam_ip_ids : Optional [List [str ]] = None ,
3784
3785
) -> CreatePrivateNICResponse :
3785
3786
"""
3786
3787
Create a private NIC connecting an Instance to a Private Network.
@@ -3789,6 +3790,7 @@ async def create_private_nic(
3789
3790
:param zone: Zone to target. If none is passed will use default zone from the config.
3790
3791
:param tags: Private NIC tags.
3791
3792
:param ip_ids: Ip_ids defined from IPAM.
3793
+ :param ipam_ip_ids: UUID of IPAM ips, to be attached to the instance in the requested private network.
3792
3794
:return: :class:`CreatePrivateNICResponse <CreatePrivateNICResponse>`
3793
3795
3794
3796
Usage:
@@ -3813,6 +3815,7 @@ async def create_private_nic(
3813
3815
zone = zone ,
3814
3816
tags = tags ,
3815
3817
ip_ids = ip_ids ,
3818
+ ipam_ip_ids = ipam_ip_ids ,
3816
3819
),
3817
3820
self .client ,
3818
3821
),
Original file line number Diff line number Diff line change @@ -2915,6 +2915,9 @@ def marshal_CreatePrivateNICRequest(
2915
2915
if request .ip_ids is not None :
2916
2916
output ["ip_ids" ] = request .ip_ids
2917
2917
2918
+ if request .ipam_ip_ids is not None :
2919
+ output ["ipam_ip_ids" ] = request .ipam_ip_ids
2920
+
2918
2921
return output
2919
2922
2920
2923
Original file line number Diff line number Diff line change @@ -1683,6 +1683,11 @@ class CreatePrivateNICRequest:
1683
1683
Ip_ids defined from IPAM.
1684
1684
"""
1685
1685
1686
+ ipam_ip_ids : Optional [List [str ]]
1687
+ """
1688
+ UUID of IPAM ips, to be attached to the instance in the requested private network.
1689
+ """
1690
+
1686
1691
1687
1692
@dataclass
1688
1693
class CreatePrivateNICResponse :
Original file line number Diff line number Diff line change @@ -3781,6 +3781,7 @@ def create_private_nic(
3781
3781
zone : Optional [Zone ] = None ,
3782
3782
tags : Optional [List [str ]] = None ,
3783
3783
ip_ids : Optional [List [str ]] = None ,
3784
+ ipam_ip_ids : Optional [List [str ]] = None ,
3784
3785
) -> CreatePrivateNICResponse :
3785
3786
"""
3786
3787
Create a private NIC connecting an Instance to a Private Network.
@@ -3789,6 +3790,7 @@ def create_private_nic(
3789
3790
:param zone: Zone to target. If none is passed will use default zone from the config.
3790
3791
:param tags: Private NIC tags.
3791
3792
:param ip_ids: Ip_ids defined from IPAM.
3793
+ :param ipam_ip_ids: UUID of IPAM ips, to be attached to the instance in the requested private network.
3792
3794
:return: :class:`CreatePrivateNICResponse <CreatePrivateNICResponse>`
3793
3795
3794
3796
Usage:
@@ -3813,6 +3815,7 @@ def create_private_nic(
3813
3815
zone = zone ,
3814
3816
tags = tags ,
3815
3817
ip_ids = ip_ids ,
3818
+ ipam_ip_ids = ipam_ip_ids ,
3816
3819
),
3817
3820
self .client ,
3818
3821
),
Original file line number Diff line number Diff line change @@ -2915,6 +2915,9 @@ def marshal_CreatePrivateNICRequest(
2915
2915
if request .ip_ids is not None :
2916
2916
output ["ip_ids" ] = request .ip_ids
2917
2917
2918
+ if request .ipam_ip_ids is not None :
2919
+ output ["ipam_ip_ids" ] = request .ipam_ip_ids
2920
+
2918
2921
return output
2919
2922
2920
2923
Original file line number Diff line number Diff line change @@ -1683,6 +1683,11 @@ class CreatePrivateNICRequest:
1683
1683
Ip_ids defined from IPAM.
1684
1684
"""
1685
1685
1686
+ ipam_ip_ids : Optional [List [str ]]
1687
+ """
1688
+ UUID of IPAM ips, to be attached to the instance in the requested private network.
1689
+ """
1690
+
1686
1691
1687
1692
@dataclass
1688
1693
class CreatePrivateNICResponse :
You can’t perform that action at this time.
0 commit comments