tencentcloud-sdk-nodejs 4.1.238 → 4.1.239

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 (95) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/ams/index.js +2 -2
  3. package/es/services/chdfs/index.js +2 -2
  4. package/es/services/dbbrain/index.js +2 -2
  5. package/es/services/ecm/v20190719/ecm_client.js +10 -31
  6. package/es/services/eis/index.js +2 -2
  7. package/es/services/essbasic/index.js +2 -2
  8. package/es/services/facefusion/index.js +2 -2
  9. package/es/services/ig/v20210518/ig_client.js +15 -0
  10. package/es/services/ims/index.js +2 -2
  11. package/es/services/iotvideo/index.js +2 -2
  12. package/es/services/mongodb/index.js +2 -2
  13. package/es/services/organization/index.js +2 -2
  14. package/es/services/rce/index.js +2 -2
  15. package/es/services/sms/index.js +2 -2
  16. package/es/services/tbp/index.js +2 -2
  17. package/es/services/tcb/v20180608/tcb_client.js +182 -158
  18. package/es/services/thpc/index.js +2 -2
  19. package/es/services/tione/index.js +2 -2
  20. package/es/services/tke/index.js +2 -2
  21. package/es/services/tms/index.js +2 -2
  22. package/es/services/vm/index.js +2 -2
  23. package/es/services/vod/index.js +2 -2
  24. package/es/services/wedata/index.js +2 -2
  25. package/es/services/yunsou/index.js +2 -2
  26. package/package.json +1 -1
  27. package/tencentcloud/common/sdk_version.d.ts +1 -1
  28. package/tencentcloud/common/sdk_version.js +1 -1
  29. package/tencentcloud/services/ams/index.d.ts +4 -4
  30. package/tencentcloud/services/ams/index.js +2 -2
  31. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +12 -12
  32. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  33. package/tencentcloud/services/chdfs/index.js +2 -2
  34. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  35. package/tencentcloud/services/dbbrain/index.js +2 -2
  36. package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +14 -79
  37. package/tencentcloud/services/ecm/v20190719/ecm_client.js +18 -97
  38. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +39 -581
  39. package/tencentcloud/services/eis/index.d.ts +4 -4
  40. package/tencentcloud/services/eis/index.js +2 -2
  41. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
  42. package/tencentcloud/services/essbasic/index.d.ts +4 -4
  43. package/tencentcloud/services/essbasic/index.js +2 -2
  44. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
  45. package/tencentcloud/services/evt/v20250217/evt_models.d.ts +5 -1
  46. package/tencentcloud/services/facefusion/index.d.ts +4 -4
  47. package/tencentcloud/services/facefusion/index.js +2 -2
  48. package/tencentcloud/services/ig/v20210518/ig_client.d.ts +21 -1
  49. package/tencentcloud/services/ig/v20210518/ig_client.js +30 -0
  50. package/tencentcloud/services/ig/v20210518/ig_models.d.ts +651 -7
  51. package/tencentcloud/services/ims/index.d.ts +4 -4
  52. package/tencentcloud/services/ims/index.js +2 -2
  53. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  54. package/tencentcloud/services/iotvideo/index.js +2 -2
  55. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +13 -9
  56. package/tencentcloud/services/mna/v20210119/mna_client.d.ts +1 -1
  57. package/tencentcloud/services/mna/v20210119/mna_client.js +1 -1
  58. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  59. package/tencentcloud/services/mongodb/index.js +2 -2
  60. package/tencentcloud/services/organization/index.d.ts +4 -4
  61. package/tencentcloud/services/organization/index.js +2 -2
  62. package/tencentcloud/services/rce/index.d.ts +4 -4
  63. package/tencentcloud/services/rce/index.js +2 -2
  64. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +13 -13
  65. package/tencentcloud/services/sms/index.d.ts +4 -4
  66. package/tencentcloud/services/sms/index.js +2 -2
  67. package/tencentcloud/services/tbp/index.d.ts +4 -4
  68. package/tencentcloud/services/tbp/index.js +2 -2
  69. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +322 -286
  70. package/tencentcloud/services/tcb/v20180608/tcb_client.js +416 -364
  71. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +555 -64
  72. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
  73. package/tencentcloud/services/thpc/index.d.ts +4 -4
  74. package/tencentcloud/services/thpc/index.js +2 -2
  75. package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +1 -1
  76. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +44 -19
  77. package/tencentcloud/services/tione/index.d.ts +4 -4
  78. package/tencentcloud/services/tione/index.js +2 -2
  79. package/tencentcloud/services/tke/index.d.ts +4 -4
  80. package/tencentcloud/services/tke/index.js +2 -2
  81. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +58 -12
  82. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +6 -6
  83. package/tencentcloud/services/tms/index.d.ts +4 -4
  84. package/tencentcloud/services/tms/index.js +2 -2
  85. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -5
  86. package/tencentcloud/services/vm/index.d.ts +4 -4
  87. package/tencentcloud/services/vm/index.js +2 -2
  88. package/tencentcloud/services/vod/index.d.ts +4 -4
  89. package/tencentcloud/services/vod/index.js +2 -2
  90. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +5 -1
  91. package/tencentcloud/services/wedata/index.d.ts +4 -4
  92. package/tencentcloud/services/wedata/index.js +2 -2
  93. package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +11 -23
  94. package/tencentcloud/services/yunsou/index.d.ts +4 -4
  95. package/tencentcloud/services/yunsou/index.js +2 -2
