@alicloud/cs20151215 4.3.0 → 4.3.2

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.
package/dist/client.d.ts CHANGED
@@ -108,6 +108,7 @@ export declare class MaintenanceWindow extends $tea.Model {
108
108
  duration?: string;
109
109
  enable?: boolean;
110
110
  maintenanceTime?: string;
111
+ recurrence?: string;
111
112
  weeklyPeriod?: string;
112
113
  static names(): {
113
114
  [key: string]: string;
@@ -2059,6 +2060,7 @@ export declare class DescribeClusterVulsResponse extends $tea.Model {
2059
2060
  export declare class DescribeClustersRequest extends $tea.Model {
2060
2061
  clusterType?: string;
2061
2062
  name?: string;
2063
+ resourceGroupId?: string;
2062
2064
  static names(): {
2063
2065
  [key: string]: string;
2064
2066
  };
@@ -6605,6 +6607,7 @@ export declare class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $
6605
6607
  cveList?: string[];
6606
6608
  name?: string;
6607
6609
  necessity?: string;
6610
+ needReboot?: boolean;
6608
6611
  static names(): {
6609
6612
  [key: string]: string;
6610
6613
  };
@@ -7709,6 +7712,8 @@ export default class Client extends OpenApi {
7709
7712
  */
7710
7713
  cancelClusterUpgrade(ClusterId: string): Promise<CancelClusterUpgradeResponse>;
7711
7714
  /**
7715
+ * @deprecated OpenAPI CancelComponentUpgrade is deprecated
7716
+ *
7712
7717
  * @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
7713
7718
  *
7714
7719
  * @param headers map
@@ -7719,6 +7724,8 @@ export default class Client extends OpenApi {
7719
7724
  [key: string]: string;
7720
7725
  }, runtime: $Util.RuntimeOptions): Promise<CancelComponentUpgradeResponse>;
7721
7726
  /**
7727
+ * @deprecated OpenAPI CancelComponentUpgrade is deprecated
7728
+ *
7722
7729
  * @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
7723
7730
  *
7724
7731
  * @return CancelComponentUpgradeResponse
@@ -9117,6 +9124,8 @@ export default class Client extends OpenApi {
9117
9124
  */
9118
9125
  getKubernetesTrigger(ClusterId: string, request: GetKubernetesTriggerRequest): Promise<GetKubernetesTriggerResponse>;
9119
9126
  /**
9127
+ * @deprecated OpenAPI GetUpgradeStatus is deprecated
9128
+ *
9120
9129
  * @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
9121
9130
  *
9122
9131
  * @param headers map
@@ -9127,6 +9136,8 @@ export default class Client extends OpenApi {
9127
9136
  [key: string]: string;
9128
9137
  }, runtime: $Util.RuntimeOptions): Promise<GetUpgradeStatusResponse>;
9129
9138
  /**
9139
+ * @deprecated OpenAPI GetUpgradeStatus is deprecated
9140
+ *
9130
9141
  * @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
9131
9142
  *
9132
9143
  * @return GetUpgradeStatusResponse
@@ -9469,6 +9480,8 @@ export default class Client extends OpenApi {
9469
9480
  */
9470
9481
  pauseClusterUpgrade(ClusterId: string): Promise<PauseClusterUpgradeResponse>;
9471
9482
  /**
9483
+ * @deprecated OpenAPI PauseComponentUpgrade is deprecated
9484
+ *
9472
9485
  * @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
9473
9486
  *
9474
9487
  * @param headers map
@@ -9479,6 +9492,8 @@ export default class Client extends OpenApi {
9479
9492
  [key: string]: string;
9480
9493
  }, runtime: $Util.RuntimeOptions): Promise<PauseComponentUpgradeResponse>;
9481
9494
  /**
9495
+ * @deprecated OpenAPI PauseComponentUpgrade is deprecated
9496
+ *
9482
9497
  * @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
9483
9498
  *
9484
9499
  * @return PauseComponentUpgradeResponse
@@ -9599,6 +9614,8 @@ export default class Client extends OpenApi {
9599
9614
  */
9600
9615
  repairClusterNodePool(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest): Promise<RepairClusterNodePoolResponse>;
9601
9616
  /**
9617
+ * @deprecated OpenAPI ResumeComponentUpgrade is deprecated
9618
+ *
9602
9619
  * @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
9603
9620
  *
9604
9621
  * @param headers map
@@ -9609,6 +9626,8 @@ export default class Client extends OpenApi {
9609
9626
  [key: string]: string;
9610
9627
  }, runtime: $Util.RuntimeOptions): Promise<ResumeComponentUpgradeResponse>;
9611
9628
  /**
9629
+ * @deprecated OpenAPI ResumeComponentUpgrade is deprecated
9630
+ *
9612
9631
  * @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
9613
9632
  *
9614
9633
  * @return ResumeComponentUpgradeResponse
package/dist/client.js CHANGED
@@ -195,6 +195,7 @@ class MaintenanceWindow extends $tea.Model {
195
195
  duration: 'duration',
196
196
  enable: 'enable',
197
197
  maintenanceTime: 'maintenance_time',
198
+ recurrence: 'recurrence',
198
199
  weeklyPeriod: 'weekly_period',
199
200
  };
200
201
  }
@@ -203,6 +204,7 @@ class MaintenanceWindow extends $tea.Model {
203
204
  duration: 'string',
204
205
  enable: 'boolean',
205
206
  maintenanceTime: 'string',
207
+ recurrence: 'string',
206
208
  weeklyPeriod: 'string',
207
209
  };
208
210
  }
@@ -2902,12 +2904,14 @@ class DescribeClustersRequest extends $tea.Model {
2902
2904
  return {
2903
2905
  clusterType: 'clusterType',
2904
2906
  name: 'name',
2907
+ resourceGroupId: 'resource_group_id',
2905
2908
  };
2906
2909
  }
2907
2910
  static types() {
2908
2911
  return {
2909
2912
  clusterType: 'string',
2910
2913
  name: 'string',
2914
+ resourceGroupId: 'string',
2911
2915
  };
2912
2916
  }
2913
2917
  constructor(map) {
@@ -9356,6 +9360,7 @@ class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Model {
9356
9360
  cveList: 'cve_list',
9357
9361
  name: 'name',
9358
9362
  necessity: 'necessity',
9363
+ needReboot: 'need_reboot',
9359
9364
  };
9360
9365
  }
9361
9366
  static types() {
@@ -9364,6 +9369,7 @@ class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Model {
9364
9369
  cveList: { 'type': 'array', 'itemType': 'string' },
9365
9370
  name: 'string',
9366
9371
  necessity: 'string',
9372
+ needReboot: 'boolean',
9367
9373
  };
9368
9374
  }
9369
9375
  constructor(map) {
@@ -11110,12 +11116,15 @@ class Client extends openapi_client_1.default {
11110
11116
  return await this.cancelClusterUpgradeWithOptions(ClusterId, headers, runtime);
11111
11117
  }
11112
11118
  /**
11119
+ * @deprecated OpenAPI CancelComponentUpgrade is deprecated
11120
+ *
11113
11121
  * @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
11114
11122
  *
11115
11123
  * @param headers map
11116
11124
  * @param runtime runtime options for this request RuntimeOptions
11117
11125
  * @return CancelComponentUpgradeResponse
11118
11126
  */
11127
+ // Deprecated
11119
11128
  async cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime) {
11120
11129
  let req = new $OpenApi.OpenApiRequest({
11121
11130
  headers: headers,
@@ -11134,10 +11143,13 @@ class Client extends openapi_client_1.default {
11134
11143
  return $tea.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
11135
11144
  }
11136
11145
  /**
11146
+ * @deprecated OpenAPI CancelComponentUpgrade is deprecated
11147
+ *
11137
11148
  * @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
11138
11149
  *
11139
11150
  * @return CancelComponentUpgradeResponse
11140
11151
  */
11152
+ // Deprecated
11141
11153
  async cancelComponentUpgrade(clusterId, componentId) {
11142
11154
  let runtime = new $Util.RuntimeOptions({});
11143
11155
  let headers = {};
@@ -13464,6 +13476,9 @@ class Client extends openapi_client_1.default {
13464
13476
  if (!tea_util_1.default.isUnset(request.name)) {
13465
13477
  query["name"] = request.name;
13466
13478
  }
13479
+ if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
13480
+ query["resource_group_id"] = request.resourceGroupId;
13481
+ }
13467
13482
  let req = new $OpenApi.OpenApiRequest({
13468
13483
  headers: headers,
13469
13484
  query: openapi_util_1.default.query(query),
@@ -14810,12 +14825,15 @@ class Client extends openapi_client_1.default {
14810
14825
  return await this.getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime);
14811
14826
  }
14812
14827
  /**
14828
+ * @deprecated OpenAPI GetUpgradeStatus is deprecated
14829
+ *
14813
14830
  * @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
14814
14831
  *
14815
14832
  * @param headers map
14816
14833
  * @param runtime runtime options for this request RuntimeOptions
14817
14834
  * @return GetUpgradeStatusResponse
14818
14835
  */
14836
+ // Deprecated
14819
14837
  async getUpgradeStatusWithOptions(ClusterId, headers, runtime) {
14820
14838
  let req = new $OpenApi.OpenApiRequest({
14821
14839
  headers: headers,
@@ -14834,10 +14852,13 @@ class Client extends openapi_client_1.default {
14834
14852
  return $tea.cast(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
14835
14853
  }
14836
14854
  /**
14855
+ * @deprecated OpenAPI GetUpgradeStatus is deprecated
14856
+ *
14837
14857
  * @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
14838
14858
  *
14839
14859
  * @return GetUpgradeStatusResponse
14840
14860
  */
14861
+ // Deprecated
14841
14862
  async getUpgradeStatus(ClusterId) {
14842
14863
  let runtime = new $Util.RuntimeOptions({});
14843
14864
  let headers = {};
@@ -15685,12 +15706,15 @@ class Client extends openapi_client_1.default {
15685
15706
  return await this.pauseClusterUpgradeWithOptions(ClusterId, headers, runtime);
15686
15707
  }
15687
15708
  /**
15709
+ * @deprecated OpenAPI PauseComponentUpgrade is deprecated
15710
+ *
15688
15711
  * @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
15689
15712
  *
15690
15713
  * @param headers map
15691
15714
  * @param runtime runtime options for this request RuntimeOptions
15692
15715
  * @return PauseComponentUpgradeResponse
15693
15716
  */
15717
+ // Deprecated
15694
15718
  async pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime) {
15695
15719
  let req = new $OpenApi.OpenApiRequest({
15696
15720
  headers: headers,
@@ -15709,10 +15733,13 @@ class Client extends openapi_client_1.default {
15709
15733
  return $tea.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
15710
15734
  }
15711
15735
  /**
15736
+ * @deprecated OpenAPI PauseComponentUpgrade is deprecated
15737
+ *
15712
15738
  * @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
15713
15739
  *
15714
15740
  * @return PauseComponentUpgradeResponse
15715
15741
  */
15742
+ // Deprecated
15716
15743
  async pauseComponentUpgrade(clusterid, componentid) {
15717
15744
  let runtime = new $Util.RuntimeOptions({});
15718
15745
  let headers = {};
@@ -15977,12 +16004,15 @@ class Client extends openapi_client_1.default {
15977
16004
  return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
15978
16005
  }
15979
16006
  /**
16007
+ * @deprecated OpenAPI ResumeComponentUpgrade is deprecated
16008
+ *
15980
16009
  * @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
15981
16010
  *
15982
16011
  * @param headers map
15983
16012
  * @param runtime runtime options for this request RuntimeOptions
15984
16013
  * @return ResumeComponentUpgradeResponse
15985
16014
  */
16015
+ // Deprecated
15986
16016
  async resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime) {
15987
16017
  let req = new $OpenApi.OpenApiRequest({
15988
16018
  headers: headers,
@@ -16001,10 +16031,13 @@ class Client extends openapi_client_1.default {
16001
16031
  return $tea.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
16002
16032
  }
16003
16033
  /**
16034
+ * @deprecated OpenAPI ResumeComponentUpgrade is deprecated
16035
+ *
16004
16036
  * @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
16005
16037
  *
16006
16038
  * @return ResumeComponentUpgradeResponse
16007
16039
  */
16040
+ // Deprecated
16008
16041
  async resumeComponentUpgrade(clusterid, componentid) {
16009
16042
  let runtime = new $Util.RuntimeOptions({});
16010
16043
  let headers = {};