Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages_generated/container/src/v1beta1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class API extends ParentAPI {
* @param request - The request {@link CreateNamespaceRequest}
* @returns A Promise of Namespace
*/
createNamespace = (request: Readonly<CreateNamespaceRequest>) =>
createNamespace = (request: Readonly<CreateNamespaceRequest> = {}) =>
this.client.fetch<Namespace>(
{
body: JSON.stringify(
Expand Down
11 changes: 3 additions & 8 deletions packages_generated/container/src/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,7 @@ export interface Namespace {
*/
updatedAt?: Date
/**
* @deprecated When activated, containers in the namespace can be connected to a Private Network.
Note that activating the VPC integration can only be done when creating a new namespace.
* @deprecated The value of this field doesn't matter anymore, and will be removed in a near future.
*/
vpcIntegrationActivated?: boolean
}
Expand Down Expand Up @@ -693,8 +692,6 @@ export type CreateContainerRequest = {
tags?: string[]
/**
* When connected to a Private Network, the container can access other Scaleway resources in this Private Network.

Note: this feature is currently in beta and requires a namespace with VPC integration activated, using the `activate_vpc_integration` flag.
*/
privateNetworkId?: string
/**
Expand Down Expand Up @@ -775,9 +772,9 @@ export type CreateNamespaceRequest = {
*/
tags?: string[]
/**
* When activated, containers in the namespace can be connected to a Private Network.
* @deprecated Setting this field to true doesn't matter anymore. It will be removed in a near future.
*/
activateVpcIntegration: boolean
activateVpcIntegration?: boolean
}

export type CreateTokenRequest = {
Expand Down Expand Up @@ -1319,8 +1316,6 @@ export type UpdateContainerRequest = {
tags?: string[]
/**
* When connected to a Private Network, the container can access other Scaleway resources in this Private Network.

Note: this feature is currently in beta and requires a namespace with VPC integration activated, using the `activate_vpc_integration` flag.
*/
privateNetworkId?: string
/**
Expand Down
2 changes: 1 addition & 1 deletion packages_generated/function/src/v1beta1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class API extends ParentAPI {
* @param request - The request {@link CreateNamespaceRequest}
* @returns A Promise of Namespace
*/
createNamespace = (request: Readonly<CreateNamespaceRequest>) =>
createNamespace = (request: Readonly<CreateNamespaceRequest> = {}) =>
this.client.fetch<Namespace>(
{
body: JSON.stringify(
Expand Down
11 changes: 3 additions & 8 deletions packages_generated/function/src/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,7 @@ export interface Namespace {
*/
updatedAt?: Date
/**
* @deprecated When activated, functions in the namespace can be connected to a Private Network.
Note that activating the VPC integration can only be done when creating a new namespace.
* @deprecated The value of this field doesn't matter anymore, and will be removed in a near future.
*/
vpcIntegrationActivated?: boolean
}
Expand Down Expand Up @@ -680,8 +679,6 @@ export type CreateFunctionRequest = {
tags?: string[]
/**
* When connected to a Private Network, the function can access other Scaleway resources in this Private Network.

Note: this feature is currently in beta and requires a namespace with VPC integration activated, using the `activate_vpc_integration` flag.
*/
privateNetworkId?: string
}
Expand Down Expand Up @@ -713,9 +710,9 @@ export type CreateNamespaceRequest = {
*/
tags?: string[]
/**
* When activated, functions in the namespace can be connected to a Private Network.
* @deprecated Setting this field to true doesn't matter anymore. It will be removed in a near future.
*/
activateVpcIntegration: boolean
activateVpcIntegration?: boolean
}

export type CreateTokenRequest = {
Expand Down Expand Up @@ -1303,8 +1300,6 @@ export type UpdateFunctionRequest = {
tags?: string[]
/**
* When connected to a Private Network, the function can access other Scaleway resources in this Private Network.

Note: this feature is currently in beta and requires a namespace with VPC integration activated, using the `activate_vpc_integration` flag.
*/
privateNetworkId?: string
}
Expand Down
Loading