tencentcloud-sdk-nodejs 4.0.297 → 4.0.300
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 +706 -0
- package/SERVICE_CHANGELOG.md +965 -60
- package/package.json +1 -1
- package/products.md +34 -33
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +127 -53
- package/src/services/antiddos/v20200309/antiddos_models.ts +355 -30
- package/src/services/api/v20201106/api_client.ts +13 -0
- package/src/services/api/v20201106/api_models.ts +45 -0
- package/src/services/apigateway/v20180808/apigateway_client.ts +75 -6
- package/src/services/apigateway/v20180808/apigateway_models.ts +621 -44
- package/src/services/as/v20180419/as_models.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +12 -0
- package/src/services/cam/v20190116/cam_client.ts +12 -0
- package/src/services/cam/v20190116/cam_models.ts +30 -0
- package/src/services/cdb/v20170320/cdb_models.ts +7 -1
- package/src/services/clb/v20180317/clb_client.ts +20 -11
- package/src/services/clb/v20180317/clb_models.ts +25 -0
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +37 -27
- package/src/services/cmq/v20190304/cmq_models.ts +94 -82
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +5 -0
- package/src/services/dcdb/v20180411/dcdb_client.ts +36 -12
- package/src/services/dcdb/v20180411/dcdb_models.ts +60 -0
- package/src/services/emr/v20190103/emr_client.ts +1 -0
- package/src/services/emr/v20190103/emr_models.ts +46 -0
- package/src/services/gme/v20180711/gme_client.ts +36 -0
- package/src/services/gme/v20180711/gme_models.ts +126 -0
- package/src/services/index.ts +1 -0
- package/src/services/ivld/v20210903/ivld_client.ts +78 -4
- package/src/services/ivld/v20210903/ivld_models.ts +156 -38
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +31 -7
- package/src/services/mariadb/v20170312/mariadb_models.ts +238 -179
- package/src/services/mongodb/v20190725/mongodb_client.ts +72 -60
- package/src/services/mongodb/v20190725/mongodb_models.ts +1022 -997
- package/src/services/monitor/v20180724/monitor_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +8 -1
- package/src/services/oceanus/v20190422/oceanus_models.ts +84 -2
- package/src/services/postgres/v20170312/postgres_client.ts +85 -37
- package/src/services/postgres/v20170312/postgres_models.ts +258 -84
- package/src/services/rum/v20210622/rum_models.ts +1 -1
- package/src/services/sslpod/v20190605/sslpod_models.ts +7 -1
- package/src/services/tcss/v20201101/tcss_models.ts +26 -0
- package/src/services/tdcpg/index.ts +5 -0
- package/src/services/tdcpg/v20211118/index.ts +6 -0
- package/src/services/tdcpg/v20211118/tdcpg_client.ts +345 -0
- package/src/services/tdcpg/v20211118/tdcpg_models.ts +1320 -0
- package/src/services/tdid/v20210519/tdid_client.ts +64 -14
- package/src/services/tdid/v20210519/tdid_models.ts +205 -17
- package/src/services/tdmq/v20200217/tdmq_models.ts +41 -1
- package/src/services/tem/v20210701/tem_models.ts +5 -0
- package/src/services/tsf/v20180326/tsf_client.ts +128 -15
- package/src/services/tsf/v20180326/tsf_models.ts +1116 -112
- 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 +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +41 -17
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +60 -24
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +302 -28
- package/tencentcloud/services/api/v20201106/api_client.d.ts +5 -1
- package/tencentcloud/services/api/v20201106/api_client.js +6 -0
- package/tencentcloud/services/api/v20201106/api_models.d.ts +39 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +21 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +30 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +523 -40
- package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +10 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +25 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -1
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +8 -7
- package/tencentcloud/services/clb/v20180317/clb_client.js +10 -7
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +35 -25
- package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +89 -79
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +4 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -5
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +18 -6
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +52 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +39 -0
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +13 -1
- package/tencentcloud/services/gme/v20180711/gme_client.js +18 -0
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +107 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +52 -2
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +57 -1
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +134 -34
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +5 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +9 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +12 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +202 -151
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +965 -943
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +7 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +68 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -13
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -18
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +219 -71
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
- package/tencentcloud/services/sslpod/v20190605/sslpod_models.d.ts +6 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +21 -0
- package/tencentcloud/services/tdcpg/index.d.ts +6 -0
- package/tencentcloud/services/tdcpg/index.js +7 -0
- package/tencentcloud/services/tdcpg/v20211118/index.d.ts +6 -0
- package/tencentcloud/services/tdcpg/v20211118/index.js +9 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.d.ts +116 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.js +187 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +1111 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.js +18 -0
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +22 -5
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +31 -6
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +175 -15
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +34 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +37 -5
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +54 -6
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +934 -86
- package/test/antiddos.v20200309.test.js +76 -16
- package/test/api.v20201106.test.js +10 -0
- package/test/apigateway.v20180808.test.js +50 -0
- package/test/cam.v20190116.test.js +10 -0
- package/test/clb.v20180317.test.js +12 -2
- package/test/dcdb.v20180411.test.js +24 -4
- package/test/gme.v20180711.test.js +30 -0
- package/test/ivld.v20210903.test.js +30 -0
- package/test/mariadb.v20170312.test.js +20 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/postgres.v20170312.test.js +58 -18
- package/test/tdcpg.v20211118.test.js +271 -0
- package/test/tdid.v20210519.test.js +44 -4
- package/test/tsf.v20180326.test.js +84 -4
|
@@ -703,19 +703,21 @@ export interface TargetServicesReq {
|
|
|
703
703
|
DockerIp?: string;
|
|
704
704
|
}
|
|
705
705
|
/**
|
|
706
|
-
*
|
|
706
|
+
* DescribeUsagePlansStatus请求参数结构体
|
|
707
707
|
*/
|
|
708
|
-
export interface
|
|
708
|
+
export interface DescribeUsagePlansStatusRequest {
|
|
709
709
|
/**
|
|
710
|
-
*
|
|
711
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
710
|
+
* 返回数量,默认为 20,最大值为 100。
|
|
712
711
|
*/
|
|
713
|
-
|
|
712
|
+
Limit?: number;
|
|
714
713
|
/**
|
|
715
|
-
*
|
|
716
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
714
|
+
* 偏移量,默认为 0。
|
|
717
715
|
*/
|
|
718
|
-
|
|
716
|
+
Offset?: number;
|
|
717
|
+
/**
|
|
718
|
+
* 使用计划过滤条件。支持UsagePlanId、UsagePlanName、NotServiceId、NotApiId、Environment。
|
|
719
|
+
*/
|
|
720
|
+
Filters?: Array<Filter>;
|
|
719
721
|
}
|
|
720
722
|
/**
|
|
721
723
|
* TsfLoadBalanceConf 出参使用
|
|
@@ -848,6 +850,15 @@ export interface HealthCheckConf {
|
|
|
848
850
|
*/
|
|
849
851
|
ErrorThresholdPercentage?: number;
|
|
850
852
|
}
|
|
853
|
+
/**
|
|
854
|
+
* DeleteUpstream请求参数结构体
|
|
855
|
+
*/
|
|
856
|
+
export interface DeleteUpstreamRequest {
|
|
857
|
+
/**
|
|
858
|
+
* 待删除的VPC通道唯一ID
|
|
859
|
+
*/
|
|
860
|
+
UpstreamId: string;
|
|
861
|
+
}
|
|
851
862
|
/**
|
|
852
863
|
* API网关插件详情。
|
|
853
864
|
*/
|
|
@@ -906,6 +917,51 @@ export interface UnbindApiAppResponse {
|
|
|
906
917
|
*/
|
|
907
918
|
RequestId?: string;
|
|
908
919
|
}
|
|
920
|
+
/**
|
|
921
|
+
* ModifyUpstream请求参数结构体
|
|
922
|
+
*/
|
|
923
|
+
export interface ModifyUpstreamRequest {
|
|
924
|
+
/**
|
|
925
|
+
* VPC通道唯一ID
|
|
926
|
+
*/
|
|
927
|
+
UpstreamId: string;
|
|
928
|
+
/**
|
|
929
|
+
* VPC通道名字
|
|
930
|
+
*/
|
|
931
|
+
UpstreamName?: string;
|
|
932
|
+
/**
|
|
933
|
+
* VPC通道描述
|
|
934
|
+
*/
|
|
935
|
+
UpstreamDescription?: string;
|
|
936
|
+
/**
|
|
937
|
+
* 后端协议,HTTP, HTTPS其中之一
|
|
938
|
+
*/
|
|
939
|
+
Scheme?: string;
|
|
940
|
+
/**
|
|
941
|
+
* 负载均衡算法目前支持ROUND_ROBIN
|
|
942
|
+
*/
|
|
943
|
+
Algorithm?: string;
|
|
944
|
+
/**
|
|
945
|
+
* VPC唯一ID
|
|
946
|
+
*/
|
|
947
|
+
UniqVpcId?: string;
|
|
948
|
+
/**
|
|
949
|
+
* 请求重试次数,默认3次
|
|
950
|
+
*/
|
|
951
|
+
Retries?: number;
|
|
952
|
+
/**
|
|
953
|
+
* 请求到后端的,host头
|
|
954
|
+
*/
|
|
955
|
+
UpstreamHost?: string;
|
|
956
|
+
/**
|
|
957
|
+
* 后端节点列表
|
|
958
|
+
*/
|
|
959
|
+
Nodes?: Array<UpstreamNode>;
|
|
960
|
+
/**
|
|
961
|
+
* k8s服务配置
|
|
962
|
+
*/
|
|
963
|
+
K8sService?: Array<K8sService>;
|
|
964
|
+
}
|
|
909
965
|
/**
|
|
910
966
|
* DescribeApiUsagePlan返回参数结构体
|
|
911
967
|
*/
|
|
@@ -955,6 +1011,27 @@ export interface DescribePluginResponse {
|
|
|
955
1011
|
*/
|
|
956
1012
|
RequestId?: string;
|
|
957
1013
|
}
|
|
1014
|
+
/**
|
|
1015
|
+
* DescribeUpstreamBindApis请求参数结构体
|
|
1016
|
+
*/
|
|
1017
|
+
export interface DescribeUpstreamBindApisRequest {
|
|
1018
|
+
/**
|
|
1019
|
+
* 分页
|
|
1020
|
+
*/
|
|
1021
|
+
Limit: number;
|
|
1022
|
+
/**
|
|
1023
|
+
* 分页
|
|
1024
|
+
*/
|
|
1025
|
+
Offset: number;
|
|
1026
|
+
/**
|
|
1027
|
+
* vpc通道Id
|
|
1028
|
+
*/
|
|
1029
|
+
UpstreamId: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* ServiceId和ApiId过滤查询
|
|
1032
|
+
*/
|
|
1033
|
+
Filters?: Array<Filter>;
|
|
1034
|
+
}
|
|
958
1035
|
/**
|
|
959
1036
|
* DescribeExclusiveInstances返回参数结构体
|
|
960
1037
|
*/
|
|
@@ -968,6 +1045,39 @@ export interface DescribeExclusiveInstancesResponse {
|
|
|
968
1045
|
*/
|
|
969
1046
|
RequestId?: string;
|
|
970
1047
|
}
|
|
1048
|
+
/**
|
|
1049
|
+
* k8s 服务的配置
|
|
1050
|
+
*/
|
|
1051
|
+
export interface K8sService {
|
|
1052
|
+
/**
|
|
1053
|
+
* 权重
|
|
1054
|
+
*/
|
|
1055
|
+
Weight: number;
|
|
1056
|
+
/**
|
|
1057
|
+
* k8s集群ID
|
|
1058
|
+
*/
|
|
1059
|
+
ClusterId: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* 容器命名空间
|
|
1062
|
+
*/
|
|
1063
|
+
Namespace: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* 容器服务的名字
|
|
1066
|
+
*/
|
|
1067
|
+
ServiceName: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* 服务的端口
|
|
1070
|
+
*/
|
|
1071
|
+
Port: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* 额外选择的Pod的Label
|
|
1074
|
+
*/
|
|
1075
|
+
ExtraLabels: Array<K8sLabel>;
|
|
1076
|
+
/**
|
|
1077
|
+
* 自定义的服务名字,可选
|
|
1078
|
+
*/
|
|
1079
|
+
Name?: string;
|
|
1080
|
+
}
|
|
971
1081
|
/**
|
|
972
1082
|
* DeleteUsagePlan请求参数结构体
|
|
973
1083
|
*/
|
|
@@ -1015,6 +1125,10 @@ export interface DescribeApiEnvironmentStrategyRequest {
|
|
|
1015
1125
|
*/
|
|
1016
1126
|
Offset?: number;
|
|
1017
1127
|
}
|
|
1128
|
+
/**
|
|
1129
|
+
* VPC通道主动健康检查的请求头配置
|
|
1130
|
+
*/
|
|
1131
|
+
export declare type UpstreamHealthCheckerReqHeaders = null;
|
|
1018
1132
|
/**
|
|
1019
1133
|
* DescribeServiceForApiApp返回参数结构体
|
|
1020
1134
|
*/
|
|
@@ -1856,21 +1970,17 @@ export interface ModifyIPStrategyResponse {
|
|
|
1856
1970
|
RequestId?: string;
|
|
1857
1971
|
}
|
|
1858
1972
|
/**
|
|
1859
|
-
*
|
|
1973
|
+
* 查询vpc通道返回信息
|
|
1860
1974
|
*/
|
|
1861
|
-
export interface
|
|
1975
|
+
export interface DescribeUpstreamInfo {
|
|
1862
1976
|
/**
|
|
1863
|
-
*
|
|
1977
|
+
* 查询总数
|
|
1864
1978
|
*/
|
|
1865
|
-
|
|
1866
|
-
/**
|
|
1867
|
-
* token传递位置。
|
|
1868
|
-
*/
|
|
1869
|
-
TokenLocation: string;
|
|
1979
|
+
TotalCount: number;
|
|
1870
1980
|
/**
|
|
1871
|
-
*
|
|
1981
|
+
* 查询列表
|
|
1872
1982
|
*/
|
|
1873
|
-
|
|
1983
|
+
UpstreamSet: Array<UpstreamInfo>;
|
|
1874
1984
|
}
|
|
1875
1985
|
/**
|
|
1876
1986
|
* ModifyApiEnvironmentStrategy请求参数结构体
|
|
@@ -2030,6 +2140,71 @@ export interface DeleteApiKeyResponse {
|
|
|
2030
2140
|
*/
|
|
2031
2141
|
RequestId?: string;
|
|
2032
2142
|
}
|
|
2143
|
+
/**
|
|
2144
|
+
* VPC通道信息集合
|
|
2145
|
+
*/
|
|
2146
|
+
export interface UpstreamInfo {
|
|
2147
|
+
/**
|
|
2148
|
+
* VPC通道唯一ID
|
|
2149
|
+
*/
|
|
2150
|
+
UpstreamId: string;
|
|
2151
|
+
/**
|
|
2152
|
+
* VPC通道名字
|
|
2153
|
+
*/
|
|
2154
|
+
UpstreamName: string;
|
|
2155
|
+
/**
|
|
2156
|
+
* VPC通道描述
|
|
2157
|
+
*/
|
|
2158
|
+
UpstreamDescription: string;
|
|
2159
|
+
/**
|
|
2160
|
+
* 写意
|
|
2161
|
+
*/
|
|
2162
|
+
Scheme: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* 负载均衡算法
|
|
2165
|
+
*/
|
|
2166
|
+
Algorithm: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* vpc唯一ID
|
|
2169
|
+
*/
|
|
2170
|
+
UniqVpcId: string;
|
|
2171
|
+
/**
|
|
2172
|
+
* 请求重拾次数
|
|
2173
|
+
*/
|
|
2174
|
+
Retries: number;
|
|
2175
|
+
/**
|
|
2176
|
+
* 后端节点
|
|
2177
|
+
*/
|
|
2178
|
+
Nodes: Array<UpstreamNode>;
|
|
2179
|
+
/**
|
|
2180
|
+
* 创建时间
|
|
2181
|
+
*/
|
|
2182
|
+
CreatedTime: string;
|
|
2183
|
+
/**
|
|
2184
|
+
* 标签
|
|
2185
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2186
|
+
*/
|
|
2187
|
+
Tags: Array<Tag>;
|
|
2188
|
+
/**
|
|
2189
|
+
* 健康检查配置
|
|
2190
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2191
|
+
*/
|
|
2192
|
+
HealthChecker: UpstreamHealthChecker;
|
|
2193
|
+
/**
|
|
2194
|
+
* Upstream的类型
|
|
2195
|
+
*/
|
|
2196
|
+
UpstreamType: string;
|
|
2197
|
+
/**
|
|
2198
|
+
* k8s服务配置
|
|
2199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2200
|
+
*/
|
|
2201
|
+
K8sServices: Array<K8sService>;
|
|
2202
|
+
/**
|
|
2203
|
+
* vpc通道的Host
|
|
2204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2205
|
+
*/
|
|
2206
|
+
UpstreamHost: string;
|
|
2207
|
+
}
|
|
2033
2208
|
/**
|
|
2034
2209
|
* ModifyExclusiveInstance请求参数结构体
|
|
2035
2210
|
*/
|
|
@@ -2212,6 +2387,19 @@ export interface UnBindIPStrategyRequest {
|
|
|
2212
2387
|
*/
|
|
2213
2388
|
UnBindApiIds: Array<string>;
|
|
2214
2389
|
}
|
|
2390
|
+
/**
|
|
2391
|
+
* DescribeUpstreams返回参数结构体
|
|
2392
|
+
*/
|
|
2393
|
+
export interface DescribeUpstreamsResponse {
|
|
2394
|
+
/**
|
|
2395
|
+
* 查询结果
|
|
2396
|
+
*/
|
|
2397
|
+
Result: DescribeUpstreamInfo;
|
|
2398
|
+
/**
|
|
2399
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2400
|
+
*/
|
|
2401
|
+
RequestId?: string;
|
|
2402
|
+
}
|
|
2215
2403
|
/**
|
|
2216
2404
|
* DescribePluginApis请求参数结构体
|
|
2217
2405
|
*/
|
|
@@ -2298,6 +2486,10 @@ export interface CreateServiceRequest {
|
|
|
2298
2486
|
* 独享实例id
|
|
2299
2487
|
*/
|
|
2300
2488
|
InstanceId?: string;
|
|
2489
|
+
/**
|
|
2490
|
+
* vpc属性
|
|
2491
|
+
*/
|
|
2492
|
+
UniqVpcId?: string;
|
|
2301
2493
|
}
|
|
2302
2494
|
/**
|
|
2303
2495
|
* DescribeIPStrategysStatus请求参数结构体
|
|
@@ -2623,14 +2815,14 @@ export interface DeleteApiKeyRequest {
|
|
|
2623
2815
|
AccessKeyId: string;
|
|
2624
2816
|
}
|
|
2625
2817
|
/**
|
|
2626
|
-
*
|
|
2818
|
+
* DescribeIPStrategyApisStatus返回参数结构体
|
|
2627
2819
|
*/
|
|
2628
|
-
export interface
|
|
2820
|
+
export interface DescribeIPStrategyApisStatusResponse {
|
|
2629
2821
|
/**
|
|
2630
|
-
*
|
|
2822
|
+
* 环境绑定API列表。
|
|
2631
2823
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2632
2824
|
*/
|
|
2633
|
-
Result?:
|
|
2825
|
+
Result?: IPStrategyApiStatus;
|
|
2634
2826
|
/**
|
|
2635
2827
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2636
2828
|
*/
|
|
@@ -3382,6 +3574,19 @@ export interface DescribeServiceEnvironmentStrategyRequest {
|
|
|
3382
3574
|
*/
|
|
3383
3575
|
Offset?: number;
|
|
3384
3576
|
}
|
|
3577
|
+
/**
|
|
3578
|
+
* DescribeUpstreamBindApis返回参数结构体
|
|
3579
|
+
*/
|
|
3580
|
+
export interface DescribeUpstreamBindApisResponse {
|
|
3581
|
+
/**
|
|
3582
|
+
* 查询结果
|
|
3583
|
+
*/
|
|
3584
|
+
Result: DescribeUpstreamBindApis;
|
|
3585
|
+
/**
|
|
3586
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3587
|
+
*/
|
|
3588
|
+
RequestId?: string;
|
|
3589
|
+
}
|
|
3385
3590
|
/**
|
|
3386
3591
|
* ReleaseService请求参数结构体
|
|
3387
3592
|
*/
|
|
@@ -3551,6 +3756,19 @@ export interface ModifyExclusiveInstanceResponse {
|
|
|
3551
3756
|
*/
|
|
3552
3757
|
RequestId?: string;
|
|
3553
3758
|
}
|
|
3759
|
+
/**
|
|
3760
|
+
* k8s Label
|
|
3761
|
+
*/
|
|
3762
|
+
export interface K8sLabel {
|
|
3763
|
+
/**
|
|
3764
|
+
* Label的Key
|
|
3765
|
+
*/
|
|
3766
|
+
Key: string;
|
|
3767
|
+
/**
|
|
3768
|
+
* Label的Value
|
|
3769
|
+
*/
|
|
3770
|
+
Value: string;
|
|
3771
|
+
}
|
|
3554
3772
|
/**
|
|
3555
3773
|
* DescribePlugins返回参数结构体
|
|
3556
3774
|
*/
|
|
@@ -3721,18 +3939,45 @@ export interface ServiceUsagePlanSet {
|
|
|
3721
3939
|
ServiceUsagePlanList: Array<ApiUsagePlan>;
|
|
3722
3940
|
}
|
|
3723
3941
|
/**
|
|
3724
|
-
*
|
|
3942
|
+
* CreateUpstream请求参数结构体
|
|
3725
3943
|
*/
|
|
3726
|
-
export interface
|
|
3944
|
+
export interface CreateUpstreamRequest {
|
|
3727
3945
|
/**
|
|
3728
|
-
*
|
|
3729
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3946
|
+
* 后端协议,HTTP, HTTPS其中之一
|
|
3730
3947
|
*/
|
|
3731
|
-
|
|
3948
|
+
Scheme: string;
|
|
3732
3949
|
/**
|
|
3733
|
-
*
|
|
3950
|
+
* 负载均衡算法目前支持ROUND_ROBIN
|
|
3734
3951
|
*/
|
|
3735
|
-
|
|
3952
|
+
Algorithm: string;
|
|
3953
|
+
/**
|
|
3954
|
+
* VPC唯一ID
|
|
3955
|
+
*/
|
|
3956
|
+
UniqVpcId: string;
|
|
3957
|
+
/**
|
|
3958
|
+
* VPC通道名字
|
|
3959
|
+
*/
|
|
3960
|
+
UpstreamName?: string;
|
|
3961
|
+
/**
|
|
3962
|
+
* VPC通道描述
|
|
3963
|
+
*/
|
|
3964
|
+
UpstreamDescription?: string;
|
|
3965
|
+
/**
|
|
3966
|
+
* 请求重试次数,默认3次
|
|
3967
|
+
*/
|
|
3968
|
+
Retries?: number;
|
|
3969
|
+
/**
|
|
3970
|
+
* 请求到后端的,host头
|
|
3971
|
+
*/
|
|
3972
|
+
UpstreamHost?: string;
|
|
3973
|
+
/**
|
|
3974
|
+
* 后端节点
|
|
3975
|
+
*/
|
|
3976
|
+
Nodes?: Array<UpstreamNode>;
|
|
3977
|
+
/**
|
|
3978
|
+
* k8s服务的配置
|
|
3979
|
+
*/
|
|
3980
|
+
K8sService?: Array<K8sService>;
|
|
3736
3981
|
}
|
|
3737
3982
|
/**
|
|
3738
3983
|
* ModifyServiceEnvironmentStrategy返回参数结构体
|
|
@@ -3983,6 +4228,23 @@ export interface DescribeServiceSubDomainMappingsResponse {
|
|
|
3983
4228
|
*/
|
|
3984
4229
|
RequestId?: string;
|
|
3985
4230
|
}
|
|
4231
|
+
/**
|
|
4232
|
+
* Oauth授权配置信息
|
|
4233
|
+
*/
|
|
4234
|
+
export interface OauthConfig {
|
|
4235
|
+
/**
|
|
4236
|
+
* 公钥,用于验证用户token。
|
|
4237
|
+
*/
|
|
4238
|
+
PublicKey: string;
|
|
4239
|
+
/**
|
|
4240
|
+
* token传递位置。
|
|
4241
|
+
*/
|
|
4242
|
+
TokenLocation: string;
|
|
4243
|
+
/**
|
|
4244
|
+
* 重定向地址,用于引导用户登录操作。
|
|
4245
|
+
*/
|
|
4246
|
+
LoginRedirectUrl?: string;
|
|
4247
|
+
}
|
|
3986
4248
|
/**
|
|
3987
4249
|
* DescribeApiAppsStatus返回参数结构体
|
|
3988
4250
|
*/
|
|
@@ -4106,19 +4368,19 @@ export interface CreateApiKeyResponse {
|
|
|
4106
4368
|
RequestId?: string;
|
|
4107
4369
|
}
|
|
4108
4370
|
/**
|
|
4109
|
-
*
|
|
4371
|
+
* DescribeUpstreams请求参数结构体
|
|
4110
4372
|
*/
|
|
4111
|
-
export interface
|
|
4373
|
+
export interface DescribeUpstreamsRequest {
|
|
4112
4374
|
/**
|
|
4113
|
-
*
|
|
4375
|
+
* 分页
|
|
4114
4376
|
*/
|
|
4115
|
-
Limit
|
|
4377
|
+
Limit: number;
|
|
4116
4378
|
/**
|
|
4117
|
-
*
|
|
4379
|
+
* 分页
|
|
4118
4380
|
*/
|
|
4119
|
-
Offset
|
|
4381
|
+
Offset: number;
|
|
4120
4382
|
/**
|
|
4121
|
-
*
|
|
4383
|
+
* 过滤条件
|
|
4122
4384
|
*/
|
|
4123
4385
|
Filters?: Array<Filter>;
|
|
4124
4386
|
}
|
|
@@ -4257,14 +4519,14 @@ export interface VpcConfig {
|
|
|
4257
4519
|
UniqSubnetId: string;
|
|
4258
4520
|
}
|
|
4259
4521
|
/**
|
|
4260
|
-
*
|
|
4522
|
+
* CreateUpstream返回参数结构体
|
|
4261
4523
|
*/
|
|
4262
|
-
export interface
|
|
4524
|
+
export interface CreateUpstreamResponse {
|
|
4263
4525
|
/**
|
|
4264
|
-
*
|
|
4526
|
+
* 创建返回的唯一id
|
|
4265
4527
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4266
4528
|
*/
|
|
4267
|
-
|
|
4529
|
+
UpstreamId: string;
|
|
4268
4530
|
/**
|
|
4269
4531
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4270
4532
|
*/
|
|
@@ -4407,6 +4669,19 @@ export interface DeletePluginResponse {
|
|
|
4407
4669
|
*/
|
|
4408
4670
|
RequestId?: string;
|
|
4409
4671
|
}
|
|
4672
|
+
/**
|
|
4673
|
+
* 查询vpc通道绑定api列表
|
|
4674
|
+
*/
|
|
4675
|
+
export interface DescribeUpstreamBindApis {
|
|
4676
|
+
/**
|
|
4677
|
+
* 总数
|
|
4678
|
+
*/
|
|
4679
|
+
TotalCount: number;
|
|
4680
|
+
/**
|
|
4681
|
+
* 绑定的api信息
|
|
4682
|
+
*/
|
|
4683
|
+
BindApiSet: Array<BindApiInfo>;
|
|
4684
|
+
}
|
|
4410
4685
|
/**
|
|
4411
4686
|
* ModifyServiceEnvironmentStrategy请求参数结构体
|
|
4412
4687
|
*/
|
|
@@ -4567,6 +4842,20 @@ export interface DescribeServiceForApiAppRequest {
|
|
|
4567
4842
|
*/
|
|
4568
4843
|
ApiRegion: string;
|
|
4569
4844
|
}
|
|
4845
|
+
/**
|
|
4846
|
+
* ModifyApiEnvironmentStrategy返回参数结构体
|
|
4847
|
+
*/
|
|
4848
|
+
export interface ModifyApiEnvironmentStrategyResponse {
|
|
4849
|
+
/**
|
|
4850
|
+
* 修改操作是否成功。
|
|
4851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4852
|
+
*/
|
|
4853
|
+
Result?: boolean;
|
|
4854
|
+
/**
|
|
4855
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4856
|
+
*/
|
|
4857
|
+
RequestId?: string;
|
|
4858
|
+
}
|
|
4570
4859
|
/**
|
|
4571
4860
|
* BindSubDomain请求参数结构体
|
|
4572
4861
|
*/
|
|
@@ -4983,6 +5272,33 @@ export interface ApiKey {
|
|
|
4983
5272
|
*/
|
|
4984
5273
|
CreatedTime: string;
|
|
4985
5274
|
}
|
|
5275
|
+
/**
|
|
5276
|
+
* vpc通道绑定的api信息
|
|
5277
|
+
*/
|
|
5278
|
+
export interface BindApiInfo {
|
|
5279
|
+
/**
|
|
5280
|
+
* api唯一id
|
|
5281
|
+
*/
|
|
5282
|
+
ApiId: string;
|
|
5283
|
+
/**
|
|
5284
|
+
* Service唯一id
|
|
5285
|
+
*/
|
|
5286
|
+
ServiceId: string;
|
|
5287
|
+
/**
|
|
5288
|
+
* api名字
|
|
5289
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5290
|
+
*/
|
|
5291
|
+
ApiName: string;
|
|
5292
|
+
/**
|
|
5293
|
+
* 服务名字
|
|
5294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5295
|
+
*/
|
|
5296
|
+
ServiceName: string;
|
|
5297
|
+
/**
|
|
5298
|
+
* 绑定时间
|
|
5299
|
+
*/
|
|
5300
|
+
BindTime: string;
|
|
5301
|
+
}
|
|
4986
5302
|
/**
|
|
4987
5303
|
* 应用绑定的Api信息
|
|
4988
5304
|
*/
|
|
@@ -5104,6 +5420,20 @@ export interface BindEnvironmentRequest {
|
|
|
5104
5420
|
*/
|
|
5105
5421
|
ApiIds?: Array<string>;
|
|
5106
5422
|
}
|
|
5423
|
+
/**
|
|
5424
|
+
* ModifyUpstream返回参数结构体
|
|
5425
|
+
*/
|
|
5426
|
+
export interface ModifyUpstreamResponse {
|
|
5427
|
+
/**
|
|
5428
|
+
* 返回修改后的vpc通道信息
|
|
5429
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5430
|
+
*/
|
|
5431
|
+
Result: UpstreamInfo;
|
|
5432
|
+
/**
|
|
5433
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5434
|
+
*/
|
|
5435
|
+
RequestId?: string;
|
|
5436
|
+
}
|
|
5107
5437
|
/**
|
|
5108
5438
|
* DescribeIPStrategy请求参数结构体
|
|
5109
5439
|
*/
|
|
@@ -5212,6 +5542,63 @@ export interface DescribeServiceReleaseVersionResponse {
|
|
|
5212
5542
|
*/
|
|
5213
5543
|
RequestId?: string;
|
|
5214
5544
|
}
|
|
5545
|
+
/**
|
|
5546
|
+
* VPC通道后端节点元数据
|
|
5547
|
+
*/
|
|
5548
|
+
export interface UpstreamNode {
|
|
5549
|
+
/**
|
|
5550
|
+
* IP(domain)
|
|
5551
|
+
*/
|
|
5552
|
+
Host: string;
|
|
5553
|
+
/**
|
|
5554
|
+
* 端口[0, 65535]
|
|
5555
|
+
*/
|
|
5556
|
+
Port: number;
|
|
5557
|
+
/**
|
|
5558
|
+
* 权重[0, 100], 0为禁用
|
|
5559
|
+
*/
|
|
5560
|
+
Weight: number;
|
|
5561
|
+
/**
|
|
5562
|
+
* vm实例id
|
|
5563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5564
|
+
*/
|
|
5565
|
+
VmInstanceId?: string;
|
|
5566
|
+
/**
|
|
5567
|
+
* 染色标签
|
|
5568
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5569
|
+
*/
|
|
5570
|
+
Tags?: Array<string>;
|
|
5571
|
+
/**
|
|
5572
|
+
* 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报
|
|
5573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5574
|
+
*/
|
|
5575
|
+
Healthy?: string;
|
|
5576
|
+
/**
|
|
5577
|
+
* k8s服务名字
|
|
5578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5579
|
+
*/
|
|
5580
|
+
ServiceName?: string;
|
|
5581
|
+
/**
|
|
5582
|
+
* k8s命名空间
|
|
5583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5584
|
+
*/
|
|
5585
|
+
NameSpace?: string;
|
|
5586
|
+
/**
|
|
5587
|
+
* TKE集群的ID
|
|
5588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5589
|
+
*/
|
|
5590
|
+
ClusterId?: string;
|
|
5591
|
+
/**
|
|
5592
|
+
* Node的来源
|
|
5593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5594
|
+
*/
|
|
5595
|
+
Source?: string;
|
|
5596
|
+
/**
|
|
5597
|
+
* API网关内部记录唯一的服务名字
|
|
5598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5599
|
+
*/
|
|
5600
|
+
UniqueServiceName?: string;
|
|
5601
|
+
}
|
|
5215
5602
|
/**
|
|
5216
5603
|
* 应用信息集
|
|
5217
5604
|
*/
|
|
@@ -5226,6 +5613,20 @@ export interface ApiAppApiInfos {
|
|
|
5226
5613
|
*/
|
|
5227
5614
|
ApiAppApiSet: Array<ApiAppApiInfo>;
|
|
5228
5615
|
}
|
|
5616
|
+
/**
|
|
5617
|
+
* DeleteUpstream返回参数结构体
|
|
5618
|
+
*/
|
|
5619
|
+
export interface DeleteUpstreamResponse {
|
|
5620
|
+
/**
|
|
5621
|
+
* 成功删除的vpc通道id
|
|
5622
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5623
|
+
*/
|
|
5624
|
+
UpstreamId: string;
|
|
5625
|
+
/**
|
|
5626
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5627
|
+
*/
|
|
5628
|
+
RequestId?: string;
|
|
5629
|
+
}
|
|
5229
5630
|
/**
|
|
5230
5631
|
* UpdateService返回参数结构体
|
|
5231
5632
|
*/
|
|
@@ -5367,6 +5768,21 @@ export interface ReleaseService {
|
|
|
5367
5768
|
*/
|
|
5368
5769
|
ReleaseVersion: string;
|
|
5369
5770
|
}
|
|
5771
|
+
/**
|
|
5772
|
+
* 服务绑定环境详情
|
|
5773
|
+
*/
|
|
5774
|
+
export interface ServiceEnvironmentSet {
|
|
5775
|
+
/**
|
|
5776
|
+
* 服务绑定环境总数。
|
|
5777
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5778
|
+
*/
|
|
5779
|
+
TotalCount: number;
|
|
5780
|
+
/**
|
|
5781
|
+
* 服务绑定环境列表。
|
|
5782
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5783
|
+
*/
|
|
5784
|
+
EnvironmentList: Array<Environment>;
|
|
5785
|
+
}
|
|
5370
5786
|
/**
|
|
5371
5787
|
* CreateService返回参数结构体
|
|
5372
5788
|
*/
|
|
@@ -5835,6 +6251,20 @@ export interface InstanceDetail {
|
|
|
5835
6251
|
*/
|
|
5836
6252
|
Zones: string;
|
|
5837
6253
|
}
|
|
6254
|
+
/**
|
|
6255
|
+
* UnBindSecretIds返回参数结构体
|
|
6256
|
+
*/
|
|
6257
|
+
export interface UnBindSecretIdsResponse {
|
|
6258
|
+
/**
|
|
6259
|
+
* 解绑操作是否成功。
|
|
6260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6261
|
+
*/
|
|
6262
|
+
Result?: boolean;
|
|
6263
|
+
/**
|
|
6264
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6265
|
+
*/
|
|
6266
|
+
RequestId?: string;
|
|
6267
|
+
}
|
|
5838
6268
|
/**
|
|
5839
6269
|
* CreateApiApp请求参数结构体
|
|
5840
6270
|
*/
|
|
@@ -5916,6 +6346,59 @@ export interface RequestParameter {
|
|
|
5916
6346
|
*/
|
|
5917
6347
|
Required?: boolean;
|
|
5918
6348
|
}
|
|
6349
|
+
/**
|
|
6350
|
+
* VPC通道健康检查参数配置
|
|
6351
|
+
*/
|
|
6352
|
+
export interface UpstreamHealthChecker {
|
|
6353
|
+
/**
|
|
6354
|
+
* 标识是否开启主动健康检查。
|
|
6355
|
+
*/
|
|
6356
|
+
EnableActiveCheck: boolean;
|
|
6357
|
+
/**
|
|
6358
|
+
* 标识是否开启被动健康检查。
|
|
6359
|
+
*/
|
|
6360
|
+
EnablePassiveCheck: boolean;
|
|
6361
|
+
/**
|
|
6362
|
+
* 健康检查时,判断为成功请求的 HTTP 状态码。
|
|
6363
|
+
*/
|
|
6364
|
+
HealthyHttpStatus: string;
|
|
6365
|
+
/**
|
|
6366
|
+
* 健康检查时,判断为失败请求的 HTTP 状态码。
|
|
6367
|
+
*/
|
|
6368
|
+
UnhealthyHttpStatus: string;
|
|
6369
|
+
/**
|
|
6370
|
+
* TCP连续错误阈值。0 表示禁用 TCP 检查。取值范围:[0, 254]。
|
|
6371
|
+
*/
|
|
6372
|
+
TcpFailureThreshold: number;
|
|
6373
|
+
/**
|
|
6374
|
+
* 连续超时阈值。0 表示禁用超时检查。取值范围:[0, 254]。
|
|
6375
|
+
*/
|
|
6376
|
+
TimeoutThreshold: number;
|
|
6377
|
+
/**
|
|
6378
|
+
* HTTP连续错误阈值。0 表示禁用HTTP检查。取值范围:[0, 254]。
|
|
6379
|
+
*/
|
|
6380
|
+
HttpFailureThreshold: number;
|
|
6381
|
+
/**
|
|
6382
|
+
* 主动健康检查时探测请求的路径。默认为"/"。
|
|
6383
|
+
*/
|
|
6384
|
+
ActiveCheckHttpPath?: string;
|
|
6385
|
+
/**
|
|
6386
|
+
* 主动健康检查的探测请求超时,单位秒。默认为5秒。
|
|
6387
|
+
*/
|
|
6388
|
+
ActiveCheckTimeout?: number;
|
|
6389
|
+
/**
|
|
6390
|
+
* 主动健康检查的时间间隔,默认5秒。
|
|
6391
|
+
*/
|
|
6392
|
+
ActiveCheckInterval?: number;
|
|
6393
|
+
/**
|
|
6394
|
+
* 主动健康检查时探测请求的的请求头。
|
|
6395
|
+
*/
|
|
6396
|
+
ActiveRequestHeader?: Array<UpstreamHealthCheckerReqHeaders>;
|
|
6397
|
+
/**
|
|
6398
|
+
* 异常节点的状态自动恢复时间,单位秒。当只开启被动检查的话,必须设置为 > 0 的值,否则被动异常节点将无法恢复。默认30秒。
|
|
6399
|
+
*/
|
|
6400
|
+
UnhealthyTimeout?: number;
|
|
6401
|
+
}
|
|
5919
6402
|
/**
|
|
5920
6403
|
* 独享实例预付费详情
|
|
5921
6404
|
*/
|