tencentcloud-sdk-nodejs-intl-en 3.0.1470 → 3.0.1472

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.
@@ -46,6 +46,7 @@ const InferenceHardwareSpecification = models.InferenceHardwareSpecification;
46
46
  const DescribeSecurityClientAttesterResponse = models.DescribeSecurityClientAttesterResponse;
47
47
  const CustomVariable = models.CustomVariable;
48
48
  const MultiPathGatewayOriginACLInfo = models.MultiPathGatewayOriginACLInfo;
49
+ const DescribeTimingFunctionAnalysisDataResponse = models.DescribeTimingFunctionAnalysisDataResponse;
49
50
  const HeaderAction = models.HeaderAction;
50
51
  const ModifyEdgeKVNamespaceRequest = models.ModifyEdgeKVNamespaceRequest;
51
52
  const PrepaidPlanParam = models.PrepaidPlanParam;
@@ -295,6 +296,7 @@ const BotExtendAction = models.BotExtendAction;
295
296
  const CustomAction = models.CustomAction;
296
297
  const CreatePurgeTaskResponse = models.CreatePurgeTaskResponse;
297
298
  const DeleteApplicationProxyRuleResponse = models.DeleteApplicationProxyRuleResponse;
299
+ const DescribeTopFunctionAnalysisDataRequest = models.DescribeTopFunctionAnalysisDataRequest;
298
300
  const URLPath = models.URLPath;
299
301
  const DeleteAccelerationDomainsResponse = models.DeleteAccelerationDomainsResponse;
300
302
  const ExceptionRules = models.ExceptionRules;
@@ -382,6 +384,7 @@ const DeleteRealtimeLogDeliveryTaskResponse = models.DeleteRealtimeLogDeliveryTa
382
384
  const RuleCondition = models.RuleCondition;
383
385
  const DescribeOverviewL7DataResponse = models.DescribeOverviewL7DataResponse;
384
386
  const DescribeSecurityPolicyRequest = models.DescribeSecurityPolicyRequest;
387
+ const DescribeTimingFunctionAnalysisDataRequest = models.DescribeTimingFunctionAnalysisDataRequest;
385
388
  const DescribeEnvironmentsResponse = models.DescribeEnvironmentsResponse;
386
389
  const CacheParameters = models.CacheParameters;
387
390
  const OriginAuthenticationRequestProperties = models.OriginAuthenticationRequestProperties;
@@ -668,7 +671,7 @@ const EnableOriginACLResponse = models.EnableOriginACLResponse;
668
671
  const DeleteAliasDomainResponse = models.DeleteAliasDomainResponse;
669
672
  const DeleteSecurityJSInjectionRuleRequest = models.DeleteSecurityJSInjectionRuleRequest;
670
673
  const BotConfig = models.BotConfig;
671
- const ModifyFunctionComponentBindingsRequest = models.ModifyFunctionComponentBindingsRequest;
674
+ const DescribeTopFunctionAnalysisDataResponse = models.DescribeTopFunctionAnalysisDataResponse;
672
675
  const NSDetail = models.NSDetail;
673
676
  const EnableOriginACLRequest = models.EnableOriginACLRequest;
674
677
  const CreateEdgeKVNamespaceResponse = models.CreateEdgeKVNamespaceResponse;
@@ -760,6 +763,7 @@ const ModifyMultiPathGatewaySecretKeyResponse = models.ModifyMultiPathGatewaySec
760
763
  const DescribeMultiPathGatewaySecretKeyRequest = models.DescribeMultiPathGatewaySecretKeyRequest;
761
764
  const DDoSBlockData = models.DDoSBlockData;
762
765
  const IPSSLSetting = models.IPSSLSetting;
766
+ const ModifyFunctionComponentBindingsRequest = models.ModifyFunctionComponentBindingsRequest;
763
767
  const ModifyZoneCustomVariablesRequest = models.ModifyZoneCustomVariablesRequest;
764
768
  const DescribeContentQuotaRequest = models.DescribeContentQuotaRequest;
765
769
  const DescribeAvailableOriginACLFamilyRequest = models.DescribeAvailableOriginACLFamilyRequest;
@@ -1747,6 +1751,17 @@ This API is used to check the free certificate application result after triggeri
1747
1751
  this.request("OperateInferenceService", req, resp, cb);
1748
1752
  }
1749
1753
 
