Skip to content

Commit efd651a

Browse files
authored
docs(vpc_gw): document MigrateToV2 (scaleway#2456)
1 parent 85ac522 commit efd651a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/vpcgw/v1/vpcgw_sdk.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,6 +1467,7 @@ type MigrateToV2Request struct {
14671467
// Zone: zone to target. If none is passed will use default zone from the config.
14681468
Zone scw.Zone `json:"-"`
14691469

1470+
// GatewayID: ID of the gateway to put into IPAM mode.
14701471
GatewayID string `json:"-"`
14711472
}
14721473

@@ -2946,7 +2947,7 @@ func (s *API) RefreshSSHKeys(req *RefreshSSHKeysRequest, opts ...scw.RequestOpti
29462947
return &resp, nil
29472948
}
29482949

2949-
// MigrateToV2:
2950+
// MigrateToV2: Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2. This call is idempotent.
29502951
func (s *API) MigrateToV2(req *MigrateToV2Request, opts ...scw.RequestOption) error {
29512952
var err error
29522953

0 commit comments

Comments
 (0)