tencentcloud-sdk-nodejs-intl-en 3.0.1256 → 3.0.1258

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.1256",
3
+ "version": "3.0.1258",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20221123: require("./v20221123"),
3
+ };
@@ -0,0 +1,49 @@
1
+ /*
2
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+ const models = require("./models");
18
+ const AbstractClient = require('../../common/abstract_client')
19
+ const DescribeCloudDedicatedZoneResourceSummaryRequest = models.DescribeCloudDedicatedZoneResourceSummaryRequest;
20
+ const CloudDedicatedZoneResourceStatisticsInfo = models.CloudDedicatedZoneResourceStatisticsInfo;
21
+ const ExtraInfo = models.ExtraInfo;
22
+ const CloudDedicatedZoneResourceSummaryInfo = models.CloudDedicatedZoneResourceSummaryInfo;
23
+ const DescribeCloudDedicatedZoneResourceSummaryResponse = models.DescribeCloudDedicatedZoneResourceSummaryResponse;
24
+
25
+
26
+ /**
27
+ * cdz client
28
+ * @class
29
+ */
30
+ class CdzClient extends AbstractClient {
31
+
32
+ constructor(credential, region, profile) {
33
+ super("cdz.intl.tencentcloudapi.com", "2022-11-23", credential, region, profile);
34
+ }
35
+
36
+ /**
37
+ * This API is used to query resource usage of each vertical product in Cloud Dedicated Zone.
38
+ * @param {DescribeCloudDedicatedZoneResourceSummaryRequest} req
39
+ * @param {function(string, DescribeCloudDedicatedZoneResourceSummaryResponse):void} cb
40
+ * @public
41
+ */
42
+ DescribeCloudDedicatedZoneResourceSummary(req, cb) {
43
+ let resp = new DescribeCloudDedicatedZoneResourceSummaryResponse();
44
+ this.request("DescribeCloudDedicatedZoneResourceSummary", req, resp, cb);
45
+ }
46
+
47
+
48
+ }
49
+ module.exports = CdzClient;
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./cdz_client"),
3
+ Models: require("./models"),
4
+ };
@@ -0,0 +1,285 @@
1
+ /*
2
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+ const AbstractModel = require("../../common/abstract_model");
18
+
19
+ /**
20
+ * DescribeCloudDedicatedZoneResourceSummary request structure.
21
+ * @class
22
+ */
23
+ class DescribeCloudDedicatedZoneResourceSummaryRequest extends AbstractModel {
24
+ constructor(){
25
+ super();
26
+
27
+ /**
28
+ * Unique id of the cloud dedicated zone.
29
+ * @type {string || null}
30
+ */
31
+ this.CdzId = null;
32
+
33
+ }
34
+
35
+ /**
36
+ * @private
37
+ */
38
+ deserialize(params) {
39
+ if (!params) {
40
+ return;
41
+ }
42
+ this.CdzId = 'CdzId' in params ? params.CdzId : null;
43
+
44
+ }
45
+ }
46
+
47
+ /**
48
+ * Details of the queried data for the statistical item of the CDZ resource, corresponding to a specific vertical product resource statistics.
49
+ * @class
50
+ */
51
+ class CloudDedicatedZoneResourceStatisticsInfo extends AbstractModel {
52
+ constructor(){
53
+ super();
54
+
55
+ /**
56
+ * Specifies the item name of resource statistics.
57
+ * @type {string || null}
58
+ */
59
+ this.Item = null;
60
+
61
+ /**
62
+ * Resource statistics item measurement unit.
63
+ * @type {string || null}
64
+ */
65
+ this.Unit = null;
66
+
67
+ /**
68
+ * Total resource amount.
69
+ * @type {string || null}
70
+ */
71
+ this.Total = null;
72
+
73
+ /**
74
+ * Used resources.
75
+ * @type {string || null}
76
+ */
77
+ this.Usage = null;
78
+
79
+ /**
80
+ * Specifies the percentage of used resources.
81
+ * @type {string || null}
82
+ */
83
+ this.UsageRate = null;
84
+
85
+ /**
86
+ * Remaining resource.
87
+ * @type {string || null}
88
+ */
89
+ this.Remain = null;
90
+
91
+ /**
92
+ * Remaining resource percentage.
93
+ * @type {string || null}
94
+ */
95
+ this.RemainRate = null;
96
+
97
+ /**
98
+ * Resource utilization rate at midnight this monday.
99
+ * @type {string || null}
100
+ */
101
+ this.ThisMondayUsageRate = null;
102
+
103
+ /**
104
+ * Resource growth rate this week.
105
+ * @type {string || null}
106
+ */
107
+ this.ThisMondayUsageGrowthRate = null;
108
+
109
+ /**
110
+ * Resource growth rate last week.
111
+ * @type {string || null}
112
+ */
113
+ this.LastMondayUsageGrowthRate = null;
114
+
115
+ }
116
+
117
+ /**
118
+ * @private
119
+ */
120
+ deserialize(params) {
121
+ if (!params) {
122
+ return;
123
+ }
124
+ this.Item = 'Item' in params ? params.Item : null;
125
+ this.Unit = 'Unit' in params ? params.Unit : null;
126
+ this.Total = 'Total' in params ? params.Total : null;
127
+ this.Usage = 'Usage' in params ? params.Usage : null;
128
+ this.UsageRate = 'UsageRate' in params ? params.UsageRate : null;
129
+ this.Remain = 'Remain' in params ? params.Remain : null;
130
+ this.RemainRate = 'RemainRate' in params ? params.RemainRate : null;
131
+ this.ThisMondayUsageRate = 'ThisMondayUsageRate' in params ? params.ThisMondayUsageRate : null;
132
+ this.ThisMondayUsageGrowthRate = 'ThisMondayUsageGrowthRate' in params ? params.ThisMondayUsageGrowthRate : null;
133
+ this.LastMondayUsageGrowthRate = 'LastMondayUsageGrowthRate' in params ? params.LastMondayUsageGrowthRate : null;
134
+
135
+ }
136
+ }
137
+
138
+ /**
139
+ * Extended information of CDZ resource water level data, including availability zone local time and wait for data.
140
+ * @class
141
+ */
142
+ class ExtraInfo extends AbstractModel {
143
+ constructor(){
144
+ super();
145
+
146
+ /**
147
+ * Cloud dedicated zone local time this monday date.
148
+ * @type {string || null}
149
+ */
150
+ this.ThisMondayLocalDate = null;
151
+
152
+ /**
153
+ * Cloud dedicated zone local time last monday date.
154
+ * @type {string || null}
155
+ */
156
+ this.LastMondayLocalDate = null;
157
+
158
+ }
159
+
160
+ /**
161
+ * @private
162
+ */
163
+ deserialize(params) {
164
+ if (!params) {
165
+ return;
166
+ }
167
+ this.ThisMondayLocalDate = 'ThisMondayLocalDate' in params ? params.ThisMondayLocalDate : null;
168
+ this.LastMondayLocalDate = 'LastMondayLocalDate' in params ? params.LastMondayLocalDate : null;
169
+
170
+ }
171
+ }
172
+
173
+ /**
174
+ * Details of the CDZ resource water level, corresponding to a specific vertical product.
175
+ * @class
176
+ */
177
+ class CloudDedicatedZoneResourceSummaryInfo extends AbstractModel {
178
+ constructor(){
179
+ super();
180
+
181
+ /**
182
+ * Product name
183
+ * @type {string || null}
184
+ */
185
+ this.ProductName = null;
186
+
187
+ /**
188
+ * Subproduct name
189
+ * @type {string || null}
190
+ */
191
+ this.SubProductName = null;
192
+
193
+ /**
194
+ * Statistical detail of the resource.
195
+ * @type {Array.<CloudDedicatedZoneResourceStatisticsInfo> || null}
196
+ */
197
+ this.Statistics = null;
198
+
199
+ }
200
+
201
+ /**
202
+ * @private
203
+ */
204
+ deserialize(params) {
205
+ if (!params) {
206
+ return;
207
+ }
208
+ this.ProductName = 'ProductName' in params ? params.ProductName : null;
209
+ this.SubProductName = 'SubProductName' in params ? params.SubProductName : null;
210
+
211
+ if (params.Statistics) {
212
+ this.Statistics = new Array();
213
+ for (let z in params.Statistics) {
214
+ let obj = new CloudDedicatedZoneResourceStatisticsInfo();
215
+ obj.deserialize(params.Statistics[z]);
216
+ this.Statistics.push(obj);
217
+ }
218
+ }
219
+
220
+ }
221
+ }
222
+
223
+ /**
224
+ * DescribeCloudDedicatedZoneResourceSummary response structure.
225
+ * @class
226
+ */
227
+ class DescribeCloudDedicatedZoneResourceSummaryResponse extends AbstractModel {
228
+ constructor(){
229
+ super();
230
+
231
+ /**
232
+ * Resource utilization.
233
+ * @type {Array.<CloudDedicatedZoneResourceSummaryInfo> || null}
234
+ */
235
+ this.ResourceSummarySet = null;
236
+
237
+ /**
238
+ * Extended information of resource utilization.
239
+ * @type {ExtraInfo || null}
240
+ */
241
+ this.ExtraInfo = null;
242
+
243
+ /**
244
+ * 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.
245
+ * @type {string || null}
246
+ */
247
+ this.RequestId = null;
248
+
249
+ }
250
+
251
+ /**
252
+ * @private
253
+ */
254
+ deserialize(params) {
255
+ if (!params) {
256
+ return;
257
+ }
258
+
259
+ if (params.ResourceSummarySet) {
260
+ this.ResourceSummarySet = new Array();
261
+ for (let z in params.ResourceSummarySet) {
262
+ let obj = new CloudDedicatedZoneResourceSummaryInfo();
263
+ obj.deserialize(params.ResourceSummarySet[z]);
264
+ this.ResourceSummarySet.push(obj);
265
+ }
266
+ }
267
+
268
+ if (params.ExtraInfo) {
269
+ let obj = new ExtraInfo();
270
+ obj.deserialize(params.ExtraInfo)
271
+ this.ExtraInfo = obj;
272
+ }
273
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
274
+
275
+ }
276
+ }
277
+
278
+ module.exports = {
279
+ DescribeCloudDedicatedZoneResourceSummaryRequest: DescribeCloudDedicatedZoneResourceSummaryRequest,
280
+ CloudDedicatedZoneResourceStatisticsInfo: CloudDedicatedZoneResourceStatisticsInfo,
281
+ ExtraInfo: ExtraInfo,
282
+ CloudDedicatedZoneResourceSummaryInfo: CloudDedicatedZoneResourceSummaryInfo,
283
+ DescribeCloudDedicatedZoneResourceSummaryResponse: DescribeCloudDedicatedZoneResourceSummaryResponse,
284
+
285
+ }
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1256";
1
+ const sdkVersion = "3.0.1258";
2
2
  module.exports = sdkVersion
