tencentcloud-sdk-nodejs 4.1.47 → 4.1.49

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 (46) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/cynosdb/v20190107/cynosdb_client.js +22 -4
  3. package/es/services/emr/v20190103/emr_client.js +5 -2
  4. package/es/services/ses/v20201002/ses_client.js +12 -3
  5. package/es/services/vpc/v20170312/vpc_client.js +12 -6
  6. package/package.json +1 -1
  7. package/tencentcloud/common/sdk_version.d.ts +1 -1
  8. package/tencentcloud/common/sdk_version.js +1 -1
  9. package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
  10. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +6 -3
  11. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +34 -1
  12. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +1 -1
  13. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -0
  14. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
  15. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +18 -0
  16. package/tencentcloud/services/cloudapp/v20220530/cloudapp_models.d.ts +4 -0
  17. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +0 -2
  18. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +1 -1
  19. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +13 -10
  20. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +29 -5
  21. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +42 -6
  22. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +444 -175
  23. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +13 -5
  24. package/tencentcloud/services/emr/v20190103/emr_client.js +15 -5
  25. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +112 -15
  26. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +4 -0
  27. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -0
  28. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
  29. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +2 -2
  30. package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +5 -0
  31. package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +5 -0
  32. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +26 -1
  33. package/tencentcloud/services/ocr/v20181119/ocr_client.js +25 -0
  34. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +193 -90
  35. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +17 -5
  36. package/tencentcloud/services/ses/v20201002/ses_client.js +24 -6
  37. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +858 -788
  38. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +3 -3
  39. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +3 -0
  40. package/tencentcloud/services/tione/v20211111/tione_client.js +3 -0
  41. package/tencentcloud/services/trabbit/v20230418/trabbit_models.d.ts +8 -0
  42. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -1
  43. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +4 -0
  44. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +17 -9
  45. package/tencentcloud/services/vpc/v20170312/vpc_client.js +23 -11
  46. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +86 -55
@@ -68,6 +68,19 @@ export interface BizTaskModifyInstanceParam {
68
68
  */
69
69
  ModifyInstanceParamList?: Array<ModifyParamItem>;
70
70
  }
71
+ /**
72
+ * ModifyClusterReadOnly返回参数结构体
73
+ */
74
+ export interface ModifyClusterReadOnlyResponse {
75
+ /**
76
+ * 集群任务ID列表
77
+ */
78
+ ClusterTaskIds?: Array<ClusterTaskId>;
79
+ /**
80
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
81
+ */
82
+ RequestId?: string;
83
+ }
71
84
  /**
72
85
  * ModifyClusterStorage请求参数结构体
73
86
  */
@@ -106,6 +119,55 @@ export interface DescribeResourcePackageDetailResponse {
106
119
  */
107
120
  RequestId?: string;
108
121
  }
122
+ /**
123
+ * UpgradeInstance请求参数结构体
124
+ */
125
+ export interface UpgradeInstanceRequest {
126
+ /**
127
+ * 实例ID
128
+ */
129
+ InstanceId: string;
130
+ /**
131
+ * 数据库CPU
132
+ */
133
+ Cpu: number;
134
+ /**
135
+ * 数据库内存,单位GB
136
+ */
137
+ Memory: number;
138
+ /**
139
+ * 升级类型:upgradeImmediate,upgradeInMaintain
140
+ */
141
+ UpgradeType: string;
142
+ /**
143
+ * 实例机器类型
144
+ */
145
+ DeviceType?: string;
146
+ /**
147
+ * 该参数已废弃
148
+ */
149
+ StorageLimit?: number;
150
+ /**
151
+ * 是否自动选择代金券 1是 0否 默认为0
152
+ */
153
+ AutoVoucher?: number;
154
+ /**
155
+ * 该参数已废弃
156
+ */
157
+ DbType?: string;
158
+ /**
159
+ * 交易模式 0-下单并支付 1-下单
160
+ */
161
+ DealMode?: number;
162
+ /**
163
+ * NormalUpgrade:普通变配,FastUpgrade:极速变配,若变配过程判断会造成闪断,变配流程会终止。
164
+ */
165
+ UpgradeMode?: string;
166
+ /**
167
+ * proxy同步升级
168
+ */
169
+ UpgradeProxy?: UpgradeProxy;
170
+ }
109
171
  /**
110
172
  * SearchClusterTables请求参数结构体
111
173
  */
@@ -152,6 +214,23 @@ export interface AccountParam {
152
214
  */
153
215
  ParamValue: string;
154
216
  }
