File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
packages/clients/src/api/vpc/v2 Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,11 @@ const unmarshalSubnet = (data: unknown): Subnet => {
3838 return {
3939 createdAt : unmarshalDate ( data . created_at ) ,
4040 id : data . id ,
41+ privateNetworkId : data . private_network_id ,
42+ projectId : data . project_id ,
4143 subnet : data . subnet ,
4244 updatedAt : unmarshalDate ( data . updated_at ) ,
45+ vpcId : data . vpc_id ,
4346 } as Subnet
4447}
4548
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ export interface Subnet {
2525 updatedAt ?: Date
2626 /** Subnet CIDR. */
2727 subnet : string
28+ /** Scaleway Project the subnet belongs to. */
29+ projectId : string
30+ /** Private Network the subnet belongs to. */
31+ privateNetworkId : string
32+ /** VPC the subnet belongs to. */
33+ vpcId : string
2834}
2935
3036export interface PrivateNetwork {
You can’t perform that action at this time.
0 commit comments