@@ -200,7 +200,7 @@ The data generated with the SDK must be stored in COS, and the region of the COS
200
200
  }
201
201
 
202
202
  /**
203
- * This API is used to apply for a BizToken before calling the web-based verification service each time. This token is required for initiating a verification process and getting the result after the verification is completed.
203
+ * This API is used to obtain a BizToken before each call to the Web verification service. Save the BizToken to initiate the verification process and retrieve the result upon completion. The BizToken is valid for 10 minutes.
204
204
  * @param {ApplyWebVerificationBizTokenIntlRequest} req
205
205
  * @param {function(string, ApplyWebVerificationBizTokenIntlResponse):void} cb
206
206
  * @public
@@ -211,7 +211,7 @@ The data generated with the SDK must be stored in COS, and the region of the COS
211
211
  }
212
212
 
213
213
  /**
214
- * This API is used to get the verification result with the corresponding SDK token after the identity verification process is completed. The SDK token is valid for two hours (2*3,600s) after generation and can be called multiple times.
214
+ * This API is used to get the verification result with the corresponding SDK token after the identity verification process is completed. The SDK token is valid for 72 hours (72*3600s) after generation and can be called multiple times.
215
215
  * @param {GetFaceIdResultIntlRequest} req
216
216
  * @param {function(string, GetFaceIdResultIntlResponse):void} cb
217
217
  * @public
@@ -2956,8 +2956,7 @@ Example: https://intl.faceid.qq.com/reflect/?token=81EEF678-28EE-4759-A82E-6CBBB
2956
2956
  this.VerificationUrl = null;
2957
2957
 
2958
2958
  /**
2959
- * The token for the web-based verification, which is generated using the ApplyWebVerificationBizTokenIntl API.
2960
- Example: 81EEF678-28EE-4759-A82E-6CBBBE6BC442
2959
+ * A token that identifies a Web verification process, with a validity time of 10 minutes. after the process is complete, the token can be used to obtain the verification result.
2961
2960
  * @type {string || null}
2962
2961
  */
2963
2962
  this.BizToken = null;
@@ -20,6 +20,7 @@ module.exports = {
20
20
  cdn: require("./cdn"),
21
21
  cdwdoris: require("./cdwdoris"),
22
22
  cdwpg: require("./cdwpg"),
23
+ cdz: require("./cdz"),
23
24
  cfg: require("./cfg"),
24
25
  cfs: require("./cfs"),
25
26
  cfw: require("./cfw"),
@@ -87,6 +88,7 @@ module.exports = {
87
88
  postgres: require("./postgres"),
88
89
  privatedns: require("./privatedns"),
89
90
  pts: require("./pts"),
91
+ quota: require("./quota"),
90
92
  rce: require("./rce"),
91
93
  redis: require("./redis"),
92
94
  region: require("./region"),