217
+ /**
218
+ * DescribeProjectSecurityGroups返回参数结构体
219
+ */
220
+ export interface DescribeProjectSecurityGroupsResponse {
221
+ /**
222
+ * 安全组详情
223
+ */
224
+ Groups?: Array<SecurityGroup>;
225
+ /**
226
+ * 总数量
227
+ */
228
+ Total?: number;
229
+ /**
230
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
231
+ */
232
+ RequestId?: string;
233
+ }
155
234
  /**
156
235
  * DescribeClusterDatabaseTables请求参数结构体
157
236
  */
@@ -674,6 +753,23 @@ export interface CreateParamTemplateRequest {
674
753
  */
675
754
  ParamList?: Array<ParamItem>;
676
755
  }
756
+ /**
757
+ * DescribeBackupDownloadUserRestriction请求参数结构体
758
+ */
759
+ export interface DescribeBackupDownloadUserRestrictionRequest {
760
+ /**
761
+ * 分页大小
762
+ */
763
+ Limit?: number;
764
+ /**
765
+ * 偏移量
766
+ */
767
+ Offset?: number;
768
+ /**
769
+ * 是否只查询用户级别下载限制,true-是,false-否
770
+ */
771
+ OnlyUserRestriction?: boolean;
772
+ }
677
773
  /**
678
774
  * DescribeClusterDetail请求参数结构体
679
775
  */
@@ -1305,6 +1401,19 @@ export interface AddInstancesResponse {
1305
1401
  */
1306
1402
  RequestId?: string;
1307
1403
  }
1404
+ /**
1405
+ * 备份下载集群限制参数
1406
+ */
1407
+ export interface BackupLimitClusterRestriction {
1408
+ /**
1409
+ * 集群id
1410
+ */
1411
+ ClusterId?: string;
1412
+ /**
1413
+ * 下载限制配置
1414
+ */
1415
+ BackupLimitRestriction?: BackupLimitRestriction;
1416
+ }
1308
1417
  /**
1309
1418
  * 实例慢查询信息
1310
1419
  */
@@ -1389,6 +1498,43 @@ export interface SlowQueriesItem {
1389
1498
  */
1390
1499
  TrxCommitDelay?: number;
1391
1500
  }
1501
+ /**
1502
+ * 安全组规则
1503
+ */
1504
+ export interface PolicyRule {
1505
+ /**
1506
+ * 策略,ACCEPT或者DROP
1507
+ */
1508
+ Action?: string;
1509
+ /**
1510
+ * 来源Ip或Ip段,例如192.168.0.0/16
1511
+ */
1512
+ CidrIp?: string;
1513
+ /**
1514
+ * 端口
1515
+ */
1516
+ PortRange?: string;
1517
+ /**
1518
+ * 网络协议,支持udp、tcp等
1519
+ */
1520
+ IpProtocol?: string;
1521
+ /**
1522
+ * 协议端口ID或者协议端口组ID。
1523
+ */
1524
+ ServiceModule?: string;
1525
+ /**
1526
+ * IP地址ID或者ID地址组ID。
1527
+ */
1528
+ AddressModule?: string;
1529
+ /**
1530
+ * id
1531
+ */
1532
+ Id?: string;
1533
+ /**
1534
+ * 描述
1535
+ */
1536
+ Desc?: string;
1537
+ }
1392
1538
  /**
1393
1539
  * 数据库代理组详细信息
1394
1540
  */
@@ -1513,6 +1659,15 @@ export interface CreateProxyEndPointRequest {
1513
1659
  */
1514
1660
  InstanceWeights?: Array<ProxyInstanceWeight>;
1515
1661
  }
1662
+ /**
1663
+ * ModifyBackupDownloadUserRestriction返回参数结构体
1664
+ */
1665
+ export interface ModifyBackupDownloadUserRestrictionResponse {
1666
+ /**
1667
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1668
+ */
1669
+ RequestId?: string;
1670
+ }
1516
1671
  /**
1517
1672
  * 审计规则模板的详情
1518
1673
  */
@@ -1568,29 +1723,33 @@ export interface DescribeParamTemplateDetailRequest {
1568
1723
  TemplateId: number;
1569
1724
  }
1570
1725
  /**
1571
- * ModifyAccountPrivileges请求参数结构体
1726
+ * OpenReadOnlyInstanceExclusiveAccess请求参数结构体
1572
1727
  */
