diff --git a/packages/clients/src/api/vpcgw/v1/api.gen.ts b/packages/clients/src/api/vpcgw/v1/api.gen.ts index 3df663905..4404fc4eb 100644 --- a/packages/clients/src/api/vpcgw/v1/api.gen.ts +++ b/packages/clients/src/api/vpcgw/v1/api.gen.ts @@ -945,6 +945,13 @@ export class API extends ParentAPI { unmarshalGateway, ) + /** + * 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 request - The request {@link MigrateToV2Request} + */ migrateToV2 = (request: Readonly) => this.client.fetch({ body: '{}', diff --git a/packages/clients/src/api/vpcgw/v1/types.gen.ts b/packages/clients/src/api/vpcgw/v1/types.gen.ts index 0d98f552a..adb6bc1d5 100644 --- a/packages/clients/src/api/vpcgw/v1/types.gen.ts +++ b/packages/clients/src/api/vpcgw/v1/types.gen.ts @@ -818,6 +818,7 @@ export interface ListPATRulesResponse { export type MigrateToV2Request = { /** Zone to target. If none is passed will use default zone from the config. */ zone?: ScwZone + /** ID of the gateway to put into IPAM mode. */ gatewayId: string }