tencentcloud-sdk-nodejs 4.0.513 → 4.0.515

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 (60) hide show
  1. package/CHANGELOG.md +421 -0
  2. package/SERVICE_CHANGELOG.md +478 -48
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cls/v20201016/cls_client.ts +1 -1
  7. package/src/services/cls/v20201016/cls_models.ts +5 -4
  8. package/src/services/cwp/v20180228/cwp_models.ts +2 -2
  9. package/src/services/cynosdb/v20190107/cynosdb_client.ts +140 -38
  10. package/src/services/cynosdb/v20190107/cynosdb_models.ts +567 -103
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  12. package/src/services/live/v20180801/live_models.ts +128 -110
  13. package/src/services/mongodb/v20190725/mongodb_client.ts +18 -6
  14. package/src/services/mongodb/v20190725/mongodb_models.ts +50 -0
  15. package/src/services/monitor/v20180724/monitor_client.ts +1 -0
  16. package/src/services/monitor/v20180724/monitor_models.ts +80 -0
  17. package/src/services/tcr/v20190924/tcr_client.ts +2 -14
  18. package/src/services/tcr/v20190924/tcr_models.ts +9 -44
  19. package/src/services/tdid/v20210519/tdid_client.ts +8 -4
  20. package/src/services/tdmq/v20200217/tdmq_models.ts +10 -0
  21. package/src/services/teo/v20220901/teo_client.ts +27 -0
  22. package/src/services/teo/v20220901/teo_models.ts +157 -0
  23. package/src/services/tione/v20211111/tione_models.ts +15 -4
  24. package/src/services/vod/v20180717/vod_client.ts +27 -18
  25. package/src/services/vod/v20180717/vod_models.ts +153 -84
  26. package/src/services/wedata/v20210820/wedata_client.ts +1 -0
  27. package/src/services/wedata/v20210820/wedata_models.ts +41 -1
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  31. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  32. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -4
  33. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
  34. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +45 -13
  35. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +65 -17
  36. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +490 -94
  37. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  38. package/tencentcloud/services/live/v20180801/live_models.d.ts +94 -76
  39. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +7 -3
  40. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +9 -3
  41. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +42 -0
  42. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +65 -0
  43. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +1 -5
  44. package/tencentcloud/services/tcr/v20190924/tcr_client.js +0 -6
  45. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +8 -38
  46. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +6 -2
  47. package/tencentcloud/services/tdid/v20210519/tdid_client.js +6 -2
  48. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +8 -0
  49. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -1
  50. package/tencentcloud/services/teo/v20220901/teo_client.js +12 -0
  51. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +135 -0
  52. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +13 -4
  53. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +15 -7
  54. package/tencentcloud/services/vod/v20180717/vod_client.js +15 -7
  55. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +138 -80
  56. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +35 -1
  57. package/test/cynosdb.v20190107.test.js +90 -10
  58. package/test/mongodb.v20190725.test.js +12 -2
  59. package/test/tcr.v20190924.test.js +0 -10
  60. package/test/teo.v20220901.test.js +20 -0
@@ -75,6 +75,28 @@ export interface InquirePriceRenewRequest {
75
75
  TimeUnit: string
76
76
  }
77
77
 
78
+ /**
79
+ * 实例的审计规则详情,DescribeAuditRuleWithInstanceIds接口的出参。
80
+ */
81
+ export interface InstanceAuditRule {
82
+ /**
83
+ * 实例ID。
84
+ */
85
+ InstanceId: string
86
+
87
+ /**
88
+ * 是否是规则审计。true-规则审计,false-全审计。
89
+ 注意:此字段可能返回 null,表示取不到有效值。
90
+ */
91
+ AuditRule: boolean
92
+
93
+ /**
94
+ * 审计规则详情。仅当AuditRule=true时有效。
95
+ 注意:此字段可能返回 null,表示取不到有效值。
96
+ */
97
+ AuditRuleFilters: Array<AuditRuleFilters>
98
+ }
99
+
78
100
  /**
79
101
  * DescribeAuditLogs请求参数结构体
80
102
  */
@@ -133,6 +155,31 @@ export interface DescribeBackupConfigRequest {
133
155
  ClusterId: string
134
156
  }
135
157
 