1573
- export interface ModifyAccountPrivilegesRequest {
1728
+ export interface OpenReadOnlyInstanceExclusiveAccessRequest {
1574
1729
  /**
1575
- * 集群id
1730
+ * 请使用 [集群信息描述](https://cloud.tencent.com/document/api/1003/48086) 获取 clusterId。
1576
1731
  */
1577
1732
  ClusterId: string;
1578
1733
  /**
1579
- * 账号信息
1734
+ * 请使用 [集群信息描述](https://cloud.tencent.com/document/api/1003/48086) 获取 instanceId。
1580
1735
  */
1581
- Account: InputAccount;
1736
+ InstanceId: string;
1582
1737
  /**
1583
- * 全局权限数组
1738
+ * 指定的 vpc ID,请使用 [查询私有网络列表](https://cloud.tencent.com/document/api/215/15778) 获取 vpc ID。
1584
1739
  */
1585
- GlobalPrivileges?: Array<string>;
1740
+ VpcId: string;
1586
1741
  /**
1587
- * 数据库权限数组
1742
+ * 指定的子网 ID,如果设置了 vpc ID,则 SubnetId 必填,请使用 [查询子网列表](https://cloud.tencent.com/document/api/215/15784) 获取 SubnetId。
1588
1743
  */
1589
- DatabasePrivileges?: Array<DatabasePrivileges>;
1744
+ SubnetId: string;
1590
1745
  /**
1591
- * 表权限数组
1746
+ * 用户自定义的端口。
1592
1747
  */
1593
- TablePrivileges?: Array<TablePrivileges>;
1748
+ Port: number;
1749
+ /**
1750
+ * 安全组 ID,请使用 [查看安全组](https://cloud.tencent.com/document/api/215/15808) 获取 SecurityGroupId。
1751
+ */
1752
+ SecurityGroupIds?: Array<string>;
1594
1753
  }
1595
1754
  /**
1596
1755
  * ExportResourcePackageDeductDetails请求参数结构体
@@ -1687,6 +1846,19 @@ export interface UpgradeProxyResponse {
1687
1846
  */
1688
1847
  RequestId?: string;
1689
1848
  }
1849
+ /**
1850
+ * DescribeClusterReadOnly返回参数结构体
1851
+ */
1852
+ export interface DescribeClusterReadOnlyResponse {
1853
+ /**
1854
+ * 集群只读开关列表
1855
+ */
1856
+ ClusterReadOnlyValues?: Array<ClusterReadOnlyValue>;
1857
+ /**
1858
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1859
+ */
1860
+ RequestId?: string;
1861
+ }
1690
1862
  /**
1691
1863
  * DescribeInstanceSpecs请求参数结构体
1692
1864
  */
@@ -1994,6 +2166,15 @@ export interface InquirePriceCreateResponse {
1994
2166
  */
1995
2167
  RequestId?: string;
1996
2168
  }
2169
+ /**
2170
+ * DescribeClusterReadOnly请求参数结构体
2171
+ */
2172
+ export interface DescribeClusterReadOnlyRequest {
2173
+ /**
2174
+ * 集群ID列表
2175
+ */
2176
+ ClusterIds: Array<string>;
2177
+ }
1997
2178
  /**
1998
2179
  * CreateClusters请求参数结构体
1999
2180
  */
@@ -2359,43 +2540,37 @@ export interface ModifyClusterDatabaseRequest {
2359
2540
  OldUserHostPrivileges?: Array<UserHostPrivilege>;
2360
2541
  }
2361
2542
  /**
2362
- * DescribeServerlessStrategy返回参数结构体
2543
+ * DescribeResourcePackageDetail请求参数结构体
2363
2544
  */
2364
- export interface DescribeServerlessStrategyResponse {
2365
- /**
2366
- * cpu负载为 0 时持续多久(秒)发起自动暂停
2367
- */
2368
- AutoPauseDelay?: number;
2545
+ export interface DescribeResourcePackageDetailRequest {
2369
2546
  /**
2370
- * cpu负载超过当前规格核数时,持续多久(秒)发起自动扩容
2547
+ * 资源包唯一ID
2371
2548
  */
2372
- AutoScaleUpDelay?: number;
2549
+ PackageId: string;
2373
2550
  /**
2374
- * cpu 负载低于低一级规格核数时,持续多久(秒)发起自动缩容
2551
+ * 集群ID
2375
2552
  */
2376
- AutoScaleDownDelay?: number;
2553
+ ClusterIds?: Array<string>;
2377
2554
  /**
2378
- * 是否自动暂停,可能值:
2379
- yes
2380
- no
2555
+ * 开始时间
2381
2556
  */
2382
- AutoPause?: string;
2557
+ StartTime?: string;
2383
2558
  /**
2384
- * 集群是否允许向上扩容,可选范围<li>yes</li><li>no</li>
2559
+ * 结束时间
2385
2560
  */
2386
- AutoScaleUp?: string;
2561
+ EndTime?: string;
2387
2562
  /**
2388
- * 集群是否允许向下缩容,可选范围<li>yes</li><li>no</li>
2563
+ * 偏移量
2389
2564
  */
2390
- AutoScaleDown?: string;
2565
+ Offset?: string;
2391
2566
  /**
2392
- * 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
2567
+ * 限制
2393
2568
  */
2394
- AutoArchive?: string;
2569
+ Limit?: string;
2395
2570
  /**
2396
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2571
+ * 实例D
2397
2572
  */
2398
- RequestId?: string;
2573
+ InstanceIds?: Array<string>;
2399
2574
  }
2400
2575
  /**
2401
2576
  * 实例日志投递信息
@@ -3135,6 +3310,35 @@ export interface ServerlessSpec {
3135
3310
  */
3136
3311
  ZoneStockInfos?: Array<ServerlessZoneStockInfo>;
3137
3312
  }
