Skip to content

Commit fa230c6

Browse files
authored
feat(instance): add tags in Server.public_ips (#919)
1 parent 91e1187 commit fa230c6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ const unmarshalServerIp = (data: unknown) => {
320320
id: data.id,
321321
netmask: data.netmask,
322322
provisioningMode: data.provisioning_mode,
323+
tags: data.tags,
323324
} as ServerIp
324325
}
325326

@@ -1554,6 +1555,7 @@ const marshalServerIp = (
15541555
id: request.id,
15551556
netmask: request.netmask,
15561557
provisioning_mode: request.provisioningMode,
1558+
tags: request.tags,
15571559
})
15581560

15591561
const marshalServerIpv6 = (

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,8 @@ export interface ServerIp {
635635
dynamic: boolean
636636
/** Information about this address provisioning mode. */
637637
provisioningMode: ServerIpProvisioningMode
638+
/** Tags associated with the IP. */
639+
tags: string[]
638640
}
639641

640642
/** Server. ipv6. */

0 commit comments

Comments
 (0)