diff --git a/packages/clients/src/api/lb/v1/api.gen.ts b/packages/clients/src/api/lb/v1/api.gen.ts index 7c9983b86..286559d0e 100644 --- a/packages/clients/src/api/lb/v1/api.gen.ts +++ b/packages/clients/src/api/lb/v1/api.gen.ts @@ -417,7 +417,7 @@ export class API extends ParentAPI { * @param request - The request {@link CreateIpRequest} * @returns A Promise of Ip */ - createIp = (request: Readonly) => + createIp = (request: Readonly = {}) => this.client.fetch( { body: JSON.stringify( @@ -947,6 +947,12 @@ export class API extends ParentAPI { unmarshalListBackendStatsResponse, ) + /** + * List backend server statistics. + * + * @param request - The request {@link ListBackendStatsRequest} + * @returns A Promise of ListBackendStatsResponse + */ listBackendStats = (request: Readonly) => enrichForPagination( 'backendServersStats', @@ -1490,6 +1496,7 @@ export class ZonedAPI extends ParentAPI { 'fr-par-2', 'nl-ams-1', 'nl-ams-2', + 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', ] @@ -1699,7 +1706,7 @@ export class ZonedAPI extends ParentAPI { * @param request - The request {@link ZonedApiCreateIpRequest} * @returns A Promise of Ip */ - createIp = (request: Readonly) => + createIp = (request: Readonly = {}) => this.client.fetch( { body: JSON.stringify( diff --git a/packages/clients/src/api/lb/v1/marshalling.gen.ts b/packages/clients/src/api/lb/v1/marshalling.gen.ts index c82d82f93..fb0e21d21 100644 --- a/packages/clients/src/api/lb/v1/marshalling.gen.ts +++ b/packages/clients/src/api/lb/v1/marshalling.gen.ts @@ -1105,7 +1105,6 @@ export const marshalCreateIpRequest = ( request: CreateIpRequest, defaults: DefaultValues, ): Record => ({ - is_ipv6: request.isIpv6, reverse: request.reverse, ...resolveOneOf([ { @@ -1128,7 +1127,6 @@ export const marshalCreateLbRequest = ( assign_flexible_ip: request.assignFlexibleIp, description: request.description, ip_id: request.ipId, - ip_ids: request.ipIds, name: request.name || randomName('lb'), ssl_compatibility_level: request.sslCompatibilityLevel ?? 'ssl_compatibility_level_unknown', @@ -1497,7 +1495,6 @@ export const marshalZonedApiCreateIpRequest = ( request: ZonedApiCreateIpRequest, defaults: DefaultValues, ): Record => ({ - is_ipv6: request.isIpv6, reverse: request.reverse, ...resolveOneOf([ { @@ -1520,7 +1517,6 @@ export const marshalZonedApiCreateLbRequest = ( assign_flexible_ip: request.assignFlexibleIp, description: request.description, ip_id: request.ipId, - ip_ids: request.ipIds, name: request.name || randomName('lb'), ssl_compatibility_level: request.sslCompatibilityLevel ?? 'ssl_compatibility_level_unknown', diff --git a/packages/clients/src/api/lb/v1/types.gen.ts b/packages/clients/src/api/lb/v1/types.gen.ts index f240872da..b90cdb592 100644 --- a/packages/clients/src/api/lb/v1/types.gen.ts +++ b/packages/clients/src/api/lb/v1/types.gen.ts @@ -176,7 +176,7 @@ export interface AclActionRedirect { * `git`) will replace the request's original scheme. This can be useful to * implement HTTP to HTTPS redirects. Valid placeholders that can be used in a * `location` redirect to preserve parts of the original request in the - * redirection URL are {{ host }}, {{ query }}, {{ path }} and {{ scheme }}. + * redirection URL are {{host}}, {{query}}, {{path}} and {{scheme}}. */ target: string /** @@ -949,8 +949,6 @@ export type CreateLbRequest = { * value is `false` (do not assign). */ assignFlexibleIp?: boolean - /** List of IP IDs to attach to the Load Balancer. */ - ipIds?: string[] /** List of tags for the Load Balancer. */ tags?: string[] /** @@ -1082,8 +1080,6 @@ export type CreateIpRequest = { projectId?: string /** Reverse DNS (domain name) for the IP address. */ reverse?: string - /** If true, creates a Flexible IP with an ipv6 address. */ - isIpv6: boolean } export type GetIpRequest = { @@ -2058,8 +2054,6 @@ export type ZonedApiCreateLbRequest = { * value is `false` (do not assign). */ assignFlexibleIp?: boolean - /** List of IP IDs to attach to the Load Balancer. */ - ipIds?: string[] /** List of tags for the Load Balancer. */ tags?: string[] /** @@ -2173,8 +2167,6 @@ export type ZonedApiCreateIpRequest = { projectId?: string /** Reverse DNS (domain name) for the IP address. */ reverse?: string - /** If true, creates a Flexible IP with an ipv6 address. */ - isIpv6: boolean } export type ZonedApiGetIpRequest = {