@@ -271,32 +271,34 @@ async def wait_for_namespace(
271271 async def create_namespace (
272272 self ,
273273 * ,
274+ activate_vpc_integration : bool ,
274275 region : Optional [ScwRegion ] = None ,
275276 name : Optional [str ] = None ,
276277 environment_variables : Optional [dict [str , str ]] = None ,
277278 project_id : Optional [str ] = None ,
278279 description : Optional [str ] = None ,
279280 secret_environment_variables : Optional [list [Secret ]] = None ,
280281 tags : Optional [list [str ]] = None ,
281- activate_vpc_integration : Optional [bool ] = None ,
282282 ) -> Namespace :
283283 """
284284 Create a new namespace.
285285 Create a new namespace in a specified Organization or Project.
286+ :param activate_vpc_integration: Setting this field to true doesn't matter anymore. It will be removed in a near future.
286287 :param region: Region to target. If none is passed will use default region from the config.
287288 :param name:
288289 :param environment_variables: Environment variables of the namespace.
289290 :param project_id: UUID of the project in which the namespace will be created.
290291 :param description: Description of the namespace.
291292 :param secret_environment_variables: Secret environment variables of the namespace.
292293 :param tags: Tags of the Serverless Function Namespace.
293- :param activate_vpc_integration: Setting this field to true doesn't matter anymore. It will be removed in a near future.
294294 :return: :class:`Namespace <Namespace>`
295295
296296 Usage:
297297 ::
298298
299- result = await api.create_namespace()
299+ result = await api.create_namespace(
300+ activate_vpc_integration=False,
301+ )
300302 """
301303
302304 param_region = validate_path_param (
@@ -308,14 +310,14 @@ async def create_namespace(
308310 f"/functions/v1beta1/regions/{ param_region } /namespaces" ,
309311 body = marshal_CreateNamespaceRequest (
310312 CreateNamespaceRequest (
313+ activate_vpc_integration = activate_vpc_integration ,
311314 region = region ,
312315 name = name or random_name (prefix = "ns" ),
313316 environment_variables = environment_variables ,
314317 project_id = project_id ,
315318 description = description ,
316319 secret_environment_variables = secret_environment_variables ,
317320 tags = tags ,
318- activate_vpc_integration = activate_vpc_integration ,
319321 ),
320322 self .client ,
321323 ),
0 commit comments