File tree 2 files changed +9
-0
lines changed
packages/clients/src/api/vpc/v2
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 => {
38
38
return {
39
39
createdAt : unmarshalDate ( data . created_at ) ,
40
40
id : data . id ,
41
+ privateNetworkId : data . private_network_id ,
42
+ projectId : data . project_id ,
41
43
subnet : data . subnet ,
42
44
updatedAt : unmarshalDate ( data . updated_at ) ,
45
+ vpcId : data . vpc_id ,
43
46
} as Subnet
44
47
}
45
48
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ export interface Subnet {
25
25
updatedAt ?: Date
26
26
/** Subnet CIDR. */
27
27
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
28
34
}
29
35
30
36
export interface PrivateNetwork {
You can’t perform that action at this time.
0 commit comments