tencentcloud-sdk-nodejs 4.0.374 → 4.0.375

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 (48) hide show
  1. package/CHANGELOG.md +204 -0
  2. package/SERVICE_CHANGELOG.md +342 -25
  3. package/package.json +1 -1
  4. package/products.md +12 -12
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +1 -1
  7. package/src/services/as/v20180419/as_models.ts +3 -2
  8. package/src/services/cbs/v20170312/cbs_client.ts +1 -1
  9. package/src/services/clb/v20180317/clb_models.ts +3 -2
  10. package/src/services/cpdp/v20190820/cpdp_models.ts +145 -0
  11. package/src/services/cvm/v20170312/cvm_client.ts +31 -14
  12. package/src/services/cvm/v20170312/cvm_models.ts +235 -35
  13. package/src/services/cynosdb/v20190107/cynosdb_client.ts +109 -23
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +437 -44
  15. package/src/services/dlc/v20210125/dlc_client.ts +12 -0
  16. package/src/services/dlc/v20210125/dlc_models.ts +30 -0
  17. package/src/services/oceanus/v20190422/oceanus_models.ts +5 -0
  18. package/src/services/tke/v20180525/tke_client.ts +4 -1
  19. package/src/services/tke/v20180525/tke_models.ts +96 -1
  20. package/src/services/wedata/v20210820/wedata_client.ts +14 -2
  21. package/src/services/wedata/v20210820/wedata_models.ts +72 -22
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1 -1
  25. package/tencentcloud/services/as/v20180419/as_models.d.ts +2 -1
  26. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
  27. package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
  28. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -0
  29. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +128 -0
  30. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +14 -7
  31. package/tencentcloud/services/cvm/v20170312/cvm_client.js +16 -7
  32. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +202 -32
  33. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +35 -7
  34. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +51 -9
  35. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +371 -41
  36. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
  37. package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
  38. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +26 -0
  39. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -0
  40. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
  41. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +81 -1
  42. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
  43. package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
  44. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +62 -20
  45. package/test/cvm.v20170312.test.js +12 -2
  46. package/test/cynosdb.v20190107.test.js +76 -6
  47. package/test/dlc.v20210125.test.js +10 -0
  48. package/test/wedata.v20210820.test.js +10 -0
@@ -382,33 +382,142 @@ export interface ResetInstancesTypeRequest {
382
382
  }
383
383
 
384
384
  /**
385
- * InquiryPriceResetInstance请求参数结构体
385
+ * CHC物理服务器信息
386
386
  */
