tencentcloud-sdk-nodejs 4.1.306 → 4.1.308
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/dbdc/v20201029/dbdc_client.js +28 -4
- package/es/services/dlc/v20210125/dlc_client.js +2 -5
- package/es/services/essbasic/v20210526/essbasic_client.js +0 -6
- package/es/services/live/v20180801/live_client.js +9 -0
- package/es/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/es/services/mps/v20190612/mps_client.js +3 -0
- package/es/services/tdmysql/v20211122/tdmysql_client.js +19 -4
- 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/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +9 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +85 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +21 -34
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +34 -9
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.d.ts +37 -5
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.js +54 -6
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +429 -96
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +3 -7
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +3 -9
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +12 -91
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +8 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +19 -15
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +7 -7
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -25
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -28
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +32 -187
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +26 -10
- package/tencentcloud/services/live/v20180801/live_client.d.ts +13 -1
- package/tencentcloud/services/live/v20180801/live_client.js +18 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +265 -50
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +15 -8
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +9 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +12 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +48 -0
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +7 -1
- package/tencentcloud/services/mps/v20190612/mps_client.js +8 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +210 -38
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -48
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -48
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +395 -226
- package/tencentcloud/services/rce/v20260130/rce_models.d.ts +8 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +2 -2
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1 -1
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +13 -12
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.d.ts +25 -5
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.js +36 -6
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +127 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +29 -8
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +8 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +45 -14
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +7 -6
|
@@ -2508,45 +2508,36 @@ export interface ValueInfo {
|
|
|
2508
2508
|
*/
|
|
2509
2509
|
export interface GetAlarmLogRequest {
|
|
2510
2510
|
/**
|
|
2511
|
-
*
|
|
2511
|
+
* <p>要查询的执行详情的起始时间,Unix时间戳,单位ms。</p>
|
|
2512
2512
|
*/
|
|
2513
2513
|
From: number;
|
|
2514
2514
|
/**
|
|
2515
|
-
*
|
|
2515
|
+
* <p>要查询的执行详情的结束时间,Unix时间戳,单位ms。</p>
|
|
2516
2516
|
*/
|
|
2517
2517
|
To: number;
|
|
2518
2518
|
/**
|
|
2519
|
-
*
|
|
2520
|
-
|
|
2521
|
-
- 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取告警策略ID
|
|
2522
|
-
- 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" `
|
|
2523
|
-
- 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取监控对象ID
|
|
2524
|
-
- 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"`
|
|
2525
|
-
- 按告警策略ID及监控对象ID查询支持SQL语句:`(alert_id:"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1`
|
|
2519
|
+
* <p>查询过滤条件,例如:</p><ul><li>按告警策略ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID</li></ul></li><li>按监控对象ID查询:<code>monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID</li></ul></li><li>按告警策略ID及监控对象ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code></li><li>按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:"alarm-5ce45495-0918-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></li></ul><p>该查询语句走Lucene语法(已废弃)</p>
|
|
2520
|
+
* @deprecated
|
|
2526
2521
|
*/
|
|
2527
|
-
Query
|
|
2522
|
+
Query?: string;
|
|
2523
|
+
/**
|
|
2524
|
+
* <p>查询过滤条件,例如:- 按告警策略ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID- 按监控对象ID查询:<code>monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID- 按告警策略ID及监控对象ID查询:<code>alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"</code>- 按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:"alarm-5ce45495-0918-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></p><p>该查询语句走CQL语法</p>
|
|
2525
|
+
*/
|
|
2526
|
+
QueryString?: string;
|
|
2528
2527
|
/**
|
|
2529
|
-
*
|
|
2528
|
+
* <p>单次查询返回的执行详情条数,最大值为1000</p>
|
|
2530
2529
|
*/
|
|
2531
2530
|
Limit?: number;
|
|
2532
2531
|
/**
|
|
2533
|
-
*
|
|
2534
|
-
注意:
|
|
2535
|
-
* 透传该参数时,请勿修改除该参数外的其它参数
|
|
2536
|
-
* 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
2532
|
+
* <p>透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。<br>注意:</p><ul><li>透传该参数时,请勿修改除该参数外的其它参数</li><li>仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a></li></ul>
|
|
2537
2533
|
*/
|
|
2538
2534
|
Context?: string;
|
|
2539
2535
|
/**
|
|
2540
|
-
*
|
|
2541
|
-
注意:
|
|
2542
|
-
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
2543
|
-
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
2536
|
+
* <p>原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc<br>注意:</p><ul><li>仅当检索分析语句(Query)不包含SQL时有效</li><li>SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a></li></ul>
|
|
2544
2537
|
*/
|
|
2545
2538
|
Sort?: string;
|
|
2546
2539
|
/**
|
|
2547
|
-
* true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns
|
|
2548
|
-
false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;
|
|
2549
|
-
两种返回方式在编码格式上有少量区别,建议使用true。
|
|
2540
|
+
* <p>true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效;<br>false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;<br>两种返回方式在编码格式上有少量区别,建议使用true。</p>
|
|
2550
2541
|
*/
|
|
2551
2542
|
UseNewAnalysis?: boolean;
|
|
2552
2543
|
}
|
|
@@ -12802,43 +12793,39 @@ export interface Relabeling {
|
|
|
12802
12793
|
*/
|
|
12803
12794
|
export interface GetAlarmLogResponse {
|
|
12804
12795
|
/**
|
|
12805
|
-
*
|
|
12796
|
+
* <p>加载后续详情的Context</p>
|
|
12806
12797
|
*/
|
|
12807
12798
|
Context?: string;
|
|
12808
12799
|
/**
|
|
12809
|
-
*
|
|
12800
|
+
* <p>指定时间范围内的告警执行详情是否完整返回</p>
|
|
12810
12801
|
*/
|
|
12811
12802
|
ListOver?: boolean;
|
|
12812
12803
|
/**
|
|
12813
|
-
*
|
|
12804
|
+
* <p>返回的结果是否为SQL分析结果</p>
|
|
12814
12805
|
*/
|
|
12815
12806
|
Analysis?: boolean;
|
|
12816
12807
|
/**
|
|
12817
|
-
*
|
|
12818
|
-
否则为空。
|
|
12808
|
+
* <p>分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;<br>否则为空。</p>
|
|
12819
12809
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12820
12810
|
*/
|
|
12821
12811
|
ColNames?: Array<string>;
|
|
12822
12812
|
/**
|
|
12823
|
-
*
|
|
12824
|
-
当Query字段无SQL语句时,返回查询结果。
|
|
12825
|
-
当Query字段有SQL语句时,可能返回null。
|
|
12813
|
+
* <p>执行详情查询结果。<br>当Query字段无SQL语句时,返回查询结果。<br>当Query字段有SQL语句时,可能返回null。</p>
|
|
12826
12814
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12827
12815
|
*/
|
|
12828
12816
|
Results?: Array<LogInfo>;
|
|
12829
12817
|
/**
|
|
12830
|
-
*
|
|
12831
|
-
|
|
12818
|
+
* <p>执行详情统计分析结果。当Query字段有SQL语句时,返回SQL统计结果,否则可能返回null。</p>
|
|
12832
12819
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12833
12820
|
*/
|
|
12834
12821
|
AnalysisResults?: Array<LogItems>;
|
|
12835
12822
|
/**
|
|
12836
|
-
*
|
|
12823
|
+
* <p>执行详情统计分析结果;UseNewAnalysis为true有效。</p>
|
|
12837
12824
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12838
12825
|
*/
|
|
12839
12826
|
AnalysisRecords?: Array<string>;
|
|
12840
12827
|
/**
|
|
12841
|
-
*
|
|
12828
|
+
* <p>分析结果的列名, UseNewAnalysis为true有效</p>
|
|
12842
12829
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12843
12830
|
*/
|
|
12844
12831
|
Columns?: Array<Column>;
|
|
@@ -4266,7 +4266,7 @@ export interface CreateLaunchTemplateResponse {
|
|
|
4266
4266
|
RequestId?: string;
|
|
4267
4267
|
}
|
|
4268
4268
|
/**
|
|
4269
|
-
* 创建实例时的网卡配置信息,包含主网卡和辅助网卡的VPC、子网、IP
|
|
4269
|
+
* 创建实例时的网卡配置信息,包含主网卡和辅助网卡的VPC、子网、IP分配等网络参数。请注意此参数与VirtualPrivateCloud互斥,即使用NetworkInterfaces后请勿再填充VirtualPrivateCloud结构体。
|
|
4270
4270
|
|
|
4271
4271
|
此功能仅部分地区灰度开放,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)
|
|
4272
4272
|
*/
|
|
@@ -6008,7 +6008,7 @@ export interface ModifyInstancesDisasterRecoverGroupResponse {
|
|
|
6008
6008
|
RequestId?: string;
|
|
6009
6009
|
}
|
|
6010
6010
|
/**
|
|
6011
|
-
*
|
|
6011
|
+
* 描述了主网卡VPC相关信息,包括子网,IP信息等
|
|
6012
6012
|
*/
|
|
6013
6013
|
export interface VirtualPrivateCloud {
|
|
6014
6014
|
/**
|
|
@@ -762,7 +762,7 @@ export declare class Client extends AbstractClient {
|
|
|
762
762
|
/**
|
|
763
763
|
* 本接口(TransferStoragePrepayToPostpay)用于将预付费存储转为后付费存储
|
|
764
764
|
*/
|
|
765
|
-
TransferStoragePrepayToPostpay(req
|
|
765
|
+
TransferStoragePrepayToPostpay(req: TransferStoragePrepayToPostpayRequest, cb?: (error: string, rep: TransferStoragePrepayToPostpayResponse) => void): Promise<TransferStoragePrepayToPostpayResponse>;
|
|
766
766
|
/**
|
|
767
767
|
* 本接口(ModifyAccountDescription)用于修改数据库账号描述信息。
|
|
768
768
|
*/
|
|
@@ -662,19 +662,19 @@ export interface DescribeProxiesResponse {
|
|
|
662
662
|
*/
|
|
663
663
|
export interface DescribeClusterDetailDatabasesRequest {
|
|
664
664
|
/**
|
|
665
|
-
*
|
|
665
|
+
* <p>集群ID</p>
|
|
666
666
|
*/
|
|
667
667
|
ClusterId: string;
|
|
668
668
|
/**
|
|
669
|
-
*
|
|
669
|
+
* <p>偏移量,默认0</p>
|
|
670
670
|
*/
|
|
671
671
|
Offset?: number;
|
|
672
672
|
/**
|
|
673
|
-
*
|
|
673
|
+
* <p>返回数量,默认20,最大100</p>
|
|
674
674
|
*/
|
|
675
675
|
Limit?: number;
|
|
676
676
|
/**
|
|
677
|
-
*
|
|
677
|
+
* <p>数据库名称,通过该字段进行子串匹配</p>
|
|
678
678
|
*/
|
|
679
679
|
DbName?: string;
|
|
680
680
|
}
|
|
@@ -2540,7 +2540,7 @@ export interface DescribeInstanceSpecsRequest {
|
|
|
2540
2540
|
*/
|
|
2541
2541
|
DeviceType?: string;
|
|
2542
2542
|
/**
|
|
2543
|
-
* <p
|
|
2543
|
+
* <p>集群级别。例如 P0, P1。若未指定可用区,针对于不支持亲和性的可用区将降级查询非亲和性资源。</p>
|
|
2544
2544
|
*/
|
|
2545
2545
|
ClusterLevel?: string;
|
|
2546
2546
|
}
|
|
@@ -5263,11 +5263,11 @@ export interface ModifyBackupDownloadRestrictionRequest {
|
|
|
5263
5263
|
*/
|
|
5264
5264
|
export interface DescribeClusterDetailDatabasesResponse {
|
|
5265
5265
|
/**
|
|
5266
|
-
*
|
|
5266
|
+
* <p>数据库信息</p>
|
|
5267
5267
|
*/
|
|
5268
5268
|
DbInfos?: Array<DbInfo>;
|
|
5269
5269
|
/**
|
|
5270
|
-
*
|
|
5270
|
+
* <p>总数</p>
|
|
5271
5271
|
*/
|
|
5272
5272
|
TotalCount?: number;
|
|
5273
5273
|
/**
|
|
@@ -7532,7 +7532,7 @@ export interface AddInstancesRequest {
|
|
|
7532
7532
|
*/
|
|
7533
7533
|
DeviceType?: string;
|
|
7534
7534
|
/**
|
|
7535
|
-
* <p
|
|
7535
|
+
* <p>当前字段已废弃。当前版本不再传输该值。</p>
|
|
7536
7536
|
* @deprecated
|
|
7537
7537
|
*/
|
|
7538
7538
|
InstanceGrpId?: string;
|
|
@@ -14221,7 +14221,12 @@ export interface SwitchClusterLogBin {
|
|
|
14221
14221
|
/**
|
|
14222
14222
|
* TransferStoragePrepayToPostpay请求参数结构体
|
|
14223
14223
|
*/
|
|
14224
|
-
export
|
|
14224
|
+
export interface TransferStoragePrepayToPostpayRequest {
|
|
14225
|
+
/**
|
|
14226
|
+
* <p>集群id</p>
|
|
14227
|
+
*/
|
|
14228
|
+
ClusterId: string;
|
|
14229
|
+
}
|
|
14225
14230
|
/**
|
|
14226
14231
|
* ModifyVault请求参数结构体
|
|
14227
14232
|
*/
|
|
@@ -14792,6 +14797,26 @@ export interface ParamInfo {
|
|
|
14792
14797
|
* TransferStoragePrepayToPostpay返回参数结构体
|
|
14793
14798
|
*/
|
|
14794
14799
|
export interface TransferStoragePrepayToPostpayResponse {
|
|
14800
|
+
/**
|
|
14801
|
+
* <p>预付费总订单号</p>
|
|
14802
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14803
|
+
*/
|
|
14804
|
+
BigDealIds?: Array<string>;
|
|
14805
|
+
/**
|
|
14806
|
+
* <p>订单号</p>
|
|
14807
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14808
|
+
*/
|
|
14809
|
+
DealNames?: Array<string>;
|
|
14810
|
+
/**
|
|
14811
|
+
* <p>资源id</p>
|
|
14812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14813
|
+
*/
|
|
14814
|
+
ResourceIds?: Array<string>;
|
|
14815
|
+
/**
|
|
14816
|
+
* <p>集群id</p>
|
|
14817
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14818
|
+
*/
|
|
14819
|
+
ClusterIds?: Array<string>;
|
|
14795
14820
|
/**
|
|
14796
14821
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14797
14822
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { IsolateDBCustomNodeRequest, DescribeDBCustomClusterDetailResponse, DestroyDBCustomClusterRequest, DescribeDBCustomClusterResourcesRequest,
|
|
3
|
+
import { IsolateDBCustomNodeRequest, DescribeDBCustomDisasterRecoverGroupQuotaRequest, DescribeDBCustomClusterDetailResponse, DestroyDBCustomClusterRequest, DescribeDBCustomClusterResourcesRequest, ModifyInstanceNameRequest, DescribeDBCustomClusterNodeConfigResponse, DescribeInstancesResponse, DeleteDBCustomDisasterRecoverGroupsResponse, ModifyInstanceNameResponse, DescribeDBCustomClusterNodeConfigRequest, DescribeDBCustomDisasterRecoverGroupQuotaResponse, ModifyDBCustomNodeAttributesResponse, CreateDBCustomClusterResponse, DescribeDBCustomImagesRequest, CreateDBCustomClusterRequest, DescribeInstanceListResponse, DescribeDBCustomDisasterRecoverGroupsRequest, ModifyDBCustomNodeSecurityGroupsResponse, RemoveNodesFromDBCustomClusterResponse, DescribeDBCustomNodesResponse, DescribeDBCustomClusterResourcesResponse, ModifyDBCustomDisasterRecoverGroupTagsResponse, DescribeDBCustomClusterNodesRequest, DescribeInstanceListRequest, DescribeDBCustomClustersRequest, DescribeDBInstancesRequest, DescribeDBCustomNodeTypesResponse, AddNodesToDBCustomClusterRequest, DescribeHostListResponse, DescribeDBCustomRegionsRequest, ModifyDBCustomClusterTagsRequest, DescribeDBCustomTaskStatusResponse, ModifyDBCustomNodeTagsRequest, DescribeInstanceDetailResponse, ModifyDBCustomClusterNodeConfigResponse, CreateDBCustomDisasterRecoverGroupRequest, DeleteDBCustomNodesDisasterRecoverGroupResponse, ModifyDBCustomDisasterRecoverGroupAttributeResponse, DestroyDBCustomNodeRequest, DescribeDBCustomZonesRequest, ModifyDBCustomClusterNodeConfigRequest, CheckRoleAuthorizedRequest, ModifyDBCustomNodesDisasterRecoverGroupRequest, CreateDBCustomNodesRequest, RenewDBCustomNodeResponse, DescribeDBCustomImagesResponse, ModifyDBCustomNodeTagsResponse, AddNodesToDBCustomClusterResponse, DestroyDBCustomClusterResponse, DescribeDBCustomClusterNodeResourcesRequest, ModifyDBCustomNodesDisasterRecoverGroupResponse, ModifyDBCustomClusterAttributesRequest, DescribeDBCustomNodeTypesRequest, DescribeDBCustomClusterNodeResourcesResponse, ModifyDBCustomClusterTagsResponse, DescribeDBCustomRegionsResponse, DescribeDBCustomClusterKubeconfigRequest, DescribeDBCustomDisasterRecoverGroupsResponse, RemoveNodesFromDBCustomClusterRequest, DescribeDBCustomClustersResponse, DeleteDBCustomNodesDisasterRecoverGroupRequest, CheckRoleAuthorizedResponse, DescribeInstancesRequest, DescribeDBCustomClusterDetailRequest, RenewDBCustomNodeRequest, IsolateDBCustomNodeResponse, ModifyDBCustomDisasterRecoverGroupAttributeRequest, DescribeDBCustomNodeSecurityGroupsResponse, DestroyDBCustomNodeResponse, DescribeDBCustomTaskStatusRequest, ModifyDBCustomClusterAttributesResponse, DeleteDBCustomDisasterRecoverGroupsRequest, DescribeDBCustomZonesResponse, CreateDBCustomDisasterRecoverGroupResponse, DescribeDBInstancesResponse, CreateDBCustomNodesResponse, DescribeDBCustomNodeSecurityGroupsRequest, DescribeDBCustomClusterNodesResponse, DescribeInstanceDetailRequest, ModifyDBCustomNodeAttributesRequest, ModifyDBCustomDisasterRecoverGroupTagsRequest, DescribeDBCustomClusterKubeconfigResponse, DescribeHostListRequest, DescribeDBCustomNodesRequest, ModifyDBCustomNodeSecurityGroupsRequest } from "./dbdc_models";
|
|
4
4
|
/**
|
|
5
5
|
* dbdc client
|
|
6
6
|
* @class
|
|
@@ -11,6 +11,10 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 该接口(DestroyDBCustomNode)用于销毁 DB Custom 节点。
|
|
12
12
|
*/
|
|
13
13
|
DestroyDBCustomNode(req: DestroyDBCustomNodeRequest, cb?: (error: string, rep: DestroyDBCustomNodeResponse) => void): Promise<DestroyDBCustomNodeResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 该接口(DescribeDBCustomDisasterRecoverGroups)用于查询 DB Custom 置放群组列表。
|
|
16
|
+
*/
|
|
17
|
+
DescribeDBCustomDisasterRecoverGroups(req: DescribeDBCustomDisasterRecoverGroupsRequest, cb?: (error: string, rep: DescribeDBCustomDisasterRecoverGroupsResponse) => void): Promise<DescribeDBCustomDisasterRecoverGroupsResponse>;
|
|
14
18
|
/**
|
|
15
19
|
* 该接口(ModifyDBCustomNodeAttributes)用于修改 DB Custom 节点的属性。
|
|
16
20
|
*/
|
|
@@ -83,6 +87,10 @@ export declare class Client extends AbstractClient {
|
|
|
83
87
|
* 该接口(RenewDBCustomNode)用于给 DB Custom 节点续费,或者给已经隔离的实例解除隔离。
|
|
84
88
|
*/
|
|
85
89
|
RenewDBCustomNode(req: RenewDBCustomNodeRequest, cb?: (error: string, rep: RenewDBCustomNodeResponse) => void): Promise<RenewDBCustomNodeResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 该接口(ModifyDBCustomNodesDisasterRecoverGroup)用于修改 DB Custom 节点的置放群组。
|
|
92
|
+
*/
|
|
93
|
+
ModifyDBCustomNodesDisasterRecoverGroup(req: ModifyDBCustomNodesDisasterRecoverGroupRequest, cb?: (error: string, rep: ModifyDBCustomNodesDisasterRecoverGroupResponse) => void): Promise<ModifyDBCustomNodesDisasterRecoverGroupResponse>;
|
|
86
94
|
/**
|
|
87
95
|
* 该接口(DescribeDBCustomClusterDetail) 用于查询 DB Custom 集群的详情信息。
|
|
88
96
|
*/
|
|
@@ -91,6 +99,14 @@ export declare class Client extends AbstractClient {
|
|
|
91
99
|
* 该接口 (IsolateDBCustomNode) 用于隔离 DB Custom 节点。
|
|
92
100
|
*/
|
|
93
101
|
IsolateDBCustomNode(req: IsolateDBCustomNodeRequest, cb?: (error: string, rep: IsolateDBCustomNodeResponse) => void): Promise<IsolateDBCustomNodeResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* 该接口(CreateDBCustomCluster)用于创建 DB Custom 集群。
|
|
104
|
+
*/
|
|
105
|
+
CreateDBCustomCluster(req: CreateDBCustomClusterRequest, cb?: (error: string, rep: CreateDBCustomClusterResponse) => void): Promise<CreateDBCustomClusterResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* 该接口(DeleteDBCustomDisasterRecoverGroups)用于删除 DB Custom 置放群组。
|
|
108
|
+
*/
|
|
109
|
+
DeleteDBCustomDisasterRecoverGroups(req: DeleteDBCustomDisasterRecoverGroupsRequest, cb?: (error: string, rep: DeleteDBCustomDisasterRecoverGroupsResponse) => void): Promise<DeleteDBCustomDisasterRecoverGroupsResponse>;
|
|
94
110
|
/**
|
|
95
111
|
* 该接口(ModifyDBCustomClusterAttributes)用于修改 DB Custom 集群的属性。
|
|
96
112
|
*/
|
|
@@ -100,21 +116,25 @@ export declare class Client extends AbstractClient {
|
|
|
100
116
|
*/
|
|
101
117
|
DescribeInstanceList(req: DescribeInstanceListRequest, cb?: (error: string, rep: DescribeInstanceListResponse) => void): Promise<DescribeInstanceListResponse>;
|
|
102
118
|
/**
|
|
103
|
-
* 该接口(
|
|
119
|
+
* 该接口(DeleteDBCustomNodesDisasterRecoverGroup)用于移除 DB Custom 节点的置放群组。
|
|
104
120
|
*/
|
|
105
|
-
|
|
121
|
+
DeleteDBCustomNodesDisasterRecoverGroup(req: DeleteDBCustomNodesDisasterRecoverGroupRequest, cb?: (error: string, rep: DeleteDBCustomNodesDisasterRecoverGroupResponse) => void): Promise<DeleteDBCustomNodesDisasterRecoverGroupResponse>;
|
|
106
122
|
/**
|
|
107
123
|
* 该接口(RemoveNodesFromDBCustomCluster)用于从 DB Custom 集群移出节点。
|
|
108
124
|
*/
|
|
109
125
|
RemoveNodesFromDBCustomCluster(req: RemoveNodesFromDBCustomClusterRequest, cb?: (error: string, rep: RemoveNodesFromDBCustomClusterResponse) => void): Promise<RemoveNodesFromDBCustomClusterResponse>;
|
|
126
|
+
/**
|
|
127
|
+
* 该接口(ModifyDBCustomDisasterRecoverGroupTags)用于修改 DB Custom 置放群组绑定的标签。
|
|
128
|
+
*/
|
|
129
|
+
ModifyDBCustomDisasterRecoverGroupTags(req: ModifyDBCustomDisasterRecoverGroupTagsRequest, cb?: (error: string, rep: ModifyDBCustomDisasterRecoverGroupTagsResponse) => void): Promise<ModifyDBCustomDisasterRecoverGroupTagsResponse>;
|
|
110
130
|
/**
|
|
111
131
|
* 该接口(DescribeDBCustomClusterNodeConfig)用于查询 DB Custom 集群内节点的配置信息。
|
|
112
132
|
*/
|
|
113
133
|
DescribeDBCustomClusterNodeConfig(req: DescribeDBCustomClusterNodeConfigRequest, cb?: (error: string, rep: DescribeDBCustomClusterNodeConfigResponse) => void): Promise<DescribeDBCustomClusterNodeConfigResponse>;
|
|
114
134
|
/**
|
|
115
|
-
* 该接口(
|
|
135
|
+
* 该接口(ModifyDBCustomDisasterRecoverGroupAttribute)用于修改 DB Custom 置放群组的属性。
|
|
116
136
|
*/
|
|
117
|
-
|
|
137
|
+
ModifyDBCustomDisasterRecoverGroupAttribute(req: ModifyDBCustomDisasterRecoverGroupAttributeRequest, cb?: (error: string, rep: ModifyDBCustomDisasterRecoverGroupAttributeResponse) => void): Promise<ModifyDBCustomDisasterRecoverGroupAttributeResponse>;
|
|
118
138
|
/**
|
|
119
139
|
* 该接口(DescribeDBCustomClusterKubeconfig)用于查询 DB Custom 集群 Kubeconfig。
|
|
120
140
|
*/
|
|
@@ -131,10 +151,18 @@ export declare class Client extends AbstractClient {
|
|
|
131
151
|
* 该接口(DescribeDBCustomClusterNodeResources)用于查询 DB Custom 集群内节点的资源信息。
|
|
132
152
|
*/
|
|
133
153
|
DescribeDBCustomClusterNodeResources(req: DescribeDBCustomClusterNodeResourcesRequest, cb?: (error: string, rep: DescribeDBCustomClusterNodeResourcesResponse) => void): Promise<DescribeDBCustomClusterNodeResourcesResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* 该接口(CreateDBCustomDisasterRecoverGroup)用于创建 DB Custom 置放群组。
|
|
156
|
+
*/
|
|
157
|
+
CreateDBCustomDisasterRecoverGroup(req: CreateDBCustomDisasterRecoverGroupRequest, cb?: (error: string, rep: CreateDBCustomDisasterRecoverGroupResponse) => void): Promise<CreateDBCustomDisasterRecoverGroupResponse>;
|
|
134
158
|
/**
|
|
135
159
|
* 该接口(ModifyDBCustomClusterNodeConfig)用于修改 DB Custom 集群中节点的配置。
|
|
136
160
|
*/
|
|
137
161
|
ModifyDBCustomClusterNodeConfig(req: ModifyDBCustomClusterNodeConfigRequest, cb?: (error: string, rep: ModifyDBCustomClusterNodeConfigResponse) => void): Promise<ModifyDBCustomClusterNodeConfigResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* 该接口(DescribeDBCustomDisasterRecoverGroupQuota)用于查询 DB Custom 置放群组配额。
|
|
164
|
+
*/
|
|
165
|
+
DescribeDBCustomDisasterRecoverGroupQuota(req?: DescribeDBCustomDisasterRecoverGroupQuotaRequest, cb?: (error: string, rep: DescribeDBCustomDisasterRecoverGroupQuotaResponse) => void): Promise<DescribeDBCustomDisasterRecoverGroupQuotaResponse>;
|
|
138
166
|
/**
|
|
139
167
|
* 该接口(DescribeDBCustomTaskStatus)用于查询 DB Custom 任务的状态。
|
|
140
168
|
*/
|
|
@@ -143,6 +171,10 @@ export declare class Client extends AbstractClient {
|
|
|
143
171
|
* 检查服务相关角色是否已创建
|
|
144
172
|
*/
|
|
145
173
|
CheckRoleAuthorized(req: CheckRoleAuthorizedRequest, cb?: (error: string, rep: CheckRoleAuthorizedResponse) => void): Promise<CheckRoleAuthorizedResponse>;
|
|
174
|
+
/**
|
|
175
|
+
* 该接口(ModifyDBCustomNodeTags)用于修改 DB Custom 节点绑定的标签。
|
|
176
|
+
*/
|
|
177
|
+
ModifyDBCustomNodeTags(req: ModifyDBCustomNodeTagsRequest, cb?: (error: string, rep: ModifyDBCustomNodeTagsResponse) => void): Promise<ModifyDBCustomNodeTagsResponse>;
|
|
146
178
|
/**
|
|
147
179
|
* 该接口(DescribeDBCustomClusters)为 DB Custom 集群列表查询接口。
|
|
148
180
|
*/
|
|
@@ -33,6 +33,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
33
33
|
async DestroyDBCustomNode(req, cb) {
|
|
34
34
|
return this.request("DestroyDBCustomNode", req, cb);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* 该接口(DescribeDBCustomDisasterRecoverGroups)用于查询 DB Custom 置放群组列表。
|
|
38
|
+
*/
|
|
39
|
+
async DescribeDBCustomDisasterRecoverGroups(req, cb) {
|
|
40
|
+
return this.request("DescribeDBCustomDisasterRecoverGroups", req, cb);
|
|
41
|
+
}
|
|
36
42
|
/**
|
|
37
43
|
* 该接口(ModifyDBCustomNodeAttributes)用于修改 DB Custom 节点的属性。
|
|
38
44
|
*/
|
|
@@ -141,6 +147,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
141
147
|
async RenewDBCustomNode(req, cb) {
|
|
142
148
|
return this.request("RenewDBCustomNode", req, cb);
|
|
143
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* 该接口(ModifyDBCustomNodesDisasterRecoverGroup)用于修改 DB Custom 节点的置放群组。
|
|
152
|
+
*/
|
|
153
|
+
async ModifyDBCustomNodesDisasterRecoverGroup(req, cb) {
|
|
154
|
+
return this.request("ModifyDBCustomNodesDisasterRecoverGroup", req, cb);
|
|
155
|
+
}
|
|
144
156
|
/**
|
|
145
157
|
* 该接口(DescribeDBCustomClusterDetail) 用于查询 DB Custom 集群的详情信息。
|
|
146
158
|
*/
|
|
@@ -153,6 +165,18 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
153
165
|
async IsolateDBCustomNode(req, cb) {
|
|
154
166
|
return this.request("IsolateDBCustomNode", req, cb);
|
|
155
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* 该接口(CreateDBCustomCluster)用于创建 DB Custom 集群。
|
|
170
|
+
*/
|
|
171
|
+
async CreateDBCustomCluster(req, cb) {
|
|
172
|
+
return this.request("CreateDBCustomCluster", req, cb);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* 该接口(DeleteDBCustomDisasterRecoverGroups)用于删除 DB Custom 置放群组。
|
|
176
|
+
*/
|
|
177
|
+
async DeleteDBCustomDisasterRecoverGroups(req, cb) {
|
|
178
|
+
return this.request("DeleteDBCustomDisasterRecoverGroups", req, cb);
|
|
179
|
+
}
|
|
156
180
|
/**
|
|
157
181
|
* 该接口(ModifyDBCustomClusterAttributes)用于修改 DB Custom 集群的属性。
|
|
158
182
|
*/
|
|
@@ -166,10 +190,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
166
190
|
return this.request("DescribeInstanceList", req, cb);
|
|
167
191
|
}
|
|
168
192
|
/**
|
|
169
|
-
* 该接口(
|
|
193
|
+
* 该接口(DeleteDBCustomNodesDisasterRecoverGroup)用于移除 DB Custom 节点的置放群组。
|
|
170
194
|
*/
|
|
171
|
-
async
|
|
172
|
-
return this.request("
|
|
195
|
+
async DeleteDBCustomNodesDisasterRecoverGroup(req, cb) {
|
|
196
|
+
return this.request("DeleteDBCustomNodesDisasterRecoverGroup", req, cb);
|
|
173
197
|
}
|
|
174
198
|
/**
|
|
175
199
|
* 该接口(RemoveNodesFromDBCustomCluster)用于从 DB Custom 集群移出节点。
|
|
@@ -177,6 +201,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
177
201
|
async RemoveNodesFromDBCustomCluster(req, cb) {
|
|
178
202
|
return this.request("RemoveNodesFromDBCustomCluster", req, cb);
|
|
179
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
* 该接口(ModifyDBCustomDisasterRecoverGroupTags)用于修改 DB Custom 置放群组绑定的标签。
|
|
206
|
+
*/
|
|
207
|
+
async ModifyDBCustomDisasterRecoverGroupTags(req, cb) {
|
|
208
|
+
return this.request("ModifyDBCustomDisasterRecoverGroupTags", req, cb);
|
|
209
|
+
}
|
|
180
210
|
/**
|
|
181
211
|
* 该接口(DescribeDBCustomClusterNodeConfig)用于查询 DB Custom 集群内节点的配置信息。
|
|
182
212
|
*/
|
|
@@ -184,10 +214,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
184
214
|
return this.request("DescribeDBCustomClusterNodeConfig", req, cb);
|
|
185
215
|
}
|
|
186
216
|
/**
|
|
187
|
-
* 该接口(
|
|
217
|
+
* 该接口(ModifyDBCustomDisasterRecoverGroupAttribute)用于修改 DB Custom 置放群组的属性。
|
|
188
218
|
*/
|
|
189
|
-
async
|
|
190
|
-
return this.request("
|
|
219
|
+
async ModifyDBCustomDisasterRecoverGroupAttribute(req, cb) {
|
|
220
|
+
return this.request("ModifyDBCustomDisasterRecoverGroupAttribute", req, cb);
|
|
191
221
|
}
|
|
192
222
|
/**
|
|
193
223
|
* 该接口(DescribeDBCustomClusterKubeconfig)用于查询 DB Custom 集群 Kubeconfig。
|
|
@@ -213,12 +243,24 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
213
243
|
async DescribeDBCustomClusterNodeResources(req, cb) {
|
|
214
244
|
return this.request("DescribeDBCustomClusterNodeResources", req, cb);
|
|
215
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* 该接口(CreateDBCustomDisasterRecoverGroup)用于创建 DB Custom 置放群组。
|
|
248
|
+
*/
|
|
249
|
+
async CreateDBCustomDisasterRecoverGroup(req, cb) {
|
|
250
|
+
return this.request("CreateDBCustomDisasterRecoverGroup", req, cb);
|
|
251
|
+
}
|
|
216
252
|
/**
|
|
217
253
|
* 该接口(ModifyDBCustomClusterNodeConfig)用于修改 DB Custom 集群中节点的配置。
|
|
218
254
|
*/
|
|
219
255
|
async ModifyDBCustomClusterNodeConfig(req, cb) {
|
|
220
256
|
return this.request("ModifyDBCustomClusterNodeConfig", req, cb);
|
|
221
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
* 该接口(DescribeDBCustomDisasterRecoverGroupQuota)用于查询 DB Custom 置放群组配额。
|
|
260
|
+
*/
|
|
261
|
+
async DescribeDBCustomDisasterRecoverGroupQuota(req, cb) {
|
|
262
|
+
return this.request("DescribeDBCustomDisasterRecoverGroupQuota", req, cb);
|
|
263
|
+
}
|
|
222
264
|
/**
|
|
223
265
|
* 该接口(DescribeDBCustomTaskStatus)用于查询 DB Custom 任务的状态。
|
|
224
266
|
*/
|
|
@@ -231,6 +273,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
231
273
|
async CheckRoleAuthorized(req, cb) {
|
|
232
274
|
return this.request("CheckRoleAuthorized", req, cb);
|
|
233
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* 该接口(ModifyDBCustomNodeTags)用于修改 DB Custom 节点绑定的标签。
|
|
278
|
+
*/
|
|
279
|
+
async ModifyDBCustomNodeTags(req, cb) {
|
|
280
|
+
return this.request("ModifyDBCustomNodeTags", req, cb);
|
|
281
|
+
}
|
|
234
282
|
/**
|
|
235
283
|
* 该接口(DescribeDBCustomClusters)为 DB Custom 集群列表查询接口。
|
|
236
284
|
*/
|