tencentcloud-sdk-nodejs-intl-en 3.0.1176 → 3.0.1177

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1176",
3
+ "version": "3.0.1177",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1176";
1
+ const sdkVersion = "3.0.1177";
2
2
  module.exports = sdkVersion
@@ -3219,6 +3219,49 @@ class UpdateEdgeClusterVersionRequest extends AbstractModel {
3219
3219
  }
3220
3220
  }
3221
3221
 
3222
+ /**
3223
+ * GetTkeAppChartList response structure.
3224
+ * @class
3225
+ */
3226
+ class GetTkeAppChartListResponse extends AbstractModel {
3227
+ constructor(){
3228
+ super();
3229
+
3230
+ /**
3231
+ * Supported chart list.
3232
+ * @type {Array.<AppChart> || null}
3233
+ */
3234
+ this.AppCharts = null;
3235
+
3236
+ /**
3237
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3238
+ * @type {string || null}
3239
+ */
3240
+ this.RequestId = null;
3241
+
3242
+ }
3243
+
3244
+ /**
3245
+ * @private
3246
+ */
3247
+ deserialize(params) {
3248
+ if (!params) {
3249
+ return;
3250
+ }
3251
+
3252
+ if (params.AppCharts) {
3253
+ this.AppCharts = new Array();
3254
+ for (let z in params.AppCharts) {
3255
+ let obj = new AppChart();
3256
+ obj.deserialize(params.AppCharts[z]);
3257
+ this.AppCharts.push(obj);
3258
+ }
3259
+ }
3260
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3261
+
3262
+ }
3263
+ }
3264
+
3222
3265
  /**
3223
3266
  * DescribeExternalNodeSupportConfig request structure.
3224
3267
  * @class
@@ -11720,6 +11763,48 @@ Note: this field may return null, indicating that no valid values can be obtaine
11720
11763
  }
11721
11764
  }
11722
11765
 
11766
+ /**
11767
+ * GetTkeAppChartList request structure.
11768
+ * @class
11769
+ */
11770
+ class GetTkeAppChartListRequest extends AbstractModel {
11771
+ constructor(){
11772
+ super();
11773
+
11774
+ /**
11775
+ * Type specifies the application category. valid values include log, scheduler, network, storage, monitor, dns, image, other, and invisible.
11776
+ * @type {string || null}
11777
+ */
11778
+ this.Kind = null;
11779
+
11780
+ /**
11781
+ * Specifies the supported operating systems of the app. valid values: arm32, arm64, amd64.
11782
+ * @type {string || null}
11783
+ */
11784
+ this.Arch = null;
11785
+
11786
+ /**
11787
+ * ClusterType specifies the type of the cluster. valid values are tke and eks.
11788
+ * @type {string || null}
11789
+ */
11790
+ this.ClusterType = null;
11791
+
11792
+ }
11793
+
11794
+ /**
11795
+ * @private
11796
+ */
11797
+ deserialize(params) {
11798
+ if (!params) {
11799
+ return;
11800
+ }
11801
+ this.Kind = 'Kind' in params ? params.Kind : null;
11802
+ this.Arch = 'Arch' in params ? params.Arch : null;
11803
+ this.ClusterType = 'ClusterType' in params ? params.ClusterType : null;
11804
+
11805
+ }
11806
+ }
11807
+
11723
11808
  /**
11724
11809
  * Resource usage details
11725
11810
  * @class
@@ -13846,17 +13931,29 @@ class UpdateAddonRequest extends AbstractModel {
13846
13931
  this.AddonName = null;
13847
13932
 
13848
13933
  /**
13849
- * Add-on version. The add-on version is not updated if this parameter is not specified.
13934
+ * addon version (default does not update if not passed. if AddonVersion is not passed, RawValues must be passed.).
13850
13935
  * @type {string || null}
13851
13936
  */
13852
13937
  this.AddonVersion = null;
13853
13938
 
13854
13939
  /**
13855
- * Add-on parameters in a base64-encoded JSON string. You can query add-on parameters via `DescribeAddonValues`.
13940
+ * Parameters of the addon, which is a base64-transcoded string in json format. (the addon parameters are obtained through DescribeAddonValues. when RawValues is not passed, AddonVersion must be provided.).
13856
13941
  * @type {string || null}
13857
13942
  */
13858
13943
  this.RawValues = null;
13859
13944
 
