tencentcloud-sdk-nodejs 4.0.291 → 4.0.294
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/CHANGELOG.md +313 -0
- package/SERVICE_CHANGELOG.md +351 -70
- package/package.json +1 -1
- package/products.md +164 -164
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +13 -0
- package/src/services/ame/v20190916/ame_models.ts +65 -0
- package/src/services/as/v20180419/as_models.ts +10 -0
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +13 -13
- package/src/services/cii/v20210408/cii_client.ts +15 -0
- package/src/services/cii/v20210408/cii_models.ts +67 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +34 -10
- package/src/services/ckafka/v20190819/ckafka_models.ts +151 -46
- package/src/services/clb/v20180317/clb_client.ts +29 -15
- package/src/services/clb/v20180317/clb_models.ts +94 -0
- package/src/services/cpdp/v20190820/cpdp_client.ts +209 -46
- package/src/services/cpdp/v20190820/cpdp_models.ts +2012 -541
- package/src/services/cvm/v20170312/cvm_models.ts +11 -1
- package/src/services/dcdb/v20180411/dcdb_client.ts +18 -6
- package/src/services/dcdb/v20180411/dcdb_models.ts +245 -107
- package/src/services/eb/v20210416/eb_client.ts +1 -1
- package/src/services/faceid/v20180301/faceid_models.ts +1 -1
- package/src/services/iecp/v20210914/iecp_client.ts +5 -5
- package/src/services/iecp/v20210914/iecp_models.ts +19 -9
- package/src/services/iotcloud/v20180614/iotcloud_client.ts +25 -1
- package/src/services/iotcloud/v20180614/iotcloud_models.ts +69 -4
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
- package/src/services/mariadb/v20170312/mariadb_client.ts +21 -5
- package/src/services/mariadb/v20170312/mariadb_models.ts +164 -69
- package/src/services/mna/v20210119/mna_client.ts +3 -0
- package/src/services/mna/v20210119/mna_models.ts +75 -0
- package/src/services/monitor/v20180724/monitor_client.ts +19 -2
- package/src/services/monitor/v20180724/monitor_models.ts +397 -19
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/src/services/ses/v20201002/ses_client.ts +1 -1
- package/src/services/sms/v20210111/sms_models.ts +6 -0
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +4 -4
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +5 -1
- package/tencentcloud/services/ame/v20190916/ame_client.js +6 -0
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +55 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +8 -0
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +13 -13
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
- package/tencentcloud/services/cii/v20210408/cii_client.js +9 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +57 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +11 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +15 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +129 -41
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +10 -6
- package/tencentcloud/services/clb/v20180317/clb_client.js +13 -7
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +80 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +61 -13
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +90 -18
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1714 -463
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +9 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +210 -96
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +1 -1
- package/tencentcloud/services/eb/v20210416/eb_client.js +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1 -1
- package/tencentcloud/services/iecp/v20210914/iecp_client.d.ts +5 -5
- package/tencentcloud/services/iecp/v20210914/iecp_client.js +5 -5
- package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +17 -9
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.d.ts +9 -1
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.js +12 -0
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +60 -4
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +141 -59
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +63 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +331 -18
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +5 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -4
- package/test/ame.v20190916.test.js +10 -0
- package/test/cii.v20210408.test.js +10 -0
- package/test/ckafka.v20190819.test.js +22 -2
- package/test/clb.v20180317.test.js +14 -4
- package/test/cpdp.v20190820.test.js +132 -12
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/iotcloud.v20180614.test.js +20 -0
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/monitor.v20180724.test.js +10 -0
|
@@ -958,7 +958,7 @@ export interface ModifyDBInstanceNameRequest {
|
|
|
958
958
|
InstanceId: string
|
|
959
959
|
|
|
960
960
|
/**
|
|
961
|
-
*
|
|
961
|
+
* 修改后的实例名称。
|
|
962
962
|
*/
|
|
963
963
|
InstanceName: string
|
|
964
964
|
}
|
|
@@ -2828,7 +2828,7 @@ export interface DescribeDBSecurityGroupsRequest {
|
|
|
2828
2828
|
InstanceId: string
|
|
2829
2829
|
|
|
2830
2830
|
/**
|
|
2831
|
-
*
|
|
2831
|
+
* 该值默认为False,表示当传入只读实例ID时,查询操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True。
|
|
2832
2832
|
*/
|
|
2833
2833
|
ForReadonlyInstance?: boolean
|
|
2834
2834
|
}
|
|
@@ -4237,7 +4237,7 @@ export interface CreateDBInstanceRequest {
|
|
|
4237
4237
|
Cpu?: number
|
|
4238
4238
|
|
|
4239
4239
|
/**
|
|
4240
|
-
* 是否自动发起灾备同步功能。该参数仅对购买灾备实例生效。 可选值为:0 - 不自动发起灾备同步;1 -
|
|
4240
|
+
* 是否自动发起灾备同步功能。该参数仅对购买灾备实例生效。 可选值为:0 - 不自动发起灾备同步;1 - 自动发起灾备同步。该值默认为0。
|
|
4241
4241
|
*/
|
|
4242
4242
|
AutoSyncFlag?: number
|
|
4243
4243
|
|
|
@@ -7047,7 +7047,7 @@ export interface DescribeSlowLogsRequest {
|
|
|
7047
7047
|
InstanceId: string
|
|
7048
7048
|
|
|
7049
7049
|
/**
|
|
7050
|
-
*
|
|
7050
|
+
* 偏移量,默认值为0,最小值为0。
|
|
7051
7051
|
*/
|
|
7052
7052
|
Offset?: number
|
|
7053
7053
|
|
|
@@ -7583,7 +7583,7 @@ export interface CreateDBInstanceHourRequest {
|
|
|
7583
7583
|
Cpu?: number
|
|
7584
7584
|
|
|
7585
7585
|
/**
|
|
7586
|
-
* 是否自动发起灾备同步功能。该参数仅对购买灾备实例生效。 可选值为:0 - 不自动发起灾备同步;1 -
|
|
7586
|
+
* 是否自动发起灾备同步功能。该参数仅对购买灾备实例生效。 可选值为:0 - 不自动发起灾备同步;1 - 自动发起灾备同步。该值默认为0。
|
|
7587
7587
|
*/
|
|
7588
7588
|
AutoSyncFlag?: number
|
|
7589
7589
|
|
|
@@ -7806,22 +7806,22 @@ export interface DescribeBackupSummariesRequest {
|
|
|
7806
7806
|
Product: string
|
|
7807
7807
|
|
|
7808
7808
|
/**
|
|
7809
|
-
*
|
|
7809
|
+
* 分页查询数据的偏移量,默认为0。
|
|
7810
7810
|
*/
|
|
7811
7811
|
Offset?: number
|
|
7812
7812
|
|
|
7813
7813
|
/**
|
|
7814
|
-
* 分页查询数据的条目限制,默认值为20。
|
|
7814
|
+
* 分页查询数据的条目限制,默认值为20。最小值为1,最大值为100。
|
|
7815
7815
|
*/
|
|
7816
7816
|
Limit?: number
|
|
7817
7817
|
|
|
7818
7818
|
/**
|
|
7819
|
-
* 指定按某一项排序,可选值包括: BackupVolume: 备份容量, DataBackupVolume: 数据备份容量, BinlogBackupVolume: 日志备份容量, AutoBackupVolume: 自动备份容量, ManualBackupVolume:
|
|
7819
|
+
* 指定按某一项排序,可选值包括: BackupVolume: 备份容量, DataBackupVolume: 数据备份容量, BinlogBackupVolume: 日志备份容量, AutoBackupVolume: 自动备份容量, ManualBackupVolume: 手动备份容量。默认按照BackupVolume排序。
|
|
7820
7820
|
*/
|
|
7821
7821
|
OrderBy?: string
|
|
7822
7822
|
|
|
7823
7823
|
/**
|
|
7824
|
-
* 指定排序方向,可选值包括: ASC: 正序, DESC:
|
|
7824
|
+
* 指定排序方向,可选值包括: ASC: 正序, DESC: 逆序。默认值为 ASC。
|
|
7825
7825
|
*/
|
|
7826
7826
|
OrderDirection?: string
|
|
7827
7827
|
}
|
|
@@ -7918,12 +7918,12 @@ export interface DescribeBackupSummariesResponse {
|
|
|
7918
7918
|
/**
|
|
7919
7919
|
* 实例备份统计条目。
|
|
7920
7920
|
*/
|
|
7921
|
-
Items
|
|
7921
|
+
Items: Array<BackupSummaryItem>
|
|
7922
7922
|
|
|
7923
7923
|
/**
|
|
7924
7924
|
* 实例备份统计总条目数。
|
|
7925
7925
|
*/
|
|
7926
|
-
TotalCount
|
|
7926
|
+
TotalCount: number
|
|
7927
7927
|
|
|
7928
7928
|
/**
|
|
7929
7929
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -8747,12 +8747,12 @@ export interface DescribeSlowLogsResponse {
|
|
|
8747
8747
|
/**
|
|
8748
8748
|
* 符合查询条件的慢查询日志总数。
|
|
8749
8749
|
*/
|
|
8750
|
-
TotalCount
|
|
8750
|
+
TotalCount: number
|
|
8751
8751
|
|
|
8752
8752
|
/**
|
|
8753
8753
|
* 符合查询条件的慢查询日志详情。
|
|
8754
8754
|
*/
|
|
8755
|
-
Items
|
|
8755
|
+
Items: Array<SlowLogInfo>
|
|
8756
8756
|
|
|
8757
8757
|
/**
|
|
8758
8758
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
StructureOneItem,
|
|
37
37
|
CreateAutoClassifyStructureTaskRequest,
|
|
38
38
|
DescribeMachineUnderwriteRequest,
|
|
39
|
+
DescribeQualityScoreRequest,
|
|
39
40
|
ReviewDataTaskInfo,
|
|
40
41
|
DescribeUnderwriteTaskResponse,
|
|
41
42
|
DescribeStructureResultRequest,
|
|
@@ -43,6 +44,7 @@ import {
|
|
|
43
44
|
UnderwriteItem,
|
|
44
45
|
DescribeStructCompareDataResponse,
|
|
45
46
|
MachinePredict,
|
|
47
|
+
DescribeQualityScoreResponse,
|
|
46
48
|
DescribeUnderwriteTaskRequest,
|
|
47
49
|
ResultObject,
|
|
48
50
|
DescribeStructureResultResponse,
|
|
@@ -163,6 +165,19 @@ export class Client extends AbstractClient {
|
|
|
163
165
|
return this.request("DescribeStructCompareData", req, cb)
|
|
164
166
|
}
|
|
165
167
|
|
|
168
|
+
/**
|
|
169
|
+
* 获取图片质量分
|
|
170
|
+
*/
|
|
171
|
+
async DescribeQualityScore(
|
|
172
|
+
req: DescribeQualityScoreRequest,
|
|
173
|
+
cb?: (error: string, rep: DescribeQualityScoreResponse) => void
|
|
174
|
+
): Promise<DescribeQualityScoreResponse> {
|
|
175
|
+
let options = {
|
|
176
|
+
multipart: true,
|
|
177
|
+
}
|
|
178
|
+
return this.request("DescribeQualityScore", req, cb)
|
|
179
|
+
}
|
|
180
|
+
|
|
166
181
|
/**
|
|
167
182
|
* 本接口(DescribeStructureResult)用于查询结构化结果接口
|
|
168
183
|
*/
|
|
@@ -432,6 +432,16 @@ export interface DescribeMachineUnderwriteRequest {
|
|
|
432
432
|
UnderwriteTaskId: string
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
+
/**
|
|
436
|
+
* DescribeQualityScore请求参数结构体
|
|
437
|
+
*/
|
|
438
|
+
export interface DescribeQualityScoreRequest {
|
|
439
|
+
/**
|
|
440
|
+
* 文件二进制数据
|
|
441
|
+
*/
|
|
442
|
+
File: string
|
|
443
|
+
}
|
|
444
|
+
|
|
435
445
|
/**
|
|
436
446
|
* 人工复核数据的子任务信息
|
|
437
447
|
*/
|
|
@@ -550,6 +560,48 @@ export interface UnderwriteItem {
|
|
|
550
560
|
* 风险值或者说明
|
|
551
561
|
*/
|
|
552
562
|
Value: string
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* 参考范围
|
|
566
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
567
|
+
*/
|
|
568
|
+
Range: string
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* 报告时间
|
|
572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
573
|
+
*/
|
|
574
|
+
ReportDate: Array<string>
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* 文件类型
|
|
578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
579
|
+
*/
|
|
580
|
+
FileType: string
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* 检查项目
|
|
584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
585
|
+
*/
|
|
586
|
+
InspectProject: string
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* 单位
|
|
590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
591
|
+
*/
|
|
592
|
+
Unit: string
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* 原名
|
|
596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
597
|
+
*/
|
|
598
|
+
OriginName: string
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* 阴阳性
|
|
602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
603
|
+
*/
|
|
604
|
+
YinYang: string
|
|
553
605
|
}
|
|
554
606
|
|
|
555
607
|
/**
|
|
@@ -659,6 +711,21 @@ export interface MachinePredict {
|
|
|
659
711
|
Laboratory: Array<UnderwriteItem>
|
|
660
712
|
}
|
|
661
713
|
|
|
714
|
+
/**
|
|
715
|
+
* DescribeQualityScore返回参数结构体
|
|
716
|
+
*/
|
|
717
|
+
export interface DescribeQualityScoreResponse {
|
|
718
|
+
/**
|
|
719
|
+
* 质量分
|
|
720
|
+
*/
|
|
721
|
+
QualityScore: number
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
725
|
+
*/
|
|
726
|
+
RequestId?: string
|
|
727
|
+
}
|
|
728
|
+
|
|
662
729
|
/**
|
|
663
730
|
* DescribeUnderwriteTask请求参数结构体
|
|
664
731
|
*/
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
ConsumerGroup,
|
|
32
32
|
Assignment,
|
|
33
33
|
DescribeConsumerGroupResponse,
|
|
34
|
+
CreateRouteRequest,
|
|
34
35
|
DeleteTopicRequest,
|
|
35
36
|
DescribeInstancesResponse,
|
|
36
37
|
FetchMessageByOffsetResponse,
|
|
@@ -54,7 +55,7 @@ import {
|
|
|
54
55
|
BatchModifyGroupOffsetsResponse,
|
|
55
56
|
GroupResponse,
|
|
56
57
|
DescribeTopicAttributesResponse,
|
|
57
|
-
|
|
58
|
+
CreateConsumerResponse,
|
|
58
59
|
RouteResponse,
|
|
59
60
|
DescribeGroupResponse,
|
|
60
61
|
DeleteAclRuleRequest,
|
|
@@ -65,7 +66,6 @@ import {
|
|
|
65
66
|
CreatePartitionResponse,
|
|
66
67
|
ClusterInfo,
|
|
67
68
|
DeleteGroupRequest,
|
|
68
|
-
DescribeConsumerGroupRequest,
|
|
69
69
|
DeleteUserResponse,
|
|
70
70
|
CreateAclRequest,
|
|
71
71
|
DescribeTopicSyncReplicaResponse,
|
|
@@ -105,6 +105,7 @@ import {
|
|
|
105
105
|
ZoneResponse,
|
|
106
106
|
Instance,
|
|
107
107
|
DescribeInstanceAttributesResponse,
|
|
108
|
+
ModifyPasswordResponse,
|
|
108
109
|
TopicDetailResponse,
|
|
109
110
|
DeleteInstancePreRequest,
|
|
110
111
|
TopicSubscribeGroup,
|
|
@@ -112,12 +113,13 @@ import {
|
|
|
112
113
|
ModifyPasswordRequest,
|
|
113
114
|
ModifyInstanceAttributesRequest,
|
|
114
115
|
DescribeRegionResponse,
|
|
115
|
-
|
|
116
|
+
DescribeConsumerGroupRequest,
|
|
116
117
|
VipEntity,
|
|
117
118
|
ConsumerGroupTopic,
|
|
118
119
|
User,
|
|
119
120
|
GroupOffsetPartition,
|
|
120
121
|
DeleteTopicResponse,
|
|
122
|
+
DeleteRouteTriggerTimeRequest,
|
|
121
123
|
DescribeInstancesRequest,
|
|
122
124
|
InstanceAttributesResponse,
|
|
123
125
|
DescribeGroupRequest,
|
|
@@ -129,13 +131,14 @@ import {
|
|
|
129
131
|
DeleteTopicIpWhiteListResponse,
|
|
130
132
|
CreateInstancePreResponse,
|
|
131
133
|
DescribeInstancesDetailRequest,
|
|
132
|
-
|
|
134
|
+
CreateConsumerRequest,
|
|
133
135
|
DescribeRouteRequest,
|
|
134
136
|
TopicInSyncReplicaResult,
|
|
135
137
|
SendMessageResponse,
|
|
136
138
|
DescribeCkafkaZoneResponse,
|
|
137
139
|
BatchModifyGroupOffsetsRequest,
|
|
138
140
|
TopicAttributesResponse,
|
|
141
|
+
CreateRouteResponse,
|
|
139
142
|
InstanceResponse,
|
|
140
143
|
DescribeGroup,
|
|
141
144
|
TopicPartitionDO,
|
|
@@ -155,6 +158,7 @@ import {
|
|
|
155
158
|
Acl,
|
|
156
159
|
TopicRetentionTimeConfigRsp,
|
|
157
160
|
ModifyTopicAttributesRequest,
|
|
161
|
+
CreateTopicResponse,
|
|
158
162
|
CreateInstancePreRequest,
|
|
159
163
|
DeleteTopicIpWhiteListRequest,
|
|
160
164
|
DescribeGroupOffsetsRequest,
|
|
@@ -195,6 +199,16 @@ export class Client extends AbstractClient {
|
|
|
195
199
|
return this.request("DescribeGroupInfo", req, cb)
|
|
196
200
|
}
|
|
197
201
|
|
|
202
|
+
/**
|
|
203
|
+
* 创建消费者
|
|
204
|
+
*/
|
|
205
|
+
async CreateConsumer(
|
|
206
|
+
req: CreateConsumerRequest,
|
|
207
|
+
cb?: (error: string, rep: CreateConsumerResponse) => void
|
|
208
|
+
): Promise<CreateConsumerResponse> {
|
|
209
|
+
return this.request("CreateConsumer", req, cb)
|
|
210
|
+
}
|
|
211
|
+
|
|
198
212
|
/**
|
|
199
213
|
* 查询消费分组信息
|
|
200
214
|
*/
|
|
@@ -286,13 +300,13 @@ export class Client extends AbstractClient {
|
|
|
286
300
|
}
|
|
287
301
|
|
|
288
302
|
/**
|
|
289
|
-
*
|
|
303
|
+
* 添加实例路由
|
|
290
304
|
*/
|
|
291
|
-
async
|
|
292
|
-
req:
|
|
293
|
-
cb?: (error: string, rep:
|
|
294
|
-
): Promise<
|
|
295
|
-
return this.request("
|
|
305
|
+
async CreateRoute(
|
|
306
|
+
req: CreateRouteRequest,
|
|
307
|
+
cb?: (error: string, rep: CreateRouteResponse) => void
|
|
308
|
+
): Promise<CreateRouteResponse> {
|
|
309
|
+
return this.request("CreateRoute", req, cb)
|
|
296
310
|
}
|
|
297
311
|
|
|
298
312
|
/**
|
|
@@ -547,6 +561,16 @@ export class Client extends AbstractClient {
|
|
|
547
561
|
return this.request("DescribeTopic", req, cb)
|
|
548
562
|
}
|
|
549
563
|
|
|
564
|
+
/**
|
|
565
|
+
* 设置实例属性
|
|
566
|
+
*/
|
|
567
|
+
async ModifyInstanceAttributes(
|
|
568
|
+
req: ModifyInstanceAttributesRequest,
|
|
569
|
+
cb?: (error: string, rep: ModifyInstanceAttributesResponse) => void
|
|
570
|
+
): Promise<ModifyInstanceAttributesResponse> {
|
|
571
|
+
return this.request("ModifyInstanceAttributes", req, cb)
|
|
572
|
+
}
|
|
573
|
+
|
|
550
574
|
/**
|
|
551
575
|
* 用于查看ckafka的可用区列表
|
|
552
576
|
*/
|
|
@@ -351,6 +351,56 @@ export interface DescribeConsumerGroupResponse {
|
|
|
351
351
|
RequestId?: string
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
+
/**
|
|
355
|
+
* CreateRoute请求参数结构体
|
|
356
|
+
*/
|
|
357
|
+
export interface CreateRouteRequest {
|
|
358
|
+
/**
|
|
359
|
+
* 实例唯一id
|
|
360
|
+
*/
|
|
361
|
+
InstanceId: string
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* 路由网络类型(3:vpc路由;4:标准版支撑路由;7:专业版支撑路由)
|
|
365
|
+
*/
|
|
366
|
+
VipType: number
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* vpc网络Id
|
|
370
|
+
*/
|
|
371
|
+
VpcId?: string
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* vpc子网id
|
|
375
|
+
*/
|
|
376
|
+
SubnetId?: string
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* 访问类型
|
|
380
|
+
*/
|
|
381
|
+
AccessType?: number
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* 是否需要权限管理
|
|
385
|
+
*/
|
|
386
|
+
AuthFlag?: number
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* 调用方appId
|
|
390
|
+
*/
|
|
391
|
+
CallerAppid?: number
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* 公网带宽
|
|
395
|
+
*/
|
|
396
|
+
PublicNetwork?: number
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* vip地址
|
|
400
|
+
*/
|
|
401
|
+
Ip?: string
|
|
402
|
+
}
|
|
403
|
+
|
|
354
404
|
/**
|
|
355
405
|
* DeleteTopic请求参数结构体
|
|
356
406
|
*/
|
|
@@ -891,13 +941,18 @@ export interface DescribeTopicAttributesResponse {
|
|
|
891
941
|
}
|
|
892
942
|
|
|
893
943
|
/**
|
|
894
|
-
*
|
|
944
|
+
* CreateConsumer返回参数结构体
|
|
895
945
|
*/
|
|
896
|
-
export interface
|
|
946
|
+
export interface CreateConsumerResponse {
|
|
897
947
|
/**
|
|
898
|
-
*
|
|
948
|
+
* 创建group描述
|
|
899
949
|
*/
|
|
900
|
-
|
|
950
|
+
Result: JgwOperateResponse
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
954
|
+
*/
|
|
955
|
+
RequestId?: string
|
|
901
956
|
}
|
|
902
957
|
|
|
903
958
|
/**
|
|
@@ -1083,36 +1138,6 @@ export interface DeleteGroupRequest {
|
|
|
1083
1138
|
Group: string
|
|
1084
1139
|
}
|
|
1085
1140
|
|
|
1086
|
-
/**
|
|
1087
|
-
* DescribeConsumerGroup请求参数结构体
|
|
1088
|
-
*/
|
|
1089
|
-
export interface DescribeConsumerGroupRequest {
|
|
1090
|
-
/**
|
|
1091
|
-
* ckafka实例id。
|
|
1092
|
-
*/
|
|
1093
|
-
InstanceId: string
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* 可选,用户需要查询的group名称。
|
|
1097
|
-
*/
|
|
1098
|
-
GroupName?: string
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* 可选,用户需要查询的group中的对应的topic名称,如果指定了该参数,而group又未指定则忽略该参数。
|
|
1102
|
-
*/
|
|
1103
|
-
TopicName?: string
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
* 本次返回个数限制
|
|
1107
|
-
*/
|
|
1108
|
-
Limit?: number
|
|
1109
|
-
|
|
1110
|
-
/**
|
|
1111
|
-
* 偏移位置
|
|
1112
|
-
*/
|
|
1113
|
-
Offset?: number
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
1141
|
/**
|
|
1117
1142
|
* DeleteUser返回参数结构体
|
|
1118
1143
|
*/
|
|
@@ -2017,6 +2042,21 @@ export interface DescribeInstanceAttributesResponse {
|
|
|
2017
2042
|
RequestId?: string
|
|
2018
2043
|
}
|
|
2019
2044
|
|
|
2045
|
+
/**
|
|
2046
|
+
* ModifyPassword返回参数结构体
|
|
2047
|
+
*/
|
|
2048
|
+
export interface ModifyPasswordResponse {
|
|
2049
|
+
/**
|
|
2050
|
+
* 返回结果
|
|
2051
|
+
*/
|
|
2052
|
+
Result?: JgwOperateResponse
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2056
|
+
*/
|
|
2057
|
+
RequestId?: string
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2020
2060
|
/**
|
|
2021
2061
|
* 主题详情返回实体
|
|
2022
2062
|
*/
|
|
@@ -2211,18 +2251,33 @@ export interface DescribeRegionResponse {
|
|
|
2211
2251
|
}
|
|
2212
2252
|
|
|
2213
2253
|
/**
|
|
2214
|
-
*
|
|
2254
|
+
* DescribeConsumerGroup请求参数结构体
|
|
2215
2255
|
*/
|
|
2216
|
-
export interface
|
|
2256
|
+
export interface DescribeConsumerGroupRequest {
|
|
2217
2257
|
/**
|
|
2218
|
-
*
|
|
2258
|
+
* ckafka实例id。
|
|
2219
2259
|
*/
|
|
2220
|
-
|
|
2260
|
+
InstanceId: string
|
|
2221
2261
|
|
|
2222
2262
|
/**
|
|
2223
|
-
*
|
|
2263
|
+
* 可选,用户需要查询的group名称。
|
|
2224
2264
|
*/
|
|
2225
|
-
|
|
2265
|
+
GroupName?: string
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2268
|
+
* 可选,用户需要查询的group中的对应的topic名称,如果指定了该参数,而group又未指定则忽略该参数。
|
|
2269
|
+
*/
|
|
2270
|
+
TopicName?: string
|
|
2271
|
+
|
|
2272
|
+
/**
|
|
2273
|
+
* 本次返回个数限制
|
|
2274
|
+
*/
|
|
2275
|
+
Limit?: number
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* 偏移位置
|
|
2279
|
+
*/
|
|
2280
|
+
Offset?: number
|
|
2226
2281
|
}
|
|
2227
2282
|
|
|
2228
2283
|
/**
|
|
@@ -2331,6 +2386,16 @@ export interface DeleteTopicResponse {
|
|
|
2331
2386
|
RequestId?: string
|
|
2332
2387
|
}
|
|
2333
2388
|
|
|
2389
|
+
/**
|
|
2390
|
+
* DeleteRouteTriggerTime请求参数结构体
|
|
2391
|
+
*/
|
|
2392
|
+
export interface DeleteRouteTriggerTimeRequest {
|
|
2393
|
+
/**
|
|
2394
|
+
* 修改时间
|
|
2395
|
+
*/
|
|
2396
|
+
DelayTime: string
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2334
2399
|
/**
|
|
2335
2400
|
* DescribeInstances请求参数结构体
|
|
2336
2401
|
*/
|
|
@@ -2753,18 +2818,28 @@ export interface DescribeInstancesDetailRequest {
|
|
|
2753
2818
|
}
|
|
2754
2819
|
|
|
2755
2820
|
/**
|
|
2756
|
-
*
|
|
2821
|
+
* CreateConsumer请求参数结构体
|
|
2757
2822
|
*/
|
|
2758
|
-
export interface
|
|
2823
|
+
export interface CreateConsumerRequest {
|
|
2759
2824
|
/**
|
|
2760
|
-
*
|
|
2825
|
+
* 实例id
|
|
2761
2826
|
*/
|
|
2762
|
-
|
|
2827
|
+
InstanceId: string
|
|
2763
2828
|
|
|
2764
2829
|
/**
|
|
2765
|
-
*
|
|
2830
|
+
* group名称
|
|
2766
2831
|
*/
|
|
2767
|
-
|
|
2832
|
+
GroupName: string
|
|
2833
|
+
|
|
2834
|
+
/**
|
|
2835
|
+
* topic名称
|
|
2836
|
+
*/
|
|
2837
|
+
TopicName?: string
|
|
2838
|
+
|
|
2839
|
+
/**
|
|
2840
|
+
* topic名称数组
|
|
2841
|
+
*/
|
|
2842
|
+
TopicNameList?: Array<string>
|
|
2768
2843
|
}
|
|
2769
2844
|
|
|
2770
2845
|
/**
|
|
@@ -2905,6 +2980,21 @@ export interface TopicAttributesResponse {
|
|
|
2905
2980
|
AclRuleList: Array<AclRule>
|
|
2906
2981
|
}
|
|
2907
2982
|
|
|
2983
|
+
/**
|
|
2984
|
+
* CreateRoute返回参数结构体
|
|
2985
|
+
*/
|
|
2986
|
+
export interface CreateRouteResponse {
|
|
2987
|
+
/**
|
|
2988
|
+
* 返回结果
|
|
2989
|
+
*/
|
|
2990
|
+
Result: JgwOperateResponse
|
|
2991
|
+
|
|
2992
|
+
/**
|
|
2993
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2994
|
+
*/
|
|
2995
|
+
RequestId?: string
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2908
2998
|
/**
|
|
2909
2999
|
* 聚合的实例状态返回结果
|
|
2910
3000
|
*/
|
|
@@ -3452,6 +3542,21 @@ export interface ModifyTopicAttributesRequest {
|
|
|
3452
3542
|
Tags?: Array<Tag>
|
|
3453
3543
|
}
|
|
3454
3544
|
|
|
3545
|
+
/**
|
|
3546
|
+
* CreateTopic返回参数结构体
|
|
3547
|
+
*/
|
|
3548
|
+
export interface CreateTopicResponse {
|
|
3549
|
+
/**
|
|
3550
|
+
* 返回创建结果
|
|
3551
|
+
*/
|
|
3552
|
+
Result: CreateTopicResp
|
|
3553
|
+
|
|
3554
|
+
/**
|
|
3555
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3556
|
+
*/
|
|
3557
|
+
RequestId?: string
|
|
3558
|
+
}
|
|
3559
|
+
|
|
3455
3560
|
/**
|
|
3456
3561
|
* CreateInstancePre请求参数结构体
|
|
3457
3562
|
*/
|
|
@@ -51,6 +51,7 @@ import {
|
|
|
51
51
|
SetSecurityGroupForLoadbalancersResponse,
|
|
52
52
|
BasicTargetGroupInfo,
|
|
53
53
|
ModifyTargetWeightResponse,
|
|
54
|
+
ZoneResource,
|
|
54
55
|
DescribeTaskStatusRequest,
|
|
55
56
|
TargetGroupInstance,
|
|
56
57
|
DescribeClassicalLBByInstanceIdResponse,
|
|
@@ -108,6 +109,7 @@ import {
|
|
|
108
109
|
DescribeLoadBalancersDetailRequest,
|
|
109
110
|
TargetGroupBackend,
|
|
110
111
|
DescribeClassicalLBByInstanceIdRequest,
|
|
112
|
+
DescribeResourcesResponse,
|
|
111
113
|
ManualRewriteResponse,
|
|
112
114
|
ModifyBlockIPListRequest,
|
|
113
115
|
DescribeClusterResourcesResponse,
|
|
@@ -189,10 +191,12 @@ import {
|
|
|
189
191
|
TagInfo,
|
|
190
192
|
SnatIp,
|
|
191
193
|
DescribeBlockIPTaskResponse,
|
|
194
|
+
DescribeResourcesRequest,
|
|
192
195
|
DescribeClassicalLBListenersResponse,
|
|
193
196
|
DescribeExclusiveClustersRequest,
|
|
194
197
|
ModifyLoadBalancerSlaRequest,
|
|
195
198
|
DescribeBlockIPTaskRequest,
|
|
199
|
+
Resource,
|
|
196
200
|
CreateLoadBalancerResponse,
|
|
197
201
|
DescribeRewriteResponse,
|
|
198
202
|
Quota,
|
|
@@ -244,13 +248,14 @@ export class Client extends AbstractClient {
|
|
|
244
248
|
}
|
|
245
249
|
|
|
246
250
|
/**
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
251
|
+
* ModifyDomainAttributes接口用于修改负载均衡7层监听器转发规则的域名级别属性,如修改域名、修改DefaultServer、开启/关闭Http2、修改证书。
|
|
252
|
+
本接口为异步接口,本接口返回成功后,需以返回的RequestId为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
|
|
253
|
+
*/
|
|
254
|
+
async ModifyDomainAttributes(
|
|
255
|
+
req: ModifyDomainAttributesRequest,
|
|
256
|
+
cb?: (error: string, rep: ModifyDomainAttributesResponse) => void
|
|
257
|
+
): Promise<ModifyDomainAttributesResponse> {
|
|
258
|
+
return this.request("ModifyDomainAttributes", req, cb)
|
|
254
259
|
}
|
|
255
260
|
|
|
256
261
|
/**
|
|
@@ -453,6 +458,16 @@ export class Client extends AbstractClient {
|
|
|
453
458
|
return this.request("DeleteTargetGroups", req, cb)
|
|
454
459
|
}
|
|
455
460
|
|
|
461
|
+
/**
|
|
462
|
+
* 支持共享型clb升级到性能容量型clb(不支持性能保障降级到共享型)。
|
|
463
|
+
*/
|
|
464
|
+
async ModifyLoadBalancerSla(
|
|
465
|
+
req: ModifyLoadBalancerSlaRequest,
|
|
466
|
+
cb?: (error: string, rep: ModifyLoadBalancerSlaResponse) => void
|
|
467
|
+
): Promise<ModifyLoadBalancerSlaResponse> {
|
|
468
|
+
return this.request("ModifyLoadBalancerSla", req, cb)
|
|
469
|
+
}
|
|
470
|
+
|
|
456
471
|
/**
|
|
457
472
|
* 修改负载均衡的IP(client IP)封禁黑名单列表,一个转发规则最多支持封禁 2000000 个IP,及黑名单容量为 2000000。
|
|
458
473
|
(接口灰度中,如需使用请提工单)
|
|
@@ -506,14 +521,13 @@ export class Client extends AbstractClient {
|
|
|
506
521
|
}
|
|
507
522
|
|
|
508
523
|
/**
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
return this.request("ModifyDomainAttributes", req, cb)
|
|
524
|
+
* 查询用户在当前地域支持可用区列表和资源列表。
|
|
525
|
+
*/
|
|
526
|
+
async DescribeResources(
|
|
527
|
+
req: DescribeResourcesRequest,
|
|
528
|
+
cb?: (error: string, rep: DescribeResourcesResponse) => void
|
|
529
|
+
): Promise<DescribeResourcesResponse> {
|
|
530
|
+
return this.request("DescribeResources", req, cb)
|
|
517
531
|
}
|
|
518
532
|
|
|
519
533
|
/**
|