Skip to content

Commit c9d9b34

Browse files
authored
Merge branch 'main' into v1.6553.0
2 parents 8f78438 + 332571e commit c9d9b34

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

packages_generated/cockpit/src/v1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ const unmarshalPreconfiguredAlertData = (
282282
displayDescription: data.display_description,
283283
displayName: data.display_name,
284284
preconfiguredRuleId: data.preconfigured_rule_id,
285+
productFamily: data.product_family,
286+
productName: data.product_name,
285287
} as PreconfiguredAlertData
286288
}
287289

packages_generated/cockpit/src/v1/types.gen.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ export interface PreconfiguredAlertData {
6464
* Human readable description of the alert.
6565
*/
6666
displayDescription: string
67+
/**
68+
* Product associated with the alert.
69+
*/
70+
productName: string
71+
/**
72+
* Family of the product associated with the alert.
73+
*/
74+
productFamily: string
6775
}
6876

6977
export interface ContactPointEmail {

packages_generated/lb/src/v1/marshalling.gen.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ export const unmarshalFrontend = (data: unknown): Frontend => {
434434
certificateIds: data.certificate_ids,
435435
connectionRateLimit: data.connection_rate_limit,
436436
createdAt: unmarshalDate(data.created_at),
437+
enableAccessLogs: data.enable_access_logs,
437438
enableHttp3: data.enable_http3,
438439
id: data.id,
439440
inboundPort: data.inbound_port,
@@ -1133,6 +1134,7 @@ export const marshalCreateFrontendRequest = (
11331134
certificate_id: request.certificateId,
11341135
certificate_ids: request.certificateIds,
11351136
connection_rate_limit: request.connectionRateLimit,
1137+
enable_access_logs: request.enableAccessLogs,
11361138
enable_http3: request.enableHttp3,
11371139
inbound_port: request.inboundPort,
11381140
name: request.name || randomName('lbf'),
@@ -1342,6 +1344,7 @@ export const marshalUpdateFrontendRequest = (
13421344
certificate_id: request.certificateId,
13431345
certificate_ids: request.certificateIds,
13441346
connection_rate_limit: request.connectionRateLimit,
1347+
enable_access_logs: request.enableAccessLogs,
13451348
enable_http3: request.enableHttp3,
13461349
inbound_port: request.inboundPort,
13471350
name: request.name,
@@ -1580,6 +1583,7 @@ export const marshalZonedApiCreateFrontendRequest = (
15801583
certificate_id: request.certificateId,
15811584
certificate_ids: request.certificateIds,
15821585
connection_rate_limit: request.connectionRateLimit,
1586+
enable_access_logs: request.enableAccessLogs,
15831587
enable_http3: request.enableHttp3,
15841588
inbound_port: request.inboundPort,
15851589
name: request.name || randomName('lbf'),
@@ -1791,6 +1795,7 @@ export const marshalZonedApiUpdateFrontendRequest = (
17911795
certificate_id: request.certificateId,
17921796
certificate_ids: request.certificateIds,
17931797
connection_rate_limit: request.connectionRateLimit,
1798+
enable_access_logs: request.enableAccessLogs,
17941799
enable_http3: request.enableHttp3,
17951800
inbound_port: request.inboundPort,
17961801
name: request.name,

packages_generated/lb/src/v1/types.gen.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,10 @@ export interface Frontend {
711711
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
712712
*/
713713
connectionRateLimit?: number
714+
/**
715+
* Defines wether to enable access logs on the frontend.
716+
*/
717+
enableAccessLogs: boolean
714718
}
715719

716720
export interface PrivateNetworkDHCPConfig {
@@ -1205,6 +1209,10 @@ export type CreateFrontendRequest = {
12051209
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
12061210
*/
12071211
connectionRateLimit?: number
1212+
/**
1213+
* Defines wether to enable access logs on the frontend.
1214+
*/
1215+
enableAccessLogs: boolean
12081216
}
12091217

12101218
export type CreateIpRequest = {
@@ -2240,6 +2248,10 @@ export type UpdateFrontendRequest = {
22402248
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
22412249
*/
22422250
connectionRateLimit?: number
2251+
/**
2252+
* Defines wether to enable access logs on the frontend.
2253+
*/
2254+
enableAccessLogs?: boolean
22432255
}
22442256

22452257
export type UpdateHealthCheckRequest = {
@@ -2664,6 +2676,10 @@ export type ZonedApiCreateFrontendRequest = {
26642676
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
26652677
*/
26662678
connectionRateLimit?: number
2679+
/**
2680+
* Defines wether to enable access logs on the frontend.
2681+
*/
2682+
enableAccessLogs: boolean
26672683
}
26682684

26692685
export type ZonedApiCreateIpRequest = {
@@ -3575,6 +3591,10 @@ export type ZonedApiUpdateFrontendRequest = {
35753591
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
35763592
*/
35773593
connectionRateLimit?: number
3594+
/**
3595+
* Defines wether to enable access logs on the frontend.
3596+
*/
3597+
enableAccessLogs?: boolean
35783598
}
35793599

35803600
export type ZonedApiUpdateHealthCheckRequest = {

0 commit comments

Comments
 (0)