tencentcloud-sdk-nodejs 4.0.738 → 4.0.740
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 +635 -0
- package/SERVICE_CHANGELOG.md +751 -220
- package/package.json +1 -1
- package/products.md +27 -27
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +10 -6
- package/src/services/cdb/v20170320/cdb_client.ts +168 -54
- package/src/services/cdb/v20170320/cdb_models.ts +721 -136
- package/src/services/cfg/v20210820/cfg_client.ts +32 -7
- package/src/services/cfg/v20210820/cfg_models.ts +108 -3
- package/src/services/cloudstudio/index.ts +0 -2
- package/src/services/config/index.ts +5 -0
- package/src/services/{casb/v20200507/casb_client.ts → config/v20220802/config_client.ts} +30 -19
- package/src/services/config/v20220802/config_models.ts +424 -0
- package/src/services/config/v20220802/index.ts +6 -0
- package/src/services/cvm/v20170312/cvm_client.ts +4 -4
- package/src/services/cvm/v20170312/cvm_models.ts +17 -17
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +6 -6
- package/src/services/dsgc/v20190723/dsgc_models.ts +38 -38
- package/src/services/ess/v20201111/ess_models.ts +8 -7
- package/src/services/essbasic/v20210526/essbasic_models.ts +7 -7
- package/src/services/hai/v20230812/hai_models.ts +9 -4
- package/src/services/index.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +539 -291
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +4781 -3669
- package/src/services/tbaas/v20180416/tbaas_client.ts +154 -105
- package/src/services/tbaas/v20180416/tbaas_models.ts +429 -173
- package/src/services/tcss/v20201101/tcss_client.ts +2 -1
- package/src/services/tcss/v20201101/tcss_models.ts +235 -83
- package/src/services/tdmq/v20200217/tdmq_models.ts +42 -32
- package/src/services/teo/v20220901/teo_client.ts +3 -3
- package/src/services/teo/v20220901/teo_models.ts +34 -33
- package/src/services/tke/v20180525/tke_client.ts +38 -1
- package/src/services/tke/v20180525/tke_models.ts +206 -10
- package/src/services/trocket/v20230308/trocket_client.ts +141 -115
- package/src/services/trocket/v20230308/trocket_models.ts +149 -8
- package/src/services/tse/v20201207/tse_client.ts +43 -7
- package/src/services/tse/v20201207/tse_models.ts +137 -39
- package/src/services/vod/v20180717/vod_client.ts +4 -1
- package/src/services/vod/v20180717/vod_models.ts +129 -19
- package/src/services/vrs/v20200824/vrs_models.ts +4 -0
- package/src/services/waf/v20180125/waf_client.ts +1 -1
- package/src/services/waf/v20180125/waf_models.ts +105 -31
- package/src/services/wedata/v20210820/wedata_client.ts +19 -6
- package/src/services/wedata/v20210820/wedata_models.ts +250 -184
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +10 -6
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +59 -23
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +82 -28
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +685 -124
- package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +11 -3
- package/tencentcloud/services/cfg/v20210820/cfg_client.js +15 -3
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +103 -3
- package/tencentcloud/services/cloudstudio/index.d.ts +0 -4
- package/tencentcloud/services/cloudstudio/index.js +0 -2
- package/tencentcloud/services/config/index.d.ts +6 -0
- package/tencentcloud/services/config/index.js +7 -0
- package/tencentcloud/services/config/v20220802/config_client.d.ts +18 -0
- package/tencentcloud/services/{casb/v20200507/casb_client.js → config/v20220802/config_client.js} +11 -12
- package/tencentcloud/services/config/v20220802/config_models.d.ts +397 -0
- package/tencentcloud/services/config/v20220802/index.d.ts +6 -0
- package/tencentcloud/services/config/v20220802/index.js +9 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +4 -4
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +4 -4
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +17 -17
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +6 -6
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +38 -38
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -7
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -7
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +9 -4
- package/tencentcloud/services/index.d.ts +1 -1
- package/tencentcloud/services/index.js +2 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +97 -17
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +144 -24
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +4674 -3610
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +51 -35
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +75 -51
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +412 -165
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +234 -83
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +42 -32
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +3 -3
- package/tencentcloud/services/teo/v20220901/teo_client.js +3 -3
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +34 -33
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +199 -10
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +55 -47
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +78 -66
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +143 -8
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +15 -3
- package/tencentcloud/services/tse/v20201207/tse_client.js +21 -3
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +131 -39
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +126 -19
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +105 -31
- 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 +247 -184
- package/test/cdb.v20170320.test.js +102 -12
- package/test/cfg.v20210820.test.js +22 -2
- package/test/{casb.v20200507.test.js → config.v20220802.test.js} +14 -4
- package/test/sqlserver.v20180328.test.js +216 -16
- package/test/tbaas.v20180416.test.js +74 -34
- package/test/tke.v20180525.test.js +30 -0
- package/test/trocket.v20230308.test.js +58 -38
- package/test/tse.v20201207.test.js +32 -2
- package/test/wedata.v20210820.test.js +10 -0
- package/src/services/casb/index.ts +0 -5
- package/src/services/casb/v20200507/casb_models.ts +0 -70
- package/src/services/casb/v20200507/index.ts +0 -6
- package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +0 -312
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +0 -1335
- package/src/services/cloudstudio/v20210524/index.ts +0 -6
- package/tencentcloud/services/casb/index.d.ts +0 -6
- package/tencentcloud/services/casb/index.js +0 -7
- package/tencentcloud/services/casb/v20200507/casb_client.d.ts +0 -21
- package/tencentcloud/services/casb/v20200507/casb_models.d.ts +0 -51
- package/tencentcloud/services/casb/v20200507/index.d.ts +0 -6
- package/tencentcloud/services/casb/v20200507/index.js +0 -9
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +0 -99
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +0 -164
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +0 -1259
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.js +0 -18
- package/tencentcloud/services/cloudstudio/v20210524/index.d.ts +0 -6
- package/tencentcloud/services/cloudstudio/v20210524/index.js +0 -9
- package/test/cloudstudio.v20210524.test.js +0 -241
- /package/tencentcloud/services/{casb/v20200507/casb_models.js → config/v20220802/config_models.js} +0 -0
|
@@ -24,6 +24,15 @@ export interface CreateTopicResponse {
|
|
|
24
24
|
*/
|
|
25
25
|
RequestId?: string;
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* ImportSourceClusterTopics返回参数结构体
|
|
29
|
+
*/
|
|
30
|
+
export interface ImportSourceClusterTopicsResponse {
|
|
31
|
+
/**
|
|
32
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
33
|
+
*/
|
|
34
|
+
RequestId?: string;
|
|
35
|
+
}
|
|
27
36
|
/**
|
|
28
37
|
* CreateConsumerGroup请求参数结构体
|
|
29
38
|
*/
|
|
@@ -546,6 +555,40 @@ export interface VpcInfo {
|
|
|
546
555
|
*/
|
|
547
556
|
SubnetId: string;
|
|
548
557
|
}
|
|
558
|
+
/**
|
|
559
|
+
* 消费组配置信息
|
|
560
|
+
*/
|
|
561
|
+
export interface SourceClusterGroupConfig {
|
|
562
|
+
/**
|
|
563
|
+
* 消费组名称
|
|
564
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
565
|
+
*/
|
|
566
|
+
GroupName: string;
|
|
567
|
+
/**
|
|
568
|
+
* 备注信息
|
|
569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
570
|
+
*/
|
|
571
|
+
Remark?: string;
|
|
572
|
+
/**
|
|
573
|
+
* 是否已导入,作为入参时无效
|
|
574
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
575
|
+
*/
|
|
576
|
+
Imported?: boolean;
|
|
577
|
+
/**
|
|
578
|
+
* 命名空间,仅4.x集群有效
|
|
579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
580
|
+
*/
|
|
581
|
+
Namespace?: string;
|
|
582
|
+
/**
|
|
583
|
+
* 导入状态
|
|
584
|
+
Unknown 未知
|
|
585
|
+
Success 成功
|
|
586
|
+
Failure 失败
|
|
587
|
+
AlreadyExists 已存在
|
|
588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
589
|
+
*/
|
|
590
|
+
ImportStatus?: string;
|
|
591
|
+
}
|
|
549
592
|
/**
|
|
550
593
|
* DeleteTopic请求参数结构体
|
|
551
594
|
*/
|
|
@@ -569,13 +612,17 @@ export interface DeleteConsumerGroupResponse {
|
|
|
569
612
|
RequestId?: string;
|
|
570
613
|
}
|
|
571
614
|
/**
|
|
572
|
-
*
|
|
615
|
+
* ImportSourceClusterTopics请求参数结构体
|
|
573
616
|
*/
|
|
574
|
-
export interface
|
|
617
|
+
export interface ImportSourceClusterTopicsRequest {
|
|
575
618
|
/**
|
|
576
|
-
*
|
|
619
|
+
* 任务ID
|
|
577
620
|
*/
|
|
578
|
-
|
|
621
|
+
TaskId: string;
|
|
622
|
+
/**
|
|
623
|
+
* 待导入的主题列表
|
|
624
|
+
*/
|
|
625
|
+
TopicList: Array<SourceClusterTopicConfig>;
|
|
579
626
|
}
|
|
580
627
|
/**
|
|
581
628
|
* DescribeTopic返回参数结构体
|
|
@@ -673,6 +720,15 @@ export interface Endpoint {
|
|
|
673
720
|
*/
|
|
674
721
|
IpRules?: Array<IpRule>;
|
|
675
722
|
}
|
|
723
|
+
/**
|
|
724
|
+
* ImportSourceClusterConsumerGroups返回参数结构体
|
|
725
|
+
*/
|
|
726
|
+
export interface ImportSourceClusterConsumerGroupsResponse {
|
|
727
|
+
/**
|
|
728
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
729
|
+
*/
|
|
730
|
+
RequestId?: string;
|
|
731
|
+
}
|
|
676
732
|
/**
|
|
677
733
|
* DeleteRole返回参数结构体
|
|
678
734
|
*/
|
|
@@ -725,6 +781,63 @@ export interface IpRule {
|
|
|
725
781
|
*/
|
|
726
782
|
Remark: string;
|
|
727
783
|
}
|
|
784
|
+
/**
|
|
785
|
+
* 源集群主题配置
|
|
786
|
+
*/
|
|
787
|
+
export interface SourceClusterTopicConfig {
|
|
788
|
+
/**
|
|
789
|
+
* 主题名称
|
|
790
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
791
|
+
*/
|
|
792
|
+
TopicName: string;
|
|
793
|
+
/**
|
|
794
|
+
* 主题类型,
|
|
795
|
+
5.x版本
|
|
796
|
+
UNSPECIFIED 未指定
|
|
797
|
+
NORMAL 普通消息
|
|
798
|
+
FIFO 顺序消息
|
|
799
|
+
DELAY 延迟消息
|
|
800
|
+
TRANSACTION 事务消息
|
|
801
|
+
|
|
802
|
+
4.x版本
|
|
803
|
+
Normal 普通消息
|
|
804
|
+
PartitionedOrder 分区顺序消息
|
|
805
|
+
Transaction 事务消息
|
|
806
|
+
DelayScheduled 延时消息
|
|
807
|
+
|
|
808
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
809
|
+
*/
|
|
810
|
+
TopicType: string;
|
|
811
|
+
/**
|
|
812
|
+
* 队列数
|
|
813
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
814
|
+
*/
|
|
815
|
+
QueueNum: number;
|
|
816
|
+
/**
|
|
817
|
+
* 备注信息
|
|
818
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
819
|
+
*/
|
|
820
|
+
Remark?: string;
|
|
821
|
+
/**
|
|
822
|
+
* 是否已导入,作为入参时无效
|
|
823
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
824
|
+
*/
|
|
825
|
+
Imported?: boolean;
|
|
826
|
+
/**
|
|
827
|
+
* 命名空间,仅4.x集群有效
|
|
828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
829
|
+
*/
|
|
830
|
+
Namespace?: string;
|
|
831
|
+
/**
|
|
832
|
+
* 导入状态,
|
|
833
|
+
Unknown 未知,
|
|
834
|
+
AlreadyExists 已存在,
|
|
835
|
+
Success 成功,
|
|
836
|
+
Failure 失败
|
|
837
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
838
|
+
*/
|
|
839
|
+
ImportStatus?: string;
|
|
840
|
+
}
|
|
728
841
|
/**
|
|
729
842
|
* DescribeTopicStatsOp请求参数结构体
|
|
730
843
|
*/
|
|
@@ -866,6 +979,15 @@ export interface DescribeRoleListRequest {
|
|
|
866
979
|
*/
|
|
867
980
|
Filters?: Array<Filter>;
|
|
868
981
|
}
|
|
982
|
+
/**
|
|
983
|
+
* ModifyConsumerGroup返回参数结构体
|
|
984
|
+
*/
|
|
985
|
+
export interface ModifyConsumerGroupResponse {
|
|
986
|
+
/**
|
|
987
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
988
|
+
*/
|
|
989
|
+
RequestId?: string;
|
|
990
|
+
}
|
|
869
991
|
/**
|
|
870
992
|
* ModifyTopic请求参数结构体
|
|
871
993
|
*/
|
|
@@ -1057,13 +1179,17 @@ export interface CreateConsumerGroupResponse {
|
|
|
1057
1179
|
RequestId?: string;
|
|
1058
1180
|
}
|
|
1059
1181
|
/**
|
|
1060
|
-
*
|
|
1182
|
+
* ImportSourceClusterConsumerGroups请求参数结构体
|
|
1061
1183
|
*/
|
|
1062
|
-
export interface
|
|
1184
|
+
export interface ImportSourceClusterConsumerGroupsRequest {
|
|
1063
1185
|
/**
|
|
1064
|
-
*
|
|
1186
|
+
* 任务ID
|
|
1065
1187
|
*/
|
|
1066
|
-
|
|
1188
|
+
TaskId: string;
|
|
1189
|
+
/**
|
|
1190
|
+
* 待导入的消费组列表
|
|
1191
|
+
*/
|
|
1192
|
+
GroupList: Array<SourceClusterGroupConfig>;
|
|
1067
1193
|
}
|
|
1068
1194
|
/**
|
|
1069
1195
|
* DeleteInstance请求参数结构体
|
|
@@ -1198,6 +1324,15 @@ export interface InstanceItem {
|
|
|
1198
1324
|
*/
|
|
1199
1325
|
MaxMessageDelay?: number;
|
|
1200
1326
|
}
|
|
1327
|
+
/**
|
|
1328
|
+
* ModifyTopic返回参数结构体
|
|
1329
|
+
*/
|
|
1330
|
+
export interface ModifyTopicResponse {
|
|
1331
|
+
/**
|
|
1332
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1333
|
+
*/
|
|
1334
|
+
RequestId?: string;
|
|
1335
|
+
}
|
|
1201
1336
|
/**
|
|
1202
1337
|
* DescribeInstanceList返回参数结构体
|
|
1203
1338
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayRouteRateLimitResponse, UpdateUpstreamHealthCheckConfigRequest, DescribeCloudNativeAPIGatewayServiceRateLimitRequest, CreateCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayNodesRequest, ModifyCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DeleteNativeGatewayServerGroupResponse, ModifyCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayRouteRateLimitResponse, DescribeSREInstanceAccessAddressResponse, ModifyCloudNativeAPIGatewayCanaryRuleResponse, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, ModifyCloudNativeAPIGatewayServiceResponse, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, DeleteCloudNativeAPIGatewayCertificateResponse, DeleteCloudNativeAPIGatewayCanaryRuleRequest, ModifyCloudNativeAPIGatewayRouteRateLimitRequest, DescribeNacosReplicasRequest, CreateCloudNativeAPIGatewayServiceRequest, ModifyCloudNativeAPIGatewayCertificateRequest, DescribeCloudNativeAPIGatewayServicesRequest, DescribeCloudNativeAPIGatewayUpstreamResponse, DescribeCloudNativeAPIGatewayCertificatesResponse, UpdateEngineInternetAccessRequest, CreateCloudNativeAPIGatewayCanaryRuleResponse, DescribeSREInstancesRequest, DeleteEngineResponse, DescribeCloudNativeAPIGatewayRoutesResponse, DescribeZookeeperReplicasRequest, UpdateUpstreamTargetsRequest, DeleteCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayRouteResponse, DescribeCloudNativeAPIGatewayPortsResponse, CreateCloudNativeAPIGatewayRouteRateLimitRequest, DeleteNativeGatewayServerGroupRequest, ModifyCloudNativeAPIGatewayRouteResponse, DescribeNacosReplicasResponse, DeleteCloudNativeAPIGatewayServiceRateLimitRequest, ModifyUpstreamNodeStatusRequest, DescribeCloudNativeAPIGatewayConfigResponse, CreateCloudNativeAPIGatewayRouteResponse, DescribeCloudNativeAPIGatewayConfigRequest, DescribeCloudNativeAPIGatewaysRequest, DescribeNacosServerInterfacesResponse, DescribeCloudNativeAPIGatewayServiceRateLimitResponse, DeleteCloudNativeAPIGatewayServiceRequest, CreateCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayCanaryRuleRequest, ModifyNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayRouteRateLimitRequest, DescribeOneCloudNativeAPIGatewayServiceRequest, DescribeCloudNativeAPIGatewaysResponse, UpdateEngineInternetAccessResponse, UpdateCloudNativeAPIGatewaySpecRequest, DescribeCloudNativeAPIGatewayServicesResponse, DeleteCloudNativeAPIGatewayRouteRateLimitRequest, DeleteEngineRequest, ModifyCloudNativeAPIGatewayServiceRateLimitRequest, DescribeSREInstanceAccessAddressRequest, DescribeCloudNativeAPIGatewayCanaryRulesResponse, UpdateUpstreamTargetsResponse, DeleteCloudNativeAPIGatewayCertificateRequest, DeleteCloudNativeAPIGatewayServiceRateLimitResponse, UpdateCloudNativeAPIGatewaySpecResponse, DescribeZookeeperServerInterfacesResponse, DescribeNativeGatewayServerGroupsRequest, DeleteCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayCertificateDetailsResponse, UpdateCloudNativeAPIGatewayCertificateInfoRequest, DescribeOneCloudNativeAPIGatewayServiceResponse, ModifyCloudNativeAPIGatewayServiceRequest, DeleteCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayCertificateRequest, ModifyCloudNativeAPIGatewayResponse, ModifyUpstreamNodeStatusResponse, DescribeZookeeperServerInterfacesRequest, DescribeCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayRequest, DescribeNativeGatewayServerGroupsResponse, DeleteCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayRoutesRequest, CreateEngineResponse, CreateCloudNativeAPIGatewayServiceRateLimitResponse, ModifyCloudNativeAPIGatewayServiceRateLimitResponse, DescribeNacosServerInterfacesRequest, UpdateUpstreamHealthCheckConfigResponse, DescribeSREInstancesResponse, DescribeCloudNativeAPIGatewayCertificateDetailsRequest, CreateCloudNativeAPIGatewayRouteRequest, CreateNativeGatewayServerGroupResponse, CreateCloudNativeAPIGatewayServiceRateLimitRequest, DescribeZookeeperReplicasResponse, CreateEngineRequest, ModifyCloudNativeAPIGatewayCanaryRuleRequest, ModifyCloudNativeAPIGatewayRequest, ModifyCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayCanaryRulesRequest, DeleteCloudNativeAPIGatewayCanaryRuleResponse, DescribeCloudNativeAPIGatewayPortsRequest, ModifyNativeGatewayServerGroupResponse, UpdateCloudNativeAPIGatewayCertificateInfoResponse } from "./tse_models";
|
|
3
|
+
import { DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayRouteRateLimitResponse, UpdateUpstreamHealthCheckConfigRequest, DescribeCloudNativeAPIGatewayServiceRateLimitRequest, CreateCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayNodesRequest, ModifyCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DeleteNativeGatewayServerGroupResponse, ModifyCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayRouteRateLimitResponse, DescribeSREInstanceAccessAddressResponse, ModifyCloudNativeAPIGatewayCanaryRuleResponse, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, CloseWafProtectionRequest, ModifyCloudNativeAPIGatewayServiceResponse, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, OpenWafProtectionResponse, DeleteCloudNativeAPIGatewayCertificateResponse, DeleteCloudNativeAPIGatewayCanaryRuleRequest, ModifyCloudNativeAPIGatewayRouteRateLimitRequest, DescribeNacosReplicasRequest, CreateCloudNativeAPIGatewayServiceRequest, ModifyCloudNativeAPIGatewayCertificateRequest, CreateWafDomainsResponse, DescribeCloudNativeAPIGatewayServicesRequest, DescribeCloudNativeAPIGatewayUpstreamResponse, DescribeCloudNativeAPIGatewayCertificatesResponse, UpdateEngineInternetAccessRequest, CreateCloudNativeAPIGatewayCanaryRuleResponse, DescribeSREInstancesRequest, DeleteEngineResponse, DescribeCloudNativeAPIGatewayRoutesResponse, DescribeZookeeperReplicasRequest, UpdateUpstreamTargetsRequest, DeleteCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayRouteResponse, DescribeCloudNativeAPIGatewayPortsResponse, CreateCloudNativeAPIGatewayRouteRateLimitRequest, DeleteNativeGatewayServerGroupRequest, ModifyCloudNativeAPIGatewayRouteResponse, DescribeNacosReplicasResponse, DeleteCloudNativeAPIGatewayServiceRateLimitRequest, ModifyUpstreamNodeStatusRequest, DescribeCloudNativeAPIGatewayConfigResponse, CreateCloudNativeAPIGatewayRouteResponse, DescribeCloudNativeAPIGatewayConfigRequest, DescribeCloudNativeAPIGatewaysRequest, DescribeNacosServerInterfacesResponse, DescribeCloudNativeAPIGatewayServiceRateLimitResponse, DeleteCloudNativeAPIGatewayServiceRequest, CreateCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayCanaryRuleRequest, ModifyNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayRouteRateLimitRequest, DescribeOneCloudNativeAPIGatewayServiceRequest, DescribeCloudNativeAPIGatewaysResponse, UpdateEngineInternetAccessResponse, UpdateCloudNativeAPIGatewaySpecRequest, DescribeCloudNativeAPIGatewayServicesResponse, DeleteCloudNativeAPIGatewayRouteRateLimitRequest, DeleteEngineRequest, ModifyCloudNativeAPIGatewayServiceRateLimitRequest, DescribeSREInstanceAccessAddressRequest, DescribeCloudNativeAPIGatewayCanaryRulesResponse, UpdateUpstreamTargetsResponse, DeleteCloudNativeAPIGatewayCertificateRequest, DeleteCloudNativeAPIGatewayServiceRateLimitResponse, CloseWafProtectionResponse, UpdateCloudNativeAPIGatewaySpecResponse, DescribeZookeeperServerInterfacesResponse, DescribeNativeGatewayServerGroupsRequest, DeleteCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayCertificateDetailsResponse, UpdateCloudNativeAPIGatewayCertificateInfoRequest, DescribeOneCloudNativeAPIGatewayServiceResponse, ModifyCloudNativeAPIGatewayServiceRequest, DeleteCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayCertificateRequest, ModifyCloudNativeAPIGatewayResponse, ModifyUpstreamNodeStatusResponse, DescribeZookeeperServerInterfacesRequest, DescribeCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayRequest, DescribeNativeGatewayServerGroupsResponse, OpenWafProtectionRequest, DeleteCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayRoutesRequest, CreateEngineResponse, CreateCloudNativeAPIGatewayServiceRateLimitResponse, ModifyCloudNativeAPIGatewayServiceRateLimitResponse, DescribeNacosServerInterfacesRequest, UpdateUpstreamHealthCheckConfigResponse, DescribeSREInstancesResponse, DescribeCloudNativeAPIGatewayCertificateDetailsRequest, CreateWafDomainsRequest, CreateCloudNativeAPIGatewayRouteRequest, CreateNativeGatewayServerGroupResponse, CreateCloudNativeAPIGatewayServiceRateLimitRequest, DescribeZookeeperReplicasResponse, CreateEngineRequest, ModifyCloudNativeAPIGatewayCanaryRuleRequest, ModifyCloudNativeAPIGatewayRequest, ModifyCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayCanaryRulesRequest, DeleteCloudNativeAPIGatewayCanaryRuleResponse, DescribeCloudNativeAPIGatewayPortsRequest, ModifyNativeGatewayServerGroupResponse, UpdateCloudNativeAPIGatewayCertificateInfoResponse } from "./tse_models";
|
|
4
4
|
/**
|
|
5
5
|
* tse client
|
|
6
6
|
* @class
|
|
@@ -15,6 +15,10 @@ export declare class Client extends AbstractClient {
|
|
|
15
15
|
* 获取云原生网关服务健康检查配置
|
|
16
16
|
*/
|
|
17
17
|
DescribeUpstreamHealthCheckConfig(req: DescribeUpstreamHealthCheckConfigRequest, cb?: (error: string, rep: DescribeUpstreamHealthCheckConfigResponse) => void): Promise<DescribeUpstreamHealthCheckConfigResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 查询Zookeeper类型注册引擎实例副本信息
|
|
20
|
+
*/
|
|
21
|
+
DescribeZookeeperReplicas(req: DescribeZookeeperReplicasRequest, cb?: (error: string, rep: DescribeZookeeperReplicasResponse) => void): Promise<DescribeZookeeperReplicasResponse>;
|
|
18
22
|
/**
|
|
19
23
|
* 修改云原生API网关实例分组基础信息
|
|
20
24
|
*/
|
|
@@ -27,6 +31,10 @@ export declare class Client extends AbstractClient {
|
|
|
27
31
|
* 删除云原生网关的限流插件(服务)
|
|
28
32
|
*/
|
|
29
33
|
DeleteCloudNativeAPIGatewayServiceRateLimit(req: DeleteCloudNativeAPIGatewayServiceRateLimitRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayServiceRateLimitResponse) => void): Promise<DeleteCloudNativeAPIGatewayServiceRateLimitResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 新建 WAF 防护域名
|
|
36
|
+
*/
|
|
37
|
+
CreateWafDomains(req: CreateWafDomainsRequest, cb?: (error: string, rep: CreateWafDomainsResponse) => void): Promise<CreateWafDomainsResponse>;
|
|
30
38
|
/**
|
|
31
39
|
* 查询zookeeper服务接口列表
|
|
32
40
|
*/
|
|
@@ -112,9 +120,9 @@ export declare class Client extends AbstractClient {
|
|
|
112
120
|
*/
|
|
113
121
|
ModifyCloudNativeAPIGatewayRoute(req: ModifyCloudNativeAPIGatewayRouteRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayRouteResponse) => void): Promise<ModifyCloudNativeAPIGatewayRouteResponse>;
|
|
114
122
|
/**
|
|
115
|
-
*
|
|
123
|
+
* 关闭 WAF 防护
|
|
116
124
|
*/
|
|
117
|
-
|
|
125
|
+
CloseWafProtection(req: CloseWafProtectionRequest, cb?: (error: string, rep: CloseWafProtectionResponse) => void): Promise<CloseWafProtectionResponse>;
|
|
118
126
|
/**
|
|
119
127
|
* 创建云原生API网关实例
|
|
120
128
|
*/
|
|
@@ -151,6 +159,10 @@ export declare class Client extends AbstractClient {
|
|
|
151
159
|
* 修改引擎公网访问配置
|
|
152
160
|
*/
|
|
153
161
|
UpdateEngineInternetAccess(req: UpdateEngineInternetAccessRequest, cb?: (error: string, rep: UpdateEngineInternetAccessResponse) => void): Promise<UpdateEngineInternetAccessResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* 开启 WAF 防护
|
|
164
|
+
*/
|
|
165
|
+
OpenWafProtection(req: OpenWafProtectionRequest, cb?: (error: string, rep: OpenWafProtectionResponse) => void): Promise<OpenWafProtectionResponse>;
|
|
154
166
|
/**
|
|
155
167
|
* 修改云原生API网关实例基础信息
|
|
156
168
|
*/
|
|
@@ -39,6 +39,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
39
39
|
async DescribeUpstreamHealthCheckConfig(req, cb) {
|
|
40
40
|
return this.request("DescribeUpstreamHealthCheckConfig", req, cb);
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* 查询Zookeeper类型注册引擎实例副本信息
|
|
44
|
+
*/
|
|
45
|
+
async DescribeZookeeperReplicas(req, cb) {
|
|
46
|
+
return this.request("DescribeZookeeperReplicas", req, cb);
|
|
47
|
+
}
|
|
42
48
|
/**
|
|
43
49
|
* 修改云原生API网关实例分组基础信息
|
|
44
50
|
*/
|
|
@@ -57,6 +63,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
57
63
|
async DeleteCloudNativeAPIGatewayServiceRateLimit(req, cb) {
|
|
58
64
|
return this.request("DeleteCloudNativeAPIGatewayServiceRateLimit", req, cb);
|
|
59
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* 新建 WAF 防护域名
|
|
68
|
+
*/
|
|
69
|
+
async CreateWafDomains(req, cb) {
|
|
70
|
+
return this.request("CreateWafDomains", req, cb);
|
|
71
|
+
}
|
|
60
72
|
/**
|
|
61
73
|
* 查询zookeeper服务接口列表
|
|
62
74
|
*/
|
|
@@ -184,10 +196,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
184
196
|
return this.request("ModifyCloudNativeAPIGatewayRoute", req, cb);
|
|
185
197
|
}
|
|
186
198
|
/**
|
|
187
|
-
*
|
|
199
|
+
* 关闭 WAF 防护
|
|
188
200
|
*/
|
|
189
|
-
async
|
|
190
|
-
return this.request("
|
|
201
|
+
async CloseWafProtection(req, cb) {
|
|
202
|
+
return this.request("CloseWafProtection", req, cb);
|
|
191
203
|
}
|
|
192
204
|
/**
|
|
193
205
|
* 创建云原生API网关实例
|
|
@@ -243,6 +255,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
243
255
|
async UpdateEngineInternetAccess(req, cb) {
|
|
244
256
|
return this.request("UpdateEngineInternetAccess", req, cb);
|
|
245
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
* 开启 WAF 防护
|
|
260
|
+
*/
|
|
261
|
+
async OpenWafProtection(req, cb) {
|
|
262
|
+
return this.request("OpenWafProtection", req, cb);
|
|
263
|
+
}
|
|
246
264
|
/**
|
|
247
265
|
* 修改云原生API网关实例基础信息
|
|
248
266
|
*/
|
|
@@ -528,6 +528,27 @@ export interface QpsThreshold {
|
|
|
528
528
|
*/
|
|
529
529
|
Max: number;
|
|
530
530
|
}
|
|
531
|
+
/**
|
|
532
|
+
* CloseWafProtection请求参数结构体
|
|
533
|
+
*/
|
|
534
|
+
export interface CloseWafProtectionRequest {
|
|
535
|
+
/**
|
|
536
|
+
* 网关ID
|
|
537
|
+
*/
|
|
538
|
+
GatewayId: string;
|
|
539
|
+
/**
|
|
540
|
+
* 防护资源的类型。
|
|
541
|
+
- Global 实例
|
|
542
|
+
- Service 服务
|
|
543
|
+
- Route 路由
|
|
544
|
+
- Object 对象
|
|
545
|
+
*/
|
|
546
|
+
Type: string;
|
|
547
|
+
/**
|
|
548
|
+
* 当资源类型 Type 是 Service 或 Route 的时候,传入的服务或路由的列表
|
|
549
|
+
*/
|
|
550
|
+
List?: Array<string>;
|
|
551
|
+
}
|
|
531
552
|
/**
|
|
532
553
|
* ModifyCloudNativeAPIGatewayService返回参数结构体
|
|
533
554
|
*/
|
|
@@ -577,6 +598,15 @@ export interface DescribeUpstreamHealthCheckConfigResponse {
|
|
|
577
598
|
*/
|
|
578
599
|
RequestId?: string;
|
|
579
600
|
}
|
|
601
|
+
/**
|
|
602
|
+
* OpenWafProtection返回参数结构体
|
|
603
|
+
*/
|
|
604
|
+
export interface OpenWafProtectionResponse {
|
|
605
|
+
/**
|
|
606
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
607
|
+
*/
|
|
608
|
+
RequestId?: string;
|
|
609
|
+
}
|
|
580
610
|
/**
|
|
581
611
|
* Kong网关主动健康检查配置
|
|
582
612
|
*/
|
|
@@ -935,150 +965,150 @@ export interface SREInstance {
|
|
|
935
965
|
/**
|
|
936
966
|
* 实例ID
|
|
937
967
|
*/
|
|
938
|
-
InstanceId
|
|
968
|
+
InstanceId?: string;
|
|
939
969
|
/**
|
|
940
970
|
* 名称
|
|
941
971
|
*/
|
|
942
|
-
Name
|
|
972
|
+
Name?: string;
|
|
943
973
|
/**
|
|
944
974
|
* 版本号
|
|
945
975
|
*/
|
|
946
|
-
Edition
|
|
976
|
+
Edition?: string;
|
|
947
977
|
/**
|
|
948
978
|
* 状态, 枚举值:creating/create_fail/running/updating/update_fail/restarting/restart_fail/destroying/destroy_fail
|
|
949
979
|
*/
|
|
950
|
-
Status
|
|
980
|
+
Status?: string;
|
|
951
981
|
/**
|
|
952
982
|
* 规格ID
|
|
953
983
|
*/
|
|
954
|
-
SpecId
|
|
984
|
+
SpecId?: string;
|
|
955
985
|
/**
|
|
956
986
|
* 副本数
|
|
957
987
|
*/
|
|
958
|
-
Replica
|
|
988
|
+
Replica?: number;
|
|
959
989
|
/**
|
|
960
990
|
* 类型
|
|
961
991
|
*/
|
|
962
|
-
Type
|
|
992
|
+
Type?: string;
|
|
963
993
|
/**
|
|
964
994
|
* Vpc iD
|
|
965
995
|
*/
|
|
966
|
-
VpcId
|
|
996
|
+
VpcId?: string;
|
|
967
997
|
/**
|
|
968
998
|
* 子网ID
|
|
969
999
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
970
1000
|
*/
|
|
971
|
-
SubnetIds
|
|
1001
|
+
SubnetIds?: Array<string>;
|
|
972
1002
|
/**
|
|
973
1003
|
* 是否开启持久化存储
|
|
974
1004
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
975
1005
|
*/
|
|
976
|
-
EnableStorage
|
|
1006
|
+
EnableStorage?: boolean;
|
|
977
1007
|
/**
|
|
978
1008
|
* 数据存储方式
|
|
979
1009
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
980
1010
|
*/
|
|
981
|
-
StorageType
|
|
1011
|
+
StorageType?: string;
|
|
982
1012
|
/**
|
|
983
1013
|
* 云硬盘容量
|
|
984
1014
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
985
1015
|
*/
|
|
986
|
-
StorageCapacity
|
|
1016
|
+
StorageCapacity?: number;
|
|
987
1017
|
/**
|
|
988
1018
|
* 计费方式
|
|
989
1019
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
990
1020
|
*/
|
|
991
|
-
Paymode
|
|
1021
|
+
Paymode?: string;
|
|
992
1022
|
/**
|
|
993
1023
|
* EKS集群的ID
|
|
994
1024
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
995
1025
|
*/
|
|
996
|
-
EKSClusterID
|
|
1026
|
+
EKSClusterID?: string;
|
|
997
1027
|
/**
|
|
998
1028
|
* 集群创建时间
|
|
999
1029
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1000
1030
|
*/
|
|
1001
|
-
CreateTime
|
|
1031
|
+
CreateTime?: string;
|
|
1002
1032
|
/**
|
|
1003
1033
|
* 环境配置信息列表
|
|
1004
1034
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1005
1035
|
*/
|
|
1006
|
-
EnvInfos
|
|
1036
|
+
EnvInfos?: Array<EnvInfo>;
|
|
1007
1037
|
/**
|
|
1008
1038
|
* 引擎所在的区域
|
|
1009
1039
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1010
1040
|
*/
|
|
1011
|
-
EngineRegion
|
|
1041
|
+
EngineRegion?: string;
|
|
1012
1042
|
/**
|
|
1013
1043
|
* 注册引擎是否开启公网
|
|
1014
1044
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1015
1045
|
*/
|
|
1016
|
-
EnableInternet
|
|
1046
|
+
EnableInternet?: boolean;
|
|
1017
1047
|
/**
|
|
1018
1048
|
* 私有网络列表信息
|
|
1019
1049
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1020
1050
|
*/
|
|
1021
|
-
VpcInfos
|
|
1051
|
+
VpcInfos?: Array<VpcInfo>;
|
|
1022
1052
|
/**
|
|
1023
1053
|
* 服务治理相关信息列表
|
|
1024
1054
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1025
1055
|
*/
|
|
1026
|
-
ServiceGovernanceInfos
|
|
1056
|
+
ServiceGovernanceInfos?: Array<ServiceGovernanceInfo>;
|
|
1027
1057
|
/**
|
|
1028
1058
|
* 实例的标签信息
|
|
1029
1059
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1030
1060
|
*/
|
|
1031
|
-
Tags
|
|
1061
|
+
Tags?: Array<KVPair>;
|
|
1032
1062
|
/**
|
|
1033
1063
|
* 引擎实例是否开启控制台公网访问地址
|
|
1034
1064
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1035
1065
|
*/
|
|
1036
|
-
EnableConsoleInternet
|
|
1066
|
+
EnableConsoleInternet?: boolean;
|
|
1037
1067
|
/**
|
|
1038
1068
|
* 引擎实例是否开启控制台内网访问地址
|
|
1039
1069
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1040
1070
|
*/
|
|
1041
|
-
EnableConsoleIntranet
|
|
1071
|
+
EnableConsoleIntranet?: boolean;
|
|
1042
1072
|
/**
|
|
1043
1073
|
* 引擎实例是否展示参数配置页面
|
|
1044
1074
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1045
1075
|
*/
|
|
1046
|
-
ConfigInfoVisible
|
|
1076
|
+
ConfigInfoVisible?: boolean;
|
|
1047
1077
|
/**
|
|
1048
1078
|
* 引擎实例控制台默认密码
|
|
1049
1079
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1050
1080
|
*/
|
|
1051
|
-
ConsoleDefaultPwd
|
|
1081
|
+
ConsoleDefaultPwd?: string;
|
|
1052
1082
|
/**
|
|
1053
1083
|
* 交易付费类型,0后付费/1预付费
|
|
1054
1084
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1055
1085
|
*/
|
|
1056
|
-
TradeType
|
|
1086
|
+
TradeType?: number;
|
|
1057
1087
|
/**
|
|
1058
1088
|
* 自动续费标记:0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费
|
|
1059
1089
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1060
1090
|
*/
|
|
1061
|
-
AutoRenewFlag
|
|
1091
|
+
AutoRenewFlag?: number;
|
|
1062
1092
|
/**
|
|
1063
1093
|
* 预付费到期时间
|
|
1064
1094
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1065
1095
|
*/
|
|
1066
|
-
CurDeadline
|
|
1096
|
+
CurDeadline?: string;
|
|
1067
1097
|
/**
|
|
1068
1098
|
* 隔离开始时间
|
|
1069
1099
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1070
1100
|
*/
|
|
1071
|
-
IsolateTime
|
|
1101
|
+
IsolateTime?: string;
|
|
1072
1102
|
/**
|
|
1073
1103
|
* 实例地域相关的描述信息
|
|
1074
1104
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1075
1105
|
*/
|
|
1076
|
-
RegionInfos
|
|
1106
|
+
RegionInfos?: Array<DescribeInstanceRegionInfo>;
|
|
1077
1107
|
/**
|
|
1078
1108
|
* 所在EKS环境,分为common和yunti
|
|
1079
1109
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1080
1110
|
*/
|
|
1081
|
-
EKSType
|
|
1111
|
+
EKSType?: string;
|
|
1082
1112
|
/**
|
|
1083
1113
|
* 引擎的产品版本
|
|
1084
1114
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -1096,17 +1126,13 @@ export interface SREInstance {
|
|
|
1096
1126
|
StorageOption?: Array<StorageOption>;
|
|
1097
1127
|
}
|
|
1098
1128
|
/**
|
|
1099
|
-
*
|
|
1129
|
+
* CreateWafDomains返回参数结构体
|
|
1100
1130
|
*/
|
|
1101
|
-
export interface
|
|
1102
|
-
/**
|
|
1103
|
-
* 标签键
|
|
1104
|
-
*/
|
|
1105
|
-
TagKey?: string;
|
|
1131
|
+
export interface CreateWafDomainsResponse {
|
|
1106
1132
|
/**
|
|
1107
|
-
*
|
|
1133
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1108
1134
|
*/
|
|
1109
|
-
|
|
1135
|
+
RequestId?: string;
|
|
1110
1136
|
}
|
|
1111
1137
|
/**
|
|
1112
1138
|
* DescribeCloudNativeAPIGatewayServices请求参数结构体
|
|
@@ -1705,6 +1731,19 @@ export interface KongPassiveHealthCheck {
|
|
|
1705
1731
|
*/
|
|
1706
1732
|
Type?: string;
|
|
1707
1733
|
}
|
|
1734
|
+
/**
|
|
1735
|
+
* 引擎实例的标签信息
|
|
1736
|
+
*/
|
|
1737
|
+
export interface InstanceTagInfo {
|
|
1738
|
+
/**
|
|
1739
|
+
* 标签键
|
|
1740
|
+
*/
|
|
1741
|
+
TagKey?: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* 标签值
|
|
1744
|
+
*/
|
|
1745
|
+
TagValue?: string;
|
|
1746
|
+
}
|
|
1708
1747
|
/**
|
|
1709
1748
|
* 云原生API网关vpc配置。
|
|
1710
1749
|
*/
|
|
@@ -2004,6 +2043,16 @@ export interface KongTarget {
|
|
|
2004
2043
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2005
2044
|
*/
|
|
2006
2045
|
Source?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* CVM实例ID
|
|
2048
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2049
|
+
*/
|
|
2050
|
+
CvmInstanceId?: string;
|
|
2051
|
+
/**
|
|
2052
|
+
* CVM实例名称
|
|
2053
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2054
|
+
*/
|
|
2055
|
+
CvmInstanceName?: string;
|
|
2007
2056
|
}
|
|
2008
2057
|
/**
|
|
2009
2058
|
* DescribeCloudNativeAPIGateways请求参数结构体
|
|
@@ -2711,6 +2760,15 @@ export interface DeleteCloudNativeAPIGatewayServiceRateLimitResponse {
|
|
|
2711
2760
|
*/
|
|
2712
2761
|
RequestId?: string;
|
|
2713
2762
|
}
|
|
2763
|
+
/**
|
|
2764
|
+
* CloseWafProtection返回参数结构体
|
|
2765
|
+
*/
|
|
2766
|
+
export interface CloseWafProtectionResponse {
|
|
2767
|
+
/**
|
|
2768
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2769
|
+
*/
|
|
2770
|
+
RequestId?: string;
|
|
2771
|
+
}
|
|
2714
2772
|
/**
|
|
2715
2773
|
* 弹性伸缩配置指标
|
|
2716
2774
|
*/
|
|
@@ -3299,6 +3357,27 @@ export interface CloudNativeAPIGatewayStrategyCronScalerConfigParam {
|
|
|
3299
3357
|
*/
|
|
3300
3358
|
Crontab?: string;
|
|
3301
3359
|
}
|
|
3360
|
+
/**
|
|
3361
|
+
* OpenWafProtection请求参数结构体
|
|
3362
|
+
*/
|
|
3363
|
+
export interface OpenWafProtectionRequest {
|
|
3364
|
+
/**
|
|
3365
|
+
* 网关ID
|
|
3366
|
+
*/
|
|
3367
|
+
GatewayId: string;
|
|
3368
|
+
/**
|
|
3369
|
+
* 防护资源的类型。
|
|
3370
|
+
- Global 实例
|
|
3371
|
+
- Service 服务
|
|
3372
|
+
- Route 路由
|
|
3373
|
+
- Object 对象(接口暂不支持)
|
|
3374
|
+
*/
|
|
3375
|
+
Type: string;
|
|
3376
|
+
/**
|
|
3377
|
+
* 当资源类型 Type 是 Service 或 Route 的时候,传入的服务或路由的列表
|
|
3378
|
+
*/
|
|
3379
|
+
List?: Array<string>;
|
|
3380
|
+
}
|
|
3302
3381
|
/**
|
|
3303
3382
|
* DeleteCloudNativeAPIGatewayRoute请求参数结构体
|
|
3304
3383
|
*/
|
|
@@ -3684,6 +3763,19 @@ export interface AutoScalerRules {
|
|
|
3684
3763
|
*/
|
|
3685
3764
|
Policies?: Array<AutoScalerPolicy>;
|
|
3686
3765
|
}
|
|
3766
|
+
/**
|
|
3767
|
+
* CreateWafDomains请求参数结构体
|
|
3768
|
+
*/
|
|
3769
|
+
export interface CreateWafDomainsRequest {
|
|
3770
|
+
/**
|
|
3771
|
+
* 网关ID
|
|
3772
|
+
*/
|
|
3773
|
+
GatewayId: string;
|
|
3774
|
+
/**
|
|
3775
|
+
* WAF 防护域名列表
|
|
3776
|
+
*/
|
|
3777
|
+
Domains: Array<string>;
|
|
3778
|
+
}
|
|
3687
3779
|
/**
|
|
3688
3780
|
* 服务的后端配置
|
|
3689
3781
|
*/
|