158
+ /**
159
+ * ModifyAuditRuleTemplates请求参数结构体
160
+ */
161
+ export interface ModifyAuditRuleTemplatesRequest {
162
+ /**
163
+ * 审计规则模版ID。
164
+ */
165
+ RuleTemplateIds: Array<string>
166
+
167
+ /**
168
+ * 修改后的审计规则。
169
+ */
170
+ RuleFilters?: Array<RuleFilters>
171
+
172
+ /**
173
+ * 修改后的规则模版名称。
174
+ */
175
+ RuleTemplateName?: string
176
+
177
+ /**
178
+ * 修改后的规则模版描述。
179
+ */
180
+ Description?: string
181
+ }
182
+
136
183
  /**
137
184
  * DescribeAccounts请求参数结构体
138
185
  */
@@ -222,6 +269,26 @@ export interface DescribeRollbackTimeRangeResponse {
222
269
  RequestId?: string
223
270
  }
224
271
 
272
+ /**
273
+ * 计费资源信息
274
+ */
275
+ export interface BillingResourceInfo {
276
+ /**
277
+ * 集群ID
278
+ */
279
+ ClusterId: string
280
+
281
+ /**
282
+ * 实例ID列表
283
+ */
284
+ InstanceIds: Array<string>
285
+
286
+ /**
287
+ * 订单ID
288
+ */
289
+ DealName: string
290
+ }
291
+
225
292
  /**
226
293
  * ModifyBackupName返回参数结构体
227
294
  */
@@ -295,6 +362,11 @@ export interface RollBackClusterRequest {
295
362
  * 回档数据库表列表
296
363
  */
297
364
  RollbackTables?: Array<RollbackTable>
365
+
366
+ /**
367
+ * 按时间点回档模式,full: 普通; db: 快速; table: 极速 (默认是普通)
368
+ */
369
+ RollbackMode?: string
298
370
  }
299
371
 
300
372
  /**
@@ -332,6 +404,27 @@ export interface SwitchClusterZoneResponse {
332
404
  RequestId?: string
333
405
  }
334
406
 
407
+ /**
408
+ * 修改的实例参数信息
409
+ */
410
+ export interface ModifyParamItem {
411
+ /**
412
+ * 参数名
413
+ */
414
+ ParamName: string
415
+
416
+ /**
417
+ * 参数当前值
418
+ */
419
+ CurrentValue: string
420
+
421
+ /**
422
+ * 参数旧值(只在出参时有用)
423
+ 注意:此字段可能返回 null,表示取不到有效值。
424
+ */
425
+ OldValue?: string
426
+ }
427
+
335
428
  /**
336
429
  * AssociateSecurityGroups请求参数结构体
337
430
  */
@@ -538,6 +631,29 @@ export interface AddClusterSlaveZoneResponse {
538
631
  RequestId?: string
539
632
  }
540
633
 
634
+ /**
635
+ * 数据库地址
636
+ */
637
+ export interface OldAddrInfo {
638
+ /**
639
+ * IP
640
+ 注意:此字段可能返回 null,表示取不到有效值。
641
+ */
642
+ Vip?: string
643
+
644
+ /**
645
+ * 端口
646
+ 注意:此字段可能返回 null,表示取不到有效值。
647
+ */
648
+ Vport?: number
649
+
650
+ /**
651
+ * 期望执行回收时间
652
+ 注意:此字段可能返回 null,表示取不到有效值。
653
+ */
654
+ ReturnTime?: string
655
+ }
656
+
541
657
  /**
542
658
  * ModifyClusterName返回参数结构体
543
659
  */
