File tree Expand file tree Collapse file tree 6 files changed +22
-0
lines changed
scaleway-async/scaleway_async/instance/v1
scaleway/scaleway/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(
37813781 zone : Optional [Zone ] = None ,
37823782 tags : Optional [List [str ]] = None ,
37833783 ip_ids : Optional [List [str ]] = None ,
3784+ ipam_ip_ids : Optional [List [str ]] = None ,
37843785 ) -> CreatePrivateNICResponse :
37853786 """
37863787 Create a private NIC connecting an Instance to a Private Network.
@@ -3789,6 +3790,7 @@ async def create_private_nic(
37893790 :param zone: Zone to target. If none is passed will use default zone from the config.
37903791 :param tags: Private NIC tags.
37913792 :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.
37923794 :return: :class:`CreatePrivateNICResponse <CreatePrivateNICResponse>`
37933795
37943796 Usage:
@@ -3813,6 +3815,7 @@ async def create_private_nic(
38133815 zone = zone ,
38143816 tags = tags ,
38153817 ip_ids = ip_ids ,
3818+ ipam_ip_ids = ipam_ip_ids ,
38163819 ),
38173820 self .client ,
38183821 ),
Original file line number Diff line number Diff line change @@ -2915,6 +2915,9 @@ def marshal_CreatePrivateNICRequest(
29152915 if request .ip_ids is not None :
29162916 output ["ip_ids" ] = request .ip_ids
29172917
2918+ if request .ipam_ip_ids is not None :
2919+ output ["ipam_ip_ids" ] = request .ipam_ip_ids
2920+
29182921 return output
29192922
29202923
Original file line number Diff line number Diff line change @@ -1683,6 +1683,11 @@ class CreatePrivateNICRequest:
16831683 Ip_ids defined from IPAM.
16841684 """
16851685
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+
16861691
16871692@dataclass
16881693class CreatePrivateNICResponse :
Original file line number Diff line number Diff line change @@ -3781,6 +3781,7 @@ def create_private_nic(
37813781 zone : Optional [Zone ] = None ,
37823782 tags : Optional [List [str ]] = None ,
37833783 ip_ids : Optional [List [str ]] = None ,
3784+ ipam_ip_ids : Optional [List [str ]] = None ,
37843785 ) -> CreatePrivateNICResponse :
37853786 """
37863787 Create a private NIC connecting an Instance to a Private Network.
@@ -3789,6 +3790,7 @@ def create_private_nic(
37893790 :param zone: Zone to target. If none is passed will use default zone from the config.
37903791 :param tags: Private NIC tags.
37913792 :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.
37923794 :return: :class:`CreatePrivateNICResponse <CreatePrivateNICResponse>`
37933795
37943796 Usage:
@@ -3813,6 +3815,7 @@ def create_private_nic(
38133815 zone = zone ,
38143816 tags = tags ,
38153817 ip_ids = ip_ids ,
3818+ ipam_ip_ids = ipam_ip_ids ,
38163819 ),
38173820 self .client ,
38183821 ),
Original file line number Diff line number Diff line change @@ -2915,6 +2915,9 @@ def marshal_CreatePrivateNICRequest(
29152915 if request .ip_ids is not None :
29162916 output ["ip_ids" ] = request .ip_ids
29172917
2918+ if request .ipam_ip_ids is not None :
2919+ output ["ipam_ip_ids" ] = request .ipam_ip_ids
2920+
29182921 return output
29192922
29202923
Original file line number Diff line number Diff line change @@ -1683,6 +1683,11 @@ class CreatePrivateNICRequest:
16831683 Ip_ids defined from IPAM.
16841684 """
16851685
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+
16861691
16871692@dataclass
16881693class CreatePrivateNICResponse :
You can’t perform that action at this time.
0 commit comments