13945
+ /**
13946
+ * The update policy for the addon parameter supports two strategies: replace and merge. the default value is merge, which is compatible with old version apis. replace: use new RawValues to fully replace the original RawValues of the addon. merge: add or update the corresponding parameters in the original RawValues of the addon based on new RawValues.
13947
+ * @type {string || null}
13948
+ */
13949
+ this.UpdateStrategy = null;
13950
+
13951
+ /**
13952
+ * Specifies whether to only perform an update check. when set to true, only the check is performed without updating the component.
13953
+ * @type {boolean || null}
13954
+ */
13955
+ this.DryRun = null;
13956
+
13860
13957
  }
13861
13958
 
13862
13959
  /**
@@ -13870,6 +13967,8 @@ class UpdateAddonRequest extends AbstractModel {
13870
13967
  this.AddonName = 'AddonName' in params ? params.AddonName : null;
13871
13968
  this.AddonVersion = 'AddonVersion' in params ? params.AddonVersion : null;
13872
13969
  this.RawValues = 'RawValues' in params ? params.RawValues : null;
13970
+ this.UpdateStrategy = 'UpdateStrategy' in params ? params.UpdateStrategy : null;
13971
+ this.DryRun = 'DryRun' in params ? params.DryRun : null;
13873
13972
 
13874
13973
  }
13875
13974
  }
@@ -16404,6 +16503,48 @@ Note: this field may return `null`, indicating that no valid values can be obtai
16404
16503
  }
16405
16504
  }
16406
16505
 
16506
+ /**
16507
+ * Supported charts for the app.
16508
+ * @class
16509
+ */
16510
+ class AppChart extends AbstractModel {
16511
+ constructor(){
16512
+ super();
16513
+
16514
+ /**
16515
+ * chart name.
16516
+ * @type {string || null}
16517
+ */
16518
+ this.Name = null;
16519
+
16520
+ /**
16521
+ * Tag of the chart.
16522
+ * @type {string || null}
16523
+ */
16524
+ this.Label = null;
16525
+
16526
+ /**
16527
+ * Version of the chart.
16528
+ * @type {string || null}
16529
+ */
16530
+ this.LatestVersion = null;
16531
+
16532
+ }
16533
+
16534
+ /**
16535
+ * @private
16536
+ */
16537
+ deserialize(params) {
16538
+ if (!params) {
16539
+ return;
16540
+ }
16541
+ this.Name = 'Name' in params ? params.Name : null;
16542
+ this.Label = 'Label' in params ? params.Label : null;
16543
+ this.LatestVersion = 'LatestVersion' in params ? params.LatestVersion : null;
16544
+
16545
+ }
16546
+ }
16547
+
16407
16548
  /**
16408
16549
  * DeleteEdgeCVMInstances request structure.
16409
16550
  * @class
@@ -17839,7 +17980,7 @@ class InstallAddonRequest extends AbstractModel {
17839
17980
  super();
17840
17981
 
17841
17982
  /**
17842
- * Cluster ID
17983
+ * Cluster ID (only supported for standard tke clusters).
17843
17984
  * @type {string || null}
17844
17985
  */
17845
17986
  this.ClusterId = null;
@@ -17862,6 +18003,12 @@ class InstallAddonRequest extends AbstractModel {
17862
18003
  */
17863
18004
  this.RawValues = null;
17864
18005
 
18006
+ /**
18007
+ * Specifies whether to perform only an installation check. when set to true, only checks are performed without installing components.
18008
+ * @type {boolean || null}
18009
+ */
18010
+ this.DryRun = null;
18011
+
17865
18012
  }
17866
18013
 