387
- export interface InquiryPriceResetInstanceRequest {
387
+ export interface ChcHost {
388
388
  /**
389
- * 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。
389
+ * CHC物理服务器ID
390
390
  */
391
- InstanceId: string
391
+ ChcId: string
392
392
 
393
393
  /**
394
- * 指定有效的[镜像](/document/product/213/4940)ID,格式形如`img-xxx`。镜像类型分为四种:<br/><li>公共镜像</li><li>自定义镜像</li><li>共享镜像</li><li>服务市场镜像</li><br/>可通过以下方式获取可用的镜像ID:<br/><li>`公共镜像`、`自定义镜像`、`共享镜像`的镜像ID可通过登录[控制台](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE)查询;`服务镜像市场`的镜像ID可通过[云市场](https://market.cloud.tencent.com/list)查询。</li><li>通过调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) ,取返回信息中的`ImageId`字段。</li>
394
+ * 实例名称。
395
395
  */
396
- ImageId?: string
396
+ InstanceName: string
397
397
 
398
398
  /**
399
- * 实例系统盘配置信息。系统盘为云盘的实例可以通过该参数指定重装后的系统盘大小来实现对系统盘的扩容操作,若不指定则默认系统盘大小保持不变。系统盘大小只支持扩容不支持缩容;重装只支持修改系统盘的大小,不能修改系统盘的类型。
399
+ * 服务器序列号。
400
400
  */
401
- SystemDisk?: SystemDisk
401
+ SerialNumber: string
402
402
 
403
403
  /**
404
- * 实例登录设置。通过该参数可以设置实例的登录方式密码、密钥或保持镜像的原始登录设置。默认情况下会随机生成密码,并以站内信方式知会到用户。
404
+ * CHC的状态<br/>
405
+ <ul>
406
+ <li>REGISTERED: 设备已录入。还未配置带外和部署网络</li>
407
+ <li>VPC_READY: 已配置带外和部署网络</li>
408
+ <li>PREPARED: 可分配云主机</li>
409
+ <li>ONLINE: 已分配云主机</li>
410
+ </ul>
411
+ */
412
+ InstanceState: string
413
+
414
+ /**
415
+ * 设备类型。
416
+ 注意:此字段可能返回 null,表示取不到有效值。
417
+ */
418
+ DeviceType?: string
419
+
420
+ /**
421
+ * 所属可用区
405
422
  */
406
- LoginSettings?: LoginSettings
423
+ Placement: Placement
407
424
 
408
425
  /**
409
- * 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
426
+ * 带外网络。
427
+ 注意:此字段可能返回 null,表示取不到有效值。
428
+ */
429
+ BmcVirtualPrivateCloud?: VirtualPrivateCloud
430
+
431
+ /**
432
+ * 带外网络Ip。
433
+ 注意:此字段可能返回 null,表示取不到有效值。
434
+ */
435
+ BmcIp?: string
436
+
437
+ /**
438
+ * 带外网络安全组Id。
439
+ 注意:此字段可能返回 null,表示取不到有效值。
440
+ */
441
+ BmcSecurityGroupIds?: Array<string>
442
+
443
+ /**
444
+ * 部署网络。
445
+ 注意:此字段可能返回 null,表示取不到有效值。
446
+ */
447
+ DeployVirtualPrivateCloud?: VirtualPrivateCloud
448
+
449
+ /**
450
+ * 部署网络Ip。
451
+ 注意:此字段可能返回 null,表示取不到有效值。
452
+ */
453
+ DeployIp?: string
454
+
455
+ /**
456
+ * 部署网络安全组Id。
457
+ 注意:此字段可能返回 null,表示取不到有效值。
458
+ */
459
+ DeploySecurityGroupIds?: Array<string>
460
+
461
+ /**
462
+ * 关联的云主机Id。
463
+ 注意:此字段可能返回 null,表示取不到有效值。
464
+ */
465
+ CvmInstanceId?: string
466
+
467
+ /**
468
+ * 服务器导入的时间。
410
469
  */
411
- EnhancedService?: EnhancedService
470
+ CreatedTime: string
471
+
472
+ /**
473
+ * 机型的硬件描述,分别为CPU核数,内存容量和磁盘容量
474
+ 注意:此字段可能返回 null,表示取不到有效值。
475
+ */
476
+ HardwareDescription?: string
477
+
478
+ /**
479
+ * CHC物理服务器的CPU核数
480
+ 注意:此字段可能返回 null,表示取不到有效值。
481
+ */
482
+ CPU: number
483
+
484
+ /**
485
+ * CHC物理服务器的内存大小,单位为GB
486
+ 注意:此字段可能返回 null,表示取不到有效值。
487
+ */
488
+ Memory: number
489
+
490
+ /**
491
+ * CHC物理服务器的磁盘信息
492
+ 注意:此字段可能返回 null,表示取不到有效值。
493
+ */
494
+ Disk: string
495
+
496
+ /**
497
+ * 带外网络下分配的MAC地址
498
+ 注意:此字段可能返回 null,表示取不到有效值。
499
+ */
500
+ BmcMAC: string
501
+
502
+ /**
503
+ * 部署网络下分配的MAC地址
504
+ 注意:此字段可能返回 null,表示取不到有效值。
505
+ */
506
+ DeployMAC: string
507
+
508
+ /**
509
+ * 设备托管类型。
510
+ HOSTING: 托管
511
+ TENANT: 租赁
512
+ 注意:此字段可能返回 null,表示取不到有效值。
513
+ */
514
+ TenantType?: string
515
+
516
+ /**
517
+ * chc dhcp选项,用于minios调试
518
+ 注意:此字段可能返回 null,表示取不到有效值。
519
+ */
520
+ DeployExtraConfig?: ChcDeployExtraConfig
412
521
  }
413
522
 
414
523
  /**
@@ -583,6 +692,26 @@ export interface LaunchTemplate {
583
692
  LaunchTemplateVersion?: number
584
693
  }
585
694
 
695
+ /**
696
+ * DescribeChcHosts返回参数结构体
697
+ */
698
+ export interface DescribeChcHostsResponse {
699
+ /**
700
+ * 符合条件的实例数量。
701
+ */
702
+ TotalCount: number
703
+
704
+ /**
705
+ * 返回的实例列表
706
+ */
707
+ ChcHostSet: Array<ChcHost>
708
+
709
+ /**
710
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
711
+ */
712
+ RequestId?: string
713
+ }
714
+
586
715
  /**
587
716
  * 描述实例机型配置信息
588
717
  */
@@ -1080,20 +1209,13 @@ export interface ModifyInstancesVpcAttributeResponse {
1080
1209
  }
1081
1210
 
1082
1211
  /**
1083
- * DescribeLaunchTemplates返回参数结构体
1212
+ * CreateKeyPair返回参数结构体
1084
1213
  */
1085
- export interface DescribeLaunchTemplatesResponse {
1086
- /**
1087
- * 符合条件的实例模板数量。
1088
- 注意:此字段可能返回 null,表示取不到有效值。
1089
- */
1090
- TotalCount: number
1091
-
1214
+ export interface CreateKeyPairResponse {
1092
1215
  /**
1093
- * 实例详细信息列表。
1094
- 注意:此字段可能返回 null,表示取不到有效值。
1095
- */
1096
- LaunchTemplateSet: Array<LaunchTemplateInfo>
1216
+ * 密钥对信息。
1217
+ */
1218
+ KeyPair?: KeyPair
1097
1219
 
1098
1220
  /**
1099
1221
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1961,6 +2083,11 @@ IMPORTFAILED-导入失败
1961
2083
  LicenseType?: string
1962
2084
  }
1963
2085
 
2086
+ /**
2087
+ * chc部署网络minos引导配置。
2088
+ */
2089
+ export type ChcDeployExtraConfig = null
2090
+
1964
2091
  /**
1965
2092
  * DescribeDisasterRecoverGroupQuota返回参数结构体
1966
2093
  */
@@ -2932,13 +3059,20 @@ export interface EnhancedService {
2932
3059
  }
2933
3060
 
2934
3061
  /**
2935
- * CreateKeyPair返回参数结构体
3062
+ * DescribeLaunchTemplates返回参数结构体
2936
3063
  */
2937
- export interface CreateKeyPairResponse {
3064
+ export interface DescribeLaunchTemplatesResponse {
2938
3065
  /**
2939
- * 密钥对信息。
2940
- */
2941
- KeyPair?: KeyPair
3066
+ * 符合条件的实例模板数量。
3067
+ 注意:此字段可能返回 null,表示取不到有效值。
3068
+ */
3069
+ TotalCount: number
3070
+
3071
+ /**
3072
+ * 实例详细信息列表。
3073
+ 注意:此字段可能返回 null,表示取不到有效值。
3074
+ */
3075
+ LaunchTemplateSet: Array<LaunchTemplateInfo>
2942
3076
 
2943
3077
  /**
2944
3078
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -3310,18 +3444,33 @@ duration
3310
3444
  }
3311
3445
 
3312
3446
  /**
3313
- * 创建资源实例时同时绑定的标签对说明
3447
+ * InquiryPriceResetInstance请求参数结构体
3314
3448
  */
3315
- export interface TagSpecification {
3449
+ export interface InquiryPriceResetInstanceRequest {
3316
3450
  /**
3317
- * 标签绑定的资源类型,云服务器为“instance”,专用宿主机为“host”,镜像为“image”
3451
+ * 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。
3318
3452
  */
3319
- ResourceType: string
3453
+ InstanceId: string
3320
3454
 
3321
3455
  /**
3322
- * 标签对列表
3456
+ * 指定有效的[镜像](/document/product/213/4940)ID,格式形如`img-xxx`。镜像类型分为四种:<br/><li>公共镜像</li><li>自定义镜像</li><li>共享镜像</li><li>服务市场镜像</li><br/>可通过以下方式获取可用的镜像ID:<br/><li>`公共镜像`、`自定义镜像`、`共享镜像`的镜像ID可通过登录[控制台](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE)查询;`服务镜像市场`的镜像ID可通过[云市场](https://market.cloud.tencent.com/list)查询。</li><li>通过调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) ,取返回信息中的`ImageId`字段。</li>
3323
3457
  */
3324
- Tags: Array<Tag>
3458
+ ImageId?: string
3459
+
3460
+ /**
3461
+ * 实例系统盘配置信息。系统盘为云盘的实例可以通过该参数指定重装后的系统盘大小来实现对系统盘的扩容操作,若不指定则默认系统盘大小保持不变。系统盘大小只支持扩容不支持缩容;重装只支持修改系统盘的大小,不能修改系统盘的类型。
3462
+ */
3463
+ SystemDisk?: SystemDisk
3464
+
3465
+ /**
3466
+ * 实例登录设置。通过该参数可以设置实例的登录方式密码、密钥或保持镜像的原始登录设置。默认情况下会随机生成密码,并以站内信方式知会到用户。
3467
+ */
3468
+ LoginSettings?: LoginSettings
3469
+
3470
+ /**
3471
+ * 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
3472
+ */
3473
+ EnhancedService?: EnhancedService
3325
3474
  }
3326
3475
 
3327
3476
  /**
@@ -4428,6 +4577,21 @@ export interface InquiryPriceRunInstancesResponse {
4428
4577
  RequestId?: string
4429
4578
  }
4430
4579
 
4580
+ /**
4581
+ * 创建资源实例时同时绑定的标签对说明
4582
+ */
4583
+ export interface TagSpecification {
4584
+ /**
4585
+ * 标签绑定的资源类型,云服务器为“instance”,专用宿主机为“host”,镜像为“image”
4586
+ */
4587
+ ResourceType: string
4588
+
4589
+ /**
4590
+ * 标签对列表
4591
+ */
4592
+ Tags: Array<Tag>
4593
+ }
4594
+
4431
4595
  /**
4432
4596
  * DescribeHosts请求参数结构体
4433
4597
  */
@@ -4701,6 +4865,42 @@ export interface ReservedInstancePriceItem {
4701
4865
  ProductDescription: string
4702
4866
  }
4703
4867
 
4868
+ /**
4869
+ * DescribeChcHosts请求参数结构体
4870
+ */
4871
+ export interface DescribeChcHostsRequest {
4872
+ /**
4873
+ * CHC物理服务器实例ID。每次请求的实例的上限为100。参数不支持同时指定`ChcIds`和`Filters`。
4874
+ */
4875
+ ChcIds?: Array<string>
4876
+
4877
+ /**
4878
+ * <li><strong>zone</strong></li>
4879
+ <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
4880
+ <li><strong>instance-name</strong></li>
4881
+ <p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4882
+ <li><strong>instance-state</strong></li>
4883
+ <p style="padding-left: 30px;">按照【<strong>实例状态</strong>】进行过滤。状态类型详见[实例状态表](https://cloud.tencent.com/document/api/213/15753#InstanceStatus)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4884
+ <li><strong>device-type</strong></li>
4885
+ <p style="padding-left: 30px;">按照【<strong>设备类型</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4886
+ <li><strong>vpc-id</strong></li>
4887
+ <p style="padding-left: 30px;">按照【<strong>私有网络唯一ID</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4888
+ <li><strong>subnet-id</strong></li>
4889
+ <p style="padding-left: 30px;">按照【<strong>私有子网唯一ID</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4890
+ */
4891
+ Filters?: Array<Filter>
4892
+
4893
+ /**
4894
+ * 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
4895
+ */
4896
+ Offset?: number
4897
+
4898
+ /**
4899
+ * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
4900
+ */
4901
+ Limit?: number
4902
+ }
4903
+
4704
4904
  /**
4705
4905
  * RebootInstances返回参数结构体
4706
4906
  */
@@ -25,16 +25,19 @@ import {
25
25
  DescribeAccountsRequest,
26
26
  ModifyMaintainPeriodConfigRequest,
27
27
  DescribeRollbackTimeRangeResponse,
28
+ ModifyBackupNameResponse,
28
29
  AssociateSecurityGroupsRequest,
30
+ DescribeBinlogDownloadUrlRequest,
29
31
  CreateAccountsResponse,
30
32
  ModifyInstanceNameRequest,
31
33
  DescribeDBSecurityGroupsResponse,
32
34
  DescribeMaintainPeriodRequest,
33
35
  AccountParam,
36
+ DescribeBinlogsResponse,
34
37
  DescribeInstancesResponse,
35
38
  ClusterInstanceDetail,
36
39
  Account,
37
- ModifyBackupConfigResponse,
40
+ ModifyClusterNameResponse,
38
41
  IsolateInstanceResponse,
39
42
  ModifyInstanceNameResponse,
40
43
  PauseServerlessRequest,
@@ -42,7 +45,7 @@ import {
42
45
  CreateClustersResponse,
43
46
  SetRenewFlagRequest,
44
47
  CynosdbInstanceGrp,
45
- Tag,
48
+ SlowQueriesItem,
46
49
  ActivateInstanceRequest,
47
50
  RollbackTableInfo,
48
51
  DescribeAccountAllGrantPrivilegesResponse,
@@ -57,15 +60,19 @@ import {
57
60
  ResumeServerlessResponse,
58
61
  CreateAccountsRequest,
59
62
  IsolateInstanceRequest,
63
+ ExportInstanceSlowQueriesResponse,
60
64
  DescribeDBSecurityGroupsRequest,
61
65
  RollBackClusterRequest,
62
66
  RollbackTable,
63
67
  DescribeClusterDetailRequest,
68
+ Tag,
64
69
  DescribeProjectSecurityGroupsResponse,
65
70
  PauseServerlessResponse,
66
71
  OfflineClusterRequest,
67
72
  NewAccount,
68
73
  BackupFileInfo,
74
+ TablePrivileges,
75
+ DescribeBinlogDownloadUrlResponse,
69
76
  DescribeBackupListRequest,
70
77
  CynosdbInstance,
71
78
  DbTable,
@@ -81,27 +88,33 @@ import {
81
88
  DescribeProjectSecurityGroupsRequest,
82
89
  ModifyClusterParamResponse,
83
90
  SecurityGroup,
91
+ DescribeBackupDownloadUrlRequest,
84
92
  NetAddr,
85
93
  AssociateSecurityGroupsResponse,
86
94
  DescribeResourcesByDealNameRequest,
87
95
  DescribeRollbackTimeValidityResponse,
96
+ DescribeInstanceSlowQueriesResponse,
88
97
  GrantAccountPrivilegesResponse,
98
+ DescribeBackupDownloadUrlResponse,
89
99
  ResumeServerlessRequest,
90
100
  BillingResourceInfo,
91
- ModifyClusterNameResponse,
101
+ ModifyBackupConfigResponse,
92
102
  DescribeInstanceSpecsRequest,
103
+ ExportInstanceSlowQueriesRequest,
93
104
  UpgradeInstanceResponse,
94
105
  DescribeClusterParamLogsResponse,
95
106
  CynosdbCluster,
96
- SetRenewFlagResponse,
107
+ BinlogItem,
97
108
  OfflineClusterResponse,
98
109
  RevokeAccountPrivilegesRequest,
99
110
  InstanceSpec,
111
+ SetRenewFlagResponse,
100
112
  DescribeClusterParamLogsRequest,
101
113
  UpgradeInstanceRequest,
102
114
  DescribeMaintainPeriodResponse,
103
115
  DescribeBackupListResponse,
104
116
  RollBackClusterResponse,
117
+ DescribeBinlogSaveDaysRequest,
105
118
  DescribeClusterDetailResponse,
106
119
  ActivateInstanceResponse,
107
120
  DescribeRollbackTimeValidityRequest,
@@ -115,7 +128,8 @@ import {
115
128
  DescribeInstanceDetailRequest,
116
129
  ModifyMaintainPeriodConfigResponse,
117
130
  DisassociateSecurityGroupsRequest,
118
- TablePrivileges,
131
+ ModifyBackupNameRequest,
132
+ DescribeBinlogSaveDaysResponse,
119
133
  ModifyClusterParamRequest,
120
134
  DescribeAccountsResponse,
121
135
  ModifyAccountParamsResponse,
@@ -126,6 +140,8 @@ import {
126
140
  ParamItem,
127
141
  PolicyRule,
128
142
  ModifyBackupConfigRequest,
143
+ DescribeInstanceSlowQueriesRequest,
144
+ DescribeBinlogsRequest,
129
145
  InputAccount,
130
146
  DisassociateSecurityGroupsResponse,
131
147
  } from "./cynosdb_models"
@@ -160,13 +176,13 @@ export class Client extends AbstractClient {
160
176
  }
161
177
 
162
178
  /**
163
- * 批量回收账号权限
179
+ * 账号所有权限
164
180
  */
165
- async RevokeAccountPrivileges(
166
- req: RevokeAccountPrivilegesRequest,
167
- cb?: (error: string, rep: RevokeAccountPrivilegesResponse) => void
168
- ): Promise<RevokeAccountPrivilegesResponse> {
169
- return this.request("RevokeAccountPrivileges", req, cb)
181
+ async DescribeAccountAllGrantPrivileges(
182
+ req: DescribeAccountAllGrantPrivilegesRequest,
183
+ cb?: (error: string, rep: DescribeAccountAllGrantPrivilegesResponse) => void
184
+ ): Promise<DescribeAccountAllGrantPrivilegesResponse> {
185
+ return this.request("DescribeAccountAllGrantPrivileges", req, cb)
170
186
  }
171
187
 
172
188
  /**
@@ -179,6 +195,26 @@ export class Client extends AbstractClient {
179
195
  return this.request("RollBackCluster", req, cb)
180
196
  }
181
197
 
198
+ /**
199
+ * 查询项目安全组信息
200
+ */
201
+ async DescribeProjectSecurityGroups(
202
+ req: DescribeProjectSecurityGroupsRequest,
203
+ cb?: (error: string, rep: DescribeProjectSecurityGroupsResponse) => void
204
+ ): Promise<DescribeProjectSecurityGroupsResponse> {
205
+ return this.request("DescribeProjectSecurityGroups", req, cb)
206
+ }
207
+
208
+ /**
209
+ * 此接口(DescribeBinlogSaveDays)用于查询集群的Binlog保留天数。
210
+ */
211
+ async DescribeBinlogSaveDays(
212
+ req: DescribeBinlogSaveDaysRequest,
213
+ cb?: (error: string, rep: DescribeBinlogSaveDaysResponse) => void
214
+ ): Promise<DescribeBinlogSaveDaysResponse> {
215
+ return this.request("DescribeBinlogSaveDays", req, cb)
216
+ }
217
+
182
218
  /**
183
219
  * 获取指定集群的备份配置信息,包括全量备份时间段,备份文件保留时间
184
220
  */
@@ -229,6 +265,16 @@ export class Client extends AbstractClient {
229
265
  return this.request("ModifyClusterName", req, cb)
230
266
  }
231
267
 
268
+ /**
269
+ * 批量回收账号权限
270
+ */
271
+ async RevokeAccountPrivileges(
272
+ req: RevokeAccountPrivilegesRequest,
273
+ cb?: (error: string, rep: RevokeAccountPrivilegesResponse) => void
274
+ ): Promise<RevokeAccountPrivilegesResponse> {
275
+ return this.request("RevokeAccountPrivileges", req, cb)
276
+ }
277
+
232
278
  /**
233
279
  * 本接口(DescribeInstanceDetail)用于查询实例详情。
234
280
  */
@@ -360,13 +406,13 @@ export class Client extends AbstractClient {
360
406
  }
361
407
 
362
408
  /**
363
- * 查询项目安全组信息
409
+ * 此接口(DescribeBackupDownloadUrl)用于查询集群备份文件下载地址。
364
410
  */
365
- async DescribeProjectSecurityGroups(
366
- req: DescribeProjectSecurityGroupsRequest,
367
- cb?: (error: string, rep: DescribeProjectSecurityGroupsResponse) => void
368
- ): Promise<DescribeProjectSecurityGroupsResponse> {
369
- return this.request("DescribeProjectSecurityGroups", req, cb)
411
+ async DescribeBackupDownloadUrl(
412
+ req: DescribeBackupDownloadUrlRequest,
413
+ cb?: (error: string, rep: DescribeBackupDownloadUrlResponse) => void
414
+ ): Promise<DescribeBackupDownloadUrlResponse> {
415
+ return this.request("DescribeBackupDownloadUrl", req, cb)
370
416
  }
371
417
 
372
418
  /**
@@ -430,13 +476,33 @@ export class Client extends AbstractClient {
430
476
  }
431
477
 
432
478
  /**
433
- * 账号所有权限
479
+ * 此接口(DescribeInstanceSlowQueries)用于查询实例慢查询日志。
434
480
  */
435
- async DescribeAccountAllGrantPrivileges(
436
- req: DescribeAccountAllGrantPrivilegesRequest,
437
- cb?: (error: string, rep: DescribeAccountAllGrantPrivilegesResponse) => void
438
- ): Promise<DescribeAccountAllGrantPrivilegesResponse> {
439
- return this.request("DescribeAccountAllGrantPrivileges", req, cb)
481
+ async DescribeInstanceSlowQueries(
482
+ req: DescribeInstanceSlowQueriesRequest,
483
+ cb?: (error: string, rep: DescribeInstanceSlowQueriesResponse) => void
484
+ ): Promise<DescribeInstanceSlowQueriesResponse> {
485
+ return this.request("DescribeInstanceSlowQueries", req, cb)
486
+ }
487
+
488
+ /**
489
+ * 此接口(ModifyBackupName)用于修改备份文件备注名。
490
+ */
491
+ async ModifyBackupName(
492
+ req: ModifyBackupNameRequest,
493
+ cb?: (error: string, rep: ModifyBackupNameResponse) => void
494
+ ): Promise<ModifyBackupNameResponse> {
495
+ return this.request("ModifyBackupName", req, cb)
496
+ }
497
+
498
+ /**
499
+ * 此接口(DescribeBinlogDownloadUrl)用于查询Binlog的下载地址。
500
+ */
501
+ async DescribeBinlogDownloadUrl(
502
+ req: DescribeBinlogDownloadUrlRequest,
503
+ cb?: (error: string, rep: DescribeBinlogDownloadUrlResponse) => void
504
+ ): Promise<DescribeBinlogDownloadUrlResponse> {
505
+ return this.request("DescribeBinlogDownloadUrl", req, cb)
440
506
  }
441
507
 
442
508
  /**
@@ -489,6 +555,16 @@ export class Client extends AbstractClient {
489
555
  return this.request("CreateClusters", req, cb)
490
556
  }
491
557
 
558
+ /**
559
+ * 此接口(DescribeBinlogs)用来查询集群Binlog日志列表。
560
+ */
561
+ async DescribeBinlogs(
562
+ req: DescribeBinlogsRequest,
563
+ cb?: (error: string, rep: DescribeBinlogsResponse) => void
564
+ ): Promise<DescribeBinlogsResponse> {
565
+ return this.request("DescribeBinlogs", req, cb)
566
+ }
567
+
492
568
  /**
493
569
  * 创建账号
494
570
  */
@@ -519,6 +595,16 @@ export class Client extends AbstractClient {
519
595
  return this.request("DescribeDBSecurityGroups", req, cb)
520
596
  }
521
597
 
598
+ /**
599
+ * 此接口(ExportInstanceSlowQueries)用于导出实例慢日志。
600
+ */
601
+ async ExportInstanceSlowQueries(
602
+ req: ExportInstanceSlowQueriesRequest,
603
+ cb?: (error: string, rep: ExportInstanceSlowQueriesResponse) => void
604
+ ): Promise<ExportInstanceSlowQueriesResponse> {
605
+ return this.request("ExportInstanceSlowQueries", req, cb)
606
+ }
607
+
522
608
  /**
523
609
  * 安全组批量解绑云资源
524
610
  */