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
2 changes: 2 additions & 0 deletions packages/clients/src/api/lb/v1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ export class ZonedAPI extends ParentAPI {
request.pageSize ?? this.client.settings.defaultPageSize,
],
['project_id', request.projectId],
['tags', request.tags],
),
},
unmarshalListIpsResponse,
Expand Down Expand Up @@ -1616,6 +1617,7 @@ export class API extends ParentAPI {
request.pageSize ?? this.client.settings.defaultPageSize,
],
['project_id', request.projectId],
['tags', request.tags],
),
},
unmarshalListIpsResponse,
Expand Down
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 @@ -118,6 +118,7 @@ export const unmarshalIp = (data: unknown): Ip => {
projectId: data.project_id,
region: data.region,
reverse: data.reverse,
tags: data.tags,
zone: data.zone,
} as Ip
}
Expand Down Expand Up @@ -1136,6 +1137,7 @@ export const marshalCreateIpRequest = (
): Record<string, unknown> => ({
is_ipv6: request.isIpv6,
reverse: request.reverse,
tags: request.tags,
...resolveOneOf([
{
default: defaults.defaultProjectId,
Expand Down Expand Up @@ -1404,6 +1406,7 @@ export const marshalUpdateIpRequest = (
): Record<string, unknown> => ({
lb_id: request.lbId,
reverse: request.reverse,
tags: request.tags,
})

export const marshalUpdateLbRequest = (
Expand Down Expand Up @@ -1575,6 +1578,7 @@ export const marshalZonedApiCreateIpRequest = (
): Record<string, unknown> => ({
is_ipv6: request.isIpv6,
reverse: request.reverse,
tags: request.tags,
...resolveOneOf([
{
default: defaults.defaultProjectId,
Expand Down Expand Up @@ -1840,6 +1844,7 @@ export const marshalZonedApiUpdateIpRequest = (
): Record<string, unknown> => ({
lb_id: request.lbId,
reverse: request.reverse,
tags: request.tags,
})

export const marshalZonedApiUpdateLbRequest = (
Expand Down
20 changes: 20 additions & 0 deletions packages/clients/src/api/lb/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ export interface Ip {
lbId?: string
/** Reverse DNS (domain name) of the IP address. */
reverse: string
/** IP tags. */
tags: string[]
/** @deprecated The region the IP address is in. */
region?: Region
/** The zone the IP address is in. */
Expand Down Expand Up @@ -982,6 +984,8 @@ export type CreateIpRequest = {
reverse?: string
/** If true, creates a Flexible IP with an ipv6 address. */
isIpv6: boolean
/** List of tags for the IP. */
tags?: string[]
}

export type CreateLbRequest = {
Expand Down Expand Up @@ -1440,6 +1444,11 @@ export type ListIPsRequest = {
projectId?: string
/** IP type to filter for. */
ipType?: ListIpsRequestIpType
/**
* Tag to filter for, only IPs with one or more matching tags will be
* returned.
*/
tags?: string[]
}

export interface ListIpsResponse {
Expand Down Expand Up @@ -1897,6 +1906,8 @@ export type UpdateIpRequest = {
reverse?: string
/** ID of the server on which to attach the flexible IP. */
lbId?: string
/** List of tags for the IP. */
tags?: string[]
}

export type UpdateLbRequest = {
Expand Down Expand Up @@ -2182,6 +2193,8 @@ export type ZonedApiCreateIpRequest = {
reverse?: string
/** If true, creates a Flexible IP with an ipv6 address. */
isIpv6: boolean
/** List of tags for the IP. */
tags?: string[]
}

export type ZonedApiCreateLbRequest = {
Expand Down Expand Up @@ -2522,6 +2535,11 @@ export type ZonedApiListIPsRequest = {
projectId?: string
/** IP type to filter for. */
ipType?: ListIpsRequestIpType
/**
* Tag to filter for, only IPs with one or more matching tags will be
* returned.
*/
tags?: string[]
}

export type ZonedApiListLbPrivateNetworksRequest = {
Expand Down Expand Up @@ -2891,6 +2909,8 @@ export type ZonedApiUpdateIpRequest = {
reverse?: string
/** ID of the server on which to attach the flexible IP. */
lbId?: string
/** List of tags for the IP. */
tags?: string[]
}

export type ZonedApiUpdateLbRequest = {
Expand Down