Skip to content

Commit 3f13aad

Browse files
authored
feat(containers): add VPC integration feature flag (scaleway#2564)
1 parent 9600b6c commit 3f13aad

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

api/container/v1beta1/container_sdk.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,8 @@ type Container struct {
995995

996996
// Tags: list of tags applied to the Serverless Container.
997997
Tags []string `json:"tags"`
998+
999+
PrivateNetworkID *string `json:"private_network_id"`
9981000
}
9991001

10001002
// Cron: cron.
@@ -1088,6 +1090,9 @@ type Namespace struct {
10881090

10891091
// UpdatedAt: last update date of the namespace.
10901092
UpdatedAt *time.Time `json:"updated_at"`
1093+
1094+
// Deprecated
1095+
VpcIntegrationActivated *bool `json:"vpc_integration_activated,omitempty"`
10911096
}
10921097

10931098
// Token: token.
@@ -1241,6 +1246,8 @@ type CreateContainerRequest struct {
12411246

12421247
// Tags: tags of the Serverless Container.
12431248
Tags []string `json:"tags"`
1249+
1250+
PrivateNetworkID *string `json:"private_network_id,omitempty"`
12441251
}
12451252

12461253
// CreateCronRequest: create cron request.
@@ -1295,6 +1302,8 @@ type CreateNamespaceRequest struct {
12951302

12961303
// Tags: tags of the Serverless Container Namespace.
12971304
Tags []string `json:"tags"`
1305+
1306+
ActivateVpcIntegration bool `json:"activate_vpc_integration"`
12981307
}
12991308

13001309
// CreateTokenRequest: create token request.
@@ -1841,6 +1850,8 @@ type UpdateContainerRequest struct {
18411850

18421851
// Tags: tags of the Serverless Container.
18431852
Tags *[]string `json:"tags,omitempty"`
1853+
1854+
PrivateNetworkID *string `json:"private_network_id,omitempty"`
18441855
}
18451856

18461857
// UpdateCronRequest: update cron request.

0 commit comments

Comments
 (0)