Skip to content

Commit

Permalink
feat(vpc/v2): expose Subnet fields that v1 exposed (#2084)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored May 24, 2024
1 parent bf18052 commit 79c74e4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions api/vpc/v2/vpc_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,15 @@ type Subnet struct {

// Subnet: subnet CIDR.
Subnet scw.IPNet `json:"subnet"`

// ProjectID: scaleway Project the subnet belongs to.
ProjectID string `json:"project_id"`

// PrivateNetworkID: private Network the subnet belongs to.
PrivateNetworkID string `json:"private_network_id"`

// VpcID: vPC the subnet belongs to.
VpcID string `json:"vpc_id"`
}

// PrivateNetwork: private network.
Expand Down

0 comments on commit 79c74e4

Please sign in to comment.