3313
+ /**
3314
+ * ModifyBackupDownloadRestriction请求参数结构体
3315
+ */
3316
+ export interface ModifyBackupDownloadRestrictionRequest {
3317
+ /**
3318
+ * 集群ID
3319
+ */
3320
+ ClusterIds: Array<string>;
3321
+ /**
3322
+ * 下载限制类型,NoLimit-不限制,LimitOnlyIntranet-限制内网 ,Customize-自定义
3323
+ */
3324
+ LimitType: string;
3325
+ /**
3326
+ * 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
3327
+ */
3328
+ VpcComparisonSymbol?: string;
3329
+ /**
3330
+ * In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
3331
+ */
3332
+ IpComparisonSymbol?: string;
3333
+ /**
3334
+ * 限制下载的vpc设置
3335
+ */
3336
+ LimitVpcs?: Array<BackupLimitVpcItem>;
3337
+ /**
3338
+ * 限制下载的ip设置
3339
+ */
3340
+ LimitIps?: Array<string>;
3341
+ }
3138
3342
  /**
3139
3343
  * DescribeClusterDetailDatabases返回参数结构体
3140
3344
  */
@@ -3409,53 +3613,42 @@ export interface RollbackData {
3409
3613
  RollbackProcess?: RollbackProcessInfo;
3410
3614
  }
3411
3615
  /**
3412
- * UpgradeInstance请求参数结构体
3616
+ * UnbindClusterResourcePackages请求参数结构体
3413
3617
  */
3414
- export interface UpgradeInstanceRequest {
3415
- /**
3416
- * 实例ID
3417
- */
3418
- InstanceId: string;
3419
- /**
3420
- * 数据库CPU
3421
- */
3422
- Cpu: number;
3423
- /**
3424
- * 数据库内存,单位GB
3425
- */
3426
- Memory: number;
3427
- /**
3428
- * 升级类型:upgradeImmediate,upgradeInMaintain
3429
- */
3430
- UpgradeType: string;
3618
+ export interface UnbindClusterResourcePackagesRequest {
3431
3619
  /**
3432
- * 实例机器类型
3620
+ * 集群ID
3433
3621
  */
3434
- DeviceType?: string;
3622
+ ClusterId: string;
3435
3623
  /**
3436
- * 该参数已废弃
3624
+ * 资源包唯一ID,如果不传,解绑该实例绑定的所有资源包
3437
3625
  */
3438
- StorageLimit?: number;
3626
+ PackageIds?: Array<string>;
3627
+ }
3628
+ /**
3629
+ * ModifyBackupDownloadUserRestriction请求参数结构体
3630
+ */
3631
+ export interface ModifyBackupDownloadUserRestrictionRequest {
3439
3632
  /**
3440
- * 是否自动选择代金券 1是 0否 默认为0
3633
+ * 下载限制类型,NoLimit-不限制,LimitOnlyIntranet-限制内网 ,Customize-自定义
3441
3634
  */
3442
- AutoVoucher?: number;
3635
+ LimitType: string;
3443
3636
  /**
3444
- * 该参数已废弃
3637
+ * 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
3445
3638
  */
3446
- DbType?: string;
3639
+ VpcComparisonSymbol?: string;
3447
3640
  /**
3448
- * 交易模式 0-下单并支付 1-下单
3641
+ * In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
3449
3642
  */
3450
- DealMode?: number;
3643
+ IpComparisonSymbol?: string;
3451
3644
  /**
3452
- * NormalUpgrade:普通变配,FastUpgrade:极速变配,若变配过程判断会造成闪断,变配流程会终止。
3645
+ * 限制下载的vpc设置
3453
3646
  */
3454
- UpgradeMode?: string;
3647
+ LimitVpcs?: Array<BackupLimitVpcItem>;
3455
3648
  /**
3456
- * proxy同步升级
3649
+ * 限制下载的ip设置
3457
3650
  */
3458
- UpgradeProxy?: UpgradeProxy;
3651
+ LimitIps?: Array<string>;
3459
3652
  }
3460
3653
  /**
3461
3654
  * DescribeInstanceParams返回参数结构体
@@ -3880,6 +4073,10 @@ export interface DescribeBackupDownloadUrlRequest {
3880
4073
  * 备份ID
3881
4074
  */
3882
4075
  BackupId: number;
4076
+ /**
4077
+ * 备份下载来源限制条件
4078
+ */
4079
+ DownloadRestriction?: BackupLimitRestriction;
3883
4080
  }
