Skip to content

Commit 79c74e4

Browse files
authored
feat(vpc/v2): expose Subnet fields that v1 exposed (#2084)
1 parent bf18052 commit 79c74e4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api/vpc/v2/vpc_sdk.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,15 @@ type Subnet struct {
212212

213213
// Subnet: subnet CIDR.
214214
Subnet scw.IPNet `json:"subnet"`
215+
216+
// ProjectID: scaleway Project the subnet belongs to.
217+
ProjectID string `json:"project_id"`
218+
219+
// PrivateNetworkID: private Network the subnet belongs to.
220+
PrivateNetworkID string `json:"private_network_id"`
221+
222+
// VpcID: vPC the subnet belongs to.
223+
VpcID string `json:"vpc_id"`
215224
}
216225

217226
// PrivateNetwork: private network.

0 commit comments

Comments
 (0)