Skip to content

Commit 76a1c30

Browse files
authored
feat(lb): release private lb feature (#879)
1 parent 868b66f commit 76a1c30

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

packages/clients/src/api/lb/v1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ export const unmarshalPrivateNetwork = (data: unknown) => {
570570
ipamConfig: data.ipam_config
571571
? unmarshalPrivateNetworkIpamConfig(data.ipam_config)
572572
: undefined,
573+
ipamIds: data.ipam_ids,
573574
lb: data.lb ? unmarshalLb(data.lb) : undefined,
574575
privateNetworkId: data.private_network_id,
575576
staticConfig: data.static_config

packages/clients/src/api/lb/v1/types.gen.ts

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ export interface ListSubscriberResponse {
763763
export interface PrivateNetwork {
764764
/** Load Balancer object which is attached to the Private Network. */
765765
lb?: Lb
766+
/** IPAM IDs of the booked IP addresses. */
767+
ipamIds: string[]
766768
/**
767769
* @deprecated Object containing an array of a local IP address for the Load
768770
* Balancer on this Private Network.
@@ -772,10 +774,10 @@ export interface PrivateNetwork {
772774
*/
773775
staticConfig?: PrivateNetworkStaticConfig
774776
/**
775-
* Object containing DHCP-assigned IP addresses.
777+
* @deprecated Object containing DHCP-assigned IP addresses.
776778
*
777-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig',
778-
* 'ipamConfig' could be set.
779+
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig',
780+
* 'ipamConfig' could be set.
779781
*/
780782
dhcpConfig?: PrivateNetworkDHCPConfig
781783
/**
@@ -796,6 +798,7 @@ export interface PrivateNetwork {
796798
}
797799

798800
export interface PrivateNetworkDHCPConfig {
801+
/** @deprecated */
799802
ipId?: string
800803
}
801804

@@ -1978,10 +1981,10 @@ export type AttachPrivateNetworkRequest = {
19781981
*/
19791982
staticConfig?: PrivateNetworkStaticConfig
19801983
/**
1981-
* Defines whether to let DHCP assign IP addresses.
1984+
* @deprecated Defines whether to let DHCP assign IP addresses.
19821985
*
1983-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig',
1984-
* 'ipamConfig' could be set.
1986+
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig',
1987+
* 'ipamConfig' could be set.
19851988
*/
19861989
dhcpConfig?: PrivateNetworkDHCPConfig
19871990
/**
@@ -2945,10 +2948,10 @@ export type ZonedApiAttachPrivateNetworkRequest = {
29452948
*/
29462949
staticConfig?: PrivateNetworkStaticConfig
29472950
/**
2948-
* Defines whether to let DHCP assign IP addresses.
2951+
* @deprecated Defines whether to let DHCP assign IP addresses.
29492952
*
2950-
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig',
2951-
* 'ipamConfig' could be set.
2953+
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig',
2954+
* 'ipamConfig' could be set.
29522955
*/
29532956
dhcpConfig?: PrivateNetworkDHCPConfig
29542957
/**

0 commit comments

Comments
 (0)