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
5 changes: 5 additions & 0 deletions packages/clients/src/api/lb/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ export const unmarshalFrontend = (data: unknown): Frontend => {
? unmarshalCertificate(data.certificate)
: undefined,
certificateIds: data.certificate_ids,
connectionRateLimit: data.connection_rate_limit,
createdAt: unmarshalDate(data.created_at),
enableHttp3: data.enable_http3,
id: data.id,
Expand Down Expand Up @@ -1126,6 +1127,7 @@ export const marshalCreateFrontendRequest = (
backend_id: request.backendId,
certificate_id: request.certificateId,
certificate_ids: request.certificateIds,
connection_rate_limit: request.connectionRateLimit,
enable_http3: request.enableHttp3,
inbound_port: request.inboundPort,
name: request.name || randomName('lbf'),
Expand Down Expand Up @@ -1332,6 +1334,7 @@ export const marshalUpdateFrontendRequest = (
backend_id: request.backendId,
certificate_id: request.certificateId,
certificate_ids: request.certificateIds,
connection_rate_limit: request.connectionRateLimit,
enable_http3: request.enableHttp3,
inbound_port: request.inboundPort,
name: request.name,
Expand Down Expand Up @@ -1568,6 +1571,7 @@ export const marshalZonedApiCreateFrontendRequest = (
backend_id: request.backendId,
certificate_id: request.certificateId,
certificate_ids: request.certificateIds,
connection_rate_limit: request.connectionRateLimit,
enable_http3: request.enableHttp3,
inbound_port: request.inboundPort,
name: request.name || randomName('lbf'),
Expand Down Expand Up @@ -1771,6 +1775,7 @@ export const marshalZonedApiUpdateFrontendRequest = (
backend_id: request.backendId,
certificate_id: request.certificateId,
certificate_ids: request.certificateIds,
connection_rate_limit: request.connectionRateLimit,
enable_http3: request.enableHttp3,
inbound_port: request.inboundPort,
name: request.name,
Expand Down
25 changes: 25 additions & 0 deletions packages/clients/src/api/lb/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,11 @@ export interface Frontend {
updatedAt?: Date
/** Defines whether to enable HTTP/3 protocol on the frontend. */
enableHttp3: boolean
/**
* Rate limit for new connections established on this frontend. Use 0 value to
* disable, else value is connections per second.
*/
connectionRateLimit?: number
}

export interface PrivateNetworkDHCPConfig {
Expand Down Expand Up @@ -967,6 +972,11 @@ export type CreateFrontendRequest = {
certificateIds?: string[]
/** Defines whether to enable HTTP/3 protocol on the frontend. */
enableHttp3: boolean
/**
* Rate limit for new connections established on this frontend. Use 0 value to
* disable, else value is connections per second.
*/
connectionRateLimit?: number
}

export type CreateIpRequest = {
Expand Down Expand Up @@ -1816,6 +1826,11 @@ export type UpdateFrontendRequest = {
certificateIds?: string[]
/** Defines whether to enable HTTP/3 protocol on the frontend. */
enableHttp3: boolean
/**
* Rate limit for new connections established on this frontend. Use 0 value to
* disable, else value is connections per second.
*/
connectionRateLimit?: number
}

export type UpdateHealthCheckRequest = {
Expand Down Expand Up @@ -2189,6 +2204,11 @@ export type ZonedApiCreateFrontendRequest = {
certificateIds?: string[]
/** Defines whether to enable HTTP/3 protocol on the frontend. */
enableHttp3: boolean
/**
* Rate limit for new connections established on this frontend. Use 0 value to
* disable, else value is connections per second.
*/
connectionRateLimit?: number
}

export type ZonedApiCreateIpRequest = {
Expand Down Expand Up @@ -2835,6 +2855,11 @@ export type ZonedApiUpdateFrontendRequest = {
certificateIds?: string[]
/** Defines whether to enable HTTP/3 protocol on the frontend. */
enableHttp3: boolean
/**
* Rate limit for new connections established on this frontend. Use 0 value to
* disable, else value is connections per second.
*/
connectionRateLimit?: number
}

export type ZonedApiUpdateHealthCheckRequest = {
Expand Down
Loading