@@ -859,79 +975,112 @@ export interface SetRenewFlagRequest {
859
975
  */
860
976
  export interface CynosdbInstanceGrp {
861
977
  /**
862
- * appId
978
+ * 用户appId
863
979
  */
864
- AppId: number
980
+ AppId?: number
865
981
 
866
982
  /**
867
983
  * 集群ID
868
984
  */
869
- ClusterId: string
985
+ ClusterId?: string
870
986
 
871
987
  /**
872
988
  * 创建时间
873
989
  */
874
- CreatedTime: string
990
+ CreatedTime?: string
875
991
 
876
992
  /**
877
993
  * 删除时间
878
994
  */
879
- DeletedTime: string
995
+ DeletedTime?: string
880
996
 
881
997
  /**
882
998
  * 实例组ID
883
999
  */
884
- InstanceGrpId: string
1000
+ InstanceGrpId?: string
885
1001
 
886
1002
  /**
887
1003
  * 状态
888
1004
  */
889
- Status: string
1005
+ Status?: string
890
1006
 
891
1007
  /**
892
1008
  * 实例组类型。ha-ha组;ro-只读组
893
1009
  */
894
- Type: string
1010
+ Type?: string
895
1011
 
896
1012
  /**
897
1013
  * 更新时间
898
1014
  */
899
- UpdatedTime: string
1015
+ UpdatedTime?: string
900
1016
 
901
1017
  /**
902
1018
  * 内网IP
903
1019
  */
904
- Vip: string
1020
+ Vip?: string
905
1021
 
906
1022
  /**
907
1023
  * 内网端口
908
1024
  */
909
- Vport: number
1025
+ Vport?: number
910
1026
 
911
1027
  /**
912
1028
  * 外网域名
913
1029
  */
914
- WanDomain: string
1030
+ WanDomain?: string
915
1031
 
916
1032
  /**
917
1033
  * 外网ip
918
1034
  */
919
- WanIP: string
1035
+ WanIP?: string
920
1036
 
921
1037
  /**
922
1038
  * 外网端口
923
1039
  */
924
- WanPort: number
1040
+ WanPort?: number
925
1041
 
926
1042
  /**
927
1043
  * 外网状态
928
1044
  */
929
- WanStatus: string
1045
+ WanStatus?: string
930
1046
 
931
1047
  /**
932
1048
  * 实例组包含实例信息
933
1049
  */
934
- InstanceSet: Array<CynosdbInstance>
1050
+ InstanceSet?: Array<CynosdbInstance>
1051
+
1052
+ /**
1053
+ * VPC的ID
1054
+ 注意:此字段可能返回 null,表示取不到有效值。
1055
+ */
1056
+ UniqVpcId?: string
1057
+
1058
+ /**
1059
+ * 子网ID
1060
+ 注意:此字段可能返回 null,表示取不到有效值。
1061
+ */
1062
+ UniqSubnetId?: string
1063
+
1064
+ /**
1065
+ * 正在回收IP信息
1066
+ 注意:此字段可能返回 null,表示取不到有效值。
1067
+ */
1068
+ OldAddrInfo?: OldAddrInfo
1069
+
1070
+ /**
1071
+ * 正在进行的任务
1072
+ */
1073
+ ProcessingTasks?: Array<string>
1074
+
1075
+ /**
1076
+ * 任务列表
1077
+ */
1078
+ Tasks?: Array<ObjectTask>
1079
+
1080
+ /**
1081
+ * biz_net_service表id
1082
+ */
1083
+ NetServiceId: number
935
1084
  }
936
1085
 
937
1086
  /**
@@ -1284,54 +1433,29 @@ export interface CreateAccountsRequest {
1284
1433
  }
1285
1434
 
1286
1435
  /**
1287
- * 审计日志文件
1436
+ * DeleteAuditRuleTemplates请求参数结构体
1288
1437
  */
1289
- export interface AuditLogFile {
1438
+ export interface DeleteAuditRuleTemplatesRequest {
1290
1439
  /**
1291
- * 审计日志文件名称
1440
+ * 审计规则模版ID。
1292
1441
  */
1293
- FileName: string
1442
+ RuleTemplateIds: Array<string>
1443
+ }
1294
1444
 
1445
+ /**
1446
+ * DescribeAuditRuleTemplates返回参数结构体
1447
+ */
1448
+ export interface DescribeAuditRuleTemplatesResponse {
1295
1449
  /**
1296
- * 审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。
1450
+ * 符合查询条件的实例总数。
1297
1451
  */
1298
- CreateTime: string
1299
-
1300
- /**
1301
- * 文件状态值。可能返回的值为:
1302
- "creating" - 生成中;
1303
- "failed" - 创建失败;
1304
- "success" - 已生成;
1305
- */
1306
- Status: string
1307
-
1308
- /**
1309
- * 文件大小,单位为 KB。
1310
- 注意:此字段可能返回 null,表示取不到有效值。
1311
- */
1312
- FileSize: number
1313
-
1314
- /**
1315
- * 审计日志下载地址。
1316
- 注意:此字段可能返回 null,表示取不到有效值。
1317
- */
1318
- DownloadUrl: string
1452
+ TotalCount: number
1319
1453
 
1320
1454
  /**
1321
- * 错误信息。
1455
+ * 规则模版详细信息列表。
1322
1456
  注意:此字段可能返回 null,表示取不到有效值。
1323
1457
  */
1324
- ErrMsg: string
1325
- }
1326
-
1327
- /**
1328
- * ExportInstanceSlowQueries返回参数结构体
1329
- */
1330
- export interface ExportInstanceSlowQueriesResponse {
1331
- /**
1332
- * 慢查询导出内容
1333
- */
1334
- FileContent: string
1458
+ Items: Array<AuditRuleTemplateInfo>
1335
1459
 
1336
1460
  /**
1337
1461
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1481,6 +1605,26 @@ export interface RollbackTable {
1481
1605
  Tables: Array<RollbackTableInfo>
1482
1606
  }
1483
1607
 
1608
+ /**
1609
+ * IsolateInstance请求参数结构体
1610
+ */
1611
+ export interface IsolateInstanceRequest {
1612
+ /**
1613
+ * 集群ID
1614
+ */
1615
+ ClusterId: string
1616
+
1617
+ /**
1618
+ * 实例ID数组
1619
+ */
1620
+ InstanceIdList: Array<string>
1621
+
1622
+ /**
1623
+ * 该参数已废弃
1624
+ */
1625
+ DbType?: string
1626
+ }
1627
+
1484
1628
  /**
1485
1629
  * DescribeClusterDetail请求参数结构体
1486
1630
  */
@@ -1734,6 +1878,54 @@ export interface DescribeBinlogDownloadUrlResponse {
1734
1878
  RequestId?: string
1735
1879
  }
1736
1880
 
1881
+ /**
1882
+ * DescribeAuditRuleWithInstanceIds返回参数结构体
1883
+ */
1884
+ export interface DescribeAuditRuleWithInstanceIdsResponse {
1885
+ /**
1886
+ * 无
1887
+ */
1888
+ TotalCount: number
1889
+
1890
+ /**
1891
+ * 实例审计规则信息。
1892
+ 注意:此字段可能返回 null,表示取不到有效值。
1893
+ */
1894
+ Items: Array<InstanceAuditRule>
1895
+
1896
+ /**
1897
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1898
+ */
1899
+ RequestId?: string
1900
+ }
1901
+
1902
+ /**
1903
+ * UpgradeInstance返回参数结构体
1904
+ */
1905
+ export interface UpgradeInstanceResponse {
1906
+ /**
1907
+ * 冻结流水ID
1908
+ 注意:此字段可能返回 null,表示取不到有效值。
1909
+ */
1910
+ TranId: string
1911
+
1912
+ /**
1913
+ * 大订单号
1914
+ 注意:此字段可能返回 null,表示取不到有效值。
1915
+ */
1916
+ BigDealIds: Array<string>
1917
+
1918
+ /**
1919
+ * 订单号
1920
+ */
1921
+ DealNames: Array<string>
1922
+
1923
+ /**
1924
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1925
+ */
1926
+ RequestId?: string
1927
+ }
1928
+
1737
1929
  /**
1738
1930
  * DescribeBackupList请求参数结构体
1739
1931
  */
@@ -2074,6 +2266,16 @@ pause
2074
2266
  ResourceTags: Array<Tag>
2075
2267
  }
2076
2268
 
2269
+ /**
2270
+ * DescribeAuditRuleWithInstanceIds请求参数结构体
2271
+ */
2272
+ export interface DescribeAuditRuleWithInstanceIdsRequest {
2273
+ /**
2274
+ * 实例ID。目前仅支持单个实例的查询。
2275
+ */
2276
+ InstanceIds: Array<string>
2277
+ }
2278
+
2077
2279
  /**
2078
2280
  * 数据库表
2079
2281
  */
@@ -2159,6 +2361,41 @@ export interface BinlogItem {
2159
2361
  BinlogId: number
2160
2362
  }
2161
2363
 
2364
+ /**
2365
+ * ModifyAuditService请求参数结构体
2366
+ */
2367
+ export interface ModifyAuditServiceRequest {
2368
+ /**
2369
+ * 实例ID。
2370
+ */
2371
+ InstanceId: string
2372
+
2373
+ /**
2374
+ * 日志保留时长。
2375
+ */
2376
+ LogExpireDay?: number
2377
+
2378
+ /**
2379
+ * 高频日志保留时长。
2380
+ */
2381
+ HighLogExpireDay?: number
2382
+
2383
+ /**
2384
+ * 修改实例审计规则为全审计。
2385
+ */
2386
+ AuditAll?: boolean
2387
+
2388
+ /**
2389
+ * 规则审计。
2390
+ */
2391
+ AuditRuleFilters?: Array<AuditRuleFilters>
2392
+
2393
+ /**
2394
+ * 规则模版ID。
2395
+ */
2396
+ RuleTemplateIds?: Array<string>
2397
+ }
2398
+
2162
2399
  /**
2163
2400
  * CreateClusters请求参数结构体
2164
2401
  */
@@ -2532,6 +2769,16 @@ export interface DescribeParamTemplatesResponse {
2532
2769
  RequestId?: string
2533
2770
  }
2534
2771
 
2772
+ /**
2773
+ * CloseAuditService请求参数结构体
2774
+ */
2775
+ export interface CloseAuditServiceRequest {
2776
+ /**
2777
+ * 实例ID。
2778
+ */
2779
+ InstanceId: string
2780
+ }
2781
+
2535
2782
  /**
2536
2783
  * AddInstances返回参数结构体
2537
2784
  */
@@ -2827,6 +3074,36 @@ export interface OfflineInstanceRequest {
2827
3074
  InstanceIdList: Array<string>
2828
3075
  }
2829
3076
 
3077
+ /**
3078
+ * OpenAuditService请求参数结构体
3079
+ */
3080
+ export interface OpenAuditServiceRequest {
3081
+ /**
3082
+ * 实例ID。
3083
+ */
3084
+ InstanceId: string
3085
+
3086
+ /**
3087
+ * 日志保留时长。
3088
+ */
3089
+ LogExpireDay: number
3090
+
3091
+ /**
3092
+ * 高频日志保留时长。
3093
+ */
3094
+ HighLogExpireDay?: number
3095
+
3096
+ /**
3097
+ * 审计规则。同RuleTemplateIds都不填是全审计。
3098
+ */
3099
+ AuditRuleFilters?: Array<AuditRuleFilters>
3100
+
3101
+ /**
3102
+ * 规则模版ID。同AuditRuleFilters都不填是全审计。
3103
+ */
3104
+ RuleTemplateIds?: Array<string>
3105
+ }
3106
+
2830
3107
  /**
2831
3108
  * 网络信息
2832
3109
  */
@@ -2970,6 +3247,16 @@ export interface DescribeResourcesByDealNameRequest {
2970
3247
  DealNames?: Array<string>
2971
3248
  }
2972
3249
 
3250
+ /**
3251
+ * CloseAuditService返回参数结构体
3252
+ */
3253
+ export interface CloseAuditServiceResponse {
3254
+ /**
3255
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3256
+ */
3257
+ RequestId?: string
3258
+ }
3259
+
2973
3260
  /**
2974
3261
  * CreateBackup返回参数结构体
2975
3262
  */
@@ -3015,6 +3302,37 @@ export interface DescribeRollbackTimeValidityResponse {
3015
3302
  RequestId?: string
3016
3303
  }
3017
3304
 
3305
+ /**
3306
+ * 审计规则模版的详情
3307
+ */
3308
+ export interface AuditRuleTemplateInfo {
3309
+ /**
3310
+ * 规则模版ID。
3311
+ */
3312
+ RuleTemplateId: string
3313
+
3314
+ /**
3315
+ * 规则模版名称。
3316
+ */
3317
+ RuleTemplateName: string
3318
+
3319
+ /**
3320
+ * 规则模版的过滤条件
3321
+ */
3322
+ RuleFilters: Array<RuleFilters>
3323
+
3324
+ /**
3325
+ * 规则模版描述。
3326
+ 注意:此字段可能返回 null,表示取不到有效值。
3327
+ */
3328
+ Description: string
3329
+
3330
+ /**
3331
+ * 规则模版创建时间。
3332
+ */
3333
+ CreateAt: string
3334
+ }
3335
+
3018
3336
  /**
3019
3337
  * DescribeInstanceSlowQueries返回参数结构体
3020
3338
  */
@@ -3172,23 +3490,23 @@ export interface InquirePriceCreateRequest {
3172
3490
  }
3173
3491
 
3174
3492
  /**
3175
- * 计费资源信息
3493
+ * CreateAuditRuleTemplate请求参数结构体
3176
3494
  */
3177
- export interface BillingResourceInfo {
3495
+ export interface CreateAuditRuleTemplateRequest {
3178
3496
  /**
3179
- * 集群ID
3497
+ * 审计规则。
3180
3498
  */
3181
- ClusterId: string
3499
+ RuleFilters: Array<RuleFilters>
3182
3500
 
3183
3501
  /**
3184
- * 实例ID列表
3502
+ * 规则模版名称。
3185
3503
  */
3186
- InstanceIds: Array<string>
3504
+ RuleTemplateName: string
3187
3505
 
3188
3506
  /**
3189
- * 订单ID
3507
+ * 规则模版描述。
3190
3508
  */
3191
- DealName: string
3509
+ Description?: string
3192
3510
  }
3193
3511
 
3194
3512
  /**
@@ -3268,30 +3586,23 @@ export interface ExportInstanceSlowQueriesRequest {
3268
3586
  }
3269
3587
 
3270
3588
  /**
3271
- * UpgradeInstance返回参数结构体
3589
+ * 修改参数时,传入参数描述
3272
3590
  */
3273
- export interface UpgradeInstanceResponse {
3274
- /**
3275
- * 冻结流水ID
3276
- 注意:此字段可能返回 null,表示取不到有效值。
3277
- */
3278
- TranId: string
3279
-
3591
+ export interface ParamItem {
3280
3592
  /**
3281
- * 大订单号
3282
- 注意:此字段可能返回 null,表示取不到有效值。
3283
- */
3284
- BigDealIds: Array<string>
3593
+ * 参数名称
3594
+ */
3595
+ ParamName: string
3285
3596
 
3286
3597
  /**
3287
- * 订单号
3598
+ * 当前值
3288
3599
  */
3289
- DealNames: Array<string>
3600
+ CurrentValue: string
3290
3601
 
3291
3602
  /**
3292
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3603
+ * 原有值
3293
3604
  */
3294
- RequestId?: string
3605
+ OldValue: string
3295
3606
  }
3296
3607
 
3297
3608
  /**
@@ -3574,6 +3885,22 @@ pause
3574
3885
  Ability?: Ability
3575
3886
  }
3576
3887
 
3888
+ /**
3889
+ * CreateAuditRuleTemplate返回参数结构体
3890
+ */
3891
+ export interface CreateAuditRuleTemplateResponse {
3892
+ /**
3893
+ * 生成的规则模版ID。
3894
+ 注意:此字段可能返回 null,表示取不到有效值。
3895
+ */
3896
+ RuleTemplateId: string
3897
+
3898
+ /**
3899
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3900
+ */
3901
+ RequestId?: string
3902
+ }
3903
+
3577
3904
  /**
3578
3905
  * IsolateCluster返回参数结构体
3579
3906
  */
@@ -3647,6 +3974,16 @@ export interface ObjectTask {
3647
3974
  ObjectType?: string
3648
3975
  }
3649
3976
 
3977
+ /**
3978
+ * OpenAuditService返回参数结构体
3979
+ */
3980
+ export interface OpenAuditServiceResponse {
3981
+ /**
3982
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3983
+ */
3984
+ RequestId?: string
3985
+ }
3986
+
3650
3987
  /**
3651
3988
  * OfflineCluster返回参数结构体
3652
3989
  */
@@ -3702,6 +4039,31 @@ export interface RevokeAccountPrivilegesRequest {
3702
4039
  DbTables: Array<DbTable>
3703
4040
  }
3704
4041
 
4042
+ /**
4043
+ * DescribeAuditRuleTemplates请求参数结构体
4044
+ */
4045
+ export interface DescribeAuditRuleTemplatesRequest {
4046
+ /**
4047
+ * 规则模版ID。
4048
+ */
4049
+ RuleTemplateIds?: Array<string>
4050
+
4051
+ /**
4052
+ * 规则模版名称
4053
+ */
4054
+ RuleTemplateNames?: Array<string>
4055
+
4056
+ /**
4057
+ * 单次请求返回的数量。默认值20。
4058
+ */
4059
+ Limit?: number
4060
+
4061
+ /**
4062
+ * 偏移量,默认值为 0。
4063
+ */
4064
+ Offset?: number
4065
+ }
4066
+
3705
4067
  /**
3706
4068
  * 实例可售卖规格详细信息,创建实例时Cpu/Memory确定实例规格,存储可选大小为[MinStorageSize,MaxStorageSize]
3707
4069
  */
@@ -3751,6 +4113,12 @@ export interface InstanceSpec {
3751
4113
  注意:此字段可能返回 null,表示取不到有效值。
3752
4114
  */
3753
4115
  ZoneStockInfos: Array<ZoneStockInfo>
4116
+
4117
+ /**
4118
+ * 库存数量
4119
+ 注意:此字段可能返回 null,表示取不到有效值。
4120
+ */
4121
+ StockCount: number
3754
4122
  }
3755
4123
 
3756
4124
  /**
@@ -3774,23 +4142,44 @@ export interface InquirePriceCreateResponse {
3774
4142
  }
3775
4143
 
3776
4144
  /**
3777
- * IsolateInstance请求参数结构体
4145
+ * 审计日志文件
3778
4146
  */
3779
- export interface IsolateInstanceRequest {
4147
+ export interface AuditLogFile {
3780
4148
  /**
3781
- * 集群ID
4149
+ * 审计日志文件名称
3782
4150
  */
3783
- ClusterId: string
4151
+ FileName: string
3784
4152
 
3785
4153
  /**
3786
- * 实例ID数组
4154
+ * 审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。
3787
4155
  */
3788
- InstanceIdList: Array<string>
4156
+ CreateTime: string
3789
4157
 
3790
4158
  /**
3791
- * 该参数已废弃
3792
- */
3793
- DbType?: string
4159
+ * 文件状态值。可能返回的值为:
4160
+ "creating" - 生成中;
4161
+ "failed" - 创建失败;
4162
+ "success" - 已生成;
4163
+ */
4164
+ Status: string
4165
+
4166
+ /**
4167
+ * 文件大小,单位为 KB。
4168
+ 注意:此字段可能返回 null,表示取不到有效值。
4169
+ */
4170
+ FileSize: number
4171
+
4172
+ /**
4173
+ * 审计日志下载地址。
4174
+ 注意:此字段可能返回 null,表示取不到有效值。
4175
+ */
4176
+ DownloadUrl: string
4177
+
4178
+ /**
4179
+ * 错误信息。
4180
+ 注意:此字段可能返回 null,表示取不到有效值。
4181
+ */
4182
+ ErrMsg: string
3794
4183
  }
3795
4184
 
3796
4185
  /**
@@ -4261,6 +4650,16 @@ export interface AddInstancesRequest {
4261
4650
  * 交易模式 0-下单并支付 1-下单
4262
4651
  */
4263
4652
  DealMode?: number
4653
+
4654
+ /**
4655
+ * 参数模版ID
4656
+ */
4657
+ ParamTemplateId?: number
4658
+
4659
+ /**
4660
+ * 参数列表,ParamTemplateId 传入时InstanceParams才有效
4661
+ */
4662
+ InstanceParams?: Array<ModifyParamItem>
4264
4663
  }
4265
4664
 
4266
4665
  /**
@@ -4570,6 +4969,41 @@ pause
4570
4969
  ServerlessStatus: string
4571
4970
  }
4572
4971
 
4972
+ /**
4973
+ * 审计规则的规则过滤条件
4974
+ */
4975
+ export interface RuleFilters {
4976
+ /**
4977
+ * 审计规则过滤条件的参数名称。可选值:host – 客户端 IP;user – 数据库账户;dbName – 数据库名称;sqlType-SQL类型;sql-sql语句。
4978
+ */
4979
+ Type: string
4980
+
4981
+ /**
4982
+ * 审计规则过滤条件的匹配类型。可选值:INC – 包含;EXC – 不包含;EQS – 等于;NEQ – 不等于。
4983
+ */
4984
+ Compare: string
4985
+
4986
+ /**
4987
+ * 审计规则过滤条件的匹配值。
4988
+ */
4989
+ Value: Array<string>
4990
+ }
4991
+
4992
+ /**
4993
+ * ExportInstanceSlowQueries返回参数结构体
4994
+ */
4995
+ export interface ExportInstanceSlowQueriesResponse {
4996
+ /**
4997
+ * 慢查询导出内容
4998
+ */
4999
+ FileContent: string
5000
+
5001
+ /**
5002
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5003
+ */
5004
+ RequestId?: string
5005
+ }
5006
+
4573
5007
  /**
4574
5008
  * 集群详情详细信息
4575
5009
  */
@@ -4926,6 +5360,16 @@ export interface ModifyInstanceNameResponse {
4926
5360
  RequestId?: string
4927
5361
  }
4928
5362
 
5363
+ /**
5364
+ * 规则审计的过滤条件
5365
+ */
5366
+ export interface AuditRuleFilters {
5367
+ /**
5368
+ * 单条审计规则。
5369
+ */
5370
+ RuleFilters: Array<RuleFilters>
5371
+ }
5372
+
4929
5373
  /**
4930
5374
  * DescribeBinlogSaveDays返回参数结构体
4931
5375
  */
@@ -5002,9 +5446,14 @@ export interface DeleteBackupRequest {
5002
5446
  ClusterId: string
5003
5447
 
5004
5448
  /**
5005
- * 备份文件ID
5449
+ * 备份文件ID,旧版本使用的字段,不推荐使用
5450
+ */
5451
+ SnapshotIdList?: Array<number>
5452
+
5453
+ /**
5454
+ * 备份文件ID,推荐使用
5006
5455
  */
5007
- SnapshotIdList: Array<number>
5456
+ BackupIds?: Array<number>
5008
5457
  }
5009
5458
 
5010
5459
  /**
@@ -5192,23 +5641,13 @@ export interface OfflineInstanceResponse {
5192
5641
  }
5193
5642
 
5194
5643
  /**
5195
- * 修改参数时,传入参数描述
5644
+ * ModifyAuditService返回参数结构体
5196
5645
  */
5197
- export interface ParamItem {
5646
+ export interface ModifyAuditServiceResponse {
5198
5647
  /**
5199
- * 参数名称
5200
- */
5201
- ParamName: string
5202
-
5203
- /**
5204
- * 当前值
5205
- */
5206
- CurrentValue: string
5207
-
5208
- /**
5209
- * 原有值
5648
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5210
5649
  */
5211
- OldValue: string
5650
+ RequestId?: string
5212
5651
  }
5213
5652
 
5214
5653
  /**
@@ -5226,6 +5665,16 @@ export interface IsolateClusterRequest {
5226
5665
  DbType?: string
5227
5666
  }
5228
5667
 
5668
+ /**
5669
+ * DeleteAuditRuleTemplates返回参数结构体
5670
+ */
5671
+ export interface DeleteAuditRuleTemplatesResponse {
5672
+ /**
5673
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5674
+ */
5675
+ RequestId?: string
5676
+ }
5677
+
5229
5678
  /**
5230
5679
  * DescribeAuditLogFiles请求参数结构体
5231
5680
  */
@@ -5354,6 +5803,11 @@ export interface ZoneStockInfo {
5354
5803
  * 是否有库存
5355
5804
  */
5356
5805
  HasStock: boolean
5806
+
5807
+ /**
5808
+ * 库存数量
5809
+ */
5810
+ StockCount: number
5357
5811
  }
5358
5812
 
5359
5813
  /**
@@ -5390,3 +5844,13 @@ export interface InquirePriceRenewResponse {
5390
5844
  */
5391
5845
  RequestId?: string
5392
5846
  }
5847
+
5848
+ /**
5849
+ * ModifyAuditRuleTemplates返回参数结构体
5850
+ */
5851
+ export interface ModifyAuditRuleTemplatesResponse {
5852
+ /**
5853
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5854
+ */
5855
+ RequestId?: string
5856
+ }