1754
+ /**
1755
+ * This API is used to query the topN data of Edge Functions by a specified dimension. Note that the data returned by this API has a delay of about 10 minutes. We recommend that you query the data generated at least 10 minutes before the current time.
1756
+ * @param {DescribeTopFunctionAnalysisDataRequest} req
1757
+ * @param {function(string, DescribeTopFunctionAnalysisDataResponse):void} cb
1758
+ * @public
1759
+ */
1760
+ DescribeTopFunctionAnalysisData(req, cb) {
1761
+ let resp = new DescribeTopFunctionAnalysisDataResponse();
1762
+ this.request("DescribeTopFunctionAnalysisData", req, resp, cb);
1763
+ }
1764
+
1750
1765
  /**
1751
1766
  * This API is used to bulk modify DNS records.
1752
1767
  * @param {ModifyDnsRecordsRequest} req
@@ -3559,6 +3574,17 @@ The feature is only supported in the enterprise plan and is currently in closed
3559
3574
  this.request("DescribeInferenceServiceDeploymentLogs", req, resp, cb);
3560
3575
  }
3561
3576
 
3577
+ /**
3578
+ * This API is used to query the time series data of edge function analysis. Note that the data queried by this API has a delay of about 10 minutes. It is recommended to pull data from at least 10 minutes before the current time.
3579
+ * @param {DescribeTimingFunctionAnalysisDataRequest} req
3580
+ * @param {function(string, DescribeTimingFunctionAnalysisDataResponse):void} cb
3581
+ * @public
3582
+ */
3583
+ DescribeTimingFunctionAnalysisData(req, cb) {
3584
+ let resp = new DescribeTimingFunctionAnalysisDataResponse();
3585
+ this.request("DescribeTimingFunctionAnalysisData", req, resp, cb);
3586
+ }
3587
+
3562
3588
  /**
3563
3589
  * This API is used to query the health status of origin server groups under a LoadBalancer. The load balancing feature is in beta test. If you need to use it, [contact us](https://www.tencentcloud.com/contact-us).
3564
3590
  * @param {DescribeOriginGroupHealthStatusRequest} req
@@ -1828,6 +1828,62 @@ class CreateEdgeLogConfigRequest extends AbstractModel {
1828
1828
  }
1829
1829
  }
1830
1830
 
1831
+ /**
1832
+ * RotateClusterToken request structure.
1833
+ * @class
1834
+ */
1835
+ class RotateClusterTokenRequest extends AbstractModel {
1836
+ constructor(){
1837
+ super();
1838
+
1839
+ /**
1840
+ * <p>Cluster ID.</p>
1841
+ * @type {string || null}
1842
+ */
1843
+ this.ClusterId = null;
1844
+
1845
+ /**
1846
+ * <p>Cluster type. Valid values: TKEServerless and TKE. Default value: TKE.</p>
1847
+ * @type {string || null}
1848
+ */
1849
+ this.ClusterType = null;
1850
+
1851
+ /**
1852
+ * <p>Operation to perform. Valid values: CreateNewToken, RevokeOldToken, and RecoverOldToken.<br>CreateNewToken: Creates a new token and makes it take effect. By default, a maximum of two tokens can take effect at the same time. If you want more tokens to take effect, Force must be set to true.<br>RevokeOldToken: Deletes the old token and makes it invalid. In this case, ClusterToken is required.<br>RecoverOldToken: Recovers the old token and makes it take effect. In this case, ClusterToken is required, and this operation can be called only when there is a corresponding RevokeOldToken task that has succeeded.</p>
1853
+ * @type {string || null}
1854
+ */
1855
+ this.Operation = null;
1856
+
1857
+ /**
1858
+ * <p>Cluster token. It is required only when Operation is set to RevokeOldToken or RecoverOldToken.</p>
1859
+ * @type {string || null}
1860
+ */
1861
+ this.ClusterToken = null;
1862
+
1863
+ /**
1864
+ * <p>Default value: false. It is required only when Operation is set to CreateNewToken. Only when it is set to true can more than two tokens take effect.</p>
1865
+ * @type {boolean || null}
1866
+ */
1867
+ this.Force = null;
1868
+
1869
+ }
1870
+
1871
+ /**
1872
+ * @private
1873
+ */
1874
+ deserialize(params) {
1875
+ if (!params) {
1876
+ return;
1877
+ }
1878
+ this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
1879
+ this.ClusterType = 'ClusterType' in params ? params.ClusterType : null;
1880
+ this.Operation = 'Operation' in params ? params.Operation : null;
1881
+ this.ClusterToken = 'ClusterToken' in params ? params.ClusterToken : null;
1882
+ this.Force = 'Force' in params ? params.Force : null;
1883
+
1884
+ }
1885
+ }
1886
+
1831
1887
  /**
1832
1888
  * DescribeTKEEdgeClusterStatus response structure.
1833
1889
  * @class
@@ -8057,6 +8113,34 @@ class ModifyClusterVirtualNodePoolResponse extends AbstractModel {
8057
8113
  }
8058
8114
  }
8059
8115
 
8116
+ /**
8117
+ * RotateClusterToken response structure.
8118
+ * @class
8119
+ */
8120
+ class RotateClusterTokenResponse extends AbstractModel {
8121
+ constructor(){
8122
+ super();
8123
+
8124
+ /**
8125
+ * 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.
8126
+ * @type {string || null}
8127
+ */
8128
+ this.RequestId = null;
8129
+
8130
+ }
8131
+
8132
+ /**
8133
+ * @private
8134
+ */
8135
+ deserialize(params) {
8136
+ if (!params) {
8137
+ return;
8138
+ }
8139
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8140
+
8141
+ }
8142
+ }
8143
+
8060
8144
  /**
8061
8145
  * Current status of the cluster during node upgrade
8062
8146
  * @class
@@ -18381,6 +18465,7 @@ module.exports = {
18381
18465
  Label: Label,
18382
18466
  PodLimitsByType: PodLimitsByType,
18383
18467
  CreateEdgeLogConfigRequest: CreateEdgeLogConfigRequest,
18468
+ RotateClusterTokenRequest: RotateClusterTokenRequest,
18384
18469
  DescribeTKEEdgeClusterStatusResponse: DescribeTKEEdgeClusterStatusResponse,
18385
18470
  DescribeClusterStatusRequest: DescribeClusterStatusRequest,
18386
18471
  CreateBackupStorageLocationRequest: CreateBackupStorageLocationRequest,
@@ -18503,6 +18588,7 @@ module.exports = {
18503
18588
  CreateClusterInstancesResponse: CreateClusterInstancesResponse,
18504
18589
  DescribeLogSwitchesResponse: DescribeLogSwitchesResponse,
18505
18590
  ModifyClusterVirtualNodePoolResponse: ModifyClusterVirtualNodePoolResponse,
18591
+ RotateClusterTokenResponse: RotateClusterTokenResponse,
18506
18592
  InstanceUpgradeClusterStatus: InstanceUpgradeClusterStatus,
18507
18593
  DescribeClusterRoutesRequest: DescribeClusterRoutesRequest,
18508
18594
  DeleteECMInstancesRequest: DeleteECMInstancesRequest,
@@ -52,6 +52,7 @@ const DescribeResourceUsageRequest = models.DescribeResourceUsageRequest;
52
52
  const Label = models.Label;
53
53
  const PodLimitsByType = models.PodLimitsByType;
54
54
  const CreateEdgeLogConfigRequest = models.CreateEdgeLogConfigRequest;
55
+ const RotateClusterTokenRequest = models.RotateClusterTokenRequest;
55
56
  const DescribeTKEEdgeClusterStatusResponse = models.DescribeTKEEdgeClusterStatusResponse;
56
57
  const DescribeClusterStatusRequest = models.DescribeClusterStatusRequest;
57
58
  const CreateBackupStorageLocationRequest = models.CreateBackupStorageLocationRequest;
@@ -174,6 +175,7 @@ const DescribeTKEEdgeExternalKubeconfigResponse = models.DescribeTKEEdgeExternal
174
175
  const CreateClusterInstancesResponse = models.CreateClusterInstancesResponse;
175
176
  const DescribeLogSwitchesResponse = models.DescribeLogSwitchesResponse;
176
177
  const ModifyClusterVirtualNodePoolResponse = models.ModifyClusterVirtualNodePoolResponse;
178
+ const RotateClusterTokenResponse = models.RotateClusterTokenResponse;
177
179
  const InstanceUpgradeClusterStatus = models.InstanceUpgradeClusterStatus;
178
180
  const DescribeClusterRoutesRequest = models.DescribeClusterRoutesRequest;
179
181
  const DeleteECMInstancesRequest = models.DeleteECMInstancesRequest;
@@ -602,6 +604,17 @@ class TkeClient extends AbstractClient {
602
604
  this.request("CreateClusterRouteTable", req, resp, cb);
603
605
  }
604
606
 
607
+ /**
608
+ * This API is used to rotate a cluster token.
609
+ * @param {RotateClusterTokenRequest} req
610
+ * @param {function(string, RotateClusterTokenResponse):void} cb
611
+ * @public
612
+ */
613
+ RotateClusterToken(req, cb) {
614
+ let resp = new RotateClusterTokenResponse();
615
+ this.request("RotateClusterToken", req, resp, cb);
616
+ }
617
+
605
618
  /**
606
619
  * This API is used to obtain the current progress of node upgrade. If the cluster is not in node upgrade status, the API will report an error: Task not found.
607
620
  * @param {GetUpgradeInstanceProgressRequest} req