Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scaleway-async/scaleway_async/lb/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ async def create_lb(
project_id: Optional[str] = None,
name: Optional[str] = None,
ip_id: Optional[str] = None,
assign_flexible_ip: Optional[bool] = None,
tags: Optional[List[str]] = None,
) -> Lb:
"""
Expand All @@ -324,6 +325,7 @@ async def create_lb(
:param name: Name for the Load Balancer.
:param description: Description for the Load Balancer.
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
:param tags: List of tags for the Load Balancer.
:param type_: Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
: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.
Expand Down Expand Up @@ -356,6 +358,7 @@ async def create_lb(
project_id=project_id,
name=name or random_name(prefix="lb"),
ip_id=ip_id,
assign_flexible_ip=assign_flexible_ip,
tags=tags,
),
self.client,
Expand Down Expand Up @@ -3235,6 +3238,7 @@ async def create_lb(
project_id: Optional[str] = None,
name: Optional[str] = None,
ip_id: Optional[str] = None,
assign_flexible_ip: Optional[bool] = None,
tags: Optional[List[str]] = None,
) -> Lb:
"""
Expand All @@ -3250,6 +3254,7 @@ async def create_lb(
:param name: Name for the Load Balancer.
:param description: Description for the Load Balancer.
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
:param tags: List of tags for the Load Balancer.
:param type_: Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
: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.
Expand Down Expand Up @@ -3280,6 +3285,7 @@ async def create_lb(
project_id=project_id,
name=name or random_name(prefix="lb"),
ip_id=ip_id,
assign_flexible_ip=assign_flexible_ip,
tags=tags,
),
self.client,
Expand Down
2 changes: 2 additions & 0 deletions scaleway-async/scaleway_async/lb/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1603,6 +1603,7 @@ def marshal_CreateLbRequest(
),
]
),
"assign_flexible_ip": request.assign_flexible_ip,
"description": request.description,
"ip_id": request.ip_id,
"name": request.name,
Expand Down Expand Up @@ -2081,6 +2082,7 @@ def marshal_ZonedApiCreateLbRequest(
),
]
),
"assign_flexible_ip": request.assign_flexible_ip,
"description": request.description,
"ip_id": request.ip_id,
"name": request.name,
Expand Down
10 changes: 10 additions & 0 deletions scaleway-async/scaleway_async/lb/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1662,6 +1662,11 @@ class CreateLbRequest:
ID of an existing flexible IP address to attach to the Load Balancer.
"""

assign_flexible_ip: Optional[bool]
"""
Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
"""

tags: Optional[List[str]]
"""
List of tags for the Load Balancer.
Expand Down Expand Up @@ -3187,6 +3192,11 @@ class ZonedApiCreateLbRequest:
ID of an existing flexible IP address to attach to the Load Balancer.
"""

assign_flexible_ip: Optional[bool]
"""
Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
"""

tags: Optional[List[str]]
"""
List of tags for the Load Balancer.
Expand Down
6 changes: 6 additions & 0 deletions scaleway/scaleway/lb/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def create_lb(
project_id: Optional[str] = None,
name: Optional[str] = None,
ip_id: Optional[str] = None,
assign_flexible_ip: Optional[bool] = None,
tags: Optional[List[str]] = None,
) -> Lb:
"""
Expand All @@ -324,6 +325,7 @@ def create_lb(
:param name: Name for the Load Balancer.
:param description: Description for the Load Balancer.
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
:param tags: List of tags for the Load Balancer.
:param type_: Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
: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.
Expand Down Expand Up @@ -356,6 +358,7 @@ def create_lb(
project_id=project_id,
name=name or random_name(prefix="lb"),
ip_id=ip_id,
assign_flexible_ip=assign_flexible_ip,
tags=tags,
),
self.client,
Expand Down Expand Up @@ -3233,6 +3236,7 @@ def create_lb(
project_id: Optional[str] = None,
name: Optional[str] = None,
ip_id: Optional[str] = None,
assign_flexible_ip: Optional[bool] = None,
tags: Optional[List[str]] = None,
) -> Lb:
"""
Expand All @@ -3248,6 +3252,7 @@ def create_lb(
:param name: Name for the Load Balancer.
:param description: Description for the Load Balancer.
:param ip_id: ID of an existing flexible IP address to attach to the Load Balancer.
:param assign_flexible_ip: Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
:param tags: List of tags for the Load Balancer.
:param type_: Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
: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.
Expand Down Expand Up @@ -3278,6 +3283,7 @@ def create_lb(
project_id=project_id,
name=name or random_name(prefix="lb"),
ip_id=ip_id,
assign_flexible_ip=assign_flexible_ip,
tags=tags,
),
self.client,
Expand Down
2 changes: 2 additions & 0 deletions scaleway/scaleway/lb/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1603,6 +1603,7 @@ def marshal_CreateLbRequest(
),
]
),
"assign_flexible_ip": request.assign_flexible_ip,
"description": request.description,
"ip_id": request.ip_id,
"name": request.name,
Expand Down Expand Up @@ -2081,6 +2082,7 @@ def marshal_ZonedApiCreateLbRequest(
),
]
),
"assign_flexible_ip": request.assign_flexible_ip,
"description": request.description,
"ip_id": request.ip_id,
"name": request.name,
Expand Down
10 changes: 10 additions & 0 deletions scaleway/scaleway/lb/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1662,6 +1662,11 @@ class CreateLbRequest:
ID of an existing flexible IP address to attach to the Load Balancer.
"""

assign_flexible_ip: Optional[bool]
"""
Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
"""

tags: Optional[List[str]]
"""
List of tags for the Load Balancer.
Expand Down Expand Up @@ -3187,6 +3192,11 @@ class ZonedApiCreateLbRequest:
ID of an existing flexible IP address to attach to the Load Balancer.
"""

assign_flexible_ip: Optional[bool]
"""
Defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
"""

tags: Optional[List[str]]
"""
List of tags for the Load Balancer.
Expand Down