Skip to content

Commit ee5ac49

Browse files
authored
feat(vpc): allow listing regional PN using includeRegional parameter (#565)
1 parent 3cfa9e9 commit ee5ac49

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/clients/src/api/vpc/v1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export class API extends ParentAPI {
5151
request.zone ?? this.client.settings.defaultZone,
5252
)}/private-networks`,
5353
urlParams: urlParams(
54+
['include_regional', request.includeRegional],
5455
['name', request.name],
5556
['order_by', request.orderBy ?? 'created_at_asc'],
5657
['organization_id', request.organizationId],

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ export type ListPrivateNetworksRequest = {
5454
projectId?: string
5555
/** The PrivateNetwork IDs on which to filter the returned private networks. */
5656
privateNetworkIds?: string[]
57+
/** Include regional Private Networks. */
58+
includeRegional?: boolean
5759
}
5860

5961
export type CreatePrivateNetworkRequest = {

0 commit comments

Comments
 (0)