Skip to content

Commit 877eef8

Browse files
feat(vpc/v2): add apple silicon pnic to rtype of routes with nexthop (scaleway#2420)
Co-authored-by: Laure-di <[email protected]>
1 parent b7cd64f commit 877eef8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

api/vpc/v2/vpc_sdk.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,11 @@ func (enum *ListVPCsRequestOrderBy) UnmarshalJSON(data []byte) error {
206206
type RouteWithNexthopResourceType string
207207

208208
const (
209-
RouteWithNexthopResourceTypeUnknownType = RouteWithNexthopResourceType("unknown_type")
210-
RouteWithNexthopResourceTypeVpcGatewayNetwork = RouteWithNexthopResourceType("vpc_gateway_network")
211-
RouteWithNexthopResourceTypeInstancePrivateNic = RouteWithNexthopResourceType("instance_private_nic")
212-
RouteWithNexthopResourceTypeBaremetalPrivateNic = RouteWithNexthopResourceType("baremetal_private_nic")
209+
RouteWithNexthopResourceTypeUnknownType = RouteWithNexthopResourceType("unknown_type")
210+
RouteWithNexthopResourceTypeVpcGatewayNetwork = RouteWithNexthopResourceType("vpc_gateway_network")
211+
RouteWithNexthopResourceTypeInstancePrivateNic = RouteWithNexthopResourceType("instance_private_nic")
212+
RouteWithNexthopResourceTypeBaremetalPrivateNic = RouteWithNexthopResourceType("baremetal_private_nic")
213+
RouteWithNexthopResourceTypeAppleSiliconPrivateNic = RouteWithNexthopResourceType("apple_silicon_private_nic")
213214
)
214215

215216
func (enum RouteWithNexthopResourceType) String() string {
@@ -226,6 +227,7 @@ func (enum RouteWithNexthopResourceType) Values() []RouteWithNexthopResourceType
226227
"vpc_gateway_network",
227228
"instance_private_nic",
228229
"baremetal_private_nic",
230+
"apple_silicon_private_nic",
229231
}
230232
}
231233

0 commit comments

Comments
 (0)