tencentcloud-sdk-nodejs 4.1.180 → 4.1.182

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 (56) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/cloudapp/v20220530/cloudapp_client.js +3 -0
  3. package/es/services/ctsdb/v20230202/ctsdb_client.js +3 -0
  4. package/es/services/cynosdb/v20190107/cynosdb_client.js +141 -30
  5. package/es/services/hunyuan/v20230901/hunyuan_client.js +33 -39
  6. package/es/services/mps/v20190612/mps_client.js +3 -0
  7. package/es/services/tcb/v20180608/tcb_client.js +180 -141
  8. package/es/services/tcr/v20190924/tcr_client.js +3 -0
  9. package/es/services/vod/v20180717/vod_client.js +47 -20
  10. package/package.json +1 -1
  11. package/tencentcloud/common/sdk_version.d.ts +1 -1
  12. package/tencentcloud/common/sdk_version.js +1 -1
  13. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +11 -23
  14. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +1 -2
  15. package/tencentcloud/services/apm/v20210622/apm_client.js +1 -2
  16. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +41 -0
  17. package/tencentcloud/services/cloudapp/v20220530/cloudapp_client.d.ts +5 -1
  18. package/tencentcloud/services/cloudapp/v20220530/cloudapp_client.js +6 -0
  19. package/tencentcloud/services/cloudapp/v20220530/cloudapp_models.d.ts +60 -13
  20. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +4 -0
  21. package/tencentcloud/services/ctsdb/v20230202/ctsdb_client.d.ts +5 -1
  22. package/tencentcloud/services/ctsdb/v20230202/ctsdb_client.js +6 -0
  23. package/tencentcloud/services/ctsdb/v20230202/ctsdb_models.d.ts +211 -44
  24. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +179 -31
  25. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +267 -45
  26. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2860 -453
  27. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +24 -0
  28. package/tencentcloud/services/es/v20180416/es_models.d.ts +30 -0
  29. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +11 -12
  30. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +60 -393
  31. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +0 -4
  32. package/tencentcloud/services/gme/v20180711/gme_client.js +0 -4
  33. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +7 -10
  34. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +62 -72
  35. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +83 -97
  36. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +0 -99
  37. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +9 -5
  38. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +5 -1
  39. package/tencentcloud/services/mps/v20190612/mps_client.js +6 -0
  40. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +99 -0
  41. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +41 -28
  42. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +5 -4
  43. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +199 -147
  44. package/tencentcloud/services/tcb/v20180608/tcb_client.js +296 -218
  45. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1109 -268
  46. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +5 -1
  47. package/tencentcloud/services/tcr/v20190924/tcr_client.js +6 -0
  48. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +73 -42
  49. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +2 -1
  50. package/tencentcloud/services/teo/v20220901/teo_client.js +2 -1
  51. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +98 -48
  52. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +0 -3
  53. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +15 -15
  54. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +83 -47
  55. package/tencentcloud/services/vod/v20180717/vod_client.js +110 -56
  56. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +903 -411
@@ -257,17 +257,42 @@ export interface DeleteCloudBaseRunServerVersionResponse {
257
257
  RequestId?: string;
258
258
  }
259
259
  /**
260
- * DescribeDatabaseACL请求参数结构体
260
+ * BindCloudBaseAccessDomain请求参数结构体
261
261
  */
262
- export interface DescribeDatabaseACLRequest {
262
+ export interface BindCloudBaseAccessDomainRequest {
263
263
  /**
264
- * 环境ID
264
+ * 服务Id,目前是指环境Id
265
265
  */
266
- EnvId: string;
266
+ ServiceId: string;
267
267
  /**
268
- * 集合名称
268
+ * 自定义域名
269
269
  */
270
- CollectionName: string;
270
+ Domain: string;
271
+ /**
272
+ * 腾讯云证书Id
273
+ */
274
+ CertId?: string;
275
+ /**
276
+ * 默认1,1 绑定默认Cdn,2 绑定TcbIngress(不经过cdn),4 绑定自定义cdn
277
+ */
278
+ BindFlag?: number;
279
+ /**
280
+ * 自定义cdn cname域名
281
+ */
282
+ CustomCname?: string;
283
+ }
284
+ /**
285
+ * http访问服务客户端限频
286
+ */
287
+ export interface CloudBaseClientQPSPolicy {
288
+ /**
289
+ * UserID 或 ClientIP 或 None,如果为 None 代表不限制
290
+ */
291
+ LimitBy?: string;
292
+ /**
293
+ * 限制值
294
+ */
295
+ LimitValue?: number;
271
296
  }
272
297
  /**
273
298
  * ModifyClsTopic返回参数结构体
@@ -475,6 +500,19 @@ export interface DescribeSpecialCostItemsRequest {
475
500
  */
476
501
  EndTime?: string;
477
502
  }
503
+ /**
504
+ * UnfreezeCloudBaseRunServers请求参数结构体
505
+ */
506
+ export interface UnfreezeCloudBaseRunServersRequest {
507
+ /**
508
+ * 环境ID
509
+ */
510
+ EnvId: string;
511
+ /**
512
+ * 服务名称列表
513
+ */
514
+ ServerNameList: Array<string>;
515
+ }
478
516
  /**
479
517
  * DescribeCloudBaseRunVersion请求参数结构体
480
518
  */
@@ -527,6 +565,27 @@ export interface ModifyUserResponse {
527
565
  */
528
566
  RequestId?: string;
529
567
  }
568
+ /**
569
+ * CLS日志结果
570
+ */
571
+ export interface LogResObject {
572
+ /**
573
+ * 获取更多检索结果的游标
574
+ */
575
+ Context?: string;
576
+ /**
577
+ * 搜索结果是否已经全部返回
578
+ */
579
+ ListOver?: boolean;
580
+ /**
581
+ * 日志内容信息
582
+ */
583
+ Results?: Array<LogObject>;
584
+ /**
585
+ * 日志聚合结果
586
+ */
587
+ AnalysisRecords?: Array<string>;
588
+ }
530
589
  /**
531
590
  * CloudRunServiceSimpleVersionSnapshot 信息
532
591
  */
@@ -649,17 +708,18 @@ export interface CloudRunServiceSimpleVersionSnapshot {
649
708
  Status?: string;
650
709
  }
651
710
  /**
652
- * 索引的key值
711
+ * BindCloudBaseAccessDomain返回参数结构体
653
712
  */
654
- export interface Indexkey {
713
+ export interface BindCloudBaseAccessDomainResponse {
655
714
  /**
656
- * 键名
715
+ * 服务Id,目前是指环境Id
716
+ 注意:此字段可能返回 null,表示取不到有效值。
657
717
  */
658
- Name?: string;
718
+ ServiceId?: string;
659
719
  /**
660
- * 方向:specify 1 for ascending or -1 for descending
720
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
661
721
  */
662
- Direction?: string;
722
+ RequestId?: string;
663
723
  }
664
724
  /**
665
725
  * DestroyStaticStore请求参数结构体
@@ -944,13 +1004,21 @@ export interface DescribeAuthDomainsResponse {
944
1004
  RequestId?: string;
945
1005
  }
946
1006
  /**
947
- * ReinstateEnv请求参数结构体
1007
+ * ModifyCloudBaseGWAPI请求参数结构体
948
1008
  */
949
- export interface ReinstateEnvRequest {
1009
+ export interface ModifyCloudBaseGWAPIRequest {
950
1010
  /**
951
- * 环境ID
1011
+ * Service ID
952
1012
  */
953
- EnvId: string;
1013
+ ServiceId: string;
1014
+ /**
1015
+ * API ID
1016
+ */
1017
+ APIId: string;
1018
+ /**
1019
+ * 选项列表,key取值:domain, path。
1020
+ */
1021
+ Options: Array<CloudBaseOption>;
954
1022
  }
955
1023
  /**
956
1024
  * ModifyClsTopic请求参数结构体
@@ -1496,6 +1564,15 @@ export interface DescribeQuotaDataResponse {
1496
1564
  */
1497
1565
  RequestId?: string;
1498
1566
  }
1567
+ /**
1568
+ * CreateBillDeal返回参数结构体
1569
+ */
1570
+ export interface CreateBillDealResponse {
1571
+ /**
1572
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1573
+ */
1574
+ RequestId?: string;
1575
+ }
1499
1576
  /**
1500
1577
  * DescribeGatewayCurveData返回参数结构体
1501
1578
  */
@@ -1581,6 +1658,79 @@ export interface FunctionInfo {
1581
1658
  */
1582
1659
  Region?: string;
1583
1660
  }
1661
+ /**
1662
+ * 安全网关路由
1663
+ */
1664
+ export interface WxGatewayRountItem {
1665
+ /**
1666
+ * 安全网关路由名称
1667
+ */
1668
+ GatewayRouteName?: string;
1669
+ /**
1670
+ * 安全网关路由协议
1671
+ */
1672
+ GatewayRouteProtocol?: string;
1673
+ /**
1674
+ * 安全网关路由地址
1675
+ */
1676
+ GatewayRouteAddr?: string;
1677
+ /**
1678
+ * 安全网关路由描述
1679
+ */
1680
+ GatewayRouteDesc?: string;
1681
+ /**
1682
+ * 安全网关后端集群id,如果是外网服务,该id与GatewayRountName相同
1683
+ */
1684
+ GatewayRouteClusterId?: string;
1685
+ /**
1686
+ * 安全网关创建时间
1687
+ */
1688
+ GatewayRouteCreateTime?: string;
1689
+ /**
1690
+ * 安全网关路由限制
1691
+ */
1692
+ FrequencyLimitConfig?: Array<FrequencyLimitConfig>;
1693
+ /**
1694
+ * ip代表绑定后端ip。cbr代表云托管服务
1695
+ */
1696
+ GatewayRouteServerType?: string;
1697
+ /**
1698
+ * 服务名
1699
+ */
1700
+ GatewayRouteServerName?: string;
1701
+ /**
1702
+ * ip
1703
+ */
1704
+ GatewayRewriteHost?: string;
1705
+ /**
1706
+ * 网关版本
1707
+ */
1708
+ GatewayVersion?: string;
1709
+ /**
1710
+ * 请求路径
1711
+ */
1712
+ GatewayRoutePath?: string;
1713
+ /**
1714
+ * 请求模式
1715
+ */
1716
+ GatewayRouteMethod?: string;
1717
+ /**
1718
+ * 4层端口
1719
+ */
1720
+ GatewayRoutePort?: number;
1721
+ /**
1722
+ * 路由环境ID
1723
+ */
1724
+ GatewayRouteEnvId?: string;
1725
+ /**
1726
+ * 路径匹配类型,支持prefix(前缀匹配),regex(正则匹配), 默认prefix
1727
+ */
1728
+ GatewayRoutePathMatchType?: string;
1729
+ /**
1730
+ * 安全网关自定义头部
1731
+ */
1732
+ CustomHeader?: CustomHeader;
1733
+ }
1584
1734
  /**
1585
1735
  * CommonServiceAPI请求参数结构体
1586
1736
  */
@@ -1598,6 +1748,42 @@ export interface CommonServiceAPIRequest {
1598
1748
  */
1599
1749
  ApiRole?: string;
1600
1750
  }
1751
+ /**
1752
+ * 静态托管资源信息
1753
+ */
1754
+ export interface StaticStoreInfo {
1755
+ /**
1756
+ * 环境ID
1757
+ 注意:此字段可能返回 null,表示取不到有效值。
1758
+ */
1759
+ EnvId?: string;
1760
+ /**
1761
+ * 静态域名
1762
+ 注意:此字段可能返回 null,表示取不到有效值。
1763
+ */
1764
+ CdnDomain?: string;
1765
+ /**
1766
+ * COS桶
1767
+ 注意:此字段可能返回 null,表示取不到有效值。
1768
+ */
1769
+ Bucket?: string;
1770
+ /**
1771
+ * cos区域
1772
+ 注意:此字段可能返回 null,表示取不到有效值。
1773
+ * @deprecated
1774
+ */
1775
+ Regoin?: string;
1776
+ /**
1777
+ * 资源状态:init(初始化)/process(处理中)/online(上线)/destroying(销毁中)/offline(下线))
1778
+ 注意:此字段可能返回 null,表示取不到有效值。
1779
+ */
1780
+ Status?: string;
1781
+ /**
1782
+ * 地域
1783
+ 注意:此字段可能返回 null,表示取不到有效值。
1784
+ */
1785
+ Region?: string;
1786
+ }
1601
1787
  /**
1602
1788
  * ModifyCloudBaseRunServerFlowConf请求参数结构体
1603
1789
  */
@@ -1649,6 +1835,15 @@ export interface CreateUserResponse {
1649
1835
  */
1650
1836
  RequestId?: string;
1651
1837
  }
1838
+ /**
1839
+ * DescribeEnvAccountCircle请求参数结构体
1840
+ */
1841
+ export interface DescribeEnvAccountCircleRequest {
1842
+ /**
1843
+ * 环境ID
1844
+ */
1845
+ EnvId: string;
1846
+ }
1652
1847
  /**
1653
1848
  * CreateStaticStore请求参数结构体
1654
1849
  */
@@ -1848,6 +2043,31 @@ export interface DeleteWxGatewayRouteRequest {
1848
2043
  */
1849
2044
  GatewayRouteName: string;
1850
2045
  }
2046
+ /**
2047
+ * EstablishWxGatewayRoute请求参数结构体
2048
+ */
2049
+ export interface EstablishWxGatewayRouteRequest {
2050
+ /**
2051
+ * 网关id
2052
+ */
2053
+ GatewayId: string;
2054
+ /**
2055
+ * 服务名称
2056
+ */
2057
+ GatewayRouteName: string;
2058
+ /**
2059
+ * 服务地址
2060
+ */
2061
+ GatewayRouteAddr: string;
2062
+ /**
2063
+ * 协议类型 http/https
2064
+ */
2065
+ GatewayRouteProtocol: string;
2066
+ /**
2067
+ * 服务描述
2068
+ */
2069
+ GatewayRouteDesc?: string;
2070
+ }
1851
2071
  /**
1852
2072
  * DescribeEnvPostpaidDeduct请求参数结构体
1853
2073
  */
@@ -2001,6 +2221,35 @@ export interface CreateCloudBaseRunResourceResponse {
2001
2221
  */
2002
2222
  RequestId?: string;
2003
2223
  }
2224
+ /**
2225
+ * CLS日志单条信息
2226
+ */
2227
+ export interface LogObject {
2228
+ /**
2229
+ * 日志属于的 topic ID
2230
+ */
2231
+ TopicId?: string;
2232
+ /**
2233
+ * 日志主题的名字
2234
+ */
2235
+ TopicName?: string;
2236
+ /**
2237
+ * 日志时间
2238
+ */
2239
+ Timestamp?: string;
2240
+ /**
2241
+ * 日志内容
2242
+ */
2243
+ Content?: string;
2244
+ /**
2245
+ * 采集路径
2246
+ */
2247
+ FileName?: string;
2248
+ /**
2249
+ * 日志来源设备
2250
+ */
2251
+ Source?: string;
2252
+ }
2004
2253
  /**
2005
2254
  * DestroyStaticStore返回参数结构体
2006
2255
  */
@@ -2167,115 +2416,69 @@ export interface EstablishCloudBaseRunServerResponse {
2167
2416
  RequestId?: string;
2168
2417
  }
2169
2418
  /**
2170
- * 环境信息
2419
+ * CreateCloudBaseGWAPI请求参数结构体
2171
2420
  */
2172
- export interface EnvInfo {
2421
+ export interface CreateCloudBaseGWAPIRequest {
2173
2422
  /**
2174
- * 账户下该环境唯一标识
2423
+ * Service ID
2175
2424
  */
2176
- EnvId?: string;
2425
+ ServiceId: string;
2177
2426
  /**
2178
- * 环境来源。包含以下取值:
2179
- <li>miniapp:微信小程序</li>
2180
- <li>qcloud :腾讯云</li>
2427
+ * API Path
2181
2428
  */
2182
- Source?: string;
2429
+ Path: string;
2183
2430
  /**
2184
- * 环境别名,要以a-z开头,不能包含 a-zA-z0-9- 以外的字符
2431
+ * API类型(1表示云函数,2表示容器)
2185
2432
  */
2186
- Alias?: string;
2433
+ Type: number;
2187
2434
  /**
2188
- * 创建时间
2435
+ * API Name
2189
2436
  */
2190
- CreateTime?: string;
2437
+ Name: string;
2191
2438
  /**
2192
- * 最后修改时间
2439
+ * APIId,如果非空,表示修改绑定Path
2193
2440
  */
2194
- UpdateTime?: string;
2441
+ APIId?: string;
2195
2442
  /**
2196
- * 环境状态。包含以下取值:
2197
- <li>NORMAL:正常可用</li>
2198
- <li>UNAVAILABLE:服务不可用,可能是尚未初始化或者初始化过程中</li>
2443
+ * 自定义值通用字段(当Type为容器时必填)
2199
2444
  */
2200
- Status?: string;
2445
+ Custom?: string;
2201
2446
  /**
2202
- * 数据库列表
2447
+ * 认证开关 1为开启 2为关闭
2203
2448
  */
2204
- Databases?: Array<DatabasesInfo>;
2449
+ AuthSwitch?: number;
2205
2450
  /**
2206
- * 存储列表
2451
+ * 是否开启多地域
2207
2452
  */
2208
- Storages?: Array<StorageInfo>;
2453
+ EnableRegion?: boolean;
2209
2454
  /**
2210
- * 函数列表
2455
+ * 是否启用统一域名
2211
2456
  */
2212
- Functions?: Array<FunctionInfo>;
2457
+ EnableUnion?: boolean;
2213
2458
  /**
2214
- * tcb产品套餐ID,参考DescribePackages接口的返回值。
2459
+ * 域名
2215
2460
  */
2216
- PackageId?: string;
2461
+ Domain?: string;
2217
2462
  /**
2218
- * 套餐中文名称,参考DescribePackages接口的返回值。
2463
+ * 访问类型:"OA", "PUBLIC", "MINIAPP", "VPC" (不传默认PUBLIC+MINIAPP+VPC)
2219
2464
  */
2220
- PackageName?: string;
2465
+ AccessTypes?: Array<string>;
2221
2466
  /**
2222
- * 云日志服务列表
2467
+ * 是否开启路径透传,默认true表示短路径,即不开启路径透传(已弃用)
2223
2468
  */
2224
- LogServices?: Array<LogServiceInfo>;
2469
+ IsShortPath?: boolean;
2225
2470
  /**
2226
- * 静态资源信息
2471
+ * 路径透传,默认0关闭,1开启,2关闭
2227
2472
  */
2228
- StaticStorages?: Array<StaticStorageInfo>;
2473
+ PathTransmission?: number;
2229
2474
  /**
2230
- * 是否到期自动降为免费版
2231
- */
2232
- IsAutoDegrade?: boolean;
2233
- /**
2234
- * 环境渠道
2235
- */
2236
- EnvChannel?: string;
2237
- /**
2238
- * 支付方式。包含以下取值:
2239
- <li> prepayment:预付费</li>
2240
- <li> postpaid:后付费</li>
2241
- */
2242
- PayMode?: string;
2243
- /**
2244
- * 是否为默认环境
2245
- */
2246
- IsDefault?: boolean;
2247
- /**
2248
- * 环境所属地域
2249
- */
2250
- Region?: string;
2251
- /**
2252
- * 环境标签列表
2253
- */
2254
- Tags?: Array<Tag>;
2255
- /**
2256
- * 自定义日志服务
2257
- */
2258
- CustomLogServices?: Array<ClsInfo>;
2259
- /**
2260
- * 环境类型:baas, run, hoting, weda
2261
- */
2262
- EnvType?: string;
2263
- /**
2264
- * 是否是dau新套餐
2265
- */
2266
- IsDauPackage?: boolean;
2267
- /**
2268
- * 套餐类型:空\baas\tcbr
2269
- */
2270
- PackageType?: string;
2271
- /**
2272
- * 架构类型
2475
+ * 跨域校验,默认0开启,1开启,2关闭
2273
2476
  */
2274
- ArchitectureType?: string;
2477
+ EnableCheckAcrossDomain?: number;
2275
2478
  /**
2276
- * 回收标志,默认为空
2479
+ * 静态托管资源目录
2277
2480
  */
2278
- Recycle?: string;
2481
+ StaticFileDirectory?: string;
2279
2482
  }
2280
2483
  /**
2281
2484
  * DestroyEnv请求参数结构体
@@ -2304,14 +2507,9 @@ export interface DestroyEnvResponse {
2304
2507
  RequestId?: string;
2305
2508
  }
2306
2509
  /**
2307
- * DeleteTable返回参数结构体
2510
+ * CreateBillDeal请求参数结构体
2308
2511
  */
2309
- export interface DeleteTableResponse {
2310
- /**
2311
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2312
- */
2313
- RequestId?: string;
2314
- }
2512
+ export type CreateBillDealRequest = null;
2315
2513
  /**
2316
2514
  * 云开发项目来源
2317
2515
  */
@@ -2357,6 +2555,27 @@ export interface CodeSource {
2357
2555
  */
2358
2556
  ProjectName?: string;
2359
2557
  }
2558
+ /**
2559
+ * RunSql请求参数结构体
2560
+ */
2561
+ export interface RunSqlRequest {
2562
+ /**
2563
+ * 要执行的SQL语句
2564
+ */
2565
+ Sql: string;
2566
+ /**
2567
+ * 云开发环境ID
2568
+ */
2569
+ EnvId: string;
2570
+ /**
2571
+ * 数据库连接器实例信息
2572
+ */
2573
+ DbInstance?: DbInstance;
2574
+ /**
2575
+ * 是否只读;当 `true` 时仅允许以 `SELECT/WITH/SHOW/DESCRIBE/DESC/EXPLAIN` 开头的 SQL
2576
+ */
2577
+ ReadOnly?: boolean;
2578
+ }
2360
2579
  /**
2361
2580
  * 用户信息
2362
2581
  */
@@ -2480,6 +2699,27 @@ export interface TkeClusterInfo {
2480
2699
  */
2481
2700
  VersionClbSubnetId?: string;
2482
2701
  }
2702
+ /**
2703
+ * RunSql返回参数结构体
2704
+ */
2705
+ export interface RunSqlResponse {
2706
+ /**
2707
+ * 查询结果行,每个元素为 JSON 字符串
2708
+ */
2709
+ Items?: Array<string>;
2710
+ /**
2711
+ * 列元数据信息,每个元素为 JSON 字符串,字段包含 `name/databaseType/nullable/length/precision/scale`
2712
+ */
2713
+ Infos?: Array<string>;
2714
+ /**
2715
+ * 受影响的行数(INSERT/UPDATE/DELETE 等语句)
2716
+ */
2717
+ RowsAffected?: number;
2718
+ /**
2719
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2720
+ */
2721
+ RequestId?: string;
2722
+ }
2483
2723
  /**
2484
2724
  * DescribeActivityRecord请求参数结构体
2485
2725
  */
@@ -2724,25 +2964,68 @@ export interface CreateCloudBaseRunServerVersionRequest {
2724
2964
  PolicyDetail?: Array<HpaPolicy>;
2725
2965
  }
2726
2966
  /**
2727
- * RunSql请求参数结构体
2967
+ * DeleteCloudBaseGWAPI请求参数结构体
2728
2968
  */
2729
- export interface RunSqlRequest {
2969
+ export interface DeleteCloudBaseGWAPIRequest {
2730
2970
  /**
2731
- * 要执行的SQL语句
2971
+ * 服务ID
2732
2972
  */
2733
- Sql: string;
2973
+ ServiceId: string;
2734
2974
  /**
2735
- * 云开发环境ID
2975
+ * API Path
2976
+ */
2977
+ Path?: string;
2978
+ /**
2979
+ * API ID
2980
+ */
2981
+ APIId?: string;
2982
+ /**
2983
+ * API类型
2984
+ */
2985
+ Type?: number;
2986
+ /**
2987
+ * API Name
2988
+ */
2989
+ Name?: string;
2990
+ /**
2991
+ * 自定义值字段(Type为2时,传递容器服务名表示需要删除JNSGW)
2992
+ */
2993
+ Custom?: string;
2994
+ /**
2995
+ * 域名
2996
+ */
2997
+ Domain?: string;
2998
+ }
2999
+ /**
3000
+ * CreateCloudBaseGWAPI返回参数结构体
3001
+ */
3002
+ export interface CreateCloudBaseGWAPIResponse {
3003
+ /**
3004
+ * API ID
3005
+ 注意:此字段可能返回 null,表示取不到有效值。
3006
+ */
3007
+ APIId: string;
3008
+ /**
3009
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3010
+ */
3011
+ RequestId?: string;
3012
+ }
3013
+ /**
3014
+ * DescribeSafeRule请求参数结构体
3015
+ */
3016
+ export interface DescribeSafeRuleRequest {
3017
+ /**
3018
+ * 环境ID
2736
3019
  */
2737
3020
  EnvId: string;
2738
3021
  /**
2739
- * 数据库连接器实例信息
3022
+ * 集合名称
2740
3023
  */
2741
- DbInstance?: DbInstance;
3024
+ CollectionName: string;
2742
3025
  /**
2743
- * 是否只读;当 `true` 时仅允许以 `SELECT/WITH/SHOW/DESCRIBE/DESC/EXPLAIN` 开头的 SQL
3026
+ * 微信AppId,微信必传
2744
3027
  */
2745
- ReadOnly?: boolean;
3028
+ WxAppId?: string;
2746
3029
  }
2747
3030
  /**
2748
3031
  * DeleteUsers请求参数结构体
@@ -2857,6 +3140,29 @@ export interface IndexAccesses {
2857
3140
  */
2858
3141
  Since?: string;
2859
3142
  }
3143
+ /**
3144
+ * DescribeSafeRule返回参数结构体
3145
+ */
3146
+ export interface DescribeSafeRuleResponse {
3147
+ /**
3148
+ * 规则内容
3149
+ 注意:此字段可能返回 null,表示取不到有效值。
3150
+ */
3151
+ Rule?: string;
3152
+ /**
3153
+ * 权限标签。包含以下取值:
3154
+ <li> READONLY:所有用户可读,仅创建者和管理员可写</li>
3155
+ <li> PRIVATE:仅创建者及管理员可读写</li>
3156
+ <li> ADMINWRITE:所有用户可读,仅管理员可写</li>
3157
+ <li> ADMINONLY:仅管理员可读写</li>
3158
+ <li> CUSTOM:自定义安全规则</li>
3159
+ */
3160
+ AclTag?: string;
3161
+ /**
3162
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3163
+ */
3164
+ RequestId?: string;
3165
+ }
2860
3166
  /**
2861
3167
  * 安全网关自定义日志配置
2862
3168
  */
@@ -2947,6 +3253,35 @@ export interface EstablishCloudBaseRunServerRequest {
2947
3253
  */
2948
3254
  ServerPath?: string;
2949
3255
  }
3256
+ /**
3257
+ * DescribeCloudBaseProjectVersionList请求参数结构体
3258
+ */
3259
+ export interface DescribeCloudBaseProjectVersionListRequest {
3260
+ /**
3261
+ * 环境id
3262
+ */
3263
+ EnvId: string;
3264
+ /**
3265
+ * 项目名称
3266
+ */
3267
+ ProjectName: string;
3268
+ /**
3269
+ * 页大小
3270
+ */
3271
+ PageSize?: number;
3272
+ /**
3273
+ * 第几页,从0开始
3274
+ */
3275
+ PageNum?: number;
3276
+ /**
3277
+ * 起始时间
3278
+ */
3279
+ StartTime?: string;
3280
+ /**
3281
+ * 终止时间
3282
+ */
3283
+ EndTime?: string;
3284
+ }
2950
3285
  /**
2951
3286
  * ReinstateEnv返回参数结构体
2952
3287
  */
@@ -3007,6 +3342,15 @@ export interface DescribeSpecialCostItemsResponse {
3007
3342
  */
3008
3343
  RequestId?: string;
3009
3344
  }
3345
+ /**
3346
+ * DescribeStaticStore请求参数结构体
3347
+ */
3348
+ export interface DescribeStaticStoreRequest {
3349
+ /**
3350
+ * 环境ID
3351
+ */
3352
+ EnvId: string;
3353
+ }
3010
3354
  /**
3011
3355
  * DescribeWxGatewayRoutes请求参数结构体
3012
3356
  */
@@ -3028,6 +3372,15 @@ export interface DescribeWxGatewayRoutesRequest {
3028
3372
  */
3029
3373
  GatewayVersion?: string;
3030
3374
  }
3375
+ /**
3376
+ * ModifyCloudBaseGWAPI返回参数结构体
3377
+ */
3378
+ export interface ModifyCloudBaseGWAPIResponse {
3379
+ /**
3380
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3381
+ */
3382
+ RequestId?: string;
3383
+ }
3031
3384
  /**
3032
3385
  * KV参数的优先级
3033
3386
  */
@@ -3073,6 +3426,23 @@ export interface DescribeTablesResponse {
3073
3426
  */
3074
3427
  RequestId?: string;
3075
3428
  }
3429
+ /**
3430
+ * DescribeEnvAccountCircle返回参数结构体
3431
+ */
3432
+ export interface DescribeEnvAccountCircleResponse {
3433
+ /**
3434
+ * 环境计费周期开始时间
3435
+ */
3436
+ StartTime?: string;
3437
+ /**
3438
+ * 环境计费周期结束时间
3439
+ */
3440
+ EndTime?: string;
3441
+ /**
3442
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3443
+ */
3444
+ RequestId?: string;
3445
+ }
3076
3446
  /**
3077
3447
  * 子网信息
3078
3448
  */
@@ -3334,29 +3704,37 @@ export interface ModifyCloudBaseRunServerVersionRequest {
3334
3704
  OperatorRemark?: string;
3335
3705
  }
3336
3706
  /**
3337
- * EstablishWxGatewayRoute请求参数结构体
3707
+ * DescribeCloudBaseGWAPI返回参数结构体
3338
3708
  */
3339
- export interface EstablishWxGatewayRouteRequest {
3709
+ export interface DescribeCloudBaseGWAPIResponse {
3340
3710
  /**
3341
- * 网关id
3711
+ * API列表
3712
+ 注意:此字段可能返回 null,表示取不到有效值。
3342
3713
  */
3343
- GatewayId: string;
3714
+ APISet?: Array<CloudBaseGWAPI>;
3344
3715
  /**
3345
- * 服务名称
3716
+ * 是否开启http调用
3346
3717
  */
3347
- GatewayRouteName: string;
3718
+ EnableService?: boolean;
3348
3719
  /**
3349
- * 服务地址
3720
+ * 查询结果的数据总量
3721
+ 注意:此字段可能返回 null,表示取不到有效值。
3350
3722
  */
3351
- GatewayRouteAddr: string;
3723
+ Total?: number;
3352
3724
  /**
3353
- * 协议类型 http/https
3725
+ * 查询的分页参数
3726
+ 注意:此字段可能返回 null,表示取不到有效值。
3354
3727
  */
3355
- GatewayRouteProtocol: string;
3728
+ Offset?: number;
3356
3729
  /**
3357
- * 服务描述
3730
+ * 查询的分页参数
3731
+ 注意:此字段可能返回 null,表示取不到有效值。
3358
3732
  */
3359
- GatewayRouteDesc?: string;
3733
+ Limit?: number;
3734
+ /**
3735
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3736
+ */
3737
+ RequestId?: string;
3360
3738
  }
3361
3739
  /**
3362
3740
  * UnfreezeCloudBaseRunServers返回参数结构体
@@ -3381,38 +3759,83 @@ export interface UnfreezeCloudBaseRunServersResponse {
3381
3759
  RequestId?: string;
3382
3760
  }
3383
3761
  /**
3384
- * DescribeCbrServerVersion请求参数结构体
3762
+ * DescribeCloudBaseGWAPI请求参数结构体
3385
3763
  */
3386
- export interface DescribeCbrServerVersionRequest {
3764
+ export interface DescribeCloudBaseGWAPIRequest {
3387
3765
  /**
3388
- * 环境ID
3766
+ * 服务ID
3389
3767
  */
3390
- EnvId: string;
3768
+ ServiceId?: string;
3391
3769
  /**
3392
- * 服务名称
3770
+ * API域名
3393
3771
  */
3394
- ServerName: string;
3772
+ Domain?: string;
3395
3773
  /**
3396
- * 版本名称
3774
+ * API Path
3397
3775
  */
3398
- VersionName: string;
3399
- }
3400
- /**
3401
- * DescribeWxGatewayRoutes返回参数结构体
3402
- */
3403
- export interface DescribeWxGatewayRoutesResponse {
3776
+ Path?: string;
3404
3777
  /**
3405
- * 返回的服务个数
3778
+ * API ID
3406
3779
  */
3407
- TotalCount?: number;
3780
+ APIId?: string;
3408
3781
  /**
3409
- * 返回的服务列表
3782
+ * API类型,1为云函数,2为容器
3410
3783
  */
3411
- WxGatewayRouteSet?: Array<WxGatewayRountItem>;
3784
+ Type?: number;
3412
3785
  /**
3413
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3786
+ * API名,Type为1时为云函数名,Type为2时为容器服务名
3414
3787
  */
3415
- RequestId?: string;
3788
+ Name?: string;
3789
+ /**
3790
+ * 查询的分页参数,用于设置查询的偏移位置,0表示从头开始
3791
+ */
3792
+ Offset?: number;
3793
+ /**
3794
+ * 查询的分页参数,用于表示每次查询的最大返回数据量
3795
+ */
3796
+ Limit?: number;
3797
+ /**
3798
+ * 是否启用多地域
3799
+ */
3800
+ EnableRegion?: boolean;
3801
+ /**
3802
+ * 是否使用统一域名
3803
+ */
3804
+ EnableUnion?: boolean;
3805
+ }
3806
+ /**
3807
+ * DescribeCbrServerVersion请求参数结构体
3808
+ */
3809
+ export interface DescribeCbrServerVersionRequest {
3810
+ /**
3811
+ * 环境ID
3812
+ */
3813
+ EnvId: string;
3814
+ /**
3815
+ * 服务名称
3816
+ */
3817
+ ServerName: string;
3818
+ /**
3819
+ * 版本名称
3820
+ */
3821
+ VersionName: string;
3822
+ }
3823
+ /**
3824
+ * DescribeWxGatewayRoutes返回参数结构体
3825
+ */
3826
+ export interface DescribeWxGatewayRoutesResponse {
3827
+ /**
3828
+ * 返回的服务个数
3829
+ */
3830
+ TotalCount?: number;
3831
+ /**
3832
+ * 返回的服务列表
3833
+ */
3834
+ WxGatewayRouteSet?: Array<WxGatewayRountItem>;
3835
+ /**
3836
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3837
+ */
3838
+ RequestId?: string;
3416
3839
  }
3417
3840
  /**
3418
3841
  * 数据库资源信息
@@ -3474,6 +3897,52 @@ export interface ExtensionFile {
3474
3897
  */
3475
3898
  FileName: string;
3476
3899
  }
3900
+ /**
3901
+ * DescribeCloudBaseGWService返回参数结构体
3902
+ */
3903
+ export interface DescribeCloudBaseGWServiceResponse {
3904
+ /**
3905
+ * 服务列表
3906
+ 注意:此字段可能返回 null,表示取不到有效值。
3907
+ */
3908
+ ServiceSet?: Array<CloudBaseGWService>;
3909
+ /**
3910
+ * 是否开启服务
3911
+ */
3912
+ EnableService?: boolean;
3913
+ /**
3914
+ * 默认域名信息
3915
+ 注意:此字段可能返回 null,表示取不到有效值。
3916
+ */
3917
+ DefaultDomain?: string;
3918
+ /**
3919
+ * 是否开启CDN迁移
3920
+ 注意:此字段可能返回 null,表示取不到有效值。
3921
+ */
3922
+ EnableUnion?: boolean;
3923
+ /**
3924
+ * 是否开启跨域校验,默认开启 true
3925
+ 注意:此字段可能返回 null,表示取不到有效值。
3926
+ */
3927
+ EnableCheckAcrossDomain?: boolean;
3928
+ /**
3929
+ * 自定义路由规则
3930
+ 注意:此字段可能返回 null,表示取不到有效值。
3931
+ */
3932
+ CustomRoutingRules?: string;
3933
+ /**
3934
+ * 默认域名绑定类型,1绑定TCB-CDN,2绑定tcbingres(不经过cdn)
3935
+ */
3936
+ AccessFlag?: number;
3937
+ /**
3938
+ * 云接入源站域名
3939
+ */
3940
+ OriginDomain?: string;
3941
+ /**
3942
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3943
+ */
3944
+ RequestId?: string;
3945
+ }
3477
3946
  /**
3478
3947
  * DeleteGatewayVersion返回参数结构体
3479
3948
  */
@@ -3725,6 +4194,19 @@ export interface DescribeWxGatewaysResponse {
3725
4194
  */
3726
4195
  RequestId?: string;
3727
4196
  }
4197
+ /**
4198
+ * DeleteCloudBaseGWDomain请求参数结构体
4199
+ */
4200
+ export interface DeleteCloudBaseGWDomainRequest {
4201
+ /**
4202
+ * 服务ID
4203
+ */
4204
+ ServiceId: string;
4205
+ /**
4206
+ * 服务域名
4207
+ */
4208
+ Domain: string;
4209
+ }
3728
4210
  /**
3729
4211
  * DescribeGatewayVersions请求参数结构体
3730
4212
  */
@@ -3932,6 +4414,20 @@ export interface CreateTableResponse {
3932
4414
  */
3933
4415
  RequestId?: string;
3934
4416
  }
4417
+ /**
4418
+ * DescribeStaticStore返回参数结构体
4419
+ */
4420
+ export interface DescribeStaticStoreResponse {
4421
+ /**
4422
+ * 静态托管资源信息
4423
+ 注意:此字段可能返回 null,表示取不到有效值。
4424
+ */
4425
+ Data?: Array<StaticStoreInfo>;
4426
+ /**
4427
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4428
+ */
4429
+ RequestId?: string;
4430
+ }
3935
4431
  /**
3936
4432
  * ImageSecretInfo的信息
3937
4433
  */
@@ -4270,6 +4766,19 @@ export interface DescribeCloudBaseRunResourceResponse {
4270
4766
  */
4271
4767
  RequestId?: string;
4272
4768
  }
4769
+ /**
4770
+ * 索引的key值
4771
+ */
4772
+ export interface Indexkey {
4773
+ /**
4774
+ * 键名
4775
+ */
4776
+ Name?: string;
4777
+ /**
4778
+ * 方向:specify 1 for ascending or -1 for descending
4779
+ */
4780
+ Direction?: string;
4781
+ }
4273
4782
  /**
4274
4783
  * StorageInfo 资源信息
4275
4784
  */
@@ -4330,6 +4839,15 @@ export interface ModifyUserResp {
4330
4839
  */
4331
4840
  Success?: boolean;
4332
4841
  }
4842
+ /**
4843
+ * BindCloudBaseGWDomain返回参数结构体
4844
+ */
4845
+ export interface BindCloudBaseGWDomainResponse {
4846
+ /**
4847
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4848
+ */
4849
+ RequestId?: string;
4850
+ }
4333
4851
  /**
4334
4852
  * 后付费资源免费量信息
4335
4853
  */
@@ -4418,33 +4936,115 @@ export interface DescribeUserActivityInfoResponse {
4418
4936
  RequestId?: string;
4419
4937
  }
4420
4938
  /**
4421
- * UpdateTable请求参数结构体
4939
+ * 环境信息
4422
4940
  */
4423
- export interface UpdateTableRequest {
4941
+ export interface EnvInfo {
4424
4942
  /**
4425
- * 表名
4943
+ * 账户下该环境唯一标识
4426
4944
  */
4427
- TableName: string;
4945
+ EnvId?: string;
4428
4946
  /**
4429
- * FlexDB实例ID
4947
+ * 环境来源。包含以下取值:
4948
+ <li>miniapp:微信小程序</li>
4949
+ <li>qcloud :腾讯云</li>
4430
4950
  */
4431
- Tag?: string;
4951
+ Source?: string;
4432
4952
  /**
4433
- * 待删除索引信息
4953
+ * 环境别名,要以a-z开头,不能包含 a-zA-z0-9- 以外的字符
4434
4954
  */
4435
- DropIndexes?: Array<DropIndex>;
4955
+ Alias?: string;
4436
4956
  /**
4437
- * 待创建索引信息
4957
+ * 创建时间
4438
4958
  */
4439
- CreateIndexes?: Array<CreateIndex>;
4959
+ CreateTime?: string;
4440
4960
  /**
4441
- * 云开发环境ID
4961
+ * 最后修改时间
4442
4962
  */
4443
- EnvId?: string;
4963
+ UpdateTime?: string;
4444
4964
  /**
4445
- * MongoDB连接器配置
4965
+ * 环境状态。包含以下取值:
4966
+ <li>NORMAL:正常可用</li>
4967
+ <li>UNAVAILABLE:服务不可用,可能是尚未初始化或者初始化过程中</li>
4446
4968
  */
4447
- MongoConnector?: MongoConnector;
4969
+ Status?: string;
4970
+ /**
4971
+ * 数据库列表
4972
+ */
4973
+ Databases?: Array<DatabasesInfo>;
4974
+ /**
4975
+ * 存储列表
4976
+ */
4977
+ Storages?: Array<StorageInfo>;
4978
+ /**
4979
+ * 函数列表
4980
+ */
4981
+ Functions?: Array<FunctionInfo>;
4982
+ /**
4983
+ * tcb产品套餐ID,参考DescribePackages接口的返回值。
4984
+ */
4985
+ PackageId?: string;
4986
+ /**
4987
+ * 套餐中文名称,参考DescribePackages接口的返回值。
4988
+ */
4989
+ PackageName?: string;
4990
+ /**
4991
+ * 云日志服务列表
4992
+ */
4993
+ LogServices?: Array<LogServiceInfo>;
4994
+ /**
4995
+ * 静态资源信息
4996
+ */
4997
+ StaticStorages?: Array<StaticStorageInfo>;
4998
+ /**
4999
+ * 是否到期自动降为免费版
5000
+ */
5001
+ IsAutoDegrade?: boolean;
5002
+ /**
5003
+ * 环境渠道
5004
+ */
5005
+ EnvChannel?: string;
5006
+ /**
5007
+ * 支付方式。包含以下取值:
5008
+ <li> prepayment:预付费</li>
5009
+ <li> postpaid:后付费</li>
5010
+ */
5011
+ PayMode?: string;
5012
+ /**
5013
+ * 是否为默认环境
5014
+ */
5015
+ IsDefault?: boolean;
5016
+ /**
5017
+ * 环境所属地域
5018
+ */
5019
+ Region?: string;
5020
+ /**
5021
+ * 环境标签列表
5022
+ */
5023
+ Tags?: Array<Tag>;
5024
+ /**
5025
+ * 自定义日志服务
5026
+ */
5027
+ CustomLogServices?: Array<ClsInfo>;
5028
+ /**
5029
+ * 环境类型:baas, run, hoting, weda
5030
+ */
5031
+ EnvType?: string;
5032
+ /**
5033
+ * 是否是dau新套餐
5034
+ */
5035
+ IsDauPackage?: boolean;
5036
+ /**
5037
+ * 套餐类型:空\baas\tcbr
5038
+ */
5039
+ PackageType?: string;
5040
+ /**
5041
+ * 架构类型
5042
+ */
5043
+ ArchitectureType?: string;
5044
+ /**
5045
+ * 回收标志,默认为空
5046
+ */
5047
+ Recycle?: string;
4448
5048
  }
4449
5049
  /**
4450
5050
  * DescribePostpayFreeQuotas返回参数结构体
@@ -4543,25 +5143,17 @@ export interface AuthDomain {
4543
5143
  UpdateTime?: string;
4544
5144
  }
4545
5145
  /**
4546
- * RunSql返回参数结构体
5146
+ * http访问服务路由qps策略
4547
5147
  */
4548
- export interface RunSqlResponse {
4549
- /**
4550
- * 查询结果行,每个元素为 JSON 字符串
4551
- */
4552
- Items?: Array<string>;
4553
- /**
4554
- * 列元数据信息,每个元素为 JSON 字符串,字段包含 `name/databaseType/nullable/length/precision/scale`
4555
- */
4556
- Infos?: Array<string>;
5148
+ export interface CloudBaseGWAPIQPSPolicy {
4557
5149
  /**
4558
- * 受影响的行数(INSERT/UPDATE/DELETE 等语句)
5150
+ * qps限额总量
4559
5151
  */
4560
- RowsAffected?: number;
5152
+ QPSTotal?: number;
4561
5153
  /**
4562
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5154
+ * 客户端限频,如果不限制,LimitBy=None
4563
5155
  */
4564
- RequestId?: string;
5156
+ QPSPerClient?: CloudBaseClientQPSPolicy;
4565
5157
  }
4566
5158
  /**
4567
5159
  * DescribeCloudBaseProjectLatestVersionList请求参数结构体
@@ -4661,106 +5253,26 @@ export interface DescribeTableResponse {
4661
5253
  RequestId?: string;
4662
5254
  }
4663
5255
  /**
4664
- * DescribeCloudBaseProjectVersionList请求参数结构体
5256
+ * DeleteTable返回参数结构体
4665
5257
  */
4666
- export interface DescribeCloudBaseProjectVersionListRequest {
5258
+ export interface DeleteTableResponse {
4667
5259
  /**
4668
- * 环境id
5260
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4669
5261
  */
4670
- EnvId: string;
5262
+ RequestId?: string;
5263
+ }
5264
+ /**
5265
+ * http service选项
5266
+ */
5267
+ export interface CloudBaseOption {
4671
5268
  /**
4672
- * 项目名称
5269
+ *
4673
5270
  */
4674
- ProjectName: string;
5271
+ Key: string;
4675
5272
  /**
4676
- * 页大小
5273
+ *
4677
5274
  */
4678
- PageSize?: number;
4679
- /**
4680
- * 第几页,从0开始
4681
- */
4682
- PageNum?: number;
4683
- /**
4684
- * 起始时间
4685
- */
4686
- StartTime?: string;
4687
- /**
4688
- * 终止时间
4689
- */
4690
- EndTime?: string;
4691
- }
4692
- /**
4693
- * 安全网关路由
4694
- */
4695
- export interface WxGatewayRountItem {
4696
- /**
4697
- * 安全网关路由名称
4698
- */
4699
- GatewayRouteName?: string;
4700
- /**
4701
- * 安全网关路由协议
4702
- */
4703
- GatewayRouteProtocol?: string;
4704
- /**
4705
- * 安全网关路由地址
4706
- */
4707
- GatewayRouteAddr?: string;
4708
- /**
4709
- * 安全网关路由描述
4710
- */
4711
- GatewayRouteDesc?: string;
4712
- /**
4713
- * 安全网关后端集群id,如果是外网服务,该id与GatewayRountName相同
4714
- */
4715
- GatewayRouteClusterId?: string;
4716
- /**
4717
- * 安全网关创建时间
4718
- */
4719
- GatewayRouteCreateTime?: string;
4720
- /**
4721
- * 安全网关路由限制
4722
- */
4723
- FrequencyLimitConfig?: Array<FrequencyLimitConfig>;
4724
- /**
4725
- * ip代表绑定后端ip。cbr代表云托管服务
4726
- */
4727
- GatewayRouteServerType?: string;
4728
- /**
4729
- * 服务名
4730
- */
4731
- GatewayRouteServerName?: string;
4732
- /**
4733
- * ip
4734
- */
4735
- GatewayRewriteHost?: string;
4736
- /**
4737
- * 网关版本
4738
- */
4739
- GatewayVersion?: string;
4740
- /**
4741
- * 请求路径
4742
- */
4743
- GatewayRoutePath?: string;
4744
- /**
4745
- * 请求模式
4746
- */
4747
- GatewayRouteMethod?: string;
4748
- /**
4749
- * 4层端口
4750
- */
4751
- GatewayRoutePort?: number;
4752
- /**
4753
- * 路由环境ID
4754
- */
4755
- GatewayRouteEnvId?: string;
4756
- /**
4757
- * 路径匹配类型,支持prefix(前缀匹配),regex(正则匹配), 默认prefix
4758
- */
4759
- GatewayRoutePathMatchType?: string;
4760
- /**
4761
- * 安全网关自定义头部
4762
- */
4763
- CustomHeader?: CustomHeader;
5275
+ Value: string;
4764
5276
  }
4765
5277
  /**
4766
5278
  * 索引信息
@@ -4933,6 +5445,40 @@ export interface DescribeCloudBaseRunVersionResponse {
4933
5445
  */
4934
5446
  RequestId?: string;
4935
5447
  }
5448
+ /**
5449
+ * SearchClsLog返回参数结构体
5450
+ */
5451
+ export interface SearchClsLogResponse {
5452
+ /**
5453
+ * 日志内容结果
5454
+ */
5455
+ LogResults?: LogResObject;
5456
+ /**
5457
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5458
+ */
5459
+ RequestId?: string;
5460
+ }
5461
+ /**
5462
+ * DescribeCloudBaseGWService请求参数结构体
5463
+ */
5464
+ export interface DescribeCloudBaseGWServiceRequest {
5465
+ /**
5466
+ * 服务ID
5467
+ */
5468
+ ServiceId?: string;
5469
+ /**
5470
+ * 服务域名
5471
+ */
5472
+ Domain?: string;
5473
+ /**
5474
+ * 是否启用多地域
5475
+ */
5476
+ EnableRegion?: boolean;
5477
+ /**
5478
+ * 是否启用统一域名
5479
+ */
5480
+ EnableUnion?: boolean;
5481
+ }
4936
5482
  /**
4937
5483
  * DescribeCloudBaseRunResourceForExtend请求参数结构体
4938
5484
  */
@@ -4967,6 +5513,43 @@ export interface DescribeCloudBaseBuildServiceRequest {
4967
5513
  */
4968
5514
  Suffix?: string;
4969
5515
  }
5516
+ /**
5517
+ * SearchClsLog请求参数结构体
5518
+ */
5519
+ export interface SearchClsLogRequest {
5520
+ /**
5521
+ * 环境唯一ID
5522
+ */
5523
+ EnvId: string;
5524
+ /**
5525
+ * 查询起始时间条件
5526
+ */
5527
+ StartTime: string;
5528
+ /**
5529
+ * 查询结束时间条件
5530
+ */
5531
+ EndTime: string;
5532
+ /**
5533
+ * 查询语句,例如查询云函数:(src:app OR src:system) AND log:\"START RequestId*\", 查询云数据库:module:database,查询审批流:module:workflow,查询模型:module:model,查询用户权限:module:auth,以上仅为示例语句,实际使用时请根据具体日志内容进行调整,查询语句需严格遵循CLS(Cloud Log Service)语法规范 详细的语法规则请参考官方档:https://cloud.tencent.com/document/product/614/47044
5534
+ */
5535
+ QueryString: string;
5536
+ /**
5537
+ * 单次要返回的日志条数,单次返回的最大条数为100
5538
+ */
5539
+ Limit: number;
5540
+ /**
5541
+ * 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围
5542
+ */
5543
+ Context?: string;
5544
+ /**
5545
+ * 按时间排序 asc(升序)或者 desc(降序),默认为 desc
5546
+ */
5547
+ Sort?: string;
5548
+ /**
5549
+ * 是否使用Lucene语法,默认为false
5550
+ */
5551
+ UseLucene?: boolean;
5552
+ }
4970
5553
  /**
4971
5554
  * 代码仓库里 Repo的信息描述
4972
5555
  */
@@ -5045,6 +5628,19 @@ export interface DescribeCloudBaseRunServerResponse {
5045
5628
  */
5046
5629
  RequestId?: string;
5047
5630
  }
5631
+ /**
5632
+ * DescribeDatabaseACL请求参数结构体
5633
+ */
5634
+ export interface DescribeDatabaseACLRequest {
5635
+ /**
5636
+ * 环境ID
5637
+ */
5638
+ EnvId: string;
5639
+ /**
5640
+ * 集合名称
5641
+ */
5642
+ CollectionName: string;
5643
+ }
5048
5644
  /**
5049
5645
  * DescribeUserActivityInfo请求参数结构体
5050
5646
  */
@@ -5067,17 +5663,17 @@ export interface DescribeUserActivityInfoRequest {
5067
5663
  GroupId?: string;
5068
5664
  }
5069
5665
  /**
5070
- * UnfreezeCloudBaseRunServers请求参数结构体
5666
+ * DeleteCloudBaseGWAPI返回参数结构体
5071
5667
  */
5072
- export interface UnfreezeCloudBaseRunServersRequest {
5668
+ export interface DeleteCloudBaseGWAPIResponse {
5073
5669
  /**
5074
- * 环境ID
5670
+ * 最终删除API个数
5075
5671
  */
5076
- EnvId: string;
5672
+ Count?: number;
5077
5673
  /**
5078
- * 服务名称列表
5674
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5079
5675
  */
5080
- ServerNameList: Array<string>;
5676
+ RequestId?: string;
5081
5677
  }
5082
5678
  /**
5083
5679
  * 标签键值对
@@ -5105,6 +5701,15 @@ export interface DescribeCloudBaseRunVersionSnapshotResponse {
5105
5701
  */
5106
5702
  RequestId?: string;
5107
5703
  }
5704
+ /**
5705
+ * ReinstateEnv请求参数结构体
5706
+ */
5707
+ export interface ReinstateEnvRequest {
5708
+ /**
5709
+ * 环境ID
5710
+ */
5711
+ EnvId: string;
5712
+ }
5108
5713
  /**
5109
5714
  * CreateCloudBaseRunResource请求参数结构体
5110
5715
  */
@@ -5600,6 +6205,48 @@ export interface DescribeEnvDealRegionRequest {
5600
6205
  */
5601
6206
  DealRegion: string;
5602
6207
  }
6208
+ /**
6209
+ * UpdateTable请求参数结构体
6210
+ */
6211
+ export interface UpdateTableRequest {
6212
+ /**
6213
+ * 表名
6214
+ */
6215
+ TableName: string;
6216
+ /**
6217
+ * FlexDB实例ID
6218
+ */
6219
+ Tag?: string;
6220
+ /**
6221
+ * 待删除索引信息
6222
+ */
6223
+ DropIndexes?: Array<DropIndex>;
6224
+ /**
6225
+ * 待创建索引信息
6226
+ */
6227
+ CreateIndexes?: Array<CreateIndex>;
6228
+ /**
6229
+ * 云开发环境ID
6230
+ */
6231
+ EnvId?: string;
6232
+ /**
6233
+ * MongoDB连接器配置
6234
+ */
6235
+ MongoConnector?: MongoConnector;
6236
+ }
6237
+ /**
6238
+ * DeleteCloudBaseGWDomain返回参数结构体
6239
+ */
6240
+ export interface DeleteCloudBaseGWDomainResponse {
6241
+ /**
6242
+ * 删除个数
6243
+ */
6244
+ Count?: number;
6245
+ /**
6246
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6247
+ */
6248
+ RequestId?: string;
6249
+ }
5603
6250
  /**
5604
6251
  * 1分钱计费详情
5605
6252
  */
@@ -5664,6 +6311,85 @@ export interface DescribeExtensionUploadInfoResponse {
5664
6311
  */
5665
6312
  RequestId?: string;
5666
6313
  }
6314
+ /**
6315
+ * 网关服务
6316
+ */
6317
+ export interface CloudBaseGWService {
6318
+ /**
6319
+ * 服务ID
6320
+ */
6321
+ ServiceId?: string;
6322
+ /**
6323
+ * 服务域名
6324
+ */
6325
+ Domain?: string;
6326
+ /**
6327
+ * 开启时间
6328
+ */
6329
+ OpenTime?: number;
6330
+ /**
6331
+ * 绑定状态,1 绑定中;2绑定失败;3绑定成功
6332
+ 注意:此字段可能返回 null,表示取不到有效值。
6333
+ */
6334
+ Status?: number;
6335
+ /**
6336
+ * 是否被抢占, 被抢占表示域名被其他环境绑定了,需要解绑或者重新绑定。
6337
+ 注意:此字段可能返回 null,表示取不到有效值。
6338
+ */
6339
+ IsPreempted?: boolean;
6340
+ /**
6341
+ * 是否开启多地域
6342
+ 注意:此字段可能返回 null,表示取不到有效值。
6343
+ */
6344
+ EnableRegion?: boolean;
6345
+ /**
6346
+ * cdn CName地址
6347
+ 注意:此字段可能返回 null,表示取不到有效值。
6348
+ */
6349
+ Cname?: string;
6350
+ /**
6351
+ * 统一域名状态
6352
+ 注意:此字段可能返回 null,表示取不到有效值。
6353
+ */
6354
+ UnionStatus?: number;
6355
+ /**
6356
+ * CName状态
6357
+ 注意:此字段可能返回 null,表示取不到有效值。
6358
+ */
6359
+ CnameStatus?: number;
6360
+ /**
6361
+ * 证书Id
6362
+ 注意:此字段可能返回 null,表示取不到有效值。
6363
+ */
6364
+ CertId?: string;
6365
+ /**
6366
+ * 是否强制https
6367
+ 注意:此字段可能返回 null,表示取不到有效值。
6368
+ */
6369
+ ForceHttps?: boolean;
6370
+ /**
6371
+ * icp黑名单封禁状态,0-未封禁,1-封禁
6372
+ 注意:此字段可能返回 null,表示取不到有效值。
6373
+ */
6374
+ IcpForbidStatus?: number;
6375
+ /**
6376
+ * 自定义路由规则
6377
+ 注意:此字段可能返回 null,表示取不到有效值。
6378
+ */
6379
+ CustomRoutingRules?: string;
6380
+ /**
6381
+ * 绑定类型,1绑定cdn,2源站,4自定义
6382
+ */
6383
+ BindFlag?: number;
6384
+ /**
6385
+ * TcbIngress源站cname
6386
+ */
6387
+ OriginCname?: string;
6388
+ /**
6389
+ * 自定义cname
6390
+ */
6391
+ CustomCname?: string;
6392
+ }
5667
6393
  /**
5668
6394
  * ModifyEnv请求参数结构体
5669
6395
  */
@@ -5783,6 +6509,27 @@ export interface DescribePostpayPackageFreeQuotasResponse {
5783
6509
  */
5784
6510
  RequestId?: string;
5785
6511
  }
6512
+ /**
6513
+ * BindCloudBaseGWDomain请求参数结构体
6514
+ */
6515
+ export interface BindCloudBaseGWDomainRequest {
6516
+ /**
6517
+ * 服务ID
6518
+ */
6519
+ ServiceId: string;
6520
+ /**
6521
+ * 服务域名
6522
+ */
6523
+ Domain: string;
6524
+ /**
6525
+ * 证书ID
6526
+ */
6527
+ CertId?: string;
6528
+ /**
6529
+ * 是否启用多地域
6530
+ */
6531
+ EnableRegion?: boolean;
6532
+ }
5786
6533
  /**
5787
6534
  * 创建用户返回结果
5788
6535
  */
@@ -5822,3 +6569,97 @@ export interface CloudBaseCodeRepoName {
5822
6569
  */
5823
6570
  FullName?: string;
5824
6571
  }
6572
+ /**
6573
+ * tcb 网关API
6574
+ */
6575
+ export interface CloudBaseGWAPI {
6576
+ /**
6577
+ * 服务ID
6578
+ */
6579
+ ServiceId?: string;
6580
+ /**
6581
+ * API ID
6582
+ */
6583
+ APIId?: string;
6584
+ /**
6585
+ * API Path
6586
+ */
6587
+ Path?: string;
6588
+ /**
6589
+ * API 类型
6590
+ */
6591
+ Type?: number;
6592
+ /**
6593
+ * API 名
6594
+ */
6595
+ Name?: string;
6596
+ /**
6597
+ * API创建时间
6598
+ */
6599
+ CreateTime?: number;
6600
+ /**
6601
+ * 自定义值通用字段:
6602
+ Type为1时,该值为空。
6603
+ Type为2时,该值为容器的代理IP:PORT数组。
6604
+ */
6605
+ Custom?: string;
6606
+ /**
6607
+ * 表示是否开启认证
6608
+ 注意:此字段可能返回 null,表示取不到有效值。
6609
+ */
6610
+ EnableAuth?: boolean;
6611
+ /**
6612
+ * 云开发环境ID
6613
+ 注意:此字段可能返回 null,表示取不到有效值。
6614
+ */
6615
+ EnvId?: string;
6616
+ /**
6617
+ * 访问类型(该参数暂不对外暴露)
6618
+ 注意:此字段可能返回 null,表示取不到有效值。
6619
+ */
6620
+ AccessType?: number;
6621
+ /**
6622
+ * 统一发布状态
6623
+ 注意:此字段可能返回 null,表示取不到有效值。
6624
+ */
6625
+ UnionStatus?: number;
6626
+ /**
6627
+ * 域名(*表示所有域名)
6628
+ 注意:此字段可能返回 null,表示取不到有效值。
6629
+ */
6630
+ Domain?: string;
6631
+ /**
6632
+ * 是否有路径冲突
6633
+ 注意:此字段可能返回 null,表示取不到有效值。
6634
+ */
6635
+ ConflictFlag?: boolean;
6636
+ /**
6637
+ * 域名状态
6638
+ 注意:此字段可能返回 null,表示取不到有效值。
6639
+ */
6640
+ DomainStatus?: number;
6641
+ /**
6642
+ * 是否开启路径透传,默认true表示短路径,即不开启(已弃用)
6643
+ 注意:此字段可能返回 null,表示取不到有效值。
6644
+ */
6645
+ IsShortPath?: boolean;
6646
+ /**
6647
+ * 路径透传,默认0关闭,1开启,2关闭
6648
+ 注意:此字段可能返回 null,表示取不到有效值。
6649
+ */
6650
+ PathTransmission?: number;
6651
+ /**
6652
+ * 跨域校验,默认0开启,1开启,2关闭
6653
+ 注意:此字段可能返回 null,表示取不到有效值。
6654
+ */
6655
+ EnableCheckAcrossDomain?: number;
6656
+ /**
6657
+ * 静态托管文件目录
6658
+ 注意:此字段可能返回 null,表示取不到有效值。
6659
+ */
6660
+ StaticFileDirectory?: string;
6661
+ /**
6662
+ * QPS策略
6663
+ */
6664
+ QPSPolicy?: CloudBaseGWAPIQPSPolicy;
6665
+ }