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/s2s_vpn/src/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ export class API extends ParentAPI {
path: `/s2s-vpn/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/connections`,
urlParams: urlParams(
['customer_gateway_ids', request.customerGatewayIds],
['is_ipv6', request.isIpv6],
['name', request.name],
['order_by', request.orderBy],
['page', request.page],
Expand Down
11 changes: 9 additions & 2 deletions packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,21 @@ export const unmarshalConnection = (data: unknown): Connection => {
unmarshalConnectionCipher,
),
initiationPolicy: data.initiation_policy,
isIpv6: data.is_ipv6,
name: data.name,
organizationId: data.organization_id,
projectId: data.project_id,
region: data.region,
routePropagationEnabled: data.route_propagation_enabled,
status: data.status,
tags: data.tags,
tunnelStatusIpv4: data.tunnel_status_ipv4,
tunnelStatusIpv6: data.tunnel_status_ipv6,
tunnelStatus: data.tunnel_status,
tunnelStatusIpv4: data.tunnel_status_ipv4
? data.tunnel_status_ipv4
: undefined,
tunnelStatusIpv6: data.tunnel_status_ipv6
? data.tunnel_status_ipv6
: undefined,
updatedAt: unmarshalDate(data.updated_at),
vpnGatewayId: data.vpn_gateway_id,
} as Connection
Expand Down Expand Up @@ -377,6 +383,7 @@ export const marshalCreateConnectionRequest = (
marshalConnectionCipher(elt, defaults),
),
initiation_policy: request.initiationPolicy,
is_ipv6: request.isIpv6,
name: request.name,
project_id: request.projectId ?? defaults.defaultProjectId,
tags: request.tags,
Expand Down
24 changes: 20 additions & 4 deletions packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ export interface Connection {
* Status of the connection.
*/
status: ConnectionStatus
/**
* IP version of the IPSec Tunnel.
*/
isIpv6: boolean
/**
* Who initiates the IPsec tunnel.
*/
Expand All @@ -170,13 +174,17 @@ export interface Connection {
*/
customerGatewayId: string
/**
* Status of the IPv4 IPsec tunnel.
* Status of the IPsec tunnel.
*/
tunnelStatus: TunnelStatus
/**
* @deprecated Status of the IPv4 IPsec tunnel.
*/
tunnelStatusIpv4: TunnelStatus
tunnelStatusIpv4?: TunnelStatus
/**
* Status of the IPv6 IPsec tunnel.
* @deprecated Status of the IPv6 IPsec tunnel.
*/
tunnelStatusIpv6: TunnelStatus
tunnelStatusIpv6?: TunnelStatus
/**
* Status of the BGP IPv4 session.
*/
Expand Down Expand Up @@ -395,6 +403,10 @@ export type CreateConnectionRequest = {
* List of tags to apply to the connection.
*/
tags?: string[]
/**
* Defines IP version of the IPSec Tunnel.
*/
isIpv6: boolean
/**
* Who initiates the IPsec tunnel.
*/
Expand Down Expand Up @@ -713,6 +725,10 @@ export type ListConnectionsRequest = {
* Connection statuses to filter for.
*/
statuses?: ConnectionStatus[]
/**
* Filter connections with IP version of IPSec tunnel.
*/
isIpv6?: boolean
/**
* Filter for connections using these routing policies.
*/
Expand Down
Loading