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
4 changes: 3 additions & 1 deletion scaleway-async/scaleway_async/vpcgw/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2088,7 +2088,9 @@ async def migrate_to_v2(
zone: Optional[ScwZone] = None,
) -> None:
"""
:param gateway_id:
Put a Public Gateway in IPAM mode.
Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2. This call is idempotent.
:param gateway_id: ID of the gateway to put into IPAM mode.
:param zone: Zone to target. If none is passed will use default zone from the config.

Usage:
Expand Down
3 changes: 3 additions & 0 deletions scaleway-async/scaleway_async/vpcgw/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1443,6 +1443,9 @@ class ListPATRulesResponse:
@dataclass
class MigrateToV2Request:
gateway_id: str
"""
ID of the gateway to put into IPAM mode.
"""

zone: Optional[ScwZone]
"""
Expand Down
4 changes: 3 additions & 1 deletion scaleway/scaleway/vpcgw/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,9 @@ def migrate_to_v2(
zone: Optional[ScwZone] = None,
) -> None:
"""
:param gateway_id:
Put a Public Gateway in IPAM mode.
Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2. This call is idempotent.
:param gateway_id: ID of the gateway to put into IPAM mode.
:param zone: Zone to target. If none is passed will use default zone from the config.

Usage:
Expand Down
3 changes: 3 additions & 0 deletions scaleway/scaleway/vpcgw/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1443,6 +1443,9 @@ class ListPATRulesResponse:
@dataclass
class MigrateToV2Request:
gateway_id: str
"""
ID of the gateway to put into IPAM mode.
"""

zone: Optional[ScwZone]
"""
Expand Down