diff --git a/packages/clients/src/api/k8s/v1/marshalling.gen.ts b/packages/clients/src/api/k8s/v1/marshalling.gen.ts index fcf72d711..c0a24249e 100644 --- a/packages/clients/src/api/k8s/v1/marshalling.gen.ts +++ b/packages/clients/src/api/k8s/v1/marshalling.gen.ts @@ -230,6 +230,7 @@ export const unmarshalPool = (data: unknown) => { name: data.name, nodeType: data.node_type, placementGroupId: data.placement_group_id, + publicIpDisabled: data.public_ip_disabled, region: data.region, rootVolumeSize: data.root_volume_size, rootVolumeType: data.root_volume_type, @@ -449,6 +450,7 @@ const marshalCreateClusterRequestPoolConfig = ( name: request.name, node_type: request.nodeType, placement_group_id: request.placementGroupId, + public_ip_disabled: request.publicIpDisabled, root_volume_size: request.rootVolumeSize, root_volume_type: request.rootVolumeType, size: request.size, @@ -580,6 +582,7 @@ export const marshalCreatePoolRequest = ( name: request.name || randomName('pool'), node_type: request.nodeType, placement_group_id: request.placementGroupId, + public_ip_disabled: request.publicIpDisabled, root_volume_size: request.rootVolumeSize, root_volume_type: request.rootVolumeType ?? 'default_volume_type', size: request.size, diff --git a/packages/clients/src/api/k8s/v1/types.gen.ts b/packages/clients/src/api/k8s/v1/types.gen.ts index 2322a1813..572d87465 100644 --- a/packages/clients/src/api/k8s/v1/types.gen.ts +++ b/packages/clients/src/api/k8s/v1/types.gen.ts @@ -430,6 +430,12 @@ export interface CreateClusterRequestPoolConfig { rootVolumeType: PoolVolumeType /** System volume disk size. */ rootVolumeSize?: number + /** + * 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 } /** Create cluster request. pool config. upgrade policy. */ @@ -621,6 +627,12 @@ export interface Pool { rootVolumeType: PoolVolumeType /** System volume disk size. */ rootVolumeSize?: number + /** + * 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 /** Cluster region of the pool. */ region: Region } @@ -1086,6 +1098,12 @@ export type CreatePoolRequest = { rootVolumeType?: PoolVolumeType /** System volume disk size. */ rootVolumeSize?: number + /** + * 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 } export type GetPoolRequest = {