3884
4081
  /**
3885
4082
  * 实例审计详情信息
@@ -3947,17 +4144,22 @@ export interface InstanceAuditStatus {
3947
4144
  DeliverSummary?: Array<DeliverSummary>;
3948
4145
  }
3949
4146
  /**
3950
- * CopyClusterPasswordComplexity请求参数结构体
4147
+ * OpenWan请求参数结构体
3951
4148
  */
3952
- export interface CopyClusterPasswordComplexityRequest {
4149
+ export interface OpenWanRequest {
3953
4150
  /**
3954
- * 复制集群ID数组,例如["cynosdbmysql-bzxxrmtq","cynosdbmysql-qwer"]
4151
+ * 实例组id
4152
+ * @deprecated
3955
4153
  */
3956
- ClusterIds: Array<string>;
4154
+ InstanceGrpId?: string;
3957
4155
  /**
3958
- * 集群id,例如"cynosdbmysql-bzxxrmtq"
4156
+ * 实例ID
3959
4157
  */
3960
- SourceClusterId: string;
4158
+ InstanceId?: string;
4159
+ /**
4160
+ * 实例组id
4161
+ */
4162
+ InstanceGroupId?: string;
3961
4163
  }
3962
4164
  /**
3963
4165
  * DescribeClusterInstanceGroups返回参数结构体
@@ -4047,22 +4249,17 @@ export interface NetAddr {
4047
4249
  InstanceGroupId?: string;
4048
4250
  }
4049
4251
  /**
4050
- * OpenWan请求参数结构体
4252
+ * CopyClusterPasswordComplexity请求参数结构体
4051
4253
  */
4052
- export interface OpenWanRequest {
4053
- /**
4054
- * 实例组id
4055
- * @deprecated
4056
- */
4057
- InstanceGrpId?: string;
4254
+ export interface CopyClusterPasswordComplexityRequest {
4058
4255
  /**
4059
- * 实例ID
4256
+ * 复制集群ID数组,例如["cynosdbmysql-bzxxrmtq","cynosdbmysql-qwer"]
4060
4257
  */
4061
- InstanceId?: string;
4258
+ ClusterIds: Array<string>;
4062
4259
  /**
4063
- * 实例组id
4260
+ * 集群id,例如"cynosdbmysql-bzxxrmtq"
4064
4261
  */
4065
- InstanceGroupId?: string;
4262
+ SourceClusterId: string;
4066
4263
  }
4067
4264
  /**
4068
4265
  * ModifyAccountPrivileges返回参数结构体
@@ -4227,13 +4424,21 @@ export interface ExportInstanceSlowQueriesRequest {
4227
4424
  OrderByType?: string;
4228
4425
  }
4229
4426
  /**
4230
- * ModifyAuditService返回参数结构体
4427
+ * 修改参数时,传入参数描述
4231
4428
  */
4232
- export interface ModifyAuditServiceResponse {
4429
+ export interface ParamItem {
4233
4430
  /**
4234
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4431
+ * 参数名称
4235
4432
  */
4236
- RequestId?: string;
4433
+ ParamName: string;
4434
+ /**
4435
+ * 当前值
4436
+ */
4437
+ CurrentValue: string;
4438
+ /**
4439
+ * 原有值
4440
+ */
4441
+ OldValue: string;
4237
4442
  }
4238
4443
  /**
4239
4444
  * ResumeServerless返回参数结构体
@@ -4281,6 +4486,24 @@ export interface GdnTaskInfo {
4281
4486
  */
4282
4487
  StandbyClusterName?: string;
4283
4488
  }
4489
+ /**
4490
+ * DescribeBackupDownloadUserRestriction返回参数结构体
4491
+ */
4492
+ export interface DescribeBackupDownloadUserRestrictionResponse {
4493
+ /**
4494
+ * 集群备份下载限制信息
4495
+ 注意:此字段可能返回 null,表示取不到有效值。
4496
+ */
4497
+ BackupLimitClusterRestrictions?: Array<BackupLimitClusterRestriction>;
4498
+ /**
4499
+ * 总条数
4500
+ */
4501
+ TotalCount?: number;
4502
+ /**
4503
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4504
+ */
4505
+ RequestId?: string;
4506
+ }
4284
4507
  /**
4285
4508
  * 售卖可用区信息
4286
4509
  */
@@ -4775,6 +4998,15 @@ export interface CynosdbInstanceDetail {
4775
4998
  */
4776
4999
  DbMode?: string;
4777
5000
  }
5001
+ /**
5002
+ * DescribeBackupDownloadRestriction请求参数结构体
5003
+ */
5004
+ export interface DescribeBackupDownloadRestrictionRequest {
5005
+ /**
5006
+ * 集群ID
5007
+ */
5008
+ ClusterIds: Array<string>;
5009
+ }
4778
5010
  /**
4779
5011
  * 回档数据库及表
4780
5012
  */
@@ -6048,6 +6280,20 @@ export interface ActivateInstanceRequest {
6048
6280
  */
6049
6281
  InstanceIdList: Array<string>;
6050
6282
  }
6283
+ /**
6284
+ * DescribeBackupDownloadRestriction返回参数结构体
6285
+ */
6286
+ export interface DescribeBackupDownloadRestrictionResponse {
6287
+ /**
6288
+ * 集群备份下载限制
6289
+ 注意:此字段可能返回 null,表示取不到有效值。
6290
+ */
6291
+ BackupLimitClusterRestrictions?: Array<BackupLimitClusterRestriction>;
6292
+ /**
6293
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6294
+ */
6295
+ RequestId?: string;
6296
+ }
6051
6297
  /**
6052
6298
  * DeleteClusterDatabase请求参数结构体
6053
6299
  */
@@ -7306,6 +7552,19 @@ export interface OfflineClusterResponse {
7306
7552
  */
7307
7553
  RequestId?: string;
7308
7554
  }
7555
+ /**
7556
+ * 集群任务ID
7557
+ */
7558
+ export interface ClusterTaskId {
7559
+ /**
7560
+ * 集群ID
7561
+ */
7562
+ ClusterId?: string;
7563
+ /**
7564
+ * 任务ID
7565
+ */
7566
+ TaskId?: string;
7567
+ }
7309
7568
  /**
7310
7569
  * ModifyAccountHost请求参数结构体
7311
7570
  */
@@ -7358,33 +7617,29 @@ export interface DescribeClusterDatabaseTablesResponse {
7358
7617
  RequestId?: string;
7359
7618
  }
7360
7619
  /**
7361
- * OpenReadOnlyInstanceExclusiveAccess请求参数结构体
7620
+ * ModifyAccountPrivileges请求参数结构体
7362
7621
  */
7363
- export interface OpenReadOnlyInstanceExclusiveAccessRequest {
7622
+ export interface ModifyAccountPrivilegesRequest {
7364
7623
  /**
7365
- * 请使用 [集群信息描述](https://cloud.tencent.com/document/api/1003/48086) 获取 clusterId。
7624
+ * 集群id
7366
7625
  */
7367
7626
  ClusterId: string;
7368
7627
  /**
7369
- * 请使用 [集群信息描述](https://cloud.tencent.com/document/api/1003/48086) 获取 instanceId。
7370
- */
7371
- InstanceId: string;
7372
- /**
7373
- * 指定的 vpc ID,请使用 [查询私有网络列表](https://cloud.tencent.com/document/api/215/15778) 获取 vpc ID。
7628
+ * 账号信息
7374
7629
  */
7375
- VpcId: string;
7630
+ Account: InputAccount;
7376
7631
  /**
7377
- * 指定的子网 ID,如果设置了 vpc ID,则 SubnetId 必填,请使用 [查询子网列表](https://cloud.tencent.com/document/api/215/15784) 获取 SubnetId。
7632
+ * 全局权限数组
7378
7633
  */
7379
- SubnetId: string;
7634
+ GlobalPrivileges?: Array<string>;
7380
7635
  /**
7381
- * 用户自定义的端口。
7636
+ * 数据库权限数组
7382
7637
  */
7383
- Port: number;
7638
+ DatabasePrivileges?: Array<DatabasePrivileges>;
7384
7639
  /**
7385
- * 安全组 ID,请使用 [查看安全组](https://cloud.tencent.com/document/api/215/15808) 获取 SecurityGroupId。
7640
+ * 表权限数组
7386
7641
  */
7387
- SecurityGroupIds?: Array<string>;
7642
+ TablePrivileges?: Array<TablePrivileges>;
7388
7643
  }
7389
7644
  /**
7390
7645
  * CreateBackup请求参数结构体
@@ -7471,37 +7726,43 @@ export interface DescribeBackupListResponse {
7471
7726
  RequestId?: string;
7472
7727
  }
7473
7728
  /**
7474
- * DescribeResourcePackageDetail请求参数结构体
7729
+ * DescribeServerlessStrategy返回参数结构体
7475
7730
  */
7476
- export interface DescribeResourcePackageDetailRequest {
7731
+ export interface DescribeServerlessStrategyResponse {
7477
7732
  /**
7478
- * 资源包唯一ID
7733
+ * cpu负载为 0 时持续多久(秒)发起自动暂停
7479
7734
  */
7480
- PackageId: string;
7735
+ AutoPauseDelay?: number;
7481
7736
  /**
7482
- * 集群ID
7737
+ * cpu负载超过当前规格核数时,持续多久(秒)发起自动扩容
7483
7738
  */
7484
- ClusterIds?: Array<string>;
7739
+ AutoScaleUpDelay?: number;
7485
7740
  /**
7486
- * 开始时间
7741
+ * cpu 负载低于低一级规格核数时,持续多久(秒)发起自动缩容
7487
7742
  */
7488
- StartTime?: string;
7743
+ AutoScaleDownDelay?: number;
7489
7744
  /**
7490
- * 结束时间
7745
+ * 是否自动暂停,可能值:
7746
+ yes
7747
+ no
7491
7748
  */
7492
- EndTime?: string;
7749
+ AutoPause?: string;
7493
7750
  /**
7494
- * 偏移量
7751
+ * 集群是否允许向上扩容,可选范围<li>yes</li><li>no</li>
7495
7752
  */
7496
- Offset?: string;
7753
+ AutoScaleUp?: string;
7497
7754
  /**
7498
- * 限制
7755
+ * 集群是否允许向下缩容,可选范围<li>yes</li><li>no</li>
7499
7756
  */
7500
- Limit?: string;
7757
+ AutoScaleDown?: string;
7501
7758
  /**
7502
- * 实例D
7759
+ * 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
7503
7760
  */
7504
- InstanceIds?: Array<string>;
7761
+ AutoArchive?: string;
7762
+ /**
7763
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7764
+ */
7765
+ RequestId?: string;
7505
7766
  }
7506
7767
  /**
7507
7768
  * ModifyClusterParam请求参数结构体
@@ -7520,6 +7781,23 @@ export interface ModifyClusterParamRequest {
7520
7781
  */
7521
7782
  IsInMaintainPeriod?: string;
7522
7783
  }
7784
+ /**
7785
+ * ModifyClusterReadOnly请求参数结构体
7786
+ */
7787
+ export interface ModifyClusterReadOnlyRequest {
7788
+ /**
7789
+ * 集群ID列表
7790
+ */
7791
+ ClusterIds: Array<string>;
7792
+ /**
7793
+ * 集群只读开关,可选值:ON,OFF
7794
+ */
7795
+ ReadOnlyOperation: string;
7796
+ /**
7797
+ * yes:在运维时间窗内修改,no:立即执行(默认值)
7798
+ */
7799
+ IsInMaintainPeriod?: string;
7800
+ }
7523
7801
  /**
7524
7802
  * OfflineInstance返回参数结构体
7525
7803
  */
@@ -7941,6 +8219,19 @@ export interface PackageDetail {
7941
8219
  */
7942
8220
  ExtendInfo?: string;
7943
8221
  }
8222
+ /**
8223
+ * 备份文件限制下载来源VPC设置项
8224
+ */
8225
+ export interface BackupLimitVpcItem {
8226
+ /**
8227
+ * 限制下载来源的地域。目前仅支持当前地域
8228
+ */
8229
+ Region?: string;
8230
+ /**
8231
+ * 限制下载的vpc列表
8232
+ */
8233
+ VpcList?: Array<string>;
8234
+ }
7944
8235
  /**
7945
8236
  * binlog配置信息
7946
8237
  */
@@ -8028,21 +8319,13 @@ export interface OpenSSLResponse {
8028
8319
  RequestId?: string;
8029
8320
  }
8030
8321
  /**
8031
- * 修改参数时,传入参数描述
8322
+ * ModifyAuditService返回参数结构体
8032
8323
  */
8033
- export interface ParamItem {
8034
- /**
8035
- * 参数名称
8036
- */
8037
- ParamName: string;
8038
- /**
8039
- * 当前值
8040
- */
8041
- CurrentValue: string;
8324
+ export interface ModifyAuditServiceResponse {
8042
8325
  /**
8043
- * 原有值
8326
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8044
8327
  */
8045
- OldValue: string;
8328
+ RequestId?: string;
8046
8329
  }
8047
8330
  /**
8048
8331
  * DescribeClusterDetail返回参数结构体
@@ -8200,6 +8483,10 @@ export interface DescribeBinlogDownloadUrlRequest {
8200
8483
  * Binlog文件ID
8201
8484
  */
8202
8485
  BinlogId: number;
8486
+ /**
8487
+ * 备份下载来源限制条件
8488
+ */
8489
+ DownloadRestriction?: BackupLimitRestriction;
8203
8490
  }
8204
8491
  /**
8205
8492
  * ModifyInstanceName请求参数结构体
@@ -8927,17 +9214,9 @@ export interface DeleteBackupResponse {
8927
9214
  RequestId?: string;
8928
9215
  }
8929
9216
  /**
8930
- * DescribeProjectSecurityGroups返回参数结构体
9217
+ * ModifyBackupDownloadRestriction返回参数结构体
8931
9218
  */
8932
- export interface DescribeProjectSecurityGroupsResponse {
8933
- /**
8934
- * 安全组详情
8935
- */
8936
- Groups?: Array<SecurityGroup>;
8937
- /**
8938
- * 总数量
8939
- */
8940
- Total?: number;
9219
+ export interface ModifyBackupDownloadRestrictionResponse {
8941
9220
  /**
8942
9221
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8943
9222
  */
@@ -9582,17 +9861,31 @@ export interface ModifyClusterPasswordComplexityRequest {
9582
9861
  ValidatePasswordDictionary?: Array<string>;
9583
9862
  }
9584
9863
  /**
9585
- * UnbindClusterResourcePackages请求参数结构体
9864
+ * 备份下载限制参数
9586
9865
  */
9587
- export interface UnbindClusterResourcePackagesRequest {
9866
+ export interface BackupLimitRestriction {
9588
9867
  /**
9589
- * 集群ID
9868
+ * 限制类型
9590
9869
  */
9591
- ClusterId: string;
9870
+ LimitType?: string;
9592
9871
  /**
9593
- * 资源包唯一ID,如果不传,解绑该实例绑定的所有资源包
9872
+ * 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
9594
9873
  */
9595
- PackageIds?: Array<string>;
9874
+ VpcComparisonSymbol?: string;
9875
+ /**
9876
+ * In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
9877
+ */
9878
+ IpComparisonSymbol?: string;
9879
+ /**
9880
+ * 限制下载的vpc设置
9881
+ 注意:此字段可能返回 null,表示取不到有效值。
9882
+ */
9883
+ LimitVpcs?: Array<BackupLimitVpcItem>;
9884
+ /**
9885
+ * 限制下载的ip设置
9886
+ 注意:此字段可能返回 null,表示取不到有效值。
9887
+ */
9888
+ LimitIps?: Array<string>;
9596
9889
  }
9597
9890
  /**
9598
9891
  * ModifyInstanceParam返回参数结构体
@@ -10485,41 +10778,17 @@ export interface DeleteAuditRuleTemplatesResponse {
10485
10778
  RequestId?: string;
10486
10779
  }
10487
10780
  /**
10488
- * 安全组规则
10781
+ * 集群只读开关列表
10489
10782
  */
10490
- export interface PolicyRule {
10491
- /**
10492
- * 策略,ACCEPT或者DROP
10493
- */
10494
- Action?: string;
10495
- /**
10496
- * 来源Ip或Ip段,例如192.168.0.0/16
10497
- */
10498
- CidrIp?: string;
10499
- /**
10500
- * 端口
10501
- */
10502
- PortRange?: string;
10503
- /**
10504
- * 网络协议,支持udp、tcp等
10505
- */
10506
- IpProtocol?: string;
10507
- /**
10508
- * 协议端口ID或者协议端口组ID。
10509
- */
10510
- ServiceModule?: string;
10511
- /**
10512
- * IP地址ID或者ID地址组ID。
10513
- */
10514
- AddressModule?: string;
10783
+ export interface ClusterReadOnlyValue {
10515
10784
  /**
10516
- * id
10785
+ * 集群ID
10517
10786
  */
10518
- Id?: string;
10787
+ ClusterId?: string;
10519
10788
  /**
10520
- * 描述
10789
+ * 只读开关值
10521
10790
  */
10522
- Desc?: string;
10791
+ ReadOnlyValue?: string;
10523
10792
  }
10524
10793
  /**
10525
10794
  * 可用区库存信息