tencentcloud-sdk-nodejs 4.1.277 → 4.1.278
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.
- package/es/common/sdk_version.js +1 -1
- package/es/services/mqtt/v20240516/mqtt_client.js +15 -6
- package/es/services/postgres/v20170312/postgres_client.js +21 -0
- package/es/services/trtc/v20190722/trtc_client.js +24 -15
- package/es/services/wedata/v20210820/wedata_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +8 -4
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +42 -30
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +29 -29
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.d.ts +6 -6
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.js +6 -6
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +124 -12
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +45 -29
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +9 -5
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2 -2
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +21 -9
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +29 -11
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +529 -265
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +513 -97
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +16 -19
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +45 -8
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +48 -34
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +61 -41
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +240 -70
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +108 -41
|
@@ -551,21 +551,51 @@ export interface ClassInfo {
|
|
|
551
551
|
QPS?: number;
|
|
552
552
|
}
|
|
553
553
|
/**
|
|
554
|
-
*
|
|
554
|
+
* SwitchDBInstancePrimary请求参数结构体
|
|
555
555
|
*/
|
|
556
|
-
export interface
|
|
556
|
+
export interface SwitchDBInstancePrimaryRequest {
|
|
557
557
|
/**
|
|
558
|
-
*
|
|
558
|
+
* 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
559
559
|
*/
|
|
560
|
-
|
|
560
|
+
DBInstanceId: string;
|
|
561
561
|
/**
|
|
562
|
-
*
|
|
562
|
+
* 是否强制切换。强制切换时只要备节点可访问,无论主备延迟多大都会发起切换。只有SwitchTag为0时,才可使用立即切换。
|
|
563
|
+
<li>默认:false</li>
|
|
563
564
|
*/
|
|
564
|
-
|
|
565
|
+
Force?: boolean;
|
|
565
566
|
/**
|
|
566
|
-
*
|
|
567
|
+
* 指定实例配置完成变更后的切换时间。
|
|
568
|
+
<li>0:立即切换 </li>
|
|
569
|
+
<li>1:指定时间切换</li>
|
|
570
|
+
<li>2:维护时间窗口内切换</li>
|
|
571
|
+
默认值:0
|
|
567
572
|
*/
|
|
568
|
-
|
|
573
|
+
SwitchTag?: number;
|
|
574
|
+
/**
|
|
575
|
+
* 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
|
|
576
|
+
*/
|
|
577
|
+
SwitchStartTime?: string;
|
|
578
|
+
/**
|
|
579
|
+
* 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。SwitchStartTime和SwitchEndTime时间窗口不能小于30分钟。
|
|
580
|
+
*/
|
|
581
|
+
SwitchEndTime?: string;
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* DescribeCloneDBInstanceSpec请求参数结构体
|
|
585
|
+
*/
|
|
586
|
+
export interface DescribeCloneDBInstanceSpecRequest {
|
|
587
|
+
/**
|
|
588
|
+
* 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
589
|
+
*/
|
|
590
|
+
DBInstanceId: string;
|
|
591
|
+
/**
|
|
592
|
+
* 基础备份集ID,可通过[DescribeBaseBackups](https://cloud.tencent.com/document/api/409/89022)接口获取。此入参和RecoveryTargetTime必须选择一个传入。如与RecoveryTargetTime参数同时设置,则以此参数为准。
|
|
593
|
+
*/
|
|
594
|
+
BackupSetId?: string;
|
|
595
|
+
/**
|
|
596
|
+
* 恢复目标时间,此入参和BackupSetId必须选择一个传入。时区以东八区(UTC+8)为准。
|
|
597
|
+
*/
|
|
598
|
+
RecoveryTargetTime?: string;
|
|
569
599
|
}
|
|
570
600
|
/**
|
|
571
601
|
* DescribeDBInstanceSecurityGroups返回参数结构体
|
|
@@ -646,6 +676,35 @@ export interface RestoreDBInstanceObjectsResponse {
|
|
|
646
676
|
*/
|
|
647
677
|
RequestId?: string;
|
|
648
678
|
}
|
|
679
|
+
/**
|
|
680
|
+
* Proxy 节点信息。
|
|
681
|
+
*/
|
|
682
|
+
export interface ProxyNode {
|
|
683
|
+
/**
|
|
684
|
+
* <p>Proxy 节点 ID</p>
|
|
685
|
+
*/
|
|
686
|
+
ProxyNodeId?: string;
|
|
687
|
+
/**
|
|
688
|
+
* <p>Proxy 节点所在可用区</p>
|
|
689
|
+
*/
|
|
690
|
+
Zone?: string;
|
|
691
|
+
/**
|
|
692
|
+
* <p>节点 CPU 核数(核)</p>
|
|
693
|
+
*/
|
|
694
|
+
Cpu?: number;
|
|
695
|
+
/**
|
|
696
|
+
* <p>节点内存大小(MB)</p><p>单位:MB</p>
|
|
697
|
+
*/
|
|
698
|
+
Mem?: number;
|
|
699
|
+
/**
|
|
700
|
+
* <p>节点状态:running/isolated/abnormal 等</p>
|
|
701
|
+
*/
|
|
702
|
+
Status?: string;
|
|
703
|
+
/**
|
|
704
|
+
* <p>节点当前连接数</p>
|
|
705
|
+
*/
|
|
706
|
+
Connection?: number;
|
|
707
|
+
}
|
|
649
708
|
/**
|
|
650
709
|
* ModifyDBInstanceDeletionProtection请求参数结构体
|
|
651
710
|
*/
|
|
@@ -660,17 +719,46 @@ export interface ModifyDBInstanceDeletionProtectionRequest {
|
|
|
660
719
|
DeletionProtection: boolean;
|
|
661
720
|
}
|
|
662
721
|
/**
|
|
663
|
-
*
|
|
722
|
+
* Proxy 节点自定义规格信息,每个 Zone 对应一组节点配置。
|
|
664
723
|
*/
|
|
665
|
-
export interface
|
|
724
|
+
export interface ProxyNodeCustom {
|
|
666
725
|
/**
|
|
667
|
-
*
|
|
726
|
+
* <p>该可用区下的 Proxy 节点数量</p><p>取值范围:[1, 16]</p>
|
|
668
727
|
*/
|
|
669
|
-
|
|
728
|
+
NodeCount: number;
|
|
670
729
|
/**
|
|
671
|
-
*
|
|
730
|
+
* <p>Proxy 节点所在可用区</p>
|
|
672
731
|
*/
|
|
673
|
-
|
|
732
|
+
Zone: string;
|
|
733
|
+
/**
|
|
734
|
+
* <p>Proxy 节点 CPU 核数(核)</p>
|
|
735
|
+
*/
|
|
736
|
+
Cpu: number;
|
|
737
|
+
/**
|
|
738
|
+
* <p>Proxy 节点内存大小(MB)</p><p>单位:MB</p>
|
|
739
|
+
*/
|
|
740
|
+
Mem: number;
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* Proxy 路由信息,描述某个 Proxy 接入地址下到具体 PG 节点的路由规则。
|
|
744
|
+
*/
|
|
745
|
+
export interface ProxyRoute {
|
|
746
|
+
/**
|
|
747
|
+
* <p>路由指向的 PG 节点 ID(实例或只读节点 ID)</p>
|
|
748
|
+
*/
|
|
749
|
+
NodeId?: string;
|
|
750
|
+
/**
|
|
751
|
+
* <p>节点角色:master/slave/readonly</p>
|
|
752
|
+
*/
|
|
753
|
+
Role?: string;
|
|
754
|
+
/**
|
|
755
|
+
* <p>路由权重,取值范围 [0, 100]</p>
|
|
756
|
+
*/
|
|
757
|
+
Weight?: number;
|
|
758
|
+
/**
|
|
759
|
+
* <p>路由状态:available/unavailable</p>
|
|
760
|
+
*/
|
|
761
|
+
Status?: string;
|
|
674
762
|
}
|
|
675
763
|
/**
|
|
676
764
|
* DeleteLogBackup返回参数结构体
|
|
@@ -993,6 +1081,19 @@ export interface DescribeAuditInstanceListResponse {
|
|
|
993
1081
|
*/
|
|
994
1082
|
RequestId?: string;
|
|
995
1083
|
}
|
|
1084
|
+
/**
|
|
1085
|
+
* UpgradeDBInstanceMajorVersion返回参数结构体
|
|
1086
|
+
*/
|
|
1087
|
+
export interface UpgradeDBInstanceMajorVersionResponse {
|
|
1088
|
+
/**
|
|
1089
|
+
* 任务ID
|
|
1090
|
+
*/
|
|
1091
|
+
TaskId?: number;
|
|
1092
|
+
/**
|
|
1093
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1094
|
+
*/
|
|
1095
|
+
RequestId?: string;
|
|
1096
|
+
}
|
|
996
1097
|
/**
|
|
997
1098
|
* ModifyBackupDownloadRestriction请求参数结构体
|
|
998
1099
|
*/
|
|
@@ -1201,6 +1302,64 @@ export interface ZoneInfo {
|
|
|
1201
1302
|
*/
|
|
1202
1303
|
StandbyZoneSet?: Array<string>;
|
|
1203
1304
|
}
|
|
1305
|
+
/**
|
|
1306
|
+
* Proxy 接入地址信息,包含 VIP/VPort、读写分离与连接池相关配置以及对应路由列表。
|
|
1307
|
+
*/
|
|
1308
|
+
export interface ProxyAddress {
|
|
1309
|
+
/**
|
|
1310
|
+
* <p>Proxy 接入地址 ID</p>
|
|
1311
|
+
*/
|
|
1312
|
+
AddressId?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* <p>Proxy 接入地址 IP</p>
|
|
1315
|
+
*/
|
|
1316
|
+
Vip?: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* <p>Proxy 接入地址端口</p>
|
|
1319
|
+
*/
|
|
1320
|
+
Vport?: number;
|
|
1321
|
+
/**
|
|
1322
|
+
* <p>VPC ID</p>
|
|
1323
|
+
*/
|
|
1324
|
+
VpcId?: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* <p>子网 ID</p>
|
|
1327
|
+
*/
|
|
1328
|
+
SubnetId?: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* <p>接入地址描述</p>
|
|
1331
|
+
*/
|
|
1332
|
+
Description?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* <p>是否开启连接池:0-未开启,1-开启</p>
|
|
1335
|
+
*/
|
|
1336
|
+
ConnectionPool?: boolean;
|
|
1337
|
+
/**
|
|
1338
|
+
* <p>路由列表</p>
|
|
1339
|
+
*/
|
|
1340
|
+
Routes?: Array<ProxyRoute>;
|
|
1341
|
+
/**
|
|
1342
|
+
* <p>连接池大小</p>
|
|
1343
|
+
*/
|
|
1344
|
+
ConnectionPoolLimit?: number;
|
|
1345
|
+
}
|
|
1346
|
+
/**
|
|
1347
|
+
* OpenDBExtranetAccess返回参数结构体
|
|
1348
|
+
*/
|
|
1349
|
+
export interface OpenDBExtranetAccessResponse {
|
|
1350
|
+
/**
|
|
1351
|
+
* 流程ID,FlowId等同于TaskId
|
|
1352
|
+
*/
|
|
1353
|
+
FlowId?: number;
|
|
1354
|
+
/**
|
|
1355
|
+
* 任务ID
|
|
1356
|
+
*/
|
|
1357
|
+
TaskId?: number;
|
|
1358
|
+
/**
|
|
1359
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1360
|
+
*/
|
|
1361
|
+
RequestId?: string;
|
|
1362
|
+
}
|
|
1204
1363
|
/**
|
|
1205
1364
|
* CreateDatabase请求参数结构体
|
|
1206
1365
|
*/
|
|
@@ -1531,6 +1690,27 @@ export interface CloseAccountCAMRequest {
|
|
|
1531
1690
|
*/
|
|
1532
1691
|
PasswordEncrypt?: boolean;
|
|
1533
1692
|
}
|
|
1693
|
+
/**
|
|
1694
|
+
* DescribeDBProxySpecs返回参数结构体
|
|
1695
|
+
*/
|
|
1696
|
+
export interface DescribeDBProxySpecsResponse {
|
|
1697
|
+
/**
|
|
1698
|
+
* <p>规格列表</p>
|
|
1699
|
+
*/
|
|
1700
|
+
SpecSet?: Array<ProxySpecItem>;
|
|
1701
|
+
/**
|
|
1702
|
+
* <p>该实例是否支持开通 Proxy(仅传 DBInstanceId 时返回)</p>
|
|
1703
|
+
*/
|
|
1704
|
+
SupportProxy?: boolean;
|
|
1705
|
+
/**
|
|
1706
|
+
* <p>可部署可用区列表(仅传 DBInstanceId 时返回)</p>
|
|
1707
|
+
*/
|
|
1708
|
+
AvailableZones?: Array<string>;
|
|
1709
|
+
/**
|
|
1710
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1711
|
+
*/
|
|
1712
|
+
RequestId?: string;
|
|
1713
|
+
}
|
|
1534
1714
|
/**
|
|
1535
1715
|
* DescribeTasks请求参数结构体
|
|
1536
1716
|
*/
|
|
@@ -1581,6 +1761,47 @@ export interface DescribeDBInstanceParametersRequest {
|
|
|
1581
1761
|
*/
|
|
1582
1762
|
ParamName?: string;
|
|
1583
1763
|
}
|
|
1764
|
+
/**
|
|
1765
|
+
* Proxy 实例(组)详细信息,包含基础信息、节点列表、接入地址列表。
|
|
1766
|
+
*/
|
|
1767
|
+
export interface ProxyGroupInfo {
|
|
1768
|
+
/**
|
|
1769
|
+
* <p>Proxy 实例 ID,格式形如:proxygroup-xxxxxxxx</p>
|
|
1770
|
+
*/
|
|
1771
|
+
ProxyGroupId?: string;
|
|
1772
|
+
/**
|
|
1773
|
+
* <p>Proxy 状态:running/isolated/offline 等</p>
|
|
1774
|
+
*/
|
|
1775
|
+
Status?: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* <p>Proxy 任务状态,无任务时为空</p>
|
|
1778
|
+
*/
|
|
1779
|
+
TaskStatus?: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* <p>Proxy 描述</p>
|
|
1782
|
+
*/
|
|
1783
|
+
Description?: string;
|
|
1784
|
+
/**
|
|
1785
|
+
* <p>Proxy 内核版本号</p>
|
|
1786
|
+
*/
|
|
1787
|
+
ProxyVersion?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* <p>连接池阈值(连接数)</p>
|
|
1790
|
+
*/
|
|
1791
|
+
ConnectionPoolLimit?: number;
|
|
1792
|
+
/**
|
|
1793
|
+
* <p>Proxy 节点列表</p>
|
|
1794
|
+
*/
|
|
1795
|
+
ProxyNodeSet?: Array<ProxyNode>;
|
|
1796
|
+
/**
|
|
1797
|
+
* <p>Proxy 接入地址列表</p>
|
|
1798
|
+
*/
|
|
1799
|
+
ProxyAddressSet?: Array<ProxyAddress>;
|
|
1800
|
+
/**
|
|
1801
|
+
* <p>创建时间,格式:YYYY-MM-DD HH:MM:SS</p>
|
|
1802
|
+
*/
|
|
1803
|
+
CreateTime?: string;
|
|
1804
|
+
}
|
|
1584
1805
|
/**
|
|
1585
1806
|
* DescribeOrders返回参数结构体
|
|
1586
1807
|
*/
|
|
@@ -2283,6 +2504,19 @@ export interface NetworkAccess {
|
|
|
2283
2504
|
*/
|
|
2284
2505
|
VpcStatus?: number;
|
|
2285
2506
|
}
|
|
2507
|
+
/**
|
|
2508
|
+
* DestroyDBProxy请求参数结构体
|
|
2509
|
+
*/
|
|
2510
|
+
export interface DestroyDBProxyRequest {
|
|
2511
|
+
/**
|
|
2512
|
+
* <p>实例 ID,格式形如:postgres-xxxxxxxx</p>
|
|
2513
|
+
*/
|
|
2514
|
+
DBInstanceId: string;
|
|
2515
|
+
/**
|
|
2516
|
+
* <p>Proxy 实例 ID,格式形如:proxy-xxxxxxxx;不传时若实例下仅有一个 Proxy 则销毁该 Proxy,存在多个 Proxy 必须显式传入</p>
|
|
2517
|
+
*/
|
|
2518
|
+
ProxyGroupId?: string;
|
|
2519
|
+
}
|
|
2286
2520
|
/**
|
|
2287
2521
|
* DescribeDBInstanceAttribute请求参数结构体
|
|
2288
2522
|
*/
|
|
@@ -2372,6 +2606,31 @@ export interface RawSlowQuery {
|
|
|
2372
2606
|
*/
|
|
2373
2607
|
ApplicationName?: string;
|
|
2374
2608
|
}
|
|
2609
|
+
/**
|
|
2610
|
+
* ModifyDBProxyAddress请求参数结构体
|
|
2611
|
+
*/
|
|
2612
|
+
export interface ModifyDBProxyAddressRequest {
|
|
2613
|
+
/**
|
|
2614
|
+
* <p>实例ID</p>
|
|
2615
|
+
*/
|
|
2616
|
+
DBInstanceId: string;
|
|
2617
|
+
/**
|
|
2618
|
+
* <p>Proxy地址ID</p>
|
|
2619
|
+
*/
|
|
2620
|
+
AddressId: string;
|
|
2621
|
+
/**
|
|
2622
|
+
* <p>Proxy代理组 ID(不传则默认操作该实例下唯一的代理)</p>
|
|
2623
|
+
*/
|
|
2624
|
+
ProxyGroupId?: string;
|
|
2625
|
+
/**
|
|
2626
|
+
* <p>地址描述/备注(最多 256 字符)</p>
|
|
2627
|
+
*/
|
|
2628
|
+
Description?: string;
|
|
2629
|
+
/**
|
|
2630
|
+
* <p>连接池开关</p><p>枚举值:</p><ul><li>true: 开启</li><li>false: 关闭</li></ul>
|
|
2631
|
+
*/
|
|
2632
|
+
ConnectionPool?: boolean;
|
|
2633
|
+
}
|
|
2375
2634
|
/**
|
|
2376
2635
|
* DescribeDatabaseObjects请求参数结构体
|
|
2377
2636
|
*/
|
|
@@ -2543,6 +2802,15 @@ export interface OpenAuditServiceRequest {
|
|
|
2543
2802
|
*/
|
|
2544
2803
|
Product: string;
|
|
2545
2804
|
}
|
|
2805
|
+
/**
|
|
2806
|
+
* DestroyDBProxy返回参数结构体
|
|
2807
|
+
*/
|
|
2808
|
+
export interface DestroyDBProxyResponse {
|
|
2809
|
+
/**
|
|
2810
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2811
|
+
*/
|
|
2812
|
+
RequestId?: string;
|
|
2813
|
+
}
|
|
2546
2814
|
/**
|
|
2547
2815
|
* SwitchDBInstancePrimary返回参数结构体
|
|
2548
2816
|
*/
|
|
@@ -2695,6 +2963,15 @@ export interface DescribeDBErrlogsRequest {
|
|
|
2695
2963
|
*/
|
|
2696
2964
|
LogFilters?: Array<LogFilter>;
|
|
2697
2965
|
}
|
|
2966
|
+
/**
|
|
2967
|
+
* UnlockAccount返回参数结构体
|
|
2968
|
+
*/
|
|
2969
|
+
export interface UnlockAccountResponse {
|
|
2970
|
+
/**
|
|
2971
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2972
|
+
*/
|
|
2973
|
+
RequestId?: string;
|
|
2974
|
+
}
|
|
2698
2975
|
/**
|
|
2699
2976
|
* 数据库备份信息
|
|
2700
2977
|
*/
|
|
@@ -2902,6 +3179,23 @@ export interface DescribeClassesRequest {
|
|
|
2902
3179
|
*/
|
|
2903
3180
|
StorageType?: string;
|
|
2904
3181
|
}
|
|
3182
|
+
/**
|
|
3183
|
+
* ReloadBalanceDBProxyNode请求参数结构体
|
|
3184
|
+
*/
|
|
3185
|
+
export interface ReloadBalanceDBProxyNodeRequest {
|
|
3186
|
+
/**
|
|
3187
|
+
* <p>实例ID</p>
|
|
3188
|
+
*/
|
|
3189
|
+
DBInstanceId: string;
|
|
3190
|
+
/**
|
|
3191
|
+
* <p>Proxy代理组ID(不传则默认操作该实例下唯一的代理)</p>
|
|
3192
|
+
*/
|
|
3193
|
+
ProxyGroupId?: string;
|
|
3194
|
+
/**
|
|
3195
|
+
* <p>Proxy地址ID。传入时校验归属,实际重平衡为代理组维度</p>
|
|
3196
|
+
*/
|
|
3197
|
+
AddressId?: string;
|
|
3198
|
+
}
|
|
2905
3199
|
/**
|
|
2906
3200
|
* DescribeParamsEvent请求参数结构体
|
|
2907
3201
|
*/
|
|
@@ -3214,6 +3508,43 @@ export interface CloseAuditServiceResponse {
|
|
|
3214
3508
|
*/
|
|
3215
3509
|
RequestId?: string;
|
|
3216
3510
|
}
|
|
3511
|
+
/**
|
|
3512
|
+
* ModifyDBProxy请求参数结构体
|
|
3513
|
+
*/
|
|
3514
|
+
export interface ModifyDBProxyRequest {
|
|
3515
|
+
/**
|
|
3516
|
+
* <p>实例 ID,格式形如:postgres-xxxxxxxx</p>
|
|
3517
|
+
*/
|
|
3518
|
+
DBInstanceId: string;
|
|
3519
|
+
/**
|
|
3520
|
+
* <p>Proxy 实例 ID,格式形如:proxy-xxxxxxxx;不传时若实例下仅有一个 Proxy 则修改该 Proxy</p>
|
|
3521
|
+
*/
|
|
3522
|
+
ProxyGroupId?: string;
|
|
3523
|
+
/**
|
|
3524
|
+
* <p>Proxy 描述信息,长度范围 [0, 256]</p>
|
|
3525
|
+
*/
|
|
3526
|
+
Description?: string;
|
|
3527
|
+
/**
|
|
3528
|
+
* <p>Proxy 节点变配规格列表,按可用区分组;变配时必填</p>
|
|
3529
|
+
*/
|
|
3530
|
+
ProxyNodeCustom?: Array<ProxyNodeCustom>;
|
|
3531
|
+
/**
|
|
3532
|
+
* <p>负载均衡刷新策略:auto-自动;manual-手动;默认 auto</p>
|
|
3533
|
+
*/
|
|
3534
|
+
ReloadBalance?: string;
|
|
3535
|
+
/**
|
|
3536
|
+
* <p>变配执行时机:0-立即执行(默认),1-维护时间窗内执行,2-指定时间窗执行(需配合 SwitchStartTime/SwitchEndTime)</p>
|
|
3537
|
+
*/
|
|
3538
|
+
SwitchTag?: number;
|
|
3539
|
+
/**
|
|
3540
|
+
* <p>指定时间窗执行的开始时间,格式 HH:MM:SS,仅 SwitchTag=2 时生效</p>
|
|
3541
|
+
*/
|
|
3542
|
+
SwitchStartTime?: string;
|
|
3543
|
+
/**
|
|
3544
|
+
* <p>指定时间窗执行的结束时间,格式 HH:MM:SS,仅 SwitchTag=2 时生效</p>
|
|
3545
|
+
*/
|
|
3546
|
+
SwitchEndTime?: string;
|
|
3547
|
+
}
|
|
3217
3548
|
/**
|
|
3218
3549
|
* ModifyDBInstanceSecurityGroups请求参数结构体
|
|
3219
3550
|
*/
|
|
@@ -3495,17 +3826,17 @@ export interface IsolateDBInstancesResponse {
|
|
|
3495
3826
|
RequestId?: string;
|
|
3496
3827
|
}
|
|
3497
3828
|
/**
|
|
3498
|
-
*
|
|
3829
|
+
* CreateDBProxy返回参数结构体
|
|
3499
3830
|
*/
|
|
3500
|
-
export interface
|
|
3831
|
+
export interface CreateDBProxyResponse {
|
|
3501
3832
|
/**
|
|
3502
|
-
*
|
|
3833
|
+
* <p>订单号,下单成功返回。</p>
|
|
3503
3834
|
*/
|
|
3504
|
-
|
|
3835
|
+
DealName?: string;
|
|
3505
3836
|
/**
|
|
3506
|
-
*
|
|
3837
|
+
* <p>创建出的 Proxy 实例 ID,格式形如:proxy-xxxxxxxx。</p>
|
|
3507
3838
|
*/
|
|
3508
|
-
|
|
3839
|
+
ProxyGroupId?: string;
|
|
3509
3840
|
/**
|
|
3510
3841
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3511
3842
|
*/
|
|
@@ -3653,34 +3984,13 @@ export interface CloseAccountCAMResponse {
|
|
|
3653
3984
|
RequestId?: string;
|
|
3654
3985
|
}
|
|
3655
3986
|
/**
|
|
3656
|
-
*
|
|
3987
|
+
* ReloadBalanceDBProxyNode返回参数结构体
|
|
3657
3988
|
*/
|
|
3658
|
-
export interface
|
|
3659
|
-
/**
|
|
3660
|
-
* 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
3661
|
-
*/
|
|
3662
|
-
DBInstanceId: string;
|
|
3989
|
+
export interface ReloadBalanceDBProxyNodeResponse {
|
|
3663
3990
|
/**
|
|
3664
|
-
*
|
|
3665
|
-
<li>默认:false</li>
|
|
3666
|
-
*/
|
|
3667
|
-
Force?: boolean;
|
|
3668
|
-
/**
|
|
3669
|
-
* 指定实例配置完成变更后的切换时间。
|
|
3670
|
-
<li>0:立即切换 </li>
|
|
3671
|
-
<li>1:指定时间切换</li>
|
|
3672
|
-
<li>2:维护时间窗口内切换</li>
|
|
3673
|
-
默认值:0
|
|
3674
|
-
*/
|
|
3675
|
-
SwitchTag?: number;
|
|
3676
|
-
/**
|
|
3677
|
-
* 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
|
|
3678
|
-
*/
|
|
3679
|
-
SwitchStartTime?: string;
|
|
3680
|
-
/**
|
|
3681
|
-
* 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。SwitchStartTime和SwitchEndTime时间窗口不能小于30分钟。
|
|
3991
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3682
3992
|
*/
|
|
3683
|
-
|
|
3993
|
+
RequestId?: string;
|
|
3684
3994
|
}
|
|
3685
3995
|
/**
|
|
3686
3996
|
* InquiryPriceRenewDBInstance返回参数结构体
|
|
@@ -3796,6 +4106,31 @@ export interface ErrLogDetail {
|
|
|
3796
4106
|
*/
|
|
3797
4107
|
ApplicationName?: string;
|
|
3798
4108
|
}
|
|
4109
|
+
/**
|
|
4110
|
+
* DescribeParameterTemplates请求参数结构体
|
|
4111
|
+
*/
|
|
4112
|
+
export interface DescribeParameterTemplatesRequest {
|
|
4113
|
+
/**
|
|
4114
|
+
* 过滤条件,目前支持的过滤条件有:TemplateName, TemplateId,DBMajorVersion,DBEngine。TemplateName不支持模糊匹配。
|
|
4115
|
+
*/
|
|
4116
|
+
Filters?: Array<Filter>;
|
|
4117
|
+
/**
|
|
4118
|
+
* 每页显示数量,[0,100],默认 20
|
|
4119
|
+
*/
|
|
4120
|
+
Limit?: number;
|
|
4121
|
+
/**
|
|
4122
|
+
* 数据偏移量
|
|
4123
|
+
*/
|
|
4124
|
+
Offset?: number;
|
|
4125
|
+
/**
|
|
4126
|
+
* 排序指标,枚举值,支持:CreateTime,TemplateName,DBMajorVersion。如果不指定该参数,默认将按照参数模板的编号倒序排列,也就是说最新添加的参数模板会排在最前面。
|
|
4127
|
+
*/
|
|
4128
|
+
OrderBy?: string;
|
|
4129
|
+
/**
|
|
4130
|
+
* 排序方式,枚举值,支持:asc(升序) ,desc(降序)。默认值为asc。当未指定OrderBy时,该参数失效,此时排序方式为OrderBy参数描述中给出的默认排序方式。
|
|
4131
|
+
*/
|
|
4132
|
+
OrderByType?: string;
|
|
4133
|
+
}
|
|
3799
4134
|
/**
|
|
3800
4135
|
* DestroyDBInstance请求参数结构体
|
|
3801
4136
|
*/
|
|
@@ -3819,6 +4154,19 @@ export interface InquiryPriceRenewDBInstanceRequest {
|
|
|
3819
4154
|
*/
|
|
3820
4155
|
Period: number;
|
|
3821
4156
|
}
|
|
4157
|
+
/**
|
|
4158
|
+
* RenewInstance返回参数结构体
|
|
4159
|
+
*/
|
|
4160
|
+
export interface RenewInstanceResponse {
|
|
4161
|
+
/**
|
|
4162
|
+
* 订单名
|
|
4163
|
+
*/
|
|
4164
|
+
DealName?: string;
|
|
4165
|
+
/**
|
|
4166
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4167
|
+
*/
|
|
4168
|
+
RequestId?: string;
|
|
4169
|
+
}
|
|
3822
4170
|
/**
|
|
3823
4171
|
* DescribeBackupOverview返回参数结构体
|
|
3824
4172
|
*/
|
|
@@ -3865,29 +4213,21 @@ export interface DescribeBackupOverviewResponse {
|
|
|
3865
4213
|
RequestId?: string;
|
|
3866
4214
|
}
|
|
3867
4215
|
/**
|
|
3868
|
-
*
|
|
4216
|
+
* DescribeDBInstanceParameters返回参数结构体
|
|
3869
4217
|
*/
|
|
3870
|
-
export interface
|
|
3871
|
-
/**
|
|
3872
|
-
* 过滤条件,目前支持的过滤条件有:TemplateName, TemplateId,DBMajorVersion,DBEngine。TemplateName不支持模糊匹配。
|
|
3873
|
-
*/
|
|
3874
|
-
Filters?: Array<Filter>;
|
|
3875
|
-
/**
|
|
3876
|
-
* 每页显示数量,[0,100],默认 20
|
|
3877
|
-
*/
|
|
3878
|
-
Limit?: number;
|
|
4218
|
+
export interface DescribeDBInstanceParametersResponse {
|
|
3879
4219
|
/**
|
|
3880
|
-
*
|
|
4220
|
+
* 参数列表总数
|
|
3881
4221
|
*/
|
|
3882
|
-
|
|
4222
|
+
TotalCount?: number;
|
|
3883
4223
|
/**
|
|
3884
|
-
*
|
|
4224
|
+
* 参数列表返回详情
|
|
3885
4225
|
*/
|
|
3886
|
-
|
|
4226
|
+
Detail?: Array<ParamInfo>;
|
|
3887
4227
|
/**
|
|
3888
|
-
*
|
|
4228
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3889
4229
|
*/
|
|
3890
|
-
|
|
4230
|
+
RequestId?: string;
|
|
3891
4231
|
}
|
|
3892
4232
|
/**
|
|
3893
4233
|
* OpenAccountCAM请求参数结构体
|
|
@@ -4214,6 +4554,19 @@ export interface ModifyAccountPrivilegesResponse {
|
|
|
4214
4554
|
*/
|
|
4215
4555
|
RequestId?: string;
|
|
4216
4556
|
}
|
|
4557
|
+
/**
|
|
4558
|
+
* ModifyDBProxy返回参数结构体
|
|
4559
|
+
*/
|
|
4560
|
+
export interface ModifyDBProxyResponse {
|
|
4561
|
+
/**
|
|
4562
|
+
* <p>订单号,仅变配(节点规格/数量变更)下单成功时返回;仅修改 Description 时不下单,本字段为空。</p>
|
|
4563
|
+
*/
|
|
4564
|
+
DealName?: string;
|
|
4565
|
+
/**
|
|
4566
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4567
|
+
*/
|
|
4568
|
+
RequestId?: string;
|
|
4569
|
+
}
|
|
4217
4570
|
/**
|
|
4218
4571
|
* 描述数据库详细信息,包括所有者、字符编码等
|
|
4219
4572
|
*/
|
|
@@ -4335,17 +4688,32 @@ export interface Filter {
|
|
|
4335
4688
|
Values?: Array<string>;
|
|
4336
4689
|
}
|
|
4337
4690
|
/**
|
|
4338
|
-
*
|
|
4691
|
+
* DescribeReadOnlyGroups请求参数结构体
|
|
4339
4692
|
*/
|
|
4340
|
-
export interface
|
|
4693
|
+
export interface DescribeReadOnlyGroupsRequest {
|
|
4341
4694
|
/**
|
|
4342
|
-
*
|
|
4695
|
+
* 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:
|
|
4696
|
+
db-master-instance-id:按照主实例过滤,类型为string。
|
|
4697
|
+
read-only-group-id:按照只读组ID过滤,类型为string。
|
|
4698
|
+
注:该参数的过滤条件中,db-master-instance-id为必须指定项。
|
|
4343
4699
|
*/
|
|
4344
|
-
|
|
4700
|
+
Filters?: Array<Filter>;
|
|
4345
4701
|
/**
|
|
4346
|
-
*
|
|
4702
|
+
* 查询每一页的条数,默认为10,最大值99。
|
|
4347
4703
|
*/
|
|
4348
|
-
|
|
4704
|
+
PageSize?: number;
|
|
4705
|
+
/**
|
|
4706
|
+
* 查询的页码,默认为1
|
|
4707
|
+
*/
|
|
4708
|
+
PageNumber?: number;
|
|
4709
|
+
/**
|
|
4710
|
+
* 查询排序依据,目前支持:ROGroupId,CreateTime,Name。默认值CreateTime
|
|
4711
|
+
*/
|
|
4712
|
+
OrderBy?: string;
|
|
4713
|
+
/**
|
|
4714
|
+
* 查询排序依据类型,目前支持:desc,asc。默认值asc。
|
|
4715
|
+
*/
|
|
4716
|
+
OrderByType?: string;
|
|
4349
4717
|
}
|
|
4350
4718
|
/**
|
|
4351
4719
|
* DescribeBackupDownloadURL请求参数结构体
|
|
@@ -4451,13 +4819,25 @@ export interface DatabasePrivilege {
|
|
|
4451
4819
|
PrivilegeSet?: Array<string>;
|
|
4452
4820
|
}
|
|
4453
4821
|
/**
|
|
4454
|
-
*
|
|
4822
|
+
* Proxy可售规格信息
|
|
4455
4823
|
*/
|
|
4456
|
-
export interface
|
|
4824
|
+
export interface ProxySpecItem {
|
|
4457
4825
|
/**
|
|
4458
|
-
*
|
|
4826
|
+
* <p>CPU 核数</p><p>单位:核</p>
|
|
4459
4827
|
*/
|
|
4460
|
-
|
|
4828
|
+
Cpu?: number;
|
|
4829
|
+
/**
|
|
4830
|
+
* <p>内存大小</p><p>单位:MB</p>
|
|
4831
|
+
*/
|
|
4832
|
+
Memory?: number;
|
|
4833
|
+
/**
|
|
4834
|
+
* <p>最小节点数</p>
|
|
4835
|
+
*/
|
|
4836
|
+
MinNodeNum?: number;
|
|
4837
|
+
/**
|
|
4838
|
+
* <p>最大节点数</p>
|
|
4839
|
+
*/
|
|
4840
|
+
MaxNodeNum?: number;
|
|
4461
4841
|
}
|
|
4462
4842
|
/**
|
|
4463
4843
|
* ModifyDBInstanceSecurityGroups返回参数结构体
|
|
@@ -4799,6 +5179,19 @@ export interface ModifyParameterTemplateResponse {
|
|
|
4799
5179
|
*/
|
|
4800
5180
|
RequestId?: string;
|
|
4801
5181
|
}
|
|
5182
|
+
/**
|
|
5183
|
+
* DescribeDBProxy请求参数结构体
|
|
5184
|
+
*/
|
|
5185
|
+
export interface DescribeDBProxyRequest {
|
|
5186
|
+
/**
|
|
5187
|
+
* <p>实例 ID,格式形如:postgres-xxxxxxxx</p>
|
|
5188
|
+
*/
|
|
5189
|
+
DBInstanceId: string;
|
|
5190
|
+
/**
|
|
5191
|
+
* <p>Proxy 实例 ID,格式形如:proxy-xxxxxxxx;不传则查询该实例下全部 Proxy</p>
|
|
5192
|
+
*/
|
|
5193
|
+
ProxyGroupId?: string;
|
|
5194
|
+
}
|
|
4802
5195
|
/**
|
|
4803
5196
|
* DescribeEncryptionKeys请求参数结构体
|
|
4804
5197
|
*/
|
|
@@ -5177,6 +5570,15 @@ export interface DeleteBaseBackupRequest {
|
|
|
5177
5570
|
*/
|
|
5178
5571
|
BaseBackupId: string;
|
|
5179
5572
|
}
|
|
5573
|
+
/**
|
|
5574
|
+
* ModifyDBProxyAddress返回参数结构体
|
|
5575
|
+
*/
|
|
5576
|
+
export interface ModifyDBProxyAddressResponse {
|
|
5577
|
+
/**
|
|
5578
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5579
|
+
*/
|
|
5580
|
+
RequestId?: string;
|
|
5581
|
+
}
|
|
5180
5582
|
/**
|
|
5181
5583
|
* 批量修改参数
|
|
5182
5584
|
*/
|
|
@@ -5361,21 +5763,37 @@ export interface DescribeSlowQueryListRequest {
|
|
|
5361
5763
|
Offset?: number;
|
|
5362
5764
|
}
|
|
5363
5765
|
/**
|
|
5364
|
-
*
|
|
5766
|
+
* CreateDBProxy请求参数结构体
|
|
5365
5767
|
*/
|
|
5366
|
-
export interface
|
|
5768
|
+
export interface CreateDBProxyRequest {
|
|
5367
5769
|
/**
|
|
5368
|
-
*
|
|
5770
|
+
* <p>实例 ID,格式形如:postgres-xxxxxxxx</p>
|
|
5369
5771
|
*/
|
|
5370
5772
|
DBInstanceId: string;
|
|
5371
5773
|
/**
|
|
5372
|
-
*
|
|
5774
|
+
* <p>Proxy 所在私有网络 ID,需与主实例所在 VPC 一致</p>
|
|
5373
5775
|
*/
|
|
5374
|
-
|
|
5776
|
+
VpcId: string;
|
|
5375
5777
|
/**
|
|
5376
|
-
*
|
|
5778
|
+
* <p>Proxy 所在私有网络子网 ID</p>
|
|
5377
5779
|
*/
|
|
5378
|
-
|
|
5780
|
+
SubnetId: string;
|
|
5781
|
+
/**
|
|
5782
|
+
* <p>Proxy 节点自定义规格列表,至少一个元素,按可用区分组</p>
|
|
5783
|
+
*/
|
|
5784
|
+
ProxyNodeCustom: Array<ProxyNodeCustom>;
|
|
5785
|
+
/**
|
|
5786
|
+
* <p>Proxy 关联的安全组 ID 列表</p>
|
|
5787
|
+
*/
|
|
5788
|
+
SecurityGroup?: Array<string>;
|
|
5789
|
+
/**
|
|
5790
|
+
* <p>Proxy 描述信息</p><p>长度范围:[0, 256]</p>
|
|
5791
|
+
*/
|
|
5792
|
+
Description?: string;
|
|
5793
|
+
/**
|
|
5794
|
+
* <p>连接池阈值(连接数),单位:个</p>
|
|
5795
|
+
*/
|
|
5796
|
+
ConnectionPoolLimit?: number;
|
|
5379
5797
|
}
|
|
5380
5798
|
/**
|
|
5381
5799
|
* 描述地域的编码和状态等信息
|
|
@@ -5671,32 +6089,21 @@ export interface DurationAnalysis {
|
|
|
5671
6089
|
Count: number;
|
|
5672
6090
|
}
|
|
5673
6091
|
/**
|
|
5674
|
-
*
|
|
6092
|
+
* DescribeDBProxy返回参数结构体
|
|
5675
6093
|
*/
|
|
5676
|
-
export interface
|
|
5677
|
-
/**
|
|
5678
|
-
* 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:
|
|
5679
|
-
db-master-instance-id:按照主实例过滤,类型为string。
|
|
5680
|
-
read-only-group-id:按照只读组ID过滤,类型为string。
|
|
5681
|
-
注:该参数的过滤条件中,db-master-instance-id为必须指定项。
|
|
5682
|
-
*/
|
|
5683
|
-
Filters?: Array<Filter>;
|
|
6094
|
+
export interface DescribeDBProxyResponse {
|
|
5684
6095
|
/**
|
|
5685
|
-
*
|
|
5686
|
-
*/
|
|
5687
|
-
PageSize?: number;
|
|
5688
|
-
/**
|
|
5689
|
-
* 查询的页码,默认为1
|
|
6096
|
+
* <p>Proxy 实例数量。</p>
|
|
5690
6097
|
*/
|
|
5691
|
-
|
|
6098
|
+
Count?: number;
|
|
5692
6099
|
/**
|
|
5693
|
-
*
|
|
6100
|
+
* <p>Proxy 实例详情列表。</p>
|
|
5694
6101
|
*/
|
|
5695
|
-
|
|
6102
|
+
ProxyInfos?: Array<ProxyGroupInfo>;
|
|
5696
6103
|
/**
|
|
5697
|
-
*
|
|
6104
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5698
6105
|
*/
|
|
5699
|
-
|
|
6106
|
+
RequestId?: string;
|
|
5700
6107
|
}
|
|
5701
6108
|
/**
|
|
5702
6109
|
* DescribeAccountPrivileges请求参数结构体
|
|
@@ -6029,6 +6436,15 @@ export interface DescribeDBInstanceAttributeResponse {
|
|
|
6029
6436
|
*/
|
|
6030
6437
|
RequestId?: string;
|
|
6031
6438
|
}
|
|
6439
|
+
/**
|
|
6440
|
+
* DescribeDBProxySpecs请求参数结构体
|
|
6441
|
+
*/
|
|
6442
|
+
export interface DescribeDBProxySpecsRequest {
|
|
6443
|
+
/**
|
|
6444
|
+
* <p>实例ID。传入时返回该实例的 Proxy 支持情况和可用区</p>
|
|
6445
|
+
*/
|
|
6446
|
+
DBInstanceId?: string;
|
|
6447
|
+
}
|
|
6032
6448
|
/**
|
|
6033
6449
|
* DeleteLogBackup请求参数结构体
|
|
6034
6450
|
*/
|