diff --git a/packages_generated/k8s/src/v1/marshalling.gen.ts b/packages_generated/k8s/src/v1/marshalling.gen.ts index 38f03bb35..2f9f5f77b 100644 --- a/packages_generated/k8s/src/v1/marshalling.gen.ts +++ b/packages_generated/k8s/src/v1/marshalling.gen.ts @@ -96,6 +96,7 @@ export const unmarshalPool = (data: unknown): Pool => { region: data.region, rootVolumeSize: data.root_volume_size, rootVolumeType: data.root_volume_type, + securityGroupId: data.security_group_id, size: data.size, status: data.status, tags: data.tags, @@ -646,6 +647,7 @@ const marshalCreateClusterRequestPoolConfig = ( public_ip_disabled: request.publicIpDisabled, root_volume_size: request.rootVolumeSize, root_volume_type: request.rootVolumeType, + security_group_id: request.securityGroupId, size: request.size, tags: request.tags, upgrade_policy: @@ -735,6 +737,7 @@ export const marshalCreatePoolRequest = ( public_ip_disabled: request.publicIpDisabled, root_volume_size: request.rootVolumeSize, root_volume_type: request.rootVolumeType, + security_group_id: request.securityGroupId, size: request.size, tags: request.tags, upgrade_policy: diff --git a/packages_generated/k8s/src/v1/types.gen.ts b/packages_generated/k8s/src/v1/types.gen.ts index 9a9947c9f..4af055372 100644 --- a/packages_generated/k8s/src/v1/types.gen.ts +++ b/packages_generated/k8s/src/v1/types.gen.ts @@ -325,6 +325,10 @@ export interface Pool { * @deprecated Defines whether the pool is migrated to new images. */ newImagesEnabled?: boolean + /** + * Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone. + */ + securityGroupId: string /** * Cluster region of the pool. */ @@ -526,6 +530,10 @@ export interface CreateClusterRequestPoolConfig { * Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway. */ publicIpDisabled: boolean + /** + * Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone. + */ + securityGroupId?: string } export interface CreatePoolRequestUpgradePolicy { @@ -1071,6 +1079,10 @@ export type CreatePoolRequest = { * Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway. */ publicIpDisabled: boolean + /** + * Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone. + */ + securityGroupId?: string } export type DeleteACLRuleRequest = {