kb-cloud-client-typescript 2.3.41 → 2.3.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/adminapi/apis/cluster-alert-switch-api.d.ts +74 -10
  2. package/dist/adminapi/apis/cluster-alert-switch-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-alert-switch-api.js +82 -8
  4. package/dist/adminapi/apis/cluster-alert-switch-api.js.map +1 -1
  5. package/dist/adminapi/apis/cluster-log-api.d.ts +10 -2
  6. package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/cluster-log-api.js +10 -5
  8. package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
  9. package/dist/adminapi/apis/cluster-loki-log-api.d.ts +10 -2
  10. package/dist/adminapi/apis/cluster-loki-log-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/cluster-loki-log-api.js +10 -5
  12. package/dist/adminapi/apis/cluster-loki-log-api.js.map +1 -1
  13. package/dist/adminapi/apis/shared-api.d.ts +94 -14
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +102 -18
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/alert-cluster-silence-mode.d.ts +22 -0
  18. package/dist/adminapi/models/alert-cluster-silence-mode.d.ts.map +1 -0
  19. package/dist/adminapi/models/alert-cluster-silence-mode.js +26 -0
  20. package/dist/adminapi/models/alert-cluster-silence-mode.js.map +1 -0
  21. package/dist/adminapi/models/alert-cluster-silence.d.ts +74 -0
  22. package/dist/adminapi/models/alert-cluster-silence.d.ts.map +1 -0
  23. package/dist/adminapi/models/alert-cluster-silence.js +16 -0
  24. package/dist/adminapi/models/alert-cluster-silence.js.map +1 -0
  25. package/dist/adminapi/models/alert-cluster.d.ts +21 -2
  26. package/dist/adminapi/models/alert-cluster.d.ts.map +1 -1
  27. package/dist/adminapi/models/component-item-create.d.ts +2 -2
  28. package/dist/adminapi/models/component-option-version-blocked-upgrade-from-inner.d.ts +31 -0
  29. package/dist/adminapi/models/component-option-version-blocked-upgrade-from-inner.d.ts.map +1 -0
  30. package/dist/adminapi/models/component-option-version-blocked-upgrade-from-inner.js +16 -0
  31. package/dist/adminapi/models/component-option-version-blocked-upgrade-from-inner.js.map +1 -0
  32. package/dist/adminapi/models/component-option-version.d.ts +7 -0
  33. package/dist/adminapi/models/component-option-version.d.ts.map +1 -1
  34. package/dist/adminapi/models/index.d.ts +3 -0
  35. package/dist/adminapi/models/index.d.ts.map +1 -1
  36. package/dist/adminapi/models/index.js +3 -0
  37. package/dist/adminapi/models/index.js.map +1 -1
  38. package/dist/adminapi/models/mode-component-instance-template.d.ts +3 -3
  39. package/dist/adminapi/models/ops-hscale.d.ts +2 -2
  40. package/dist/openapi/apis/cluster-alert-switch-api.d.ts +74 -10
  41. package/dist/openapi/apis/cluster-alert-switch-api.d.ts.map +1 -1
  42. package/dist/openapi/apis/cluster-alert-switch-api.js +82 -8
  43. package/dist/openapi/apis/cluster-alert-switch-api.js.map +1 -1
  44. package/dist/openapi/apis/cluster-log-api.d.ts +10 -2
  45. package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
  46. package/dist/openapi/apis/cluster-log-api.js +10 -5
  47. package/dist/openapi/apis/cluster-log-api.js.map +1 -1
  48. package/dist/openapi/apis/cluster-loki-log-api.d.ts +10 -2
  49. package/dist/openapi/apis/cluster-loki-log-api.d.ts.map +1 -1
  50. package/dist/openapi/apis/cluster-loki-log-api.js +10 -5
  51. package/dist/openapi/apis/cluster-loki-log-api.js.map +1 -1
  52. package/dist/openapi/apis/shared-api.d.ts +94 -14
  53. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  54. package/dist/openapi/apis/shared-api.js +102 -18
  55. package/dist/openapi/apis/shared-api.js.map +1 -1
  56. package/dist/openapi/models/alert-cluster-silence-mode.d.ts +22 -0
  57. package/dist/openapi/models/alert-cluster-silence-mode.d.ts.map +1 -0
  58. package/dist/openapi/models/alert-cluster-silence-mode.js +26 -0
  59. package/dist/openapi/models/alert-cluster-silence-mode.js.map +1 -0
  60. package/dist/openapi/models/alert-cluster-silence.d.ts +74 -0
  61. package/dist/openapi/models/alert-cluster-silence.d.ts.map +1 -0
  62. package/dist/openapi/models/alert-cluster-silence.js +16 -0
  63. package/dist/openapi/models/alert-cluster-silence.js.map +1 -0
  64. package/dist/openapi/models/alert-cluster.d.ts +21 -2
  65. package/dist/openapi/models/alert-cluster.d.ts.map +1 -1
  66. package/dist/openapi/models/component-item-create.d.ts +2 -2
  67. package/dist/openapi/models/component-option-version-blocked-upgrade-from-inner.d.ts +31 -0
  68. package/dist/openapi/models/component-option-version-blocked-upgrade-from-inner.d.ts.map +1 -0
  69. package/dist/openapi/models/component-option-version-blocked-upgrade-from-inner.js +16 -0
  70. package/dist/openapi/models/component-option-version-blocked-upgrade-from-inner.js.map +1 -0
  71. package/dist/openapi/models/component-option-version.d.ts +7 -0
  72. package/dist/openapi/models/component-option-version.d.ts.map +1 -1
  73. package/dist/openapi/models/index.d.ts +3 -0
  74. package/dist/openapi/models/index.d.ts.map +1 -1
  75. package/dist/openapi/models/index.js +3 -0
  76. package/dist/openapi/models/index.js.map +1 -1
  77. package/dist/openapi/models/mode-component-instance-template.d.ts +3 -3
  78. package/dist/openapi/models/ops-hscale.d.ts +2 -2
  79. package/package.json +1 -1
  80. package/src/adminapi/.openapi-generator/FILES +3 -0
  81. package/src/adminapi/apis/cluster-alert-switch-api.ts +124 -10
  82. package/src/adminapi/apis/cluster-log-api.ts +18 -5
  83. package/src/adminapi/apis/cluster-loki-log-api.ts +18 -5
  84. package/src/adminapi/apis/shared-api.ts +160 -20
  85. package/src/adminapi/models/alert-cluster-silence-mode.ts +31 -0
  86. package/src/adminapi/models/alert-cluster-silence.ts +83 -0
  87. package/src/adminapi/models/alert-cluster.ts +23 -2
  88. package/src/adminapi/models/component-item-create.ts +2 -2
  89. package/src/adminapi/models/component-option-version-blocked-upgrade-from-inner.ts +36 -0
  90. package/src/adminapi/models/component-option-version.ts +9 -0
  91. package/src/adminapi/models/index.ts +3 -0
  92. package/src/adminapi/models/mode-component-instance-template.ts +3 -3
  93. package/src/adminapi/models/ops-hscale.ts +2 -2
  94. package/src/adminapi.yaml +172 -52
  95. package/src/openapi/.openapi-generator/FILES +3 -0
  96. package/src/openapi/apis/cluster-alert-switch-api.ts +124 -10
  97. package/src/openapi/apis/cluster-log-api.ts +18 -5
  98. package/src/openapi/apis/cluster-loki-log-api.ts +18 -5
  99. package/src/openapi/apis/shared-api.ts +160 -20
  100. package/src/openapi/models/alert-cluster-silence-mode.ts +31 -0
  101. package/src/openapi/models/alert-cluster-silence.ts +83 -0
  102. package/src/openapi/models/alert-cluster.ts +23 -2
  103. package/src/openapi/models/component-item-create.ts +2 -2
  104. package/src/openapi/models/component-option-version-blocked-upgrade-from-inner.ts +36 -0
  105. package/src/openapi/models/component-option-version.ts +9 -0
  106. package/src/openapi/models/index.ts +3 -0
  107. package/src/openapi/models/mode-component-instance-template.ts +3 -3
  108. package/src/openapi/models/ops-hscale.ts +2 -2
  109. package/src/openapi.yaml +134 -14
