diff --git a/packages/clients/src/api/k8s/v1/index.gen.ts b/packages/clients/src/api/k8s/v1/index.gen.ts index 1399f8c14..24e6cbcfb 100644 --- a/packages/clients/src/api/k8s/v1/index.gen.ts +++ b/packages/clients/src/api/k8s/v1/index.gen.ts @@ -13,6 +13,7 @@ export type { ClusterStatus, ClusterType, ClusterTypeAvailability, + ClusterTypeResiliency, CreateClusterRequest, CreateClusterRequestAutoUpgrade, CreateClusterRequestAutoscalerConfig, diff --git a/packages/clients/src/api/k8s/v1/marshalling.gen.ts b/packages/clients/src/api/k8s/v1/marshalling.gen.ts index 3b7d1851b..10e9c7e3a 100644 --- a/packages/clients/src/api/k8s/v1/marshalling.gen.ts +++ b/packages/clients/src/api/k8s/v1/marshalling.gen.ts @@ -179,6 +179,8 @@ const unmarshalClusterType = (data: unknown) => { commitmentDelay: data.commitment_delay, maxNodes: data.max_nodes, name: data.name, + resiliency: data.resiliency, + sla: data.sla, } as ClusterType } diff --git a/packages/clients/src/api/k8s/v1/types.gen.ts b/packages/clients/src/api/k8s/v1/types.gen.ts index 27b73ec7e..e618fa754 100644 --- a/packages/clients/src/api/k8s/v1/types.gen.ts +++ b/packages/clients/src/api/k8s/v1/types.gen.ts @@ -32,6 +32,11 @@ export type ClusterStatus = export type ClusterTypeAvailability = 'available' | 'scarce' | 'shortage' +export type ClusterTypeResiliency = + | 'unknown_resiliency' + | 'standard' + | 'high_availability' + export type Ingress = | 'unknown_ingress' | 'none' @@ -270,6 +275,10 @@ export interface ClusterType { maxNodes: number /** Time period during which you can no longer switch to a lower offer. */ commitmentDelay?: string + /** Value of the Service Level Agreement of the offer. */ + sla: number + /** Resiliency offered by the offer. */ + resiliency: ClusterTypeResiliency } /** Create cluster request. auto upgrade. */