Skip to content

Commit f058b85

Browse files
authored
fix(lb): change default value for assign_flexible_ip (#551)
1 parent e72c598 commit f058b85

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

scaleway-async/scaleway_async/lb/v1/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ async def create_lb(
331331
One-Of ('project_identifier'): at most one of 'project_id', 'organization_id' could be set.
332332
:param name: Name for the Load Balancer.
333333
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
334-
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
334+
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
335335
:param assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
336336
:param ip_ids: List of IP IDs to attach to the Load Balancer.
337337
:param tags: List of tags for the Load Balancer.
@@ -3345,7 +3345,7 @@ async def create_lb(
33453345
One-Of ('project_identifier'): at most one of 'project_id', 'organization_id' could be set.
33463346
:param name: Name for the Load Balancer.
33473347
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
3348-
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
3348+
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
33493349
:param assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
33503350
:param ip_ids: List of IP IDs to attach to the Load Balancer.
33513351
:param tags: List of tags for the Load Balancer.

scaleway-async/scaleway_async/lb/v1/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ class CreateLbRequest:
15281528

15291529
assign_flexible_ip: Optional[bool]
15301530
"""
1531-
Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
1531+
Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
15321532
"""
15331533

15341534
assign_flexible_ipv6: Optional[bool]
@@ -3167,7 +3167,7 @@ class ZonedApiCreateLbRequest:
31673167

31683168
assign_flexible_ip: Optional[bool]
31693169
"""
3170-
Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
3170+
Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
31713171
"""
31723172

31733173
assign_flexible_ipv6: Optional[bool]

scaleway/scaleway/lb/v1/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def create_lb(
331331
One-Of ('project_identifier'): at most one of 'project_id', 'organization_id' could be set.
332332
:param name: Name for the Load Balancer.
333333
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
334-
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
334+
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
335335
:param assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
336336
:param ip_ids: List of IP IDs to attach to the Load Balancer.
337337
:param tags: List of tags for the Load Balancer.
@@ -3343,7 +3343,7 @@ def create_lb(
33433343
One-Of ('project_identifier'): at most one of 'project_id', 'organization_id' could be set.
33443344
:param name: Name for the Load Balancer.
33453345
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
3346-
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
3346+
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
33473347
:param assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
33483348
:param ip_ids: List of IP IDs to attach to the Load Balancer.
33493349
:param tags: List of tags for the Load Balancer.

scaleway/scaleway/lb/v1/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ class CreateLbRequest:
15281528

15291529
assign_flexible_ip: Optional[bool]
15301530
"""
1531-
Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
1531+
Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
15321532
"""
15331533

15341534
assign_flexible_ipv6: Optional[bool]
@@ -3167,7 +3167,7 @@ class ZonedApiCreateLbRequest:
31673167

31683168
assign_flexible_ip: Optional[bool]
31693169
"""
3170-
Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
3170+
Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
31713171
"""
31723172

31733173
assign_flexible_ipv6: Optional[bool]

0 commit comments

Comments
 (0)