@@ -15,85 +15,100 @@ export interface ListPrivateNetworksResponse {
1515
1616/** Private network. */
1717export interface PrivateNetwork {
18- /** The private network ID. */
18+ /** Private Network ID. */
1919 id : string
20- /** The private network name. */
20+ /** Private Network name. */
2121 name : string
22- /** The private network organization . */
22+ /** Scaleway Organization the Private Network belongs to . */
2323 organizationId : string
24- /** The private network project ID . */
24+ /** Scaleway Project the Private Network belongs to . */
2525 projectId : string
26- /** The zone in which the private network is available. */
26+ /** Availability Zone in which the Private Network is available. */
2727 zone : Zone
28- /** The private network tags . */
28+ /** Tags of the Private Network . */
2929 tags : string [ ]
30- /** The private network creation date . */
30+ /** Date the Private Network was created . */
3131 createdAt ?: Date
32- /** The last private network modification date . */
32+ /** Date the Private Network was last modified . */
3333 updatedAt ?: Date
34- /** Private network subnets CIDR. */
34+ /** Private Network subnets CIDR. */
3535 subnets : string [ ]
3636}
3737
3838export type ListPrivateNetworksRequest = {
3939 /** Zone to target. If none is passed will use default zone from the config. */
4040 zone ?: Zone
41- /** The sort order of the returned private networks . */
41+ /** Sort order of the returned Private Networks . */
4242 orderBy ?: ListPrivateNetworksRequestOrderBy
43- /** The page number for the returned private networks . */
43+ /** Page number to return, from the paginated results . */
4444 page ?: number
45- /** The maximum number of private networks per page. */
45+ /** Maximum number of Private Networks to return per page. */
4646 pageSize ?: number
47- /** Filter private networks with names containing this string. */
47+ /**
48+ * Name to filter for. Only Private Networks with names containing this string
49+ * will be returned.
50+ */
4851 name ?: string
49- /** Filter private networks with one or more matching tags. */
52+ /**
53+ * Tags to filter for. Only Private Networks with one or more matching tags
54+ * will be returned.
55+ */
5056 tags ?: string [ ]
51- /** The organization ID on which to filter the returned private networks. */
57+ /**
58+ * Organization ID to filter for. Only Private Networks belonging to this
59+ * Organization will be returned.
60+ */
5261 organizationId ?: string
53- /** The project ID on which to filter the returned private networks. */
62+ /**
63+ * Project ID to filter for. Only Private Networks belonging to this Project
64+ * will be returned.
65+ */
5466 projectId ?: string
55- /** The PrivateNetwork IDs on which to filter the returned private networks. */
67+ /**
68+ * Private Network IDs to filter for. Only Private Networks with one of these
69+ * IDs will be returned.
70+ */
5671 privateNetworkIds ?: string [ ]
57- /** Include regional Private Networks. */
72+ /** Defines whether to include regional Private Networks in the response . */
5873 includeRegional ?: boolean
5974}
6075
6176export type CreatePrivateNetworkRequest = {
6277 /** Zone to target. If none is passed will use default zone from the config. */
6378 zone ?: Zone
64- /** The name of the private network . */
79+ /** Name for the Private Network . */
6580 name ?: string
66- /** The project ID of the private network . */
81+ /** Scaleway Project in which to create the Private Network . */
6782 projectId ?: string
68- /** The private networks tags . */
83+ /** Tags for the Private Network . */
6984 tags ?: string [ ]
70- /** Private network subnets CIDR. */
85+ /** Private Network subnets CIDR. */
7186 subnets ?: string [ ]
7287}
7388
7489export type GetPrivateNetworkRequest = {
7590 /** Zone to target. If none is passed will use default zone from the config. */
7691 zone ?: Zone
77- /** The private network id . */
92+ /** Private Network ID . */
7893 privateNetworkId : string
7994}
8095
8196export type UpdatePrivateNetworkRequest = {
8297 /** Zone to target. If none is passed will use default zone from the config. */
8398 zone ?: Zone
84- /** The private network ID. */
99+ /** Private Network ID. */
85100 privateNetworkId : string
86- /** The name of the private network. */
101+ /** Name of the private network. */
87102 name ?: string
88- /** The private networks tags . */
103+ /** Tags for the Private Network . */
89104 tags ?: string [ ]
90- /** @deprecated Private network subnets CIDR (deprecated). */
105+ /** @deprecated Private Network subnets CIDR (deprecated). */
91106 subnets ?: string [ ]
92107}
93108
94109export type DeletePrivateNetworkRequest = {
95110 /** Zone to target. If none is passed will use default zone from the config. */
96111 zone ?: Zone
97- /** The private network ID. */
112+ /** Private Network ID. */
98113 privateNetworkId : string
99114}
0 commit comments