tencentcloud-sdk-nodejs 4.1.303 → 4.1.305

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 (81) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/apm/v20210622/apm_client.js +3 -0
  3. package/es/services/cynosdb/v20190107/cynosdb_client.js +3 -0
  4. package/es/services/ioa/v20220601/ioa_client.js +3 -0
  5. package/es/services/mps/v20190612/mps_client.js +16 -4
  6. package/es/services/postgres/v20170312/postgres_client.js +16 -4
  7. package/es/services/sms/v20210111/sms_client.js +7 -4
  8. package/es/services/tcb/v20180608/tcb_client.js +10 -7
  9. package/es/services/teo/v20220901/teo_client.js +3 -0
  10. package/es/services/thpc/v20230321/thpc_client.js +38 -11
  11. package/es/services/trtc/v20190722/trtc_client.js +33 -12
  12. package/es/services/vod/v20180717/vod_client.js +26 -8
  13. package/package.json +1 -1
  14. package/tencentcloud/common/sdk_version.d.ts +1 -1
  15. package/tencentcloud/common/sdk_version.js +1 -1
  16. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
  17. package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
  18. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +125 -57
  19. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +48 -34
  20. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +23 -27
  21. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +8 -0
  22. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +1 -1
  23. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +2 -0
  24. package/tencentcloud/services/clb/v20180317/clb_client.js +2 -0
  25. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +117 -1
  26. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -2
  27. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  28. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  29. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +36 -5
  30. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +17 -22
  31. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +9 -5
  32. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +70 -105
  33. package/tencentcloud/services/ess/v20201111/ess_client.js +70 -105
  34. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +13 -42
  35. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +23 -22
  36. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +23 -22
  37. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -37
  38. package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +5 -1
  39. package/tencentcloud/services/ioa/v20220601/ioa_client.js +6 -0
  40. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +127 -28
  41. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +92 -57
  42. package/tencentcloud/services/live/v20180801/live_models.d.ts +13 -17
  43. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +27 -23
  44. package/tencentcloud/services/monitor/v20230616/monitor_models.d.ts +36 -2
  45. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +21 -5
  46. package/tencentcloud/services/mps/v20190612/mps_client.js +30 -6
  47. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +440 -308
  48. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +33 -25
  49. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +23 -7
  50. package/tencentcloud/services/postgres/v20170312/postgres_client.js +32 -8
  51. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +282 -98
  52. package/tencentcloud/services/smh/v20210712/smh_models.d.ts +55 -13
  53. package/tencentcloud/services/sms/v20210111/sms_client.d.ts +11 -7
  54. package/tencentcloud/services/sms/v20210111/sms_client.js +14 -8
  55. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +93 -9
  56. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +14 -10
  57. package/tencentcloud/services/tcb/v20180608/tcb_client.js +19 -13
  58. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +31 -0
  59. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +13 -23
  60. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +4 -4
  61. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +4 -4
  62. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +44 -32
  63. package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +46 -3
  64. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +5 -1
  65. package/tencentcloud/services/teo/v20220901/teo_client.js +6 -0
  66. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +140 -0
  67. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +9 -0
  68. package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +51 -15
  69. package/tencentcloud/services/thpc/v20230321/thpc_client.js +74 -20
  70. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +625 -224
  71. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +67 -25
  72. package/tencentcloud/services/trtc/v20190722/trtc_client.js +86 -30
  73. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +282 -186
  74. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +48 -18
  75. package/tencentcloud/services/vod/v20180717/vod_client.js +63 -21
  76. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1294 -358
  77. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -0
  78. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -0
  79. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +100 -93
  80. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
  81. package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +24 -143
@@ -158,6 +158,31 @@ export interface DescribeAuditLogsRequest {
158
158
  */
159
159
  Filter?: AuditLogFilter;
160
160
  }