17867
18014
  /**
@@ -17875,6 +18022,7 @@ class InstallAddonRequest extends AbstractModel {
17875
18022
  this.AddonName = 'AddonName' in params ? params.AddonName : null;
17876
18023
  this.AddonVersion = 'AddonVersion' in params ? params.AddonVersion : null;
17877
18024
  this.RawValues = 'RawValues' in params ? params.RawValues : null;
18025
+ this.DryRun = 'DryRun' in params ? params.DryRun : null;
17878
18026
 
17879
18027
  }
17880
18028
  }
@@ -17973,6 +18121,7 @@ module.exports = {
17973
18121
  AcquireClusterAdminRoleResponse: AcquireClusterAdminRoleResponse,
17974
18122
  DescribeEdgeClusterInstancesResponse: DescribeEdgeClusterInstancesResponse,
17975
18123
  UpdateEdgeClusterVersionRequest: UpdateEdgeClusterVersionRequest,
18124
+ GetTkeAppChartListResponse: GetTkeAppChartListResponse,
17976
18125
  DescribeExternalNodeSupportConfigRequest: DescribeExternalNodeSupportConfigRequest,
17977
18126
  DeleteTKEEdgeClusterResponse: DeleteTKEEdgeClusterResponse,
17978
18127
  UpgradeAbleInstancesItem: UpgradeAbleInstancesItem,
@@ -18135,6 +18284,7 @@ module.exports = {
18135
18284
  PrometheusGrafanaInfo: PrometheusGrafanaInfo,
18136
18285
  Switch: Switch,
18137
18286
  ImageInstance: ImageInstance,
18287
+ GetTkeAppChartListRequest: GetTkeAppChartListRequest,
18138
18288
  ResourceUsageDetail: ResourceUsageDetail,
18139
18289
  DescribeClusterVirtualNodePoolsResponse: DescribeClusterVirtualNodePoolsResponse,
18140
18290
  CheckEdgeClusterCIDRResponse: CheckEdgeClusterCIDRResponse,
@@ -18235,6 +18385,7 @@ module.exports = {
18235
18385
  ClusterProperty: ClusterProperty,
18236
18386
  EdgeClusterExtraArgs: EdgeClusterExtraArgs,
18237
18387
  DescribeEnableVpcCniProgressResponse: DescribeEnableVpcCniProgressResponse,
18388
+ AppChart: AppChart,
18238
18389
  DeleteEdgeCVMInstancesRequest: DeleteEdgeCVMInstancesRequest,
18239
18390
  ModifyClusterNodePoolRequest: ModifyClusterNodePoolRequest,
18240
18391
  GetClusterLevelPriceRequest: GetClusterLevelPriceRequest,
@@ -81,6 +81,7 @@ const DescribeTKEEdgeClusterStatusRequest = models.DescribeTKEEdgeClusterStatusR
81
81
  const AcquireClusterAdminRoleResponse = models.AcquireClusterAdminRoleResponse;
82
82
  const DescribeEdgeClusterInstancesResponse = models.DescribeEdgeClusterInstancesResponse;
83
83
  const UpdateEdgeClusterVersionRequest = models.UpdateEdgeClusterVersionRequest;
84
+ const GetTkeAppChartListResponse = models.GetTkeAppChartListResponse;
84
85
  const DescribeExternalNodeSupportConfigRequest = models.DescribeExternalNodeSupportConfigRequest;
85
86
  const DeleteTKEEdgeClusterResponse = models.DeleteTKEEdgeClusterResponse;
86
87
  const UpgradeAbleInstancesItem = models.UpgradeAbleInstancesItem;
@@ -243,6 +244,7 @@ const DescribeClusterLevelAttributeResponse = models.DescribeClusterLevelAttribu
243
244
  const PrometheusGrafanaInfo = models.PrometheusGrafanaInfo;
244
245
  const Switch = models.Switch;
245
246
  const ImageInstance = models.ImageInstance;
247
+ const GetTkeAppChartListRequest = models.GetTkeAppChartListRequest;
246
248
  const ResourceUsageDetail = models.ResourceUsageDetail;
247
249
  const DescribeClusterVirtualNodePoolsResponse = models.DescribeClusterVirtualNodePoolsResponse;
248
250
  const CheckEdgeClusterCIDRResponse = models.CheckEdgeClusterCIDRResponse;
@@ -343,6 +345,7 @@ const DeletePrometheusAlertRuleRequest = models.DeletePrometheusAlertRuleRequest
343
345
  const ClusterProperty = models.ClusterProperty;
344
346
  const EdgeClusterExtraArgs = models.EdgeClusterExtraArgs;
345
347
  const DescribeEnableVpcCniProgressResponse = models.DescribeEnableVpcCniProgressResponse;
348
+ const AppChart = models.AppChart;
346
349
  const DeleteEdgeCVMInstancesRequest = models.DeleteEdgeCVMInstancesRequest;
347
350
  const ModifyClusterNodePoolRequest = models.ModifyClusterNodePoolRequest;
348
351
  const GetClusterLevelPriceRequest = models.GetClusterLevelPriceRequest;
@@ -1747,6 +1750,17 @@ class TkeClient extends AbstractClient {
1747
1750
  this.request("DeleteClusterInstances", req, resp, cb);
1748
1751
  }
1749
1752
 
1753
+ /**
1754
+ * This API is used to retrieve the App List supported by TKE.
1755
+ * @param {GetTkeAppChartListRequest} req
1756
+ * @param {function(string, GetTkeAppChartListResponse):void} cb
1757
+ * @public
1758
+ */
1759
+ GetTkeAppChartList(req, cb) {
1760
+ let resp = new GetTkeAppChartListResponse();
1761
+ this.request("GetTkeAppChartList", req, resp, cb);
1762
+ }
1763
+
1750
1764
  /**
1751
1765
  * This API is used to create the Pay-as-you-go Super Node.
1752
1766
  * @param {CreateClusterVirtualNodeRequest} req