diff --git a/packages_generated/container/src/v1beta1/api.gen.ts b/packages_generated/container/src/v1beta1/api.gen.ts index 50ff9b171..b5baa5f87 100644 --- a/packages_generated/container/src/v1beta1/api.gen.ts +++ b/packages_generated/container/src/v1beta1/api.gen.ts @@ -179,7 +179,7 @@ export class API extends ParentAPI { * @param request - The request {@link CreateNamespaceRequest} * @returns A Promise of Namespace */ - createNamespace = (request: Readonly) => + createNamespace = (request: Readonly = {}) => this.client.fetch( { body: JSON.stringify( diff --git a/packages_generated/container/src/v1beta1/types.gen.ts b/packages_generated/container/src/v1beta1/types.gen.ts index 8962dd468..fc880be50 100644 --- a/packages_generated/container/src/v1beta1/types.gen.ts +++ b/packages_generated/container/src/v1beta1/types.gen.ts @@ -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 } @@ -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 /** @@ -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 = { @@ -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 /** diff --git a/packages_generated/function/src/v1beta1/api.gen.ts b/packages_generated/function/src/v1beta1/api.gen.ts index d20dd7d8b..f3a29e175 100644 --- a/packages_generated/function/src/v1beta1/api.gen.ts +++ b/packages_generated/function/src/v1beta1/api.gen.ts @@ -188,7 +188,7 @@ export class API extends ParentAPI { * @param request - The request {@link CreateNamespaceRequest} * @returns A Promise of Namespace */ - createNamespace = (request: Readonly) => + createNamespace = (request: Readonly = {}) => this.client.fetch( { body: JSON.stringify( diff --git a/packages_generated/function/src/v1beta1/types.gen.ts b/packages_generated/function/src/v1beta1/types.gen.ts index ce07b46d8..dcd5195a9 100644 --- a/packages_generated/function/src/v1beta1/types.gen.ts +++ b/packages_generated/function/src/v1beta1/types.gen.ts @@ -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 } @@ -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 } @@ -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 = { @@ -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 }