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
1 change: 1 addition & 0 deletions packages_generated/ipam/src/v1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export class API extends ParentAPI {
{ param: 'zonal', value: request.zonal },
{ param: 'private_network_id', value: request.privateNetworkId },
{ param: 'subnet_id', value: request.subnetId },
{ param: 'source_vpc_id', value: request.sourceVpcId },
]),
),
),
Expand Down
2 changes: 2 additions & 0 deletions packages_generated/ipam/src/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const unmarshalSource = (data: unknown): Source => {
return {
privateNetworkId: data.private_network_id,
subnetId: data.subnet_id,
vpcId: data.vpc_id,
zonal: data.zonal,
} as Source
}
Expand Down Expand Up @@ -123,6 +124,7 @@ const marshalSource = (
{ param: 'zonal', value: request.zonal },
{ param: 'private_network_id', value: request.privateNetworkId },
{ param: 'subnet_id', value: request.subnetId },
{ param: 'vpc_id', value: request.vpcId },
]),
})

Expand Down
22 changes: 16 additions & 6 deletions packages_generated/ipam/src/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,26 @@ export interface Source {
/**
* This source is global.
*
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId' could be set.
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId', 'vpcId' could be set.
*/
zonal?: string
/**
* This source is specific.
*
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId' could be set.
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId', 'vpcId' could be set.
*/
privateNetworkId?: string
/**
* This source is specific.
*
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId' could be set.
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId', 'vpcId' could be set.
*/
subnetId?: string
/**
*
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId', 'vpcId' could be set.
*/
vpcId?: string
}

export interface CustomResource {
Expand Down Expand Up @@ -244,19 +249,19 @@ export type ListIPsRequest = {
/**
* Zone to filter for. Only IPs that are zonal, and in this zone, will be returned.
*
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId' could be set.
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId', 'sourceVpcId' could be set.
*/
zonal?: string
/**
* Only IPs that are private, and in this Private Network, will be returned.
*
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId' could be set.
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId', 'sourceVpcId' could be set.
*/
privateNetworkId?: string
/**
* Only IPs inside this exact subnet will be returned.
*
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId' could be set.
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId', 'sourceVpcId' could be set.
*/
subnetId?: string
/**
Expand Down Expand Up @@ -307,6 +312,11 @@ export type ListIPsRequest = {
* IP IDs to filter for. Only IPs with these UUIDs will be returned.
*/
ipIds?: string[]
/**
*
* One-of ('source'): at most one of 'zonal', 'privateNetworkId', 'subnetId', 'sourceVpcId' could be set.
*/
sourceVpcId?: string
}

export interface ListIPsResponse {
Expand Down
Loading