@@ -166,7 +166,6 @@ async def list_vp_cs_all(
166166 async def create_vpc (
167167 self ,
168168 * ,
169- default_private_network_name : str ,
170169 region : Optional [Region ] = None ,
171170 name : Optional [str ] = None ,
172171 project_id : Optional [str ] = None ,
@@ -177,15 +176,14 @@ async def create_vpc(
177176 Create a new VPC in the specified region.
178177 :param region: Region to target. If none is passed will use default region from the config.
179178 :param name: Name for the VPC.
180- :param default_private_network_name: Name for the VPC's associated default Private Network.
181179 :param project_id: Scaleway Project in which to create the VPC.
182180 :param tags: Tags for the VPC.
183181 :return: :class:`VPC <VPC>`
184182
185183 Usage:
186184 ::
187185
188- result = await api.create_vpc(default_private_network_name="example" )
186+ result = await api.create_vpc()
189187 """
190188
191189 param_region = validate_path_param (
@@ -197,7 +195,6 @@ async def create_vpc(
197195 f"/vpc/v2/regions/{ param_region } /vpcs" ,
198196 body = marshal_CreateVPCRequest (
199197 CreateVPCRequest (
200- default_private_network_name = default_private_network_name ,
201198 region = region ,
202199 name = name or random_name (prefix = "vpc" ),
203200 project_id = project_id ,
0 commit comments