@@ -64,19 +64,13 @@ export interface DescribeEnvLimitResponse {
64
64
  RequestId?: string;
65
65
  }
66
66
  /**
67
- * ListTables返回参数结构体
67
+ * DescribeResourcePermission返回参数结构体
68
68
  */
69
- export interface ListTablesResponse {
70
- /**
71
- * 表信息
72
- 注意:此字段可能返回 null,表示取不到有效值。
73
- */
74
- Tables?: Array<TableInfo>;
69
+ export interface DescribeResourcePermissionResponse {
75
70
  /**
76
- * 分页信息
77
- 注意:此字段可能返回 null,表示取不到有效值。
71
+ * 查询资源权限返回结果
78
72
  */
79
- Pager?: Pager;
73
+ Data?: DescribeResourcePermissionResult;
80
74
  /**
81
75
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
82
76
  */
@@ -202,13 +196,33 @@ export interface CheckTcbServiceResponse {
202
196
  RequestId?: string;
203
197
  }
204
198
  /**
205
- * ReleaseEnv返回参数结构体
199
+ * migration 执行计划
206
200
  */
207
- export interface ReleaseEnvResponse {
201
+ export interface MigrationPlanItem {
208
202
  /**
209
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
203
+ * <p>migration 版本号</p><p>参数格式:纯数字,14位时间格式</p>
210
204
  */
211
- RequestId?: string;
205
+ Version?: string;
206
+ /**
207
+ * <p>migration 版本名</p><p>参数格式:仅允许小写字母和下划线</p>
208
+ */
209
+ Name?: string;
210
+ /**
211
+ * <p>migration query sql checksum</p><p>服务端自动生成,同版本不同checksum会拒绝执行</p>
212
+ */
213
+ Checksum?: string;
214
+ /**
215
+ * <p>状态</p><p>枚举值:</p><ul><li>applied: 已应用</li><li>pending: 待执行</li></ul>
216
+ */
217
+ Status?: string;
218
+ /**
219
+ * <p>标记请求来源</p>
220
+ */
221
+ Source?: string;
222
+ /**
223
+ * <p>被归入该分组的原因,比如not_applied、checksum_matched</p>
224
+ */
225
+ Reason?: string;
212
226
  }
213
227
  /**
214
228
  * 可以为每种语言配置一个字符串。比如:name,中文展示为:名字,英文展示为 name,韩文展示为:이름
@@ -596,6 +610,26 @@ export interface ModifyUserResponse {
596
610
  */
597
611
  RequestId?: string;
598
612
  }
613
+ /**
614
+ * 分页信息
615
+ */
616
+ export interface Pager {
617
+ /**
618
+ * 分页偏移量
619
+ 注意:此字段可能返回 null,表示取不到有效值。
620
+ */
621
+ Offset?: number;
622
+ /**
623
+ * 每页返回记录数
624
+ 注意:此字段可能返回 null,表示取不到有效值。
625
+ */
626
+ Limit?: number;
627
+ /**
628
+ * 文档集合总数
629
+ 注意:此字段可能返回 null,表示取不到有效值。
630
+ */
631
+ Total?: number;
632
+ }
599
633
  /**
600
634
  * 删除tcb用户返回值
601
635
  */
@@ -741,6 +775,44 @@ export interface BanConfig {
741
775
  */
742
776
  CountryBlackList?: Array<string>;
743
777
  }
778
+ /**
779
+ * RepairPGUserMigrationHistory返回参数结构体
780
+ */
781
+ export interface RepairPGUserMigrationHistoryResponse {
782
+ /**
783
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
784
+ */
785
+ RequestId?: string;
786
+ }
787
+ /**
788
+ * RepairPGUserMigrationHistory请求参数结构体
789
+ */
790
+ export interface RepairPGUserMigrationHistoryRequest {
791
+ /**
792
+ * <p>云开发环境ID</p>
793
+ */
794
+ EnvId: string;
795
+ /**
796
+ * <p>migration版本</p><p>参数格式:14位时间格式</p><p>入参限制:纯数字</p>
797
+ */
798
+ MigrationVersion: string;
799
+ /**
800
+ * <p>migration 版本名</p><p>入参限制:限制小写字母和下划线</p>
801
+ */
802
+ Name: string;
803
+ /**
804
+ * <p>状态</p><p>枚举值:</p><ul><li>applied: 已应用</li><li>reverted: 表示删除 history 记录</li></ul>
805
+ */
806
+ Status: string;
807
+ /**
808
+ * <p>修复原因</p>
809
+ */
810
+ Reason: string;
811
+ /**
812
+ * <p>applied的时候填写,记录应用的sql语句</p>
813
+ */
814
+ Query?: string;
815
+ }
744
816
  /**
745
817
  * AllocateEnv返回参数结构体
746
818
  */
@@ -819,6 +891,15 @@ export interface ManagedAIModelGroup {
819
891
  */
820
892
  Remark?: string;
821
893
  }
894
+ /**
895
+ * ReleaseEnv返回参数结构体
896
+ */
897
+ export interface ReleaseEnvResponse {
898
+ /**
899
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
900
+ */
901
+ RequestId?: string;
902
+ }
822
903
  /**
823
904
  * 邮箱smtp配置
824
905
  */
@@ -1156,24 +1237,53 @@ export interface UnbindStorageSourceResponse {
1156
1237
  RequestId?: string;
1157
1238
  }
1158
1239
  /**
1159
- * 分页信息
1240
+ * DescribePGUserMigration返回参数结构体
1160
1241
  */
1161
- export interface Pager {
1242
+ export interface DescribePGUserMigrationResponse {
1162
1243
  /**
1163
- * 分页偏移量
1164
- 注意:此字段可能返回 null,表示取不到有效值。
1244
+ * <p>版本号</p><p>参数格式:纯数字,14位时间格式</p>
1165
1245
  */
1166
- Offset?: number;
1246
+ Version?: string;
1167
1247
  /**
1168
- * 每页返回记录数
1169
- 注意:此字段可能返回 null,表示取不到有效值。
1248
+ * <p>版本名</p><p>参数格式:只允许小写字母和下划线</p>
1170
1249
  */
1171
- Limit?: number;
1250
+ Name?: string;
1172
1251
  /**
1173
- * 文档集合总数
1174
- 注意:此字段可能返回 null,表示取不到有效值。
1252
+ * <p>要执行的migration sql 语句</p>
1175
1253
  */
1176
- Total?: number;
1254
+ Query?: string;
1255
+ /**
1256
+ * <p>回滚的sql 语句</p>
1257
+ */
1258
+ Rollback?: string;
1259
+ /**
1260
+ * <p>migration query 语句的checksum值</p><p>由服务端自动生成,同版本 checksum 不一致会拒绝执行</p>
1261
+ */
1262
+ Checksum?: string;
1263
+ /**
1264
+ * <p>用于标记调用来源</p>
1265
+ */
1266
+ Source?: string;
1267
+ /**
1268
+ * <p>用于标记该条migration由谁创建,目前默认调用的用户uin</p>
1269
+ */
1270
+ CreatedBy?: string;
1271
+ /**
1272
+ * <p>该migration创建时间</p>
1273
+ */
1274
+ CreatedAt?: string;
1275
+ /**
1276
+ * <p>该migration应用时间</p>
1277
+ */
1278
+ AppliedAt?: string;
1279
+ /**
1280
+ * <p>该migration执行耗时</p><p>单位:毫秒</p>
1281
+ */
1282
+ DurationMs?: number;
1283
+ /**
1284
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1285
+ */
1286
+ RequestId?: string;
1177
1287
  }
1178
1288
  /**
1179
1289
  * ModifyLoginConfig请求参数结构体
@@ -2213,13 +2323,25 @@ export interface DestroyStaticStoreRequest {
2213
2323
  CdnDomain?: string;
2214
2324
  }
2215
2325
  /**
2216
- * ModifyClient返回参数结构体
2326
+ * 结构化 SQL migration 信息
2217
2327
  */
2218
- export interface ModifyClientResponse {
2328
+ export interface MigrationInput {
2219
2329
  /**
2220
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2330
+ * <p>migration 版本号</p><p>参数格式:纯数字,14位时间格式</p>
2221
2331
  */
2222
- RequestId?: string;
2332
+ Version: string;
2333
+ /**
2334
+ * <p>migration 版本名</p><p>入参限制:仅允许小写字母和下划线</p>
2335
+ */
2336
+ Name: string;
2337
+ /**
2338
+ * <p>migration 应用 sql 语句</p>
2339
+ */
2340
+ Query: string;
2341
+ /**
2342
+ * <p>migration 回滚 sql 语句</p>
2343
+ */
2344
+ Rollback?: string;
2223
2345
  }
2224
2346
  /**
2225
2347
  * UpdateAIModel请求参数结构体
@@ -2341,44 +2463,26 @@ export interface DeleteHTTPServiceRouteResponse {
2341
2463
  RequestId?: string;
2342
2464
  }
2343
2465
  /**
2344
- * TDSQL-C网络信息类型
2466
+ * UpdateTable返回参数结构体
2345
2467
  */
2346
- export interface MySQLNetDetail {
2347
- /**
2348
- * 内网地址
2349
- 注意:此字段可能返回 null,表示取不到有效值。
2350
- */
2351
- PrivateNetAddress?: string;
2352
- /**
2353
- * 外网地址
2354
- 注意:此字段可能返回 null,表示取不到有效值。
2355
- */
2356
- PubNetAddress?: string;
2357
- /**
2358
- * 网络信息(VPCID/SubnetID)
2359
- 注意:此字段可能返回 null,表示取不到有效值。
2360
- */
2361
- Net?: string;
2362
- /**
2363
- * 是否开通公网
2364
- */
2365
- PubNetAccessEnabled?: boolean;
2366
- /**
2367
- * vpc id
2368
- */
2369
- VpcId?: string;
2468
+ export interface UpdateTableResponse {
2370
2469
  /**
2371
- * vpc name
2470
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2372
2471
  */
2373
- VpcName?: string;
2472
+ RequestId?: string;
2473
+ }
2474
+ /**
2475
+ * 查询资源权限返回结果
2476
+ */
2477
+ export interface DescribeResourcePermissionResult {
2374
2478
  /**
2375
- * 子网ID
2479
+ * 查询到的资源总数
2376
2480
  */
2377
- SubnetId?: string;
2481
+ TotalCount?: number;
2378
2482
  /**
2379
- * 子网名
2483
+ * 资源权限列表
2380
2484
  */
2381
- SubnetName?: string;
2485
+ PermissionList?: Array<ResourcePermission>;
2382
2486
  }
2383
2487
  /**
2384
2488
  * 本类型用于接口中描述待创建索引结构
@@ -2411,13 +2515,21 @@ export interface UpdateAIModelResponse {
2411
2515
  RequestId?: string;
2412
2516
  }
2413
2517
  /**
2414
- * UpdateTable返回参数结构体
2518
+ * ListPGUserMigrations请求参数结构体
2415
2519
  */
2416
- export interface UpdateTableResponse {
2520
+ export interface ListPGUserMigrationsRequest {
2417
2521
  /**
2418
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2522
+ * <p>云开发环境ID</p>
2419
2523
  */
2420
- RequestId?: string;
2524
+ EnvId: string;
2525
+ /**
2526
+ * <p>查询条数</p><p>取值范围:[1, 500]</p><p>默认值:100</p>
2527
+ */
2528
+ Limit?: number;
2529
+ /**
2530
+ * <p>分页偏移</p><p>默认值:0</p>
2531
+ */
2532
+ Offset?: number;
2421
2533
  }
2422
2534
  /**
2423
2535
  * ModifyEnvPlan返回参数结构体
@@ -2484,6 +2596,27 @@ export interface DescribeCreateMySQLResultRequest {
2484
2596
  */
2485
2597
  TaskId?: string;
2486
2598
  }
2599
+ /**
2600
+ * ListPGUserMigrations返回参数结构体
2601
+ */
2602
+ export interface ListPGUserMigrationsResponse {
2603
+ /**
2604
+ * <p>总数量</p>
2605
+ */
2606
+ Total?: number;
2607
+ /**
2608
+ * <p>已应用最新版本号</p><p>参数格式:纯数字,14位时间格式</p>
2609
+ */
2610
+ LatestVersion?: string;
2611
+ /**
2612
+ * <p>已应用migration列表</p>
2613
+ */
2614
+ Migrations?: Array<MigrationSummary>;
2615
+ /**
2616
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2617
+ */
2618
+ RequestId?: string;
2619
+ }
2487
2620
  /**
2488
2621
  * DescribeBillingInfo请求参数结构体
2489
2622
  */
@@ -2674,6 +2807,31 @@ export interface CreateMySQLResponse {
2674
2807
  */
2675
2808
  RequestId?: string;
2676
2809
  }
2810
+ /**
2811
+ * ModifyResourcePermission请求参数结构体
2812
+ */
2813
+ export interface ModifyResourcePermissionRequest {
2814
+ /**
2815
+ * 环境 ID
2816
+ */
2817
+ EnvId: string;
2818
+ /**
2819
+ * 资源类型:`function`-云函数、`storage`-云存储、`table`-SQL型数据库表、`collection`-文档型数据库表。
2820
+ */
2821
+ ResourceType: string;
2822
+ /**
2823
+ * 权限级别。可选值:- SQL型数据库表:`READONLY`-读取全部数据,修改本人数据;`PRIVATE`-读取和修改本人数据;`ADMINWRITE`-读取全部数据,不可修改数据;`ADMINONLY`-无权限 。- 文档型数据库表:`READONLY`-读取全部数据,修改本人数据;`PRIVATE`-读取和修改本人数据;`ADMINWRITE`-读取全部数据,不可修改数据;`ADMINONLY`-无权限;`CUSTOM`-自定义安全规则 。- 云函数:`CUSTOM`-自定义安全规则 。- 云存储(权限标签):`READONLY`-所有用户可读,仅创建者和管理员可写;`PRIVATE`-仅创建者及管理员可读写;`ADMINWRITE`-所有用户可读,仅管理员可写;`ADMINONLY`-仅管理员可读写;`CUSTOM`-自定义安全规则。
2824
+ */
2825
+ Permission: string;
2826
+ /**
2827
+ * 资源标识。云函数可不传、云存储传存储桶名、数据库表传表名。
2828
+ */
2829
+ Resource?: string;
2830
+ /**
2831
+ * 自定义安全规则配置,当Permission为 `CUSTOM`时必传。JSON字符串格式的规则表达式。配置参考:[云函数安全规则](https://docs.cloudbase.net/cloud-function/security-rules)、[云存储安全规则](https://docs.cloudbase.net/storage/security-rules)、[文档型数据库安全规则](https://docs.cloudbase.net/database/security-rules)。
2832
+ */
2833
+ SecurityRule?: string;
2834
+ }
2677
2835
  /**
2678
2836
  * DeleteAuthDomain返回参数结构体
2679
2837
  */
@@ -2796,6 +2954,46 @@ export interface DeleteTableRequest {
2796
2954
  */
2797
2955
  MongoConnector?: MongoConnector;
2798
2956
  }
2957
+ /**
2958
+ * TDSQL-C网络信息类型
2959
+ */
2960
+ export interface MySQLNetDetail {
2961
+ /**
2962
+ * 内网地址
2963
+ 注意:此字段可能返回 null,表示取不到有效值。
2964
+ */
2965
+ PrivateNetAddress?: string;
2966
+ /**
2967
+ * 外网地址
2968
+ 注意:此字段可能返回 null,表示取不到有效值。
2969
+ */
2970
+ PubNetAddress?: string;
2971
+ /**
2972
+ * 网络信息(VPCID/SubnetID)
2973
+ 注意:此字段可能返回 null,表示取不到有效值。
2974
+ */
2975
+ Net?: string;
2976
+ /**
2977
+ * 是否开通公网
2978
+ */
2979
+ PubNetAccessEnabled?: boolean;
2980
+ /**
2981
+ * vpc id
2982
+ */
2983
+ VpcId?: string;
2984
+ /**
2985
+ * vpc name
2986
+ */
2987
+ VpcName?: string;
2988
+ /**
2989
+ * 子网ID
2990
+ */
2991
+ SubnetId?: string;
2992
+ /**
2993
+ * 子网名
2994
+ */
2995
+ SubnetName?: string;
2996
+ }
2799
2997
  /**
2800
2998
  * 环境信息
2801
2999
  */
@@ -2974,6 +3172,15 @@ export interface HTTPServiceHeadersHandler {
2974
3172
  */
2975
3173
  ResponseHeadersToRemove?: Array<string>;
2976
3174
  }
3175
+ /**
3176
+ * 修改资源基础权限结果
3177
+ */
3178
+ export interface ModifyResourcePermissionResult {
3179
+ /**
3180
+ * 是否成功
3181
+ */
3182
+ Success?: boolean;
3183
+ }
2977
3184
  /**
2978
3185
  * DestroyMySQL请求参数结构体
2979
3186
  */
@@ -3170,6 +3377,19 @@ export interface DescribeCreateMySQLResult {
3170
3377
  */
3171
3378
  FreezeStatus?: boolean;
3172
3379
  }
3380
+ /**
3381
+ * ModifyResourcePermission返回参数结构体
3382
+ */
3383
+ export interface ModifyResourcePermissionResponse {
3384
+ /**
3385
+ * 修改结果
3386
+ */
3387
+ Data?: ModifyResourcePermissionResult;
3388
+ /**
3389
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3390
+ */
3391
+ RequestId?: string;
3392
+ }
3173
3393
  /**
3174
3394
  * DescribeCreateMySQLResult返回参数结构体
3175
3395
  */
@@ -3774,6 +3994,31 @@ export interface DestroyMySQLResult {
3774
3994
  */
3775
3995
  TaskName?: string;
3776
3996
  }
3997
+ /**
3998
+ * PreviewPGUserMigrations返回参数结构体
3999
+ */
4000
+ export interface PreviewPGUserMigrationsResponse {
4001
+ /**
4002
+ * <p>将要执行的migration列表</p>
4003
+ */
4004
+ Pending?: Array<MigrationPlanItem>;
4005
+ /**
4006
+ * <p>已经应用的migration列表</p>
4007
+ */
4008
+ Applied?: Array<MigrationPlanItem>;
4009
+ /**
4010
+ * <p>版本相同但 checksum 不一致冲突的migration列表</p>
4011
+ */
4012
+ Conflicts?: Array<MigrationConflict>;
4013
+ /**
4014
+ * <p>是否可直接执行;当前仅表示没有 checksum 冲突</p>
4015
+ */
4016
+ Executable?: boolean;
4017
+ /**
4018
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4019
+ */
4020
+ RequestId?: string;
4021
+ }
3777
4022
  /**
3778
4023
  * ReleaseEnv请求参数结构体
3779
4024
  */
@@ -3787,6 +4032,23 @@ export interface ReleaseEnvRequest {
3787
4032
  */
3788
4033
  AllocateId?: string;
3789
4034
  }
4035
+ /**
4036
+ * PreviewPGUserMigrations请求参数结构体
4037
+ */
4038
+ export interface PreviewPGUserMigrationsRequest {
4039
+ /**
4040
+ * <p>云开发环境ID</p>
4041
+ */
4042
+ EnvId: string;
4043
+ /**
4044
+ * <p>预览要执行的migration 列表</p>
4045
+ */
4046
+ Migrations: Array<MigrationInput>;
4047
+ /**
4048
+ * <p>标记请求来源</p>
4049
+ */
4050
+ Source?: string;
4051
+ }
3790
4052
  /**
3791
4053
  * CreateMySQL请求参数结构体
3792
4054
  */
@@ -4337,6 +4599,44 @@ export interface DescribeStaticStoreResponse {
4337
4599
  */
4338
4600
  RequestId?: string;
4339
4601
  }
4602
+ /**
4603
+ * DescribeResourcePermission请求参数结构体
4604
+ */
4605
+ export interface DescribeResourcePermissionRequest {
4606
+ /**
4607
+ * 环境 ID
4608
+ */
4609
+ EnvId: string;
4610
+ /**
4611
+ * 资源类型:`function`-云函数、`storage`-云存储、`table`-SQL型数据库表、`collection`-文档型数据库表 `<br>`示例值:`table`。
4612
+ */
4613
+ ResourceType: string;
4614
+ /**
4615
+ * 资源标识列表。云函数不传或传空数组、云存储传存储桶名、数据库表传表名,不能超过100条。
4616
+ */
4617
+ Resources?: Array<string>;
4618
+ }
4619
+ /**
4620
+ * 资源权限
4621
+ */
4622
+ export interface ResourcePermission {
4623
+ /**
4624
+ * 资源类型。
4625
+ */
4626
+ ResourceType?: string;
4627
+ /**
4628
+ * 资源标识
4629
+ */
4630
+ Resource?: string;
4631
+ /**
4632
+ * 权限级别。取值:READONLY、PRIVATE、ADMINWRITE、ADMINONLY、CUSTOM。
4633
+ */
4634
+ Permission?: string;
4635
+ /**
4636
+ * 自定义安全规则配置,当 Permission 为 CUSTOM 时返回。
4637
+ */
4638
+ SecurityRule?: string;
4639
+ }
4340
4640
  /**
4341
4641
  * ModifyHTTPServiceRoute返回参数结构体
4342
4642
  */
@@ -4426,6 +4726,44 @@ export interface CreateStaticStoreResponse {
4426
4726
  */
4427
4727
  RequestId?: string;
4428
4728
  }
4729
+ /**
4730
+ * PushPGUserMigrations请求参数结构体
4731
+ */
4732
+ export interface PushPGUserMigrationsRequest {
4733
+ /**
4734
+ * <p>云开发环境ID</p>
4735
+ */
4736
+ EnvId: string;
4737
+ /**
4738
+ * <p>结构化 SQL migration 列表;每项包含 Query SQL 内容</p>
4739
+ */
4740
+ Migrations: Array<MigrationInput>;
4741
+ /**
4742
+ * <p>等待获取数据库锁的最长时间</p><p>单位:毫秒</p><p>默认值:5000</p>
4743
+ */
4744
+ LockTimeoutMs?: number;
4745
+ /**
4746
+ * <p>单条 SQL 执行最长时间,超过后由 PostgreSQL 取消该语句</p><p>单位:毫秒</p><p>默认值:300000</p>
4747
+ */
4748
+ StatementTimeoutMs?: number;
4749
+ /**
4750
+ * <p>标记请求来源</p>
4751
+ */
4752
+ Source?: string;
4753
+ }
4754
+ /**
4755
+ * DescribePGUserMigration请求参数结构体
4756
+ */
4757
+ export interface DescribePGUserMigrationRequest {
4758
+ /**
4759
+ * <p>云开发环境ID</p>
4760
+ */
4761
+ EnvId: string;
4762
+ /**
4763
+ * <p>版本号</p><p>参数格式:14位时间格式</p><p>入参限制:纯数字</p>
4764
+ */
4765
+ MigrationVersion: string;
4766
+ }
4429
4767
  /**
4430
4768
  * DescribeVmInstances返回参数结构体
4431
4769
  */
@@ -4492,6 +4830,31 @@ export interface StorageInfo {
4492
4830
  */
4493
4831
  ExternalStorage?: ExternalStorage;
4494
4832
  }
4833
+ /**
4834
+ * RollbackPGUserMigrations返回参数结构体
4835
+ */
4836
+ export interface RollbackPGUserMigrationsResponse {
4837
+ /**
4838
+ * <p>任务ID</p><p>可通过DescribeTaskResult 接口查询进度</p>
4839
+ */
4840
+ TaskId?: string;
4841
+ /**
4842
+ * <p>已成功回滚并删除 history 的 migration</p>
4843
+ */
4844
+ RolledBack?: Array<MigrationSummary>;
4845
+ /**
4846
+ * <p>未提供 Rollback SQL、视为成功并删除 history 的 migration</p>
4847
+ */
4848
+ SkippedRollbackSql?: Array<MigrationSummary>;
4849
+ /**
4850
+ * <p>执行 Rollback SQL 失败的 migration,可为空</p>
4851
+ */
4852
+ Failed?: MigrationSummary;
4853
+ /**
4854
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4855
+ */
4856
+ RequestId?: string;
4857
+ }
4495
4858
  /**
4496
4859
  * 修改用户返回值
4497
4860
  */
@@ -4510,6 +4873,44 @@ export interface ModifySafeRuleResponse {
4510
4873
  */
4511
4874
  RequestId?: string;
4512
4875
  }
4876
+ /**
4877
+ * migration 列表
4878
+ */
4879
+ export interface MigrationSummary {
4880
+ /**
4881
+ * <p>migration 版本号</p><p>参数格式:纯数字,14位时间格式</p>
4882
+ */
4883
+ Version?: string;
4884
+ /**
4885
+ * <p>migration 版本名</p><p>参数格式:仅允许小写字母和下划线</p>
4886
+ */
4887
+ Name?: string;
4888
+ /**
4889
+ * <p>migration query sql 语句checksum</p><p>服务端自动生成,同版本不同checksum会拒绝执行</p>
4890
+ */
4891
+ Checksum?: string;
4892
+ /**
4893
+ * <p>应用时间</p>
4894
+ */
4895
+ AppliedAt?: string;
4896
+ /**
4897
+ * <p>请求来源</p>
4898
+ */
4899
+ Source?: string;
4900
+ /**
4901
+ * <p>migration 创建时间</p>
4902
+ */
4903
+ CreatedBy?: string;
4904
+ }
4905
+ /**
4906
+ * ModifyClient返回参数结构体
4907
+ */
4908
+ export interface ModifyClientResponse {
4909
+ /**
4910
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4911
+ */
4912
+ RequestId?: string;
4913
+ }
4513
4914
  /**
4514
4915
  * DescribeTable请求参数结构体
4515
4916
  */
@@ -4560,6 +4961,31 @@ export interface UpdateTableRequest {
4560
4961
  */
4561
4962
  MongoConnector?: MongoConnector;
4562
4963
  }
4964
+ /**
4965
+ * RollbackPGUserMigrations请求参数结构体
4966
+ */
4967
+ export interface RollbackPGUserMigrationsRequest {
4968
+ /**
4969
+ * <p>云开发环境ID</p>
4970
+ */
4971
+ EnvId: string;
4972
+ /**
4973
+ * <p>要回滚的条数</p><p>按照逆序回滚最近N条migration</p>
4974
+ */
4975
+ LastN: number;
4976
+ /**
4977
+ * <p>等待获取数据库锁的最长时间</p><p>单位:毫秒</p><p>默认值:5000</p>
4978
+ */
4979
+ LockTimeoutMs?: number;
4980
+ /**
4981
+ * <p>单条 SQL 执行最长时间,超过后由 PostgreSQL 取消该语句</p><p>单位:毫秒</p><p>默认值:300000</p>
4982
+ */
4983
+ StatementTimeoutMs?: number;
4984
+ /**
4985
+ * <p>标记API调用来源</p>
4986
+ */
4987
+ Source?: string;
4988
+ }
4563
4989
  /**
4564
4990
  * 外部存储。
4565
4991
  标识该存储介质,并非由云开发CloudBase创建,而是绑定的其他存储介质。
@@ -4684,6 +5110,39 @@ export interface DescribeClientRequest {
4684
5110
  */
4685
5111
  Id: string;
4686
5112
  }
5113
+ /**
5114
+ * migration 执行计划冲突项
5115
+ */
5116
+ export interface MigrationConflict {
5117
+ /**
5118
+ * <p>migration 版本号</p><p>参数格式:纯数字,14位时间格式</p>
5119
+ */
5120
+ Version?: string;
5121
+ /**
5122
+ * <p>migration 版本名</p><p>参数格式:仅允许小写字母和下划线</p>
5123
+ */
5124
+ Name?: string;
5125
+ /**
5126
+ * <p>数据库已应用migration的版本名</p><p>参数格式:仅允许小写字母和下划线</p>
5127
+ */
5128
+ RemoteName?: string;
5129
+ /**
5130
+ * <p>本次sql计算出来的checksum</p>
5131
+ */
5132
+ LocalChecksum?: string;
5133
+ /**
5134
+ * <p>已应用的migration,数据库存储的checksum</p>
5135
+ */
5136
+ RemoteChecksum?: string;
5137
+ /**
5138
+ * <p>归入该分组的原因</p>
5139
+ */
5140
+ Reason?: string;
5141
+ /**
5142
+ * <p>冲突信息</p>
5143
+ */
5144
+ Message?: string;
5145
+ }
4687
5146
  /**
4688
5147
  * DescribeHostingDomainTask返回参数结构体
4689
5148
  */
@@ -4736,6 +5195,25 @@ export interface CreateCustomLoginKeyResponse {
4736
5195
  */
4737
5196
  RequestId?: string;
4738
5197
  }
5198
+ /**
5199
+ * ListTables返回参数结构体
5200
+ */
5201
+ export interface ListTablesResponse {
5202
+ /**
5203
+ * 表信息
5204
+ 注意:此字段可能返回 null,表示取不到有效值。
5205
+ */
5206
+ Tables?: Array<TableInfo>;
5207
+ /**
5208
+ * 分页信息
5209
+ 注意:此字段可能返回 null,表示取不到有效值。
5210
+ */
5211
+ Pager?: Pager;
5212
+ /**
5213
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5214
+ */
5215
+ RequestId?: string;
5216
+ }
4739
5217
  /**
4740
5218
  * ModifyClient请求参数结构体
4741
5219
  */
@@ -5309,6 +5787,19 @@ export interface DescribeVmSpecRequest {
5309
5787
  */
5310
5788
  Type?: string;
5311
5789
  }
5790
+ /**
5791
+ * PushPGUserMigrations返回参数结构体
5792
+ */
5793
+ export interface PushPGUserMigrationsResponse {
5794
+ /**
5795
+ * <p>任务ID</p><p>可通过DescribeTaskResult 接口查询进度</p>
5796
+ */
5797
+ TaskId?: string;
5798
+ /**
5799
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5800
+ */
5801
+ RequestId?: string;
5802
+ }
5312
5803
  /**
5313
5804
  * BindStorageSource返回参数结构体
5314
5805
  */