You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/lb/v1/api.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -310,6 +310,7 @@ async def create_lb(
310
310
project_id: Optional[str] =None,
311
311
name: Optional[str] =None,
312
312
ip_id: Optional[str] =None,
313
+
assign_flexible_ip: Optional[bool] =None,
313
314
tags: Optional[List[str]] =None,
314
315
) ->Lb:
315
316
"""
@@ -324,6 +325,7 @@ async def create_lb(
324
325
:param name: Name for the Load Balancer.
325
326
:param description: Description for the Load Balancer.
326
327
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
328
+
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
327
329
:param tags: List of tags for the Load Balancer.
328
330
:param type_: Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
329
331
:param ssl_compatibility_level: Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
@@ -356,6 +358,7 @@ async def create_lb(
356
358
project_id=project_id,
357
359
name=nameorrandom_name(prefix="lb"),
358
360
ip_id=ip_id,
361
+
assign_flexible_ip=assign_flexible_ip,
359
362
tags=tags,
360
363
),
361
364
self.client,
@@ -3235,6 +3238,7 @@ async def create_lb(
3235
3238
project_id: Optional[str] =None,
3236
3239
name: Optional[str] =None,
3237
3240
ip_id: Optional[str] =None,
3241
+
assign_flexible_ip: Optional[bool] =None,
3238
3242
tags: Optional[List[str]] =None,
3239
3243
) ->Lb:
3240
3244
"""
@@ -3250,6 +3254,7 @@ async def create_lb(
3250
3254
:param name: Name for the Load Balancer.
3251
3255
:param description: Description for the Load Balancer.
3252
3256
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
3257
+
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
3253
3258
:param tags: List of tags for the Load Balancer.
3254
3259
:param type_: Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
3255
3260
:param ssl_compatibility_level: Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
Copy file name to clipboardExpand all lines: scaleway/scaleway/lb/v1/api.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -310,6 +310,7 @@ def create_lb(
310
310
project_id: Optional[str] =None,
311
311
name: Optional[str] =None,
312
312
ip_id: Optional[str] =None,
313
+
assign_flexible_ip: Optional[bool] =None,
313
314
tags: Optional[List[str]] =None,
314
315
) ->Lb:
315
316
"""
@@ -324,6 +325,7 @@ def create_lb(
324
325
:param name: Name for the Load Balancer.
325
326
:param description: Description for the Load Balancer.
326
327
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
328
+
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
327
329
:param tags: List of tags for the Load Balancer.
328
330
:param type_: Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
329
331
:param ssl_compatibility_level: Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
@@ -356,6 +358,7 @@ def create_lb(
356
358
project_id=project_id,
357
359
name=nameorrandom_name(prefix="lb"),
358
360
ip_id=ip_id,
361
+
assign_flexible_ip=assign_flexible_ip,
359
362
tags=tags,
360
363
),
361
364
self.client,
@@ -3233,6 +3236,7 @@ def create_lb(
3233
3236
project_id: Optional[str] =None,
3234
3237
name: Optional[str] =None,
3235
3238
ip_id: Optional[str] =None,
3239
+
assign_flexible_ip: Optional[bool] =None,
3236
3240
tags: Optional[List[str]] =None,
3237
3241
) ->Lb:
3238
3242
"""
@@ -3248,6 +3252,7 @@ def create_lb(
3248
3252
:param name: Name for the Load Balancer.
3249
3253
:param description: Description for the Load Balancer.
3250
3254
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
3255
+
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
3251
3256
:param tags: List of tags for the Load Balancer.
3252
3257
:param type_: Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
3253
3258
:param ssl_compatibility_level: Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort.
0 commit comments