@@ -24,19 +24,19 @@ import type { InstanceTemplateEnv } from './instance-template-env';
24
24
  import type { InstanceTemplateOp } from './instance-template-op';
25
25
 
26
26
  /**
27
- * Template fields and operations shared by the frontend and backend. Declaring storageExpansion in ops requires explicit volume expansion targets for every name. Components without this capability use component-level expansion.
27
+ * Template fields and operations shared by the frontend and backend. Requested components require creation template targets when instanceTemplate is declared. Declaring hscale or storageExpansion in ops requires explicit targets for every name. The hscale requirement applies to replica scaling only.
28
28
  * @export
29
29
  * @interface ModeComponentInstanceTemplate
30
30
  */
31
31
  export interface ModeComponentInstanceTemplate {
32
32
  /**
33
- * Instance template names the frontend should render. Create and hscale check names against the chart or live Cluster, not this list. Explicit volume expansion targets must include every name in this list.
33
+ * Instance template names the frontend should render. Create checks names against the chart. Replica hscale and volume expansion targets must include every name in this list.
34
34
  * @type {Set<string>}
35
35
  * @memberof ModeComponentInstanceTemplate
36
36
  */
37
37
  'names': Set<string>;
38
38
  /**
39
- * Template operations: hscale, storageExpansion, and reserved vscale. Explicit volume expansion targets must match component volume names and target capacities.
39
+ * Template operations: hscale, storageExpansion, and reserved vscale. Template hscale replicas must sum to the component target. Volume expansion targets must match component volume names and capacities.
40
40
  * @type {Array<InstanceTemplateOp>}
41
41
  * @memberof ModeComponentInstanceTemplate
42
42
  */
@@ -21,7 +21,7 @@ import type { InstanceTemplateReplicas } from './instance-template-replicas';
21
21
  import type { TaskSchedule } from './task-schedule';
22
22
 
23
23
  /**
24
- * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. instanceTemplates is an optional overlay and requires top-level replicas.
24
+ * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. Replica scaling requires explicit template targets when the current mode component declares instanceTemplate.ops hscale.
25
25
  * @export
26
26
  * @interface OpsHScale
27
27
  */
@@ -45,7 +45,7 @@ export interface OpsHScale {
45
45
  */
46
46
  'replicas'?: number | null;
47
47
  /**
48
- * Target replica count for named instance templates. Requires top-level replicas. Mapped onto the live Cluster spec to build scaleIn/scaleOut.instances. Required for replica scaling when the live component has instance templates. Names must exactly match all live instance templates, without missing, extra, or duplicate names; order does not matter. Top-level replicas must equal the sum of all requested template replica counts. Shard-count scaling does not check templates and cannot include this list.
48
+ * Explicit template replica targets, required when the current mode component instanceTemplate.ops includes hscale. Otherwise omit for component-level scaling. Requires top-level replicas and every name from instanceTemplate.names, without missing, extra, or duplicate names. Template replica counts must sum to the component target; equal distribution is not required by the API. Component and template changes are sent together in one OpsRequest using current Cluster replicas to calculate scaleIn/scaleOut deltas. Shard-count scaling cannot include this list.
49
49
  * @type {Array<InstanceTemplateReplicas>}
50
50
  * @memberof OpsHScale
51
51
  */
package/src/adminapi.yaml CHANGED
@@ -8872,6 +8872,10 @@ paths:
8872
8872
  name: query
8873
8873
  schema:
8874
8874
  type: string
8875
+ - in: query
8876
+ name: filename
8877
+ schema:
8878
+ type: string
8875
8879
  - in: query
8876
8880
  name: sortType
8877
8881
  schema:
@@ -9243,6 +9247,7 @@ paths:
9243
9247
  - $ref: '#/components/parameters/componentName'
9244
9248
  - $ref: '#/components/parameters/instanceName'
9245
9249
  - $ref: '#/components/parameters/query'
9250
+ - $ref: '#/components/parameters/filename'
9246
9251
  - $ref: '#/components/parameters/sortType'
9247
9252
  responses:
9248
9253
  '200':
@@ -13919,13 +13924,46 @@ paths:
13919
13924
  '401':
13920
13925
  $ref: '#/components/responses/401'
13921
13926
  x-codegen-request-body-name: body
13927
+ /admin/v1/organizations/{orgName}/alerts/cluster/{clusterName}/rules:
13928
+ get:
13929
+ tags:
13930
+ - clusterAlertSwitch
13931
+ - shared
13932
+ operationId: listClusterAlertRules
13933
+ summary: List applicable alert rules for a cluster
13934
+ parameters:
13935
+ - name: orgName
13936
+ in: path
13937
+ description: name of the Org
13938
+ required: true
13939
+ schema:
13940
+ type: string
13941
+ - name: clusterName
13942
+ in: path
13943
+ description: clusterName
13944
+ required: true
13945
+ schema:
13946
+ type: string
13947
+ responses:
13948
+ '200':
13949
+ description: A successful response.
13950
+ content:
13951
+ application/json:
13952
+ schema:
13953
+ $ref: '#/components/schemas/alertRuleList'
13954
+ '401':
13955
+ $ref: '#/components/responses/401'
13956
+ '403':
13957
+ $ref: '#/components/responses/403'
13958
+ '404':
13959
+ $ref: '#/components/responses/404'
13922
13960
  /admin/v1/organizations/{orgName}/alerts/cluster/{clusterName}:
13923
13961
  get:
13924
13962
  tags:
13925
13963
  - clusterAlertSwitch
13926
13964
  - shared
13927
13965
  operationId: getClusterAlertDisabled
13928
- summary: Check if cluster alert is disabled
13966
+ summary: Get cluster alert settings
13929
13967
  parameters:
13930
13968
  - name: orgName
13931
13969
  in: path
@@ -13957,7 +13995,7 @@ paths:
13957
13995
  - clusterAlertSwitch
13958
13996
  - shared
13959
13997
  operationId: setClusterAlertDisabled
13960
- summary: Set cluster alert disabled or enabled
13998
+ summary: Update cluster alert settings
13961
13999
  parameters:
13962
14000
  - name: orgName
13963
14001
  in: path
@@ -30051,11 +30089,11 @@ components:
30051
30089
  replicas:
30052
30090
  title: Replicas
30053
30091
  type: integer
30054
- description: The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. If the rendered component has instance templates, this must equal the sum of all template replica counts in the complete instanceTemplates list.
30092
+ description: The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. When instanceTemplates is provided, this must equal the sum of all template replica counts.
30055
30093
  instanceTemplates:
30056
30094
  type: array
30057
30095
  minItems: 1
30058
- description: Per-template replicas and optional overlays (env, annotations, labels). Required when the chart renders instance templates. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
30096
+ description: Per-template replicas and optional overlays (env, annotations, labels, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
30059
30097
  items:
30060
30098
  $ref: '#/components/schemas/instanceTemplateCreate'
30061
30099
  skipResourceConstraints:
@@ -31489,7 +31527,7 @@ components:
31489
31527
  minimum: 0
31490
31528
  description: Target replica count for this instance template.
31491
31529
  opsHScale:
31492
- description: OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. instanceTemplates is an optional overlay and requires top-level replicas.
31530
+ description: OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. Replica scaling requires explicit template targets when the current mode component declares instanceTemplate.ops hscale.
31493
31531
  required:
31494
31532
  - component
31495
31533
  properties:
@@ -31508,7 +31546,7 @@ components:
31508
31546
  instanceTemplates:
31509
31547
  type: array
31510
31548
  minItems: 1
31511
- description: Target replica count for named instance templates. Requires top-level replicas. Mapped onto the live Cluster spec to build scaleIn/scaleOut.instances. Required for replica scaling when the live component has instance templates. Names must exactly match all live instance templates, without missing, extra, or duplicate names; order does not matter. Top-level replicas must equal the sum of all requested template replica counts. Shard-count scaling does not check templates and cannot include this list.
31549
+ description: Explicit template replica targets, required when the current mode component instanceTemplate.ops includes hscale. Otherwise omit for component-level scaling. Requires top-level replicas and every name from instanceTemplate.names, without missing, extra, or duplicate names. Template replica counts must sum to the component target; equal distribution is not required by the API. Component and template changes are sent together in one OpsRequest using current Cluster replicas to calculate scaleIn/scaleOut deltas. Shard-count scaling cannot include this list.
31512
31550
  items:
31513
31551
  $ref: '#/components/schemas/instanceTemplateReplicas'
31514
31552
  onlineInstancesToOffline:
@@ -38817,46 +38855,6 @@ components:
38817
38855
  required:
38818
38856
  - items
38819
38857
  type: object
38820
- alertCluster:
38821
- required:
38822
- - disabled
38823
- type: object
38824
- properties:
38825
- disabled:
38826
- type: boolean
38827
- URLCheck:
38828
- type: object
38829
- required:
38830
- - url
38831
- properties:
38832
- url:
38833
- type: string
38834
- format: uri
38835
- example: https://example.com
38836
- isConnectable:
38837
- type: boolean
38838
- example: true
38839
- default: false
38840
- timeout:
38841
- type: integer
38842
- minimum: 1
38843
- maximum: 30
38844
- default: 5
38845
- example: 5
38846
- error:
38847
- type: string
38848
- example: null
38849
- alertStatistic:
38850
- type: object
38851
- properties:
38852
- total:
38853
- type: integer
38854
- critical:
38855
- type: integer
38856
- warning:
38857
- type: integer
38858
- info:
38859
- type: integer
38860
38858
  alertSeverity:
38861
38859
  enum:
38862
38860
  - critical
@@ -38920,6 +38918,112 @@ components:
38920
38918
  pageResult:
38921
38919
  $ref: '#/components/schemas/pageResult'
38922
38920
  description: AlertRuleList is a list of alert rules
38921
+ alertClusterSilenceMode:
38922
+ type: string
38923
+ enum:
38924
+ - once
38925
+ - weekly
38926
+ description: Required when enabled. Once uses absolute timestamps; weekly uses weekdays and local times in timeZone.
38927
+ alertClusterSilence:
38928
+ type: object
38929
+ required:
38930
+ - enabled
38931
+ description: Pause notifications while continuing to record alerts. Set enabled to false to cancel. Time windows include their start and exclude their end.
38932
+ properties:
38933
+ enabled:
38934
+ type: boolean
38935
+ rules:
38936
+ type: array
38937
+ maxItems: 1000
38938
+ description: Alert names to silence. Empty or omitted means all cluster alerts.
38939
+ items:
38940
+ type: string
38941
+ minLength: 1
38942
+ maxLength: 255
38943
+ mode:
38944
+ $ref: '#/components/schemas/alertClusterSilenceMode'
38945
+ startsAt:
38946
+ type: string
38947
+ format: date-time
38948
+ description: Required for once. Absolute start of the silence window.
38949
+ endsAt:
38950
+ type: string
38951
+ format: date-time
38952
+ description: Required for once. Must be later than startsAt.
38953
+ weekdays:
38954
+ type: array
38955
+ maxItems: 7
38956
+ description: Required for weekly. Sunday is 0. Overnight windows belong to the weekday on which they start.
38957
+ items:
38958
+ type: integer
38959
+ minimum: 0
38960
+ maximum: 6
38961
+ startTime:
38962
+ type: string
38963
+ description: Required for weekly, in HH:mm format.
38964
+ endTime:
38965
+ type: string
38966
+ description: Required for weekly, in HH:mm format. Earlier than startTime means the following day; equal times are invalid.
38967
+ timeZone:
38968
+ type: string
38969
+ maxLength: 100
38970
+ description: Required for weekly. IANA timezone, e.g. Asia/Shanghai or UTC.
38971
+ alertCluster:
38972
+ type: object
38973
+ description: Cluster-scoped alert settings. PATCH updates only supplied fields; settings apply to both tenant and administrator notifications.
38974
+ properties:
38975
+ disabled:
38976
+ type: boolean
38977
+ x-nullable: true
38978
+ description: Disable all cluster alerts. Existing rule and silence settings are preserved.
38979
+ disabledRules:
38980
+ type: array
38981
+ maxItems: 1000
38982
+ x-omitempty: false
38983
+ description: Alert names disabled only for this cluster. An empty array clears all rule overrides; omission preserves them.
38984
+ items:
38985
+ type: string
38986
+ minLength: 1
38987
+ maxLength: 255
38988
+ silence:
38989
+ $ref: '#/components/schemas/alertClusterSilence'
38990
+ silenceActive:
38991
+ type: boolean
38992
+ readOnly: true
38993
+ description: Whether the configured silence window is active now, regardless of the alert master switch.
38994
+ URLCheck:
38995
+ type: object
38996
+ required:
38997
+ - url
38998
+ properties:
38999
+ url:
39000
+ type: string
39001
+ format: uri
39002
+ example: https://example.com
39003
+ isConnectable:
39004
+ type: boolean
39005
+ example: true
39006
+ default: false
39007
+ timeout:
39008
+ type: integer
39009
+ minimum: 1
39010
+ maximum: 30
39011
+ default: 5
39012
+ example: 5
39013
+ error:
39014
+ type: string
39015
+ example: null
39016
+ alertStatistic:
39017
+ type: object
39018
+ properties:
39019
+ total:
39020
+ type: integer
39021
+ critical:
39022
+ type: integer
39023
+ warning:
39024
+ type: integer
39025
+ info:
39026
+ type: integer
38923
39027
  alertStatus:
38924
39028
  enum:
38925
39029
  - resolved
@@ -39308,6 +39412,21 @@ components:
39308
39412
  type: string
39309
39413
  architecture:
39310
39414
  $ref: '#/components/schemas/componentVersionArchitecture'
39415
+ blockedUpgradeFrom:
39416
+ type: array
39417
+ description: Upgrades that must not be offered or accepted for this component, keyed by the service version the cluster currently runs. Use it when a target version is not a drop-in replacement for a source version, for example when the source image ships modules the target image no longer carries. Upgrades matching no rule stay untouched.
39418
+ items:
39419
+ type: object
39420
+ description: One upgrade restriction while the cluster runs a service version matching from, upgrading to a service version matching to is not allowed.
39421
+ required:
39422
+ - from
39423
+ properties:
39424
+ from:
39425
+ type: string
39426
+ description: Pattern of the service version the cluster currently runs. Supports exact version "7.4.7", version prefix "7.4", and comparisons ">=7.4.5", ">7.4.4", "<=7.4.7", "<7.4.8".
39427
+ to:
39428
+ type: string
39429
+ description: Pattern of the service version the upgrade is blocked to, with the same syntax as from. Omit to block every upgrade target, which makes from the end of the line for the component.
39311
39430
  main:
39312
39431
  description: Main component flag
39313
39432
  type: boolean
@@ -39384,8 +39503,9 @@ components:
39384
39503
  type: object
39385
39504
  description: |
39386
39505
  Template fields and operations shared by the frontend and backend.
39387
- Declaring storageExpansion in ops requires explicit volume expansion targets
39388
- for every name. Components without this capability use component-level expansion.
39506
+ Requested components require creation template targets when instanceTemplate is declared.
39507
+ Declaring hscale or storageExpansion in ops requires explicit targets
39508
+ for every name. The hscale requirement applies to replica scaling only.
39389
39509
  required:
39390
39510
  - names
39391
39511
  - ops
@@ -39398,8 +39518,8 @@ components:
39398
39518
  type: string
39399
39519
  description: |
39400
39520
  Instance template names the frontend should render.
39401
- Create and hscale check names against the chart or live Cluster,
39402
- not this list. Explicit volume expansion targets must include every name in this list.
39521
+ Create checks names against the chart. Replica hscale and volume expansion
39522
+ targets must include every name in this list.
39403
39523
  ops:
39404
39524
  type: array
39405
39525
  minItems: 1
@@ -39407,8 +39527,8 @@ components:
39407
39527
  $ref: '#/components/schemas/instanceTemplateOp'
39408
39528
  description: |
39409
39529
  Template operations: hscale, storageExpansion, and reserved vscale.
39410
- Explicit volume expansion targets must match component volume names
39411
- and target capacities.
39530
+ Template hscale replicas must sum to the component target.
39531
+ Volume expansion targets must match component volume names and capacities.
39412
39532
  attributes:
39413
39533
  type: array
39414
39534
  uniqueItems: true
@@ -133,6 +133,8 @@ models/ai-agent-tool-confirmation-status.ts
133
133
  models/ai-agent-turn-action-list.ts
134
134
  models/ai-agent-turn-action.ts
135
135
  models/ai-agent-turn-status.ts
136
+ models/alert-cluster-silence-mode.ts
137
+ models/alert-cluster-silence.ts
136
138
  models/alert-cluster.ts
137
139
  models/alert-config.ts
138
140
  models/alert-inhibit-list.ts
@@ -299,6 +301,7 @@ models/component-ops-option-dependent-custom-ops-params-inner.ts
299
301
  models/component-ops-option-dependent-custom-ops.ts
300
302
  models/component-ops-option-restore-env-inner.ts
301
303
  models/component-ops-option.ts
304
+ models/component-option-version-blocked-upgrade-from-inner.ts
302
305
  models/component-option-version-major-version-version-mapping-inner.ts
303
306
  models/component-option-version-major-version.ts
304
307
  models/component-option-version-minor-version.ts
@@ -25,6 +25,8 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
25
25
  import type { APIErrorResponse } from '../models';
26
26
  // @ts-ignore
27
27
  import type { AlertCluster } from '../models';
28
+ // @ts-ignore
29
+ import type { AlertRuleList } from '../models';
28
30
  /**
29
31
  * ClusterAlertSwitchApi - axios parameter creator
30
32
  * @export
@@ -33,7 +35,7 @@ export const ClusterAlertSwitchApiAxiosParamCreator = function (configuration?:
33
35
  return {
34
36
  /**
35
37
  *
36
- * @summary Check if cluster alert is disabled
38
+ * @summary Get cluster alert settings
37
39
  * @param {string} orgName name of the Org
38
40
  * @param {string} clusterName clusterName
39
41
  * @param {*} [options] Override http request option.
@@ -78,7 +80,52 @@ export const ClusterAlertSwitchApiAxiosParamCreator = function (configuration?:
78
80
  },
79
81
  /**
80
82
  *
81
- * @summary Set cluster alert disabled or enabled
83
+ * @summary List applicable alert rules for a cluster
84
+ * @param {string} orgName name of the Org
85
+ * @param {string} clusterName clusterName
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ listClusterAlertRules: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
90
+ // verify required parameter 'orgName' is not null or undefined
91
+ assertParamExists('listClusterAlertRules', 'orgName', orgName)
92
+ // verify required parameter 'clusterName' is not null or undefined
93
+ assertParamExists('listClusterAlertRules', 'clusterName', clusterName)
94
+ const localVarPath = `/api/v1/organizations/{orgName}/alerts/cluster/{clusterName}/rules`
95
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
96
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
97
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
98
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
99
+ let baseOptions;
100
+ if (configuration) {
101
+ baseOptions = configuration.baseOptions;
102
+ }
103
+
104
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
105
+ const localVarHeaderParameter = {} as any;
106
+ const localVarQueryParameter = {} as any;
107
+
108
+ // authentication BearerToken required
109
+ // http bearer authentication required
110
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
111
+
112
+ // authentication DigestAuth required
113
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
114
+
115
+
116
+
117
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
118
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
119
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
120
+
121
+ return {
122
+ url: toPathString(localVarUrlObj),
123
+ options: localVarRequestOptions,
124
+ };
125
+ },
126
+ /**
127
+ *
128
+ * @summary Update cluster alert settings
82
129
  * @param {string} orgName name of the Org
83
130
  * @param {string} clusterName clusterName
84
131
  * @param {AlertCluster} [alertCluster]
@@ -137,7 +184,7 @@ export const ClusterAlertSwitchApiFp = function(configuration?: Configuration) {
137
184
  return {
138
185
  /**
139
186
  *
140
- * @summary Check if cluster alert is disabled
187
+ * @summary Get cluster alert settings
141
188
  * @param {string} orgName name of the Org
142
189
  * @param {string} clusterName clusterName
143
190
  * @param {*} [options] Override http request option.
@@ -151,7 +198,21 @@ export const ClusterAlertSwitchApiFp = function(configuration?: Configuration) {
151
198
  },
152
199
  /**
153
200
  *
154
- * @summary Set cluster alert disabled or enabled
201
+ * @summary List applicable alert rules for a cluster
202
+ * @param {string} orgName name of the Org
203
+ * @param {string} clusterName clusterName
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ async listClusterAlertRules(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRuleList>> {
208
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterAlertRules(orgName, clusterName, options);
209
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
210
+ const localVarOperationServerBasePath = operationServerMap['ClusterAlertSwitchApi.listClusterAlertRules']?.[localVarOperationServerIndex]?.url;
211
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
212
+ },
213
+ /**
214
+ *
215
+ * @summary Update cluster alert settings
155
216
  * @param {string} orgName name of the Org
156
217
  * @param {string} clusterName clusterName
157
218
  * @param {AlertCluster} [alertCluster]
@@ -176,7 +237,7 @@ export const ClusterAlertSwitchApiFactory = function (configuration?: Configurat
176
237
  return {
177
238
  /**
178
239
  *
179
- * @summary Check if cluster alert is disabled
240
+ * @summary Get cluster alert settings
180
241
  * @param {ClusterAlertSwitchApiGetClusterAlertDisabledRequest} requestParameters Request parameters.
181
242
  * @param {*} [options] Override http request option.
182
243
  * @throws {RequiredError}
@@ -186,7 +247,17 @@ export const ClusterAlertSwitchApiFactory = function (configuration?: Configurat
186
247
  },
187
248
  /**
188
249
  *
189
- * @summary Set cluster alert disabled or enabled
250
+ * @summary List applicable alert rules for a cluster
251
+ * @param {ClusterAlertSwitchApiListClusterAlertRulesRequest} requestParameters Request parameters.
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ listClusterAlertRules(requestParameters: ClusterAlertSwitchApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
256
+ return localVarFp.listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
257
+ },
258
+ /**
259
+ *
260
+ * @summary Update cluster alert settings
190
261
  * @param {ClusterAlertSwitchApiSetClusterAlertDisabledRequest} requestParameters Request parameters.
191
262
  * @param {*} [options] Override http request option.
192
263
  * @throws {RequiredError}
@@ -205,7 +276,7 @@ export const ClusterAlertSwitchApiFactory = function (configuration?: Configurat
205
276
  export interface ClusterAlertSwitchApiInterface {
206
277
  /**
207
278
  *
208
- * @summary Check if cluster alert is disabled
279
+ * @summary Get cluster alert settings
209
280
  * @param {ClusterAlertSwitchApiGetClusterAlertDisabledRequest} requestParameters Request parameters.
210
281
  * @param {*} [options] Override http request option.
211
282
  * @throws {RequiredError}
@@ -215,7 +286,17 @@ export interface ClusterAlertSwitchApiInterface {
215
286
 
216
287
  /**
217
288
  *
218
- * @summary Set cluster alert disabled or enabled
289
+ * @summary List applicable alert rules for a cluster
290
+ * @param {ClusterAlertSwitchApiListClusterAlertRulesRequest} requestParameters Request parameters.
291
+ * @param {*} [options] Override http request option.
292
+ * @throws {RequiredError}
293
+ * @memberof ClusterAlertSwitchApiInterface
294
+ */
295
+ listClusterAlertRules(requestParameters: ClusterAlertSwitchApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
296
+
297
+ /**
298
+ *
299
+ * @summary Update cluster alert settings
219
300
  * @param {ClusterAlertSwitchApiSetClusterAlertDisabledRequest} requestParameters Request parameters.
220
301
  * @param {*} [options] Override http request option.
221
302
  * @throws {RequiredError}
@@ -246,6 +327,27 @@ export interface ClusterAlertSwitchApiGetClusterAlertDisabledRequest {
246
327
  readonly clusterName: string
247
328
  }
248
329
 
330
+ /**
331
+ * Request parameters for listClusterAlertRules operation in ClusterAlertSwitchApi.
332
+ * @export
333
+ * @interface ClusterAlertSwitchApiListClusterAlertRulesRequest
334
+ */
335
+ export interface ClusterAlertSwitchApiListClusterAlertRulesRequest {
336
+ /**
337
+ * name of the Org
338
+ * @type {string}
339
+ * @memberof ClusterAlertSwitchApiListClusterAlertRules
340
+ */
341
+ readonly orgName: string
342
+
343
+ /**
344
+ * clusterName
345
+ * @type {string}
346
+ * @memberof ClusterAlertSwitchApiListClusterAlertRules
347
+ */
348
+ readonly clusterName: string
349
+ }
350
+
249
351
  /**
250
352
  * Request parameters for setClusterAlertDisabled operation in ClusterAlertSwitchApi.
251
353
  * @export
@@ -283,7 +385,7 @@ export interface ClusterAlertSwitchApiSetClusterAlertDisabledRequest {
283
385
  export class ClusterAlertSwitchApi extends BaseAPI implements ClusterAlertSwitchApiInterface {
284
386
  /**
285
387
  *
286
- * @summary Check if cluster alert is disabled
388
+ * @summary Get cluster alert settings
287
389
  * @param {ClusterAlertSwitchApiGetClusterAlertDisabledRequest} requestParameters Request parameters.
288
390
  * @param {*} [options] Override http request option.
289
391
  * @throws {RequiredError}
@@ -295,7 +397,19 @@ export class ClusterAlertSwitchApi extends BaseAPI implements ClusterAlertSwitch
295
397
 
296
398
  /**
297
399
  *
298
- * @summary Set cluster alert disabled or enabled
400
+ * @summary List applicable alert rules for a cluster
401
+ * @param {ClusterAlertSwitchApiListClusterAlertRulesRequest} requestParameters Request parameters.
402
+ * @param {*} [options] Override http request option.
403
+ * @throws {RequiredError}
404
+ * @memberof ClusterAlertSwitchApi
405
+ */
406
+ public listClusterAlertRules(requestParameters: ClusterAlertSwitchApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig) {
407
+ return ClusterAlertSwitchApiFp(this.configuration).listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
408
+ }
409
+
410
+ /**
411
+ *
412
+ * @summary Update cluster alert settings
299
413
  * @param {ClusterAlertSwitchApiSetClusterAlertDisabledRequest} requestParameters Request parameters.
300
414
  * @param {*} [options] Override http request option.
301
415
  * @throws {RequiredError}