tencentcloud-sdk-nodejs 4.0.323 → 4.0.324

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 (63) hide show
  1. package/CHANGELOG.md +218 -0
  2. package/SERVICE_CHANGELOG.md +315 -68
  3. package/package.json +1 -1
  4. package/products.md +15 -15
  5. package/src/common/abstract_client.ts +5 -1
  6. package/src/common/interface.ts +2 -2
  7. package/src/common/sdk_version.ts +1 -1
  8. package/src/services/cbs/v20170312/cbs_client.ts +1 -0
  9. package/src/services/cbs/v20170312/cbs_models.ts +48 -23
  10. package/src/services/ccc/v20200210/ccc_models.ts +6 -6
  11. package/src/services/cdb/v20170320/cdb_models.ts +3 -3
  12. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  13. package/src/services/dc/v20180410/dc_models.ts +21 -1
  14. package/src/services/dcdb/v20180411/dcdb_client.ts +8 -33
  15. package/src/services/dcdb/v20180411/dcdb_models.ts +19 -121
  16. package/src/services/gaap/v20180529/gaap_models.ts +2 -1
  17. package/src/services/icr/v20211014/icr_models.ts +2 -2
  18. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +1 -1
  19. package/src/services/mariadb/v20170312/mariadb_client.ts +9 -34
  20. package/src/services/mariadb/v20170312/mariadb_models.ts +11 -119
  21. package/src/services/nlp/v20190408/nlp_client.ts +0 -3
  22. package/src/services/nlp/v20190408/nlp_models.ts +1 -1
  23. package/src/services/postgres/v20170312/postgres_models.ts +38 -5
  24. package/src/services/ssa/v20180608/ssa_client.ts +12 -0
  25. package/src/services/ssa/v20180608/ssa_models.ts +21 -6
  26. package/src/services/tdmq/v20200217/tdmq_models.ts +14 -4
  27. package/src/services/vod/v20180717/vod_client.ts +60 -18
  28. package/src/services/vod/v20180717/vod_models.ts +131 -29
  29. package/tencentcloud/common/abstract_client.js +1 -1
  30. package/tencentcloud/common/interface.d.ts +2 -2
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -0
  34. package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -0
  35. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +43 -23
  36. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +6 -6
  37. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +3 -3
  38. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  39. package/tencentcloud/services/dc/v20180410/dc_models.d.ts +17 -1
  40. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +3 -11
  41. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +3 -15
  42. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +17 -104
  43. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +2 -1
  44. package/tencentcloud/services/icr/v20211014/icr_models.d.ts +2 -2
  45. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +1 -1
  46. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +4 -12
  47. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +4 -16
  48. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +10 -102
  49. package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +0 -3
  50. package/tencentcloud/services/nlp/v20190408/nlp_client.js +0 -3
  51. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +1 -1
  52. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +32 -5
  53. package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +5 -1
  54. package/tencentcloud/services/ssa/v20180608/ssa_client.js +6 -0
  55. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +19 -6
  56. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +12 -4
  57. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +24 -7
  58. package/tencentcloud/services/vod/v20180717/vod_client.js +31 -8
  59. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +114 -25
  60. package/test/dcdb.v20180411.test.js +2 -22
  61. package/test/mariadb.v20170312.test.js +2 -22
  62. package/test/ssa.v20180608.test.js +10 -0
  63. package/test/vod.v20180717.test.js +34 -4
