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
3 changes: 3 additions & 0 deletions packages/clients/src/api/instance/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ const unmarshalServerIp = (data: unknown): ServerIp => {
family: data.family,
gateway: data.gateway,
id: data.id,
ipamId: data.ipam_id,
netmask: data.netmask,
provisioningMode: data.provisioning_mode,
state: data.state,
Expand Down Expand Up @@ -476,6 +477,7 @@ const unmarshalIp = (data: unknown): Ip => {
return {
address: data.address,
id: data.id,
ipamId: data.ipam_id,
organization: data.organization,
prefix: data.prefix,
project: data.project,
Expand Down Expand Up @@ -2206,6 +2208,7 @@ const marshalServerIp = (
family: request.family,
gateway: request.gateway,
id: request.id,
ipam_id: request.ipamId,
netmask: request.netmask,
provisioning_mode: request.provisioningMode,
state: request.state,
Expand Down
3 changes: 3 additions & 0 deletions packages/clients/src/api/instance/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ export interface ServerIp {
/** Tags associated with the IP. */
tags: string[]
state: ServerIpState
/** The ip_id of an IPAM ip if the ip is created from IPAM, null if not. */
ipamId: string
}

export interface ServerIpv6 {
Expand Down Expand Up @@ -486,6 +488,7 @@ export interface Ip {
type: IpType
state: IpState
prefix: string
ipamId: string
/** Zone to target. If none is passed will use default zone from the config. */
zone: Zone
}
Expand Down