Skip to content

Commit f33fe0f

Browse files
feat(vpc): add support DefaultRoutePropagationEnabled (scaleway#2560)
Co-authored-by: Laure-di <[email protected]>
1 parent 0b3b72a commit f33fe0f

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
@@ -384,6 +384,9 @@ type PrivateNetwork struct {
384384

385385
// DHCPEnabled: defines whether managed DHCP is enabled for this Private Network.
386386
DHCPEnabled bool `json:"dhcp_enabled"`
387+
388+
// DefaultRoutePropagationEnabled: defines whether default v4 and v6 routes are propagated for this Private Network.
389+
DefaultRoutePropagationEnabled bool `json:"default_route_propagation_enabled"`
387390
}
388391

389392
// Route: route.
@@ -542,6 +545,9 @@ type CreatePrivateNetworkRequest struct {
542545

543546
// VpcID: vPC in which to create the Private Network.
544547
VpcID *string `json:"vpc_id,omitempty"`
548+
549+
// DefaultRoutePropagationEnabled: defines whether default v4 and v6 routes are propagated for this Private Network.
550+
DefaultRoutePropagationEnabled bool `json:"default_route_propagation_enabled"`
545551
}
546552

547553
// CreateRouteRequest: create route request.
@@ -978,6 +984,9 @@ type UpdatePrivateNetworkRequest struct {
978984

979985
// Tags: tags for the Private Network.
980986
Tags *[]string `json:"tags,omitempty"`
987+
988+
// DefaultRoutePropagationEnabled: defines whether default v4 and v6 routes are propagated for this Private Network.
989+
DefaultRoutePropagationEnabled *bool `json:"default_route_propagation_enabled,omitempty"`
981990
}
982991

983992
// UpdateRouteRequest: update route request.

0 commit comments

Comments
 (0)