@@ -21,6 +21,7 @@ import {
21
21
  Canvas,
22
22
  ModifySampleSnapshotTemplateResponse,
23
23
  ModifyWatermarkTemplateRequest,
24
+ CreateStorageRegionRequest,
24
25
  AiRecognitionTaskAsrFullTextSegmentItem,
25
26
  UserDefineOcrTextReviewTemplateInfoForUpdate,
26
27
  DescribeAllClassRequest,
@@ -42,6 +43,7 @@ import {
42
43
  MediaMiniProgramReviewElem,
43
44
  ManageTaskResponse,
44
45
  CreateImageProcessingTemplateRequest,
46
+ ModifyDefaultStorageRegionRequest,
45
47
  ModifyEventConfigResponse,
46
48
  AiAnalysisTaskCoverOutput,
47
49
  MediaSnapshotByTimeOffsetItem,
@@ -52,7 +54,7 @@ import {
52
54
  CreateImageSpriteTask2017,
53
55
  TempCertificate,
54
56
  AiReviewTaskPoliticalOcrResult,
55
- ManageTaskRequest,
57
+ AiSampleWord,
56
58
  CreateImageSpriteTemplateRequest,
57
59
  MediaSnapshotByTimePicInfoItem,
58
60
  DescribeDailyMostPlayedStatRequest,
@@ -102,6 +104,7 @@ import {
102
104
  CreateProcedureTemplateRequest,
103
105
  DescribeMediaProcessUsageDataRequest,
104
106
  CreatePersonSampleRequest,
107
+ StorageRegionInfo,
105
108
  MediaTransitionItem,
106
109
  MediaAiAnalysisCoverItem,
107
110
  TagConfigureInfo,
@@ -248,7 +251,7 @@ import {
248
251
  AiRecognitionTaskOcrFullTextResult,
249
252
  MediaTrackItem,
250
253
  MediaProcessTaskSnapshotByTimeOffsetResult,
251
- AiSampleWord,
254
+ ManageTaskRequest,
252
255
  ModifyEventConfigRequest,
253
256
  AiRecognitionTaskAsrWordsResultOutput,
254
257
  DescribeHeadTailTemplatesRequest,
@@ -290,6 +293,7 @@ import {
290
293
  TerrorismConfigureInfoForUpdate,
291
294
  DescribeEventsStateRequest,
292
295
  WechatMiniProgramPublishTask,
296
+ ModifyDefaultStorageRegionResponse,
293
297
  CreateImageProcessingTemplateResponse,
294
298
  ComposeMediaTask,
295
299
  HeadTailConfigureInfoForUpdate,
@@ -393,11 +397,13 @@ import {
393
397
  AdaptiveStreamTemplate,
394
398
  TranscodeTaskInput,
395
399
  ModifyAIRecognitionTemplateRequest,
400
+ DescribeStorageRegionsRequest,
396
401
  WechatPublishTask,
397
402
  DescribeCDNStatDetailsRequest,
398
403
  AiRecognitionTaskOcrFullTextResultInput,
399
404
  ClipFileInfo2017,
400
405
  StatDataItem,
406
+ CreateStorageRegionResponse,
401
407
  AccelerateAreaInfo,
402
408
  MediaSourceData,
403
409
  DescribePrepaidProductsResponse,
@@ -477,6 +483,7 @@ import {
477
483
  AiRecognitionTaskFaceResultInput,
478
484
  AiReviewPoliticalTaskOutput,
479
485
  AiReviewTaskPoliticalResult,
486
+ DescribeStorageRegionsResponse,
480
487
  ModifySnapshotByTimeOffsetTemplateRequest,
481
488
  ProcedureTask,
482
489
  ModifySuperPlayerConfigRequest,
@@ -622,6 +629,16 @@ export class Client extends AbstractClient {
622
629
  return this.request("CreateSnapshotByTimeOffsetTemplate", req, cb)
623
630
  }
624
631
 
632
+ /**
633
+ * 该接口用于设置默认的存储地域。上传文件时如果没有指定地域,将上传到默认地域。
634
+ */
635
+ async ModifyDefaultStorageRegion(
636
+ req: ModifyDefaultStorageRegionRequest,
637
+ cb?: (error: string, rep: ModifyDefaultStorageRegionResponse) => void
638
+ ): Promise<ModifyDefaultStorageRegionResponse> {
639
+ return this.request("ModifyDefaultStorageRegion", req, cb)
640
+ }
641
+
625
642
  /**
626
643
  * 对视频进行编辑(剪辑、拼接等),生成一个新的点播视频。编辑的功能包括:
627
644
 
@@ -784,15 +801,13 @@ export class Client extends AbstractClient {
784
801
  }
785
802
 
786
803
  /**
787
- * 修改用户自定义视频内容分析模板。
788
-
789
- 注意:模板 ID 10000 以下的为系统预置模板,不允许修改。
790
- */
791
- async ModifyAIAnalysisTemplate(
792
- req: ModifyAIAnalysisTemplateRequest,
793
- cb?: (error: string, rep: ModifyAIAnalysisTemplateResponse) => void
794
- ): Promise<ModifyAIAnalysisTemplateResponse> {
795
- return this.request("ModifyAIAnalysisTemplate", req, cb)
804
+ * 获取图片处理模板列表,支持根据条件,分页查询。
805
+ */
806
+ async DescribeImageProcessingTemplates(
807
+ req: DescribeImageProcessingTemplatesRequest,
808
+ cb?: (error: string, rep: DescribeImageProcessingTemplatesResponse) => void
809
+ ): Promise<DescribeImageProcessingTemplatesResponse> {
810
+ return this.request("DescribeImageProcessingTemplates", req, cb)
796
811
  }
797
812
 
798
813
  /**
@@ -881,6 +896,18 @@ export class Client extends AbstractClient {
881
896
  return this.request("DescribeTasks", req, cb)
882
897
  }
883
898
 
899
+ /**
900
+ * 该接口用于开通某地域的存储。
901
+ 1. 用户开通点播业务时,系统默认为用户开通了部分地域的存储,用户如果需要开通其它地域的存储,可以通过该接口进行开通。
902
+ 2. 通过 DescribeStorageRegions 接口可以查询到所有存储地域及已经开通的地域。
903
+ */
904
+ async CreateStorageRegion(
905
+ req: CreateStorageRegionRequest,
906
+ cb?: (error: string, rep: CreateStorageRegionResponse) => void
907
+ ): Promise<CreateStorageRegionResponse> {
908
+ return this.request("CreateStorageRegion", req, cb)
909
+ }
910
+
884
911
  /**
885
912
  * 重新设置用户自定义任务流模板的内容。
886
913
  */
@@ -1331,6 +1358,19 @@ export class Client extends AbstractClient {
1331
1358
  return this.request("DescribeDailyMostPlayedStat", req, cb)
1332
1359
  }
1333
1360
 
1361
+ /**
1362
+ * 该接口用于:
1363
+ 1. 查询点播可开通的所有存储园区列表。
1364
+ 2. 查询已经开通的园区列表。
1365
+ 3. 查询默认使用的存储园区。
1366
+ */
1367
+ async DescribeStorageRegions(
1368
+ req: DescribeStorageRegionsRequest,
1369
+ cb?: (error: string, rep: DescribeStorageRegionsResponse) => void
1370
+ ): Promise<DescribeStorageRegionsResponse> {
1371
+ return this.request("DescribeStorageRegions", req, cb)
1372
+ }
1373
+
1334
1374
  /**
1335
1375
  * * 该接口用于业务服务器获取 [可靠回调](https://cloud.tencent.com/document/product/266/33779#.E5.8F.AF.E9.9D.A0.E5.9B.9E.E8.B0.83) 事件通知的状态。
1336
1376
 
@@ -1541,13 +1581,15 @@ export class Client extends AbstractClient {
1541
1581
  }
1542
1582
 
1543
1583
  /**
1544
- * 获取图片处理模板列表,支持根据条件,分页查询。
1545
- */
1546
- async DescribeImageProcessingTemplates(
1547
- req: DescribeImageProcessingTemplatesRequest,
1548
- cb?: (error: string, rep: DescribeImageProcessingTemplatesResponse) => void
1549
- ): Promise<DescribeImageProcessingTemplatesResponse> {
1550
- return this.request("DescribeImageProcessingTemplates", req, cb)
1584
+ * 修改用户自定义视频内容分析模板。
1585
+
1586
+ 注意:模板 ID 10000 以下的为系统预置模板,不允许修改。
1587
+ */
1588
+ async ModifyAIAnalysisTemplate(
1589
+ req: ModifyAIAnalysisTemplateRequest,
1590
+ cb?: (error: string, rep: ModifyAIAnalysisTemplateResponse) => void
1591
+ ): Promise<ModifyAIAnalysisTemplateResponse> {
1592
+ return this.request("ModifyAIAnalysisTemplate", req, cb)
1551
1593
  }
1552
1594
 
1553
1595
  /**
@@ -113,6 +113,21 @@ export interface ModifyWatermarkTemplateRequest {
113
113
  SubAppId?: number
114
114
  }
115
115
 
116
+ /**
117
+ * CreateStorageRegion请求参数结构体
118
+ */
119
+ export interface CreateStorageRegionRequest {
120
+ /**
121
+ * 待开通的存储地域,必须是系统支持的地域。
122
+ */
123
+ StorageRegion: string
124
+
125
+ /**
126
+ * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
127
+ */
128
+ SubAppId?: number
129
+ }
130
+
116
131
  /**
117
132
  * 语音全文识别片段。
118
133
  */
@@ -754,6 +769,21 @@ export interface CreateImageProcessingTemplateRequest {
754
769
  SubAppId?: number
755
770
  }
756
771
 
772
+ /**
773
+ * ModifyDefaultStorageRegion请求参数结构体
774
+ */
775
+ export interface ModifyDefaultStorageRegionRequest {
776
+ /**
777
+ * 默认的存储地域,必须是已经开通的地域」,建议改成「默认的存储地域,必须是已经开通的地域(通过 DescribeStorageRegions 接口查询)。
778
+ */
779
+ StorageRegion: string
780
+
781
+ /**
782
+ * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
783
+ */
784
+ SubAppId?: number
785
+ }
786
+
757
787
  /**
758
788
  * ModifyEventConfig返回参数结构体
759
789
  */
@@ -1026,24 +1056,33 @@ export interface AiReviewTaskPoliticalOcrResult {
1026
1056
  }
1027
1057
 
1028
1058
  /**
1029
- * ManageTask请求参数结构体
1059
+ * AI 样本管理,关键词输出信息。
1030
1060
  */
1031
- export interface ManageTaskRequest {
1061
+ export interface AiSampleWord {
1032
1062
  /**
1033
- * 视频处理的任务 ID。
1063
+ * 关键词。
1034
1064
  */
1035
- TaskId: string
1065
+ Keyword: string
1036
1066
 
1037
1067
  /**
1038
- * 操作类型,取值范围:
1039
- <li>Abort:终止任务。只能终止已发起且状态为等待中(WAITING)的任务。</li>
1040
- */
1041
- OperationType: string
1068
+ * 关键词标签。
1069
+ */
1070
+ TagSet: Array<string>
1042
1071
 
1043
1072
  /**
1044
- * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
1073
+ * 关键词应用场景。
1045
1074
  */
1046
- SubAppId?: number
1075
+ UsageSet: Array<string>
1076
+
1077
+ /**
1078
+ * 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
1079
+ */
1080
+ CreateTime: string
1081
+
1082
+ /**
1083
+ * 最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
1084
+ */
1085
+ UpdateTime: string
1047
1086
  }
1048
1087
 
1049
1088
  /**
@@ -2391,6 +2430,33 @@ export interface CreatePersonSampleRequest {
2391
2430
  SubAppId?: number
2392
2431
  }
2393
2432
 
2433
+ /**
2434
+ * 存储地域信息
2435
+ */
2436
+ export interface StorageRegionInfo {
2437
+ /**
2438
+ * 存储地域
2439
+ */
2440
+ Region: string
2441
+
2442
+ /**
2443
+ * 存储地域描述信息
2444
+ */
2445
+ Description: string
2446
+
2447
+ /**
2448
+ * 状态,是否开通,取值有:
2449
+ <li>opened:已经开通。</li>
2450
+ <li>unopened:未开通。</li>
2451
+ */
2452
+ Status: string
2453
+
2454
+ /**
2455
+ * 是否默认的存储地域,true:是;false:否
2456
+ */
2457
+ IsDefault: boolean
2458
+ }
2459
+
2394
2460
  /**
2395
2461
  * 转场信息
2396
2462
  */
@@ -6243,33 +6309,24 @@ export interface MediaProcessTaskSnapshotByTimeOffsetResult {
6243
6309
  }
6244
6310
 
6245
6311
  /**
6246
- * AI 样本管理,关键词输出信息。
6312
+ * ManageTask请求参数结构体
6247
6313
  */
6248
- export interface AiSampleWord {
6249
- /**
6250
- * 关键词。
6251
- */
6252
- Keyword: string
6253
-
6254
- /**
6255
- * 关键词标签。
6256
- */
6257
- TagSet: Array<string>
6258
-
6314
+ export interface ManageTaskRequest {
6259
6315
  /**
6260
- * 关键词应用场景。
6316
+ * 视频处理的任务 ID。
6261
6317
  */
6262
- UsageSet: Array<string>
6318
+ TaskId: string
6263
6319
 
6264
6320
  /**
6265
- * 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
6266
- */
6267
- CreateTime: string
6321
+ * 操作类型,取值范围:
6322
+ <li>Abort:终止任务。只能终止已发起且状态为等待中(WAITING)的任务。</li>
6323
+ */
6324
+ OperationType: string
6268
6325
 
6269
6326
  /**
6270
- * 最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)
6327
+ * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
6271
6328
  */
6272
- UpdateTime: string
6329
+ SubAppId?: number
6273
6330
  }
6274
6331
 
6275
6332
  /**
@@ -7376,6 +7433,16 @@ FINISH:已完成。
7376
7433
  PublishResult: string
7377
7434
  }
7378
7435
 
7436
+ /**
7437
+ * ModifyDefaultStorageRegion返回参数结构体
7438
+ */
7439
+ export interface ModifyDefaultStorageRegionResponse {
7440
+ /**
7441
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7442
+ */
7443
+ RequestId?: string
7444
+ }
7445
+
7379
7446
  /**
7380
7447
  * CreateImageProcessingTemplate返回参数结构体
7381
7448
  */
@@ -10347,6 +10414,16 @@ export interface ModifyAIRecognitionTemplateRequest {
10347
10414
  SubAppId?: number
10348
10415
  }
10349
10416
 
10417
+ /**
10418
+ * DescribeStorageRegions请求参数结构体
10419
+ */
10420
+ export interface DescribeStorageRegionsRequest {
10421
+ /**
10422
+ * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
10423
+ */
10424
+ SubAppId?: number
10425
+ }
10426
+
10350
10427
  /**
10351
10428
  * 微信发布任务信息
10352
10429
  */
@@ -10582,6 +10659,16 @@ export interface StatDataItem {
10582
10659
  Value: number
10583
10660
  }
10584
10661
 
10662
+ /**
10663
+ * CreateStorageRegion返回参数结构体
10664
+ */
10665
+ export interface CreateStorageRegionResponse {
10666
+ /**
10667
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10668
+ */
10669
+ RequestId?: string
10670
+ }
10671
+
10585
10672
  /**
10586
10673
  * 域名的地区加速信息
10587
10674
  */
@@ -12714,6 +12801,21 @@ export interface AiReviewTaskPoliticalResult {
12714
12801
  Output: AiReviewPoliticalTaskOutput
12715
12802
  }
12716
12803
 
12804
+ /**
12805
+ * DescribeStorageRegions返回参数结构体
12806
+ */
12807
+ export interface DescribeStorageRegionsResponse {
12808
+ /**
12809
+ * 存储地域信息列表。
12810
+ */
12811
+ StorageRegionInfos?: Array<StorageRegionInfo>
12812
+
12813
+ /**
12814
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12815
+ */
12816
+ RequestId?: string
12817
+ }
12818
+
12717
12819
  /**
12718
12820
  * ModifySnapshotByTimeOffsetTemplate请求参数结构体
12719
12821
  */
@@ -18,7 +18,7 @@ class AbstractClient {
18
18
  * @param {string} region 产品地域
19
19
  * @param {ClientProfile} profile 可选配置实例
20
20
  */
21
- constructor(endpoint, version, { credential, region, profile }) {
21
+ constructor(endpoint, version, { credential, region, profile = {} }) {
22
22
  this.path = "/";
23
23
  /**
24
24
  * 认证信息实例
@@ -9,9 +9,9 @@ export interface ClientConfig {
9
9
  credential: Credential;
10
10
  /**
11
11
  * @param {string} region 产品地域
12
- * 必选
12
+ * 对于要求区分地域的产品,此参数必选(如 cvm);对于不区分地域的产品(如 sms),无需传入。
13
13
  */
14
- region: string;
14
+ region?: string;
15
15
  /**
16
16
  * @param {ClientProfile} profile 可选配置实例
17
17
  * 可选,没有特殊需求可以跳过。
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.323";
1
+ export declare const sdkVersion = "4.0.324";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.323";
4
+ exports.sdkVersion = "4.0.324";
@@ -224,6 +224,7 @@ export declare class Client extends AbstractClient {
224
224
 
225
225
  * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
226
226
  * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)。
227
+ * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
227
228
  */
228
229
  CreateSnapshot(req: CreateSnapshotRequest, cb?: (error: string, rep: CreateSnapshotResponse) => void): Promise<CreateSnapshotResponse>;
229
230
  /**
@@ -308,6 +308,7 @@ class Client extends abstract_client_1.AbstractClient {
308
308
 
309
309
  * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
310
310
  * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)。
311
+ * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
311
312
  */
312
313
  async CreateSnapshot(req, cb) {
313
314
  return this.request("CreateSnapshot", req, cb);
@@ -112,7 +112,7 @@ export interface InquiryPriceCreateDisksResponse {
112
112
  /**
113
113
  * 描述了新购云盘的价格。
114
114
  */
115
- DiskPrice?: Price;
115
+ DiskPrice: Price;
116
116
  /**
117
117
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
118
118
  */
@@ -363,6 +363,10 @@ export interface CreateDisksRequest {
363
363
  * 创建云盘时指定自动挂载并初始化该数据盘。
364
364
  */
365
365
  AutoMountConfiguration?: AutoMountConfiguration;
366
+ /**
367
+ * 指定云硬盘备份点配额。
368
+ */
369
+ DiskBackupQuota?: number;
366
370
  }
367
371
  /**
368
372
  * AttachDisks请求参数结构体
@@ -663,6 +667,14 @@ export interface Disk {
663
667
  * 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
664
668
  */
665
669
  DeleteSnapshot: number;
670
+ /**
671
+ * 云硬盘备份点已使用的数量。
672
+ */
673
+ DiskBackupCount: number;
674
+ /**
675
+ * 云硬盘挂载实例的类型。取值范围:<br><li>CVM<br><li>EKS
676
+ */
677
+ InstanceType: string;
666
678
  }
667
679
  /**
668
680
  * TerminateDisks返回参数结构体
@@ -720,6 +732,10 @@ export interface CreateSnapshotRequest {
720
732
  * 快照的到期时间,到期后该快照将会自动删除,需要传入UTC时间下的ISO-8601标准时间格式,例如:2022-01-08T09:47:55+00:00
721
733
  */
722
734
  Deadline?: string;
735
+ /**
736
+ * 云硬盘备份点ID。传入此参数时,将通过备份点创建快照。
737
+ */
738
+ DiskBackupId?: string;
723
739
  }
724
740
  /**
725
741
  * DescribeInstancesDiskNum请求参数结构体
@@ -1179,6 +1195,10 @@ export interface Filter {
1179
1195
  * InquiryPriceCreateDisks请求参数结构体
1180
1196
  */
1181
1197
  export interface InquiryPriceCreateDisksRequest {
1198
+ /**
1199
+ * 云硬盘计费类型。<br><li>PREPAID:预付费,即包年包月<br><li>POSTPAID_BY_HOUR:按小时后付费
1200
+ */
1201
+ DiskChargeType: string;
1182
1202
  /**
1183
1203
  * 硬盘介质类型。取值范围:<br><li>CLOUD_BASIC:表示普通云硬盘<br><li>CLOUD_PREMIUM:表示高性能云硬盘<br><li>CLOUD_SSD:表示SSD云硬盘<br><li>CLOUD_HSSD:表示增强型SSD云硬盘<br><li>CLOUD_TSSD:表示极速型SSD云硬盘。
1184
1204
  */
@@ -1188,25 +1208,25 @@ export interface InquiryPriceCreateDisksRequest {
1188
1208
  */
1189
1209
  DiskSize: number;
1190
1210
  /**
1191
- * 云硬盘计费类型。<br><li>PREPAID:预付费,即包年包月<br><li>POSTPAID_BY_HOUR:按小时后付费
1192
- */
1193
- DiskChargeType: string;
1194
- /**
1195
- * 预付费模式,即包年包月相关参数设置。通过该参数指定包年包月云盘的购买时长、是否设置自动续费等属性。<br>创建预付费云盘该参数必传,创建按小时后付费云盘无需传该参数。
1211
+ * 云盘所属项目ID。
1196
1212
  */
1197
- DiskChargePrepaid?: DiskChargePrepaid;
1213
+ ProjectId?: number;
1198
1214
  /**
1199
1215
  * 购买云盘的数量。不填则默认为1。
1200
1216
  */
1201
1217
  DiskCount?: number;
1202
- /**
1203
- * 云盘所属项目ID。
1204
- */
1205
- ProjectId?: number;
1206
1218
  /**
1207
1219
  * 额外购买的云硬盘性能值,单位MB/s。<br>目前仅支持增强型SSD云硬盘(CLOUD_HSSD)和极速型SSD云硬盘(CLOUD_TSSD)
1208
1220
  */
1209
1221
  ThroughputPerformance?: number;
1222
+ /**
1223
+ * 预付费模式,即包年包月相关参数设置。通过该参数指定包年包月云盘的购买时长、是否设置自动续费等属性。<br>创建预付费云盘该参数必传,创建按小时后付费云盘无需传该参数。
1224
+ */
1225
+ DiskChargePrepaid?: DiskChargePrepaid;
1226
+ /**
1227
+ * 指定云硬盘备份点配额。
1228
+ */
1229
+ DiskBackupQuota?: number;
1210
1230
  }
1211
1231
  /**
1212
1232
  * DescribeSnapshots返回参数结构体
@@ -1516,10 +1536,10 @@ export interface Policy {
1516
1536
  */
1517
1537
  export interface Price {
1518
1538
  /**
1519
- * 预付费云盘预支费用的原价,单位:元。
1539
+ * 后付费云盘折扣单价,单位:元。
1520
1540
  注意:此字段可能返回 null,表示取不到有效值。
1521
1541
  */
1522
- OriginalPrice?: number;
1542
+ UnitPriceDiscount: number;
1523
1543
  /**
1524
1544
  * 预付费云盘预支费用的折扣价,单位:元。
1525
1545
  注意:此字段可能返回 null,表示取不到有效值。
@@ -1531,35 +1551,35 @@ export interface Price {
1531
1551
  */
1532
1552
  UnitPrice: number;
1533
1553
  /**
1534
- * 后付费云盘的计价单元,取值范围:<br><li>HOUR:表示后付费云盘的计价单元是按小时计算。
1554
+ * 高精度后付费云盘原单价, 单位:元
1535
1555
  注意:此字段可能返回 null,表示取不到有效值。
1536
1556
  */
1537
- ChargeUnit: string;
1557
+ UnitPriceHigh: string;
1538
1558
  /**
1539
- * 后付费云盘折扣单价,单位:元。
1559
+ * 高精度预付费云盘预支费用的原价, 单位:元 。
1540
1560
  注意:此字段可能返回 null,表示取不到有效值。
1541
1561
  */
1542
- UnitPriceDiscount: number;
1562
+ OriginalPriceHigh: string;
1543
1563
  /**
1544
- * 高精度预付费云盘预支费用的原价, 单位:元 。
1564
+ * 预付费云盘预支费用的原价,单位:元。
1545
1565
  注意:此字段可能返回 null,表示取不到有效值。
1546
1566
  */
1547
- OriginalPriceHigh: string;
1567
+ OriginalPrice?: number;
1548
1568
  /**
1549
1569
  * 高精度预付费云盘预支费用的折扣价, 单位:元
1550
1570
  注意:此字段可能返回 null,表示取不到有效值。
1551
1571
  */
1552
1572
  DiscountPriceHigh: string;
1553
1573
  /**
1554
- * 高精度后付费云盘原单价, 单位:元
1574
+ * 高精度后付费云盘折扣单价, 单位:元
1555
1575
  注意:此字段可能返回 null,表示取不到有效值。
1556
1576
  */
1557
- UnitPriceHigh: string;
1577
+ UnitPriceDiscountHigh: string;
1558
1578
  /**
1559
- * 高精度后付费云盘折扣单价, 单位:元
1579
+ * 后付费云盘的计价单元,取值范围:<br><li>HOUR:表示后付费云盘的计价单元是按小时计算。
1560
1580
  注意:此字段可能返回 null,表示取不到有效值。
1561
1581
  */
1562
- UnitPriceDiscountHigh: string;
1582
+ ChargeUnit: string;
1563
1583
  }
1564
1584
  /**
1565
1585
  * InquirePriceModifyDiskExtraPerformance请求参数结构体
@@ -1585,17 +1585,17 @@ export interface DescribeTelCdrRequest {
1585
1585
  */
1586
1586
  EndTimeStamp: number;
1587
1587
  /**
1588
- * 返回数据条数,上限(deprecated)
1588
+ * 实例 ID(deprecated)
1589
1589
  */
1590
- Limit: number;
1590
+ InstanceId?: number;
1591
1591
  /**
1592
- * 偏移(deprecated)
1592
+ * 返回数据条数,上限(deprecated)
1593
1593
  */
1594
- Offset: number;
1594
+ Limit?: number;
1595
1595
  /**
1596
- * 实例 ID(deprecated)
1596
+ * 偏移(deprecated)
1597
1597
  */
1598
- InstanceId?: number;
1598
+ Offset?: number;
1599
1599
  /**
1600
1600
  * 应用 ID
1601
1601
  */
@@ -1951,7 +1951,7 @@ export interface DescribeDefaultParamsRequest {
1951
1951
  */
1952
1952
  EngineVersion: string;
1953
1953
  /**
1954
- * 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模版,"HIGH_PERFORMANCE" - 高性能模版。
1954
+ * 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板。
1955
1955
  */
1956
1956
  TemplateType?: string;
1957
1957
  }
@@ -3619,11 +3619,11 @@ export interface DescribeProxyConnectionPoolConfRequest {
3619
3619
  */
3620
3620
  InstanceId: string;
3621
3621
  /**
3622
- * 分页
3622
+ * 分页查询偏移量
3623
3623
  */
3624
3624
  Offset?: number;
3625
3625
  /**
3626
- * 限制
3626
+ * 分页查询限制
3627
3627
  */
3628
3628
  Limit?: number;
3629
3629
  }
@@ -2922,7 +2922,7 @@ export interface Route {
2922
2922
  */
2923
2923
  RouteId: number;
2924
2924
  /**
2925
- * vip网络类型(1:外网TGW 2:基础网络 3:VPC网络 4:支撑网络(标准版) 5:SSL外网访问方式访问 6:黑石环境vpc 7:支撑网络(专业版))
2925
+ * vip网络类型(1:外网TGW 2:基础网络 3:VPC网络 4:支撑网络(idc 环境) 5:SSL外网访问方式访问 6:黑石环境vpc 7:支撑网络(cvm 环境)
2926
2926
  */
2927
2927
  VipType: number;
2928
2928
  /**