161
+ /**
162
+ * ModifyDBProxySSLConfig请求参数结构体
163
+ */
164
+ export interface ModifyDBProxySSLConfigRequest {
165
+ /**
166
+ * 实例 ID,指定要修改 SSL 配置的数据库代理所属的目标实例
167
+ */
168
+ DBInstanceId: string;
169
+ /**
170
+ * 代理组 ID,指定要修改 SSL 配置的代理组
171
+ */
172
+ ProxyGroupId: string;
173
+ /**
174
+ * 代理地址 ID,指定要修改 SSL 配置的代理连接地址
175
+ */
176
+ ProxyAddressId: string;
177
+ /**
178
+ * SSL 开关。true:开启 SSL;false:关闭 SSL
179
+ */
180
+ SSLEnabled: boolean;
181
+ /**
182
+ * 连接地址。SSLEnabled 为 true 时必填,需与代理地址的 Vip 保持一致,用于 SSL 证书校验
183
+ */
184
+ ConnectAddress?: string;
185
+ }
161
186
  /**
162
187
  * DescribeMaintainTimeWindow请求参数结构体
163
188
  */
@@ -457,6 +482,27 @@ export interface ParameterTemplate {
457
482
  */
458
483
  TemplateDescription?: string;
459
484
  }
485
+ /**
486
+ * DescribeDBProxySSLConfig返回参数结构体
487
+ */
488
+ export interface DescribeDBProxySSLConfigResponse {
489
+ /**
490
+ * <p>SSL 是否开启。true 表示已开启,false 表示未开启。</p>
491
+ */
492
+ SSLEnabled?: boolean;
493
+ /**
494
+ * <p>SSL 连接的地址(VIP 或域名)。</p>
495
+ */
496
+ ConnectAddress?: string;
497
+ /**
498
+ * <p>CA 证书下载地址。仅在 SSL 开启时有值。</p>
499
+ */
500
+ CAUrl?: string;
501
+ /**
502
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
503
+ */
504
+ RequestId?: string;
505
+ }
460
506
  /**
461
507
  * CreateDBInstanceNetworkAccess返回参数结构体
462
508
  */
@@ -739,6 +785,19 @@ export interface ProxyNodeCustom {
739
785
  */
740
786
  Mem: number;
741
787
  }
788
+ /**
789
+ * CreateDBProxyAddress返回参数结构体
790
+ */
791
+ export interface CreateDBProxyAddressResponse {
792
+ /**
793
+ * <p>异步任务 ID。可通过 DescribeTasks 接口查询任务执行进度</p>
794
+ */
795
+ TaskId?: number;
796
+ /**
797
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
798
+ */
799
+ RequestId?: string;
800
+ }
742
801
  /**
743
802
  * Proxy 路由信息,描述某个 Proxy 接入地址下到具体 PG 节点的路由规则。
744
803
  */
@@ -929,21 +988,21 @@ export interface CreateAccountRequest {
929
988
  OpenCam?: boolean;
930
989
  }
931
990
  /**
932
- * DescribeTasks返回参数结构体
991
+ * DescribeDBProxySSLConfig请求参数结构体
933
992
  */
934
- export interface DescribeTasksResponse {
993
+ export interface DescribeDBProxySSLConfigRequest {
935
994
  /**
936
- * <p>查询到的任务数量</p>
995
+ * <p>实例 ID。</p>
937
996
  */
938
- TotalCount?: number;
997
+ DBInstanceId: string;
939
998
  /**
940
- * <p>任务信息列表</p>
999
+ * <p>代理组 ID。</p>
941
1000
  */
942
- TaskSet?: Array<TaskSet>;
1001
+ ProxyGroupId: string;
943
1002
  /**
944
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1003
+ * <p>代理连接地址 ID。</p>
945
1004
  */
946
- RequestId?: string;
1005
+ ProxyAddressId: string;
947
1006
  }
948
1007
  /**
949
1008
  * DescribeMaintainTimeWindow返回参数结构体
@@ -1512,6 +1571,23 @@ export interface ModifyDBInstancesProjectResponse {
1512
1571
  */
1513
1572
  RequestId?: string;
1514
1573
  }
1574
+ /**
1575
+ * CloseDBProxyAddress请求参数结构体
1576
+ */
1577
+ export interface CloseDBProxyAddressRequest {
1578
+ /**
1579
+ * <p>实例 ID,指定要关闭代理地址的目标实例</p>
1580
+ */
1581
+ DBInstanceId: string;
1582
+ /**
1583
+ * <p>代理地址 ID,指定要关闭(删除)的代理地址</p>
1584
+ */
1585
+ AddressId: string;
1586
+ /**
1587
+ * <p>代理组 ID。不传则按实例自动查找其默认代理组</p>
1588
+ */
1589
+ ProxyGroupId?: string;
1590
+ }
1515
1591
  /**
1516
1592
  * CreateBaseBackup返回参数结构体
1517
1593
  */
@@ -1744,41 +1820,65 @@ export interface DescribeDBProxySpecsResponse {
1744
1820
  RequestId?: string;
1745
1821
  }
1746
1822
  /**
1747
- * DescribeTasks请求参数结构体
1823
+ * CreateDBProxyAddress请求参数结构体
1748
1824
  */
1749
- export interface DescribeTasksRequest {
1825
+ export interface CreateDBProxyAddressRequest {
1750
1826
  /**
1751
- * <p>按照任务ID进行查询。其余云API中返回的FlowId和TaskId等价。</p>
1827
+ * <p>实例 ID,指定要创建代理地址的目标实例</p>
1752
1828
  */
1753
- TaskId?: number;
1829
+ DBInstanceId: string;
1754
1830
  /**
1755
- * <p>按照数据库实例ID进行查询。</p>
1831
+ * <p>VPC ID,代理地址所属的私有网络</p>
1756
1832
  */
1757
- DBInstanceId?: string;
1833
+ VpcId: string;
1758
1834
  /**
1759
- * <p>任务的最早开始时间,形如2024-08-23 00:00:00,默认只展示180天内的数据。</p>
1835
+ * <p>子网 ID,代理地址所属的子网</p>
1760
1836
  */
1761
- MinStartTime?: string;
1837
+ SubnetId: string;
1762
1838
  /**
1763
- * <p>任务的最晚开始时间,形如2024-08-23 00:00:00,默认为当前时间。</p>
1839
+ * <p>代理组 ID。不传则按实例自动查找其默认代理组</p>
1764
1840
  */
1765
- MaxStartTime?: string;
1841
+ ProxyGroupId?: string;
1766
1842
  /**
1767
- * <p>每页显示数量,取值范围为1-100,默认为返回20条。</p>
1843
+ * <p>安全组 ID 列表,用于代理地址的网络安全控制</p>
1768
1844
  */
1769
- Limit?: number;
1845
+ SecurityGroup?: Array<string>;
1770
1846
  /**
1771
- * <p>数据偏移量,从0开始。</p>
1847
+ * <p>代理地址备注信息,最长 256 个字符</p>
1772
1848
  */
1773
- Offset?: number;
1849
+ Description?: string;
1774
1850
  /**
1775
- * <p>排序字段,支持StartTime,EndTime,默认为StartTime。</p>
1851
+ * <p>连接池开关。true:开启连接池;false:关闭连接池</p>
1776
1852
  */
1777
- OrderBy?: string;
1853
+ ConnectionPool?: boolean;
1778
1854
  /**
1779
- * <p>排序方式,包括升序:asc,降序:desc,默认为desc。</p>
1855
+ * <p>权重模式。取值:<ul><li>system:系统自动分配权重</li><li>custom:手动指定权重,需配合 ProxyAllocation 参数使用</li></ul></p>
1780
1856
  */
1781
- OrderByType?: string;
1857
+ WeightMode?: string;
1858
+ /**
1859
+ * <p>路由权重列表。WeightMode 为 custom 时必填。若WeightMode传system或不传 ,则传入的权重不生效,由系统分配默认权重。</p>
1860
+ */
1861
+ ProxyAllocation?: Array<ProxyRoute>;
1862
+ /**
1863
+ * <p>是否自动将新增的只读实例加入读写分离。true:自动加入;false:不自动加入</p>
1864
+ */
1865
+ RoAutoAdd?: boolean;
1866
+ /**
1867
+ * <p>延迟剔除开关。true:开启延迟剔除,当只读实例延迟超过阈值时自动剔除路由;false:关闭延迟剔除。开启时 LatencyRemoveTime 必填</p>
1868
+ */
1869
+ LatencyRemove?: boolean;
1870
+ /**
1871
+ * <p>延迟剔除阈值,单位秒,取值范围 [1, 10000]。LatencyRemove 为 true 时必填</p>
1872
+ */
1873
+ LatencyRemoveTime?: number;
1874
+ /**
1875
+ * <p>最小路由节点数,取值范围 [0, 256]。用于防止延迟剔除将所有节点剔除后的兜底策略</p>
1876
+ */
1877
+ MinRouteNum?: number;
1878
+ /**
1879
+ * <p>负载均衡策略</p><p>枚举值:</p><ul><li>0: 按活跃连接数(默认)</li><li>1: 按请求数</li></ul>
1880
+ */
1881
+ LoadBalancePolicy?: number;
1782
1882
  }
1783
1883
  /**
1784
1884
  * DescribeDBInstanceParameters请求参数结构体
@@ -1913,43 +2013,29 @@ export interface DeleteAuditLogFileResponse {
1913
2013
  RequestId?: string;
1914
2014
  }
1915
2015
  /**
1916
- * 数据库版本号信息
2016
+ * ResetAccountPassword请求参数结构体
1917
2017
  */
1918
- export interface Version {
1919
- /**
1920
- * 数据库引擎,支持:
1921
- 1、postgresql(云数据库PostgreSQL);
1922
- 2、mssql_compatible(MSSQL兼容-云数据库PostgreSQL);
1923
- */
1924
- DBEngine?: string;
1925
- /**
1926
- * 数据库版本,例如:12.4
1927
- */
1928
- DBVersion?: string;
1929
- /**
1930
- * 数据库主要版本,例如:12
1931
- */
1932
- DBMajorVersion?: string;
1933
- /**
1934
- * 数据库内核版本,例如:v12.4_r1.3
1935
- */
1936
- DBKernelVersion?: string;
2018
+ export interface ResetAccountPasswordRequest {
1937
2019
  /**
1938
- * 数据库内核支持的特性列表。例如,
1939
- TDE:支持数据加密。
2020
+ * 实例ID,形如postgres-4wdeb0zv。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
1940
2021
  */
1941
- SupportedFeatureNames?: Array<string>;
2022
+ DBInstanceId: string;
1942
2023
  /**
1943
- * 数据库版本状态,包括:
1944
- AVAILABLE:可用;
1945
- UPGRADE_ONLY:不可创建,此版本仅可升级至高版本;
1946
- DEPRECATED:已弃用。
2024
+ * 实例账户名。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
1947
2025
  */
1948
- Status?: string;
2026
+ UserName: string;
1949
2027
  /**
1950
- * 该数据库版本(DBKernelVersion)可以升级到的版本号列表。其中包含可升级的小版本号和可升级的大版本号(完整内核版本格式示例:v15.1_v1.6)。
2028
+ * UserName账户对应的新密码。
2029
+ 密码设置规则如下:
2030
+ - 长度8~ 32位,推荐使用12位以上的密码
2031
+ - 不能以" / "开头
2032
+ - 必须包含以下四项:
2033
+ 1. 小写字母a ~ z
2034
+ 2. 大写字母 A ~ Z
2035
+ 3. 数字 0 ~ 9
2036
+ 4. 特殊字符 ()`~!@#$%^&*-+=_|{}[]:<>,.?/
1951
2037
  */
1952
- AvailableUpgradeTarget?: Array<string>;
2038
+ Password: string;
1953
2039
  }
1954
2040
  /**
1955
2041
  * CreateDBInstanceNetworkAccess请求参数结构体
@@ -2136,37 +2222,17 @@ export interface DescribeBackupPlansResponse {
2136
2222
  RequestId?: string;
2137
2223
  }
2138
2224
  /**
2139
- * DescribeDBInstances请求参数结构体
2225
+ * CloseDBProxyAddress返回参数结构体
2140
2226
  */
2141
- export interface DescribeDBInstancesRequest {
2227
+ export interface CloseDBProxyAddressResponse {
2142
2228
  /**
2143
- * 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:
2144
- db-instance-id:按照实例ID过滤,类型为string
2145
- db-instance-name:按照实例名过滤,支持模糊匹配,类型为string
2146
- db-project-id:按照项目ID过滤,类型为integer
2147
- db-pay-mode:按照实例付费模式过滤,prepaid - 预付费;postpaid - 后付费。类型为string
2148
- db-tag-key:按照标签键过滤,类型为string
2149
- db-private-ip: 按照实例私有网络IP过滤,类型为string
2150
- db-public-address: 按照实例外网地址过滤,类型为string
2151
- db-dedicated-cluster-id: 按照私有集群Id过滤,类型为string
2229
+ * <p>异步任务 ID,可通过 DescribeFlow 查询任务进度</p>
2152
2230
  */
2153
- Filters?: Array<Filter>;
2154
- /**
2155
- * 每页显示数量,取值范围为0-100,传入0时,取默认配置。默认为返回10条。
2156
- */
2157
- Limit?: number;
2158
- /**
2159
- * 数据偏移量,从0开始。
2160
- */
2161
- Offset?: number;
2162
- /**
2163
- * 排序指标,如实例名、创建时间等,支持DBInstanceId,CreateTime,Name,EndTime。默认值:CreateTime。
2164
- */
2165
- OrderBy?: string;
2231
+ TaskId?: number;
2166
2232
  /**
2167
- * 排序方式,包括升序:asc、降序:desc。默认值:asc
2233
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
2168
2234
  */
2169
- OrderByType?: string;
2235
+ RequestId?: string;
2170
2236
  }
2171
2237
  /**
2172
2238
  * 只读组信息
@@ -2474,6 +2540,10 @@ export interface ModifyDBInstanceParametersRequest {
2474
2540
  * CreateAuditLogFile返回参数结构体
2475
2541
  */
2476
2542
  export interface CreateAuditLogFileResponse {
2543
+ /**
2544
+ * <p>文件名称</p>
2545
+ */
2546
+ FileName?: string;
2477
2547
  /**
2478
2548
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2479
2549
  */
@@ -2958,6 +3028,43 @@ export interface DescribeAuditLogFilesResponse {
2958
3028
  */
2959
3029
  RequestId?: string;
2960
3030
  }
3031
+ /**
3032
+ * DescribeTasks请求参数结构体
3033
+ */
3034
+ export interface DescribeTasksRequest {
3035
+ /**
3036
+ * <p>按照任务ID进行查询。其余云API中返回的FlowId和TaskId等价。</p>
3037
+ */
3038
+ TaskId?: number;
3039
+ /**
3040
+ * <p>按照数据库实例ID进行查询。</p>
3041
+ */
3042
+ DBInstanceId?: string;
3043
+ /**
3044
+ * <p>任务的最早开始时间,形如2024-08-23 00:00:00,默认只展示180天内的数据。</p>
3045
+ */
3046
+ MinStartTime?: string;
3047
+ /**
3048
+ * <p>任务的最晚开始时间,形如2024-08-23 00:00:00,默认为当前时间。</p>
3049
+ */
3050
+ MaxStartTime?: string;
3051
+ /**
3052
+ * <p>每页显示数量,取值范围为1-100,默认为返回20条。</p>
3053
+ */
3054
+ Limit?: number;
3055
+ /**
3056
+ * <p>数据偏移量,从0开始。</p>
3057
+ */
3058
+ Offset?: number;
3059
+ /**
3060
+ * <p>排序字段,支持StartTime,EndTime,默认为StartTime。</p>
3061
+ */
3062
+ OrderBy?: string;
3063
+ /**
3064
+ * <p>排序方式,包括升序:asc,降序:desc,默认为desc。</p>
3065
+ */
3066
+ OrderByType?: string;
3067
+ }
2961
3068
  /**
2962
3069
  * DeleteReadOnlyGroupNetworkAccess返回参数结构体
2963
3070
  */
@@ -5511,6 +5618,19 @@ export interface ModifyReadOnlyGroupConfigResponse {
5511
5618
  */
5512
5619
  RequestId?: string;
5513
5620
  }
5621
+ /**
5622
+ * ModifyDBProxySSLConfig返回参数结构体
5623
+ */
5624
+ export interface ModifyDBProxySSLConfigResponse {
5625
+ /**
5626
+ * 异步任务 ID。可通过 DescribeTasks 接口查询任务执行进度。当 SSL 状态无变更时返回 0,无需等待任务
5627
+ */
5628
+ TaskId?: number;
5629
+ /**
5630
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5631
+ */
5632
+ RequestId?: string;
5633
+ }
5514
5634
  /**
5515
5635
  * 账户信息
5516
5636
  */
@@ -6062,29 +6182,21 @@ export interface RebalanceReadOnlyGroupResponse {
6062
6182
  RequestId?: string;
6063
6183
  }
6064
6184
  /**
6065
- * ResetAccountPassword请求参数结构体
6185
+ * DescribeTasks返回参数结构体
6066
6186
  */
6067
- export interface ResetAccountPasswordRequest {
6187
+ export interface DescribeTasksResponse {
6068
6188
  /**
6069
- * 实例ID,形如postgres-4wdeb0zv。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
6189
+ * <p>查询到的任务数量</p>
6070
6190
  */
6071
- DBInstanceId: string;
6191
+ TotalCount?: number;
6072
6192
  /**
6073
- * 实例账户名。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
6193
+ * <p>任务信息列表</p>
6074
6194
  */
6075
- UserName: string;
6195
+ TaskSet?: Array<TaskSet>;
6076
6196
  /**
6077
- * UserName账户对应的新密码。
6078
- 密码设置规则如下:
6079
- - 长度8~ 32位,推荐使用12位以上的密码
6080
- - 不能以" / "开头
6081
- - 必须包含以下四项:
6082
- 1. 小写字母a ~ z
6083
- 2. 大写字母 A ~ Z
6084
- 3. 数字 0 ~ 9
6085
- 4. 特殊字符 ()`~!@#$%^&*-+=_|{}[]:<>,.?/
6197
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6086
6198
  */
6087
- Password: string;
6199
+ RequestId?: string;
6088
6200
  }
6089
6201
  /**
6090
6202
  * DescribeSlowQueryAnalysis返回参数结构体
@@ -6308,6 +6420,39 @@ export interface ModifyDBInstanceChargeTypeRequest {
6308
6420
  */
6309
6421
  AutoVoucher?: number;
6310
6422
  }
6423
+ /**
6424
+ * DescribeDBInstances请求参数结构体
6425
+ */
6426
+ export interface DescribeDBInstancesRequest {
6427
+ /**
6428
+ * 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:
6429
+ db-instance-id:按照实例ID过滤,类型为string
6430
+ db-instance-name:按照实例名过滤,支持模糊匹配,类型为string
6431
+ db-project-id:按照项目ID过滤,类型为integer
6432
+ db-pay-mode:按照实例付费模式过滤,prepaid - 预付费;postpaid - 后付费。类型为string
6433
+ db-tag-key:按照标签键过滤,类型为string
6434
+ db-private-ip: 按照实例私有网络IP过滤,类型为string
6435
+ db-public-address: 按照实例外网地址过滤,类型为string
6436
+ db-dedicated-cluster-id: 按照私有集群Id过滤,类型为string
6437
+ */
6438
+ Filters?: Array<Filter>;
6439
+ /**
6440
+ * 每页显示数量,取值范围为0-100,传入0时,取默认配置。默认为返回10条。
6441
+ */
6442
+ Limit?: number;
6443
+ /**
6444
+ * 数据偏移量,从0开始。
6445
+ */
6446
+ Offset?: number;
6447
+ /**
6448
+ * 排序指标,如实例名、创建时间等,支持DBInstanceId,CreateTime,Name,EndTime。默认值:CreateTime。
6449
+ */
6450
+ OrderBy?: string;
6451
+ /**
6452
+ * 排序方式,包括升序:asc、降序:desc。默认值:asc。
6453
+ */
6454
+ OrderByType?: string;
6455
+ }
6311
6456
  /**
6312
6457
  * DescribeParameterTemplateAttributes返回参数结构体
6313
6458
  */
@@ -6591,6 +6736,45 @@ export interface DescribeAuditLogFilesRequest {
6591
6736
  */
6592
6737
  Offset?: number;
6593
6738
  }
6739
+ /**
6740
+ * 数据库版本号信息
6741
+ */
6742
+ export interface Version {
6743
+ /**
6744
+ * 数据库引擎,支持:
6745
+ 1、postgresql(云数据库PostgreSQL);
6746
+ 2、mssql_compatible(MSSQL兼容-云数据库PostgreSQL);
6747
+ */
6748
+ DBEngine?: string;
6749
+ /**
6750
+ * 数据库版本,例如:12.4
6751
+ */
6752
+ DBVersion?: string;
6753
+ /**
6754
+ * 数据库主要版本,例如:12
6755
+ */
6756
+ DBMajorVersion?: string;
6757
+ /**
6758
+ * 数据库内核版本,例如:v12.4_r1.3
6759
+ */
6760
+ DBKernelVersion?: string;
6761
+ /**
6762
+ * 数据库内核支持的特性列表。例如,
6763
+ TDE:支持数据加密。
6764
+ */
6765
+ SupportedFeatureNames?: Array<string>;
6766
+ /**
6767
+ * 数据库版本状态,包括:
6768
+ AVAILABLE:可用;
6769
+ UPGRADE_ONLY:不可创建,此版本仅可升级至高版本;
6770
+ DEPRECATED:已弃用。
6771
+ */
6772
+ Status?: string;
6773
+ /**
6774
+ * 该数据库版本(DBKernelVersion)可以升级到的版本号列表。其中包含可升级的小版本号和可升级的大版本号(完整内核版本格式示例:v15.1_v1.6)。
6775
+ */
6776
+ AvailableUpgradeTarget?: Array<string>;
6777
+ }
6594
6778
  /**
6595
6779
  * ModifyDBInstanceSpec返回参数结构体
6596
6780
  */
@@ -211,11 +211,11 @@ export interface DescribeLibrarySecretResponse {
211
211
  /**
212
212
  * 查询的媒体库 ID
213
213
  */
214
- LibraryId: string;
214
+ LibraryId?: string;
215
215
  /**
216
216
  * 查询到的媒体库密钥
217
217
  */
218
- LibrarySecret: string;
218
+ LibrarySecret?: string;
219
219
  /**
220
220
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
221
221
  */
@@ -303,6 +303,10 @@ export interface DescribeLibrariesRequest {
303
303
  * 单次列出的数量限制,不超过100.
304
304
  */
305
305
  Limit?: number;
306
+ /**
307
+ *
308
+ */
309
+ TagFilters?: Array<TagFilter>;
306
310
  }
307
311
  /**
308
312
  * 媒体库配置项
@@ -434,6 +438,10 @@ export interface ModifyLibraryRequest {
434
438
  * <p>媒体库配置项,部分参数在新建后不可更改,且仅修改传入的参数。如不传该参数则不修改任何配置项。</p>
435
439
  */
436
440
  LibraryExtension?: LibraryExtension;
441
+ /**
442
+ * <p>媒体库标签列表。</p>
443
+ */
444
+ Tags?: Array<ResourceTag>;
437
445
  }
438
446
  /**
439
447
  * DescribeOfficialOverview请求参数结构体
@@ -448,6 +456,19 @@ export interface DeleteLibraryResponse {
448
456
  */
449
457
  RequestId?: string;
450
458
  }
459
+ /**
460
+ * 标签过滤条件
461
+ */
462
+ export interface TagFilter {
463
+ /**
464
+ * <p>用于筛选媒体库的标签键。</p>
465
+ */
466
+ TagKey: string;
467
+ /**
468
+ * <p>用于筛选媒体库的标签值列表。</p>
469
+ */
470
+ TagValue?: Array<string>;
471
+ }
451
472
  /**
452
473
  * DescribeOfficialInstances返回参数结构体
453
474
  */
@@ -512,49 +533,53 @@ export interface CreateLibraryResponse {
512
533
  */
513
534
  export interface Library {
514
535
  /**
515
- * 媒体库 ID
536
+ * <p>媒体库 ID</p>
516
537
  */
517
538
  LibraryId?: string;
518
539
  /**
519
- * 媒体库友好名称
540
+ * <p>媒体库友好名称</p>
520
541
  */
521
542
  Name?: string;
522
543
  /**
523
- * 备注
544
+ * <p>备注</p>
524
545
  */
525
546
  Remark?: string;
526
547
  /**
527
- * 媒体库绑定的 COS 存储桶
548
+ * <p>媒体库绑定的 COS 存储桶</p>
528
549
  */
529
550
  BucketName?: string;
530
551
  /**
531
- * 媒体库绑定的 COS 存储桶所在的地域
552
+ * <p>媒体库绑定的 COS 存储桶所在的地域</p>
532
553
  */
533
554
  BucketRegion?: string;
534
555
  /**
535
- * 该媒体库的业务 API 访问域名
556
+ * <p>该媒体库的业务 API 访问域名</p>
536
557
  */
537
558
  AccessDomain?: string;
538
559
  /**
539
- * 媒体库创建时间
560
+ * <p>媒体库创建时间</p>
540
561
  */
541
562
  CreationTime?: string;
542
563
  /**
543
- * 媒体库配置项
564
+ * <p>媒体库配置项</p>
544
565
  */
545
566
  LibraryExtension?: LibraryExtension;
546
567
  /**
547
- * 媒体库用量,单位为 Bytes,由于数字类型精度限制,该字段为 String 类型。
568
+ * <p>媒体库用量,单位为 Bytes,由于数字类型精度限制,该字段为 String 类型。</p>
548
569
  */
549
570
  Size?: string;
550
571
  /**
551
- * 媒体库目录数,由于数字类型精度限制,该字段为 String 类型。
572
+ * <p>媒体库目录数,由于数字类型精度限制,该字段为 String 类型。</p>
552
573
  */
553
574
  DirNum?: string;
554
575
  /**
555
- * 媒体库文件数,由于数字类型精度限制,该字段为 String 类型。
576
+ * <p>媒体库文件数,由于数字类型精度限制,该字段为 String 类型。</p>
556
577
  */
557
578
  FileNum?: string;
579
+ /**
580
+ * <p>媒体库关联的标签列表。</p>
581
+ */
582
+ Tags?: Array<ResourceTag>;
558
583
  }
559
584
  /**
560
585
  * CreateLibrary请求参数结构体
@@ -580,6 +605,10 @@ export interface CreateLibraryRequest {
580
605
  * <p>媒体库配置项,部分参数新建后不可更改</p>
581
606
  */
582
607
  LibraryExtension?: LibraryExtension;
608
+ /**
609
+ * <p>媒体库标签列表。</p>
610
+ */
611
+ Tags?: Array<ResourceTag>;
583
612
  }
584
613
  /**
585
614
  * DescribeOfficialOverview返回参数结构体
@@ -606,3 +635,16 @@ export interface DescribeOfficialOverviewResponse {
606
635
  */
607
636
  RequestId?: string;
608
637
  }
638
+ /**
639
+ * 资源标签的键和值
640
+ */
641
+ export interface ResourceTag {
642
+ /**
643
+ * <p>标签键。</p>
644
+ */
645
+ TagKey: string;
646
+ /**
647
+ * <p>标签值。</p>
648
+ */
649
+ TagValue: string;
650
+ }