tencentcloud-sdk-nodejs-intl-en 3.0.425 → 3.0.428
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/package.json +1 -1
- package/tencentcloud/apigateway/v20180808/apigateway_client.js +3 -3
- package/tencentcloud/apigateway/v20180808/models.js +139 -56
- package/tencentcloud/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/cdb/v20170320/models.js +90 -6
- package/tencentcloud/ckafka/v20190819/models.js +18 -4
- package/tencentcloud/cls/v20201016/cls_client.js +65 -13
- package/tencentcloud/cls/v20201016/models.js +479 -56
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/iotcloud/v20210408/iotcloud_client.js +13 -0
- package/tencentcloud/iotcloud/v20210408/models.js +93 -0
- package/tencentcloud/monitor/v20180724/models.js +22 -1
- package/tencentcloud/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/postgres/v20170312/models.js +49 -4
- package/tencentcloud/ses/v20201002/models.js +387 -61
- package/tencentcloud/ses/v20201002/ses_client.js +150 -110
- package/tencentcloud/tdmq/v20200217/models.js +1220 -3987
- package/tencentcloud/tdmq/v20200217/tdmq_client.js +26 -210
- package/tencentcloud/tem/v20210701/models.js +61 -207
- package/tencentcloud/tem/v20210701/tem_client.js +13 -41
- package/tencentcloud/vod/v20180717/models.js +32 -4
package/package.json
CHANGED
|
@@ -525,7 +525,7 @@ In API Gateway, you can bind a custom domain name to a service and map its paths
|
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
/**
|
|
528
|
-
* This API is used to query
|
|
528
|
+
* This API is used to query details of upstreams under the current account.
|
|
529
529
|
* @param {DescribeUpstreamsRequest} req
|
|
530
530
|
* @param {function(string, DescribeUpstreamsResponse):void} cb
|
|
531
531
|
* @public
|
|
@@ -1006,7 +1006,7 @@ After binding a usage plan to environments, you can use this API to query all se
|
|
|
1006
1006
|
}
|
|
1007
1007
|
|
|
1008
1008
|
/**
|
|
1009
|
-
* This API is used to delete an upstream. Note that you can only delete an upstream when it’s not bound with
|
|
1009
|
+
* This API is used to delete an upstream. Note that you can only delete an upstream when it’s not bound with any APIs.
|
|
1010
1010
|
* @param {DeleteUpstreamRequest} req
|
|
1011
1011
|
* @param {function(string, DeleteUpstreamResponse):void} cb
|
|
1012
1012
|
* @public
|
|
@@ -1064,7 +1064,7 @@ After creating an API key, you can query its details by using this API.
|
|
|
1064
1064
|
}
|
|
1065
1065
|
|
|
1066
1066
|
/**
|
|
1067
|
-
* This API is used to query
|
|
1067
|
+
* This API is used to query APIs bound with an upstream.
|
|
1068
1068
|
* @param {DescribeUpstreamBindApisRequest} req
|
|
1069
1069
|
* @param {function(string, DescribeUpstreamBindApisResponse):void} cb
|
|
1070
1070
|
* @public
|
|
@@ -1968,7 +1968,7 @@ class DeleteUpstreamRequest extends AbstractModel {
|
|
|
1968
1968
|
super();
|
|
1969
1969
|
|
|
1970
1970
|
/**
|
|
1971
|
-
* ID of the upstream to
|
|
1971
|
+
* ID of the upstream to be deleted
|
|
1972
1972
|
* @type {string || null}
|
|
1973
1973
|
*/
|
|
1974
1974
|
this.UpstreamId = null;
|
|
@@ -2127,31 +2127,37 @@ class ModifyUpstreamRequest extends AbstractModel {
|
|
|
2127
2127
|
super();
|
|
2128
2128
|
|
|
2129
2129
|
/**
|
|
2130
|
-
* Unique ID
|
|
2130
|
+
* Unique upstream ID
|
|
2131
2131
|
* @type {string || null}
|
|
2132
2132
|
*/
|
|
2133
2133
|
this.UpstreamId = null;
|
|
2134
2134
|
|
|
2135
2135
|
/**
|
|
2136
|
-
*
|
|
2136
|
+
* Upstream name
|
|
2137
2137
|
* @type {string || null}
|
|
2138
2138
|
*/
|
|
2139
2139
|
this.UpstreamName = null;
|
|
2140
2140
|
|
|
2141
2141
|
/**
|
|
2142
|
-
*
|
|
2142
|
+
* Upstream description
|
|
2143
2143
|
* @type {string || null}
|
|
2144
2144
|
*/
|
|
2145
2145
|
this.UpstreamDescription = null;
|
|
2146
2146
|
|
|
2147
2147
|
/**
|
|
2148
|
-
* Backend protocol.
|
|
2148
|
+
* Backend protocol. Valid values: `HTTP`, `HTTPS`
|
|
2149
2149
|
* @type {string || null}
|
|
2150
2150
|
*/
|
|
2151
2151
|
this.Scheme = null;
|
|
2152
2152
|
|
|
2153
2153
|
/**
|
|
2154
|
-
*
|
|
2154
|
+
* Upstream access type. Valid values: `IP_PORT`, `K8S`
|
|
2155
|
+
* @type {string || null}
|
|
2156
|
+
*/
|
|
2157
|
+
this.UpstreamType = null;
|
|
2158
|
+
|
|
2159
|
+
/**
|
|
2160
|
+
* Load balancing algorithm. Valid value: `ROUND_ROBIN`
|
|
2155
2161
|
* @type {string || null}
|
|
2156
2162
|
*/
|
|
2157
2163
|
this.Algorithm = null;
|
|
@@ -2169,7 +2175,7 @@ class ModifyUpstreamRequest extends AbstractModel {
|
|
|
2169
2175
|
this.Retries = null;
|
|
2170
2176
|
|
|
2171
2177
|
/**
|
|
2172
|
-
*
|
|
2178
|
+
* Gateway forwarding to the upstream Host request header
|
|
2173
2179
|
* @type {string || null}
|
|
2174
2180
|
*/
|
|
2175
2181
|
this.UpstreamHost = null;
|
|
@@ -2181,7 +2187,13 @@ class ModifyUpstreamRequest extends AbstractModel {
|
|
|
2181
2187
|
this.Nodes = null;
|
|
2182
2188
|
|
|
2183
2189
|
/**
|
|
2184
|
-
*
|
|
2190
|
+
* Health check configuration
|
|
2191
|
+
* @type {UpstreamHealthChecker || null}
|
|
2192
|
+
*/
|
|
2193
|
+
this.HealthChecker = null;
|
|
2194
|
+
|
|
2195
|
+
/**
|
|
2196
|
+
* Configuration of TKE service
|
|
2185
2197
|
* @type {Array.<K8sService> || null}
|
|
2186
2198
|
*/
|
|
2187
2199
|
this.K8sService = null;
|
|
@@ -2199,6 +2211,7 @@ class ModifyUpstreamRequest extends AbstractModel {
|
|
|
2199
2211
|
this.UpstreamName = 'UpstreamName' in params ? params.UpstreamName : null;
|
|
2200
2212
|
this.UpstreamDescription = 'UpstreamDescription' in params ? params.UpstreamDescription : null;
|
|
2201
2213
|
this.Scheme = 'Scheme' in params ? params.Scheme : null;
|
|
2214
|
+
this.UpstreamType = 'UpstreamType' in params ? params.UpstreamType : null;
|
|
2202
2215
|
this.Algorithm = 'Algorithm' in params ? params.Algorithm : null;
|
|
2203
2216
|
this.UniqVpcId = 'UniqVpcId' in params ? params.UniqVpcId : null;
|
|
2204
2217
|
this.Retries = 'Retries' in params ? params.Retries : null;
|
|
@@ -2213,6 +2226,12 @@ class ModifyUpstreamRequest extends AbstractModel {
|
|
|
2213
2226
|
}
|
|
2214
2227
|
}
|
|
2215
2228
|
|
|
2229
|
+
if (params.HealthChecker) {
|
|
2230
|
+
let obj = new UpstreamHealthChecker();
|
|
2231
|
+
obj.deserialize(params.HealthChecker)
|
|
2232
|
+
this.HealthChecker = obj;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2216
2235
|
if (params.K8sService) {
|
|
2217
2236
|
this.K8sService = new Array();
|
|
2218
2237
|
for (let z in params.K8sService) {
|
|
@@ -2378,13 +2397,13 @@ class DescribeUpstreamBindApisRequest extends AbstractModel {
|
|
|
2378
2397
|
super();
|
|
2379
2398
|
|
|
2380
2399
|
/**
|
|
2381
|
-
* Number of
|
|
2400
|
+
* Number of entries per page
|
|
2382
2401
|
* @type {number || null}
|
|
2383
2402
|
*/
|
|
2384
2403
|
this.Limit = null;
|
|
2385
2404
|
|
|
2386
2405
|
/**
|
|
2387
|
-
*
|
|
2406
|
+
* The starting position of paging
|
|
2388
2407
|
* @type {number || null}
|
|
2389
2408
|
*/
|
|
2390
2409
|
this.Offset = null;
|
|
@@ -2938,6 +2957,13 @@ class ServiceConfig extends AbstractModel {
|
|
|
2938
2957
|
*/
|
|
2939
2958
|
this.Method = null;
|
|
2940
2959
|
|
|
2960
|
+
/**
|
|
2961
|
+
* It’s required for `upstream`.
|
|
2962
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
2963
|
+
* @type {string || null}
|
|
2964
|
+
*/
|
|
2965
|
+
this.UpstreamId = null;
|
|
2966
|
+
|
|
2941
2967
|
/**
|
|
2942
2968
|
* API backend COS configuration. It’s required if the `ServiceType` is ·`COS`.
|
|
2943
2969
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
@@ -2959,6 +2985,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2959
2985
|
this.Url = 'Url' in params ? params.Url : null;
|
|
2960
2986
|
this.Path = 'Path' in params ? params.Path : null;
|
|
2961
2987
|
this.Method = 'Method' in params ? params.Method : null;
|
|
2988
|
+
this.UpstreamId = 'UpstreamId' in params ? params.UpstreamId : null;
|
|
2962
2989
|
|
|
2963
2990
|
if (params.CosConfig) {
|
|
2964
2991
|
let obj = new CosConfig();
|
|
@@ -3175,8 +3202,8 @@ Note: this field may return null, indicating that no valid values found.
|
|
|
3175
3202
|
this.DeploymentType = null;
|
|
3176
3203
|
|
|
3177
3204
|
/**
|
|
3178
|
-
* Whether
|
|
3179
|
-
Note:
|
|
3205
|
+
* Whether the service if for special usage. Valid values: `DEFAULT` (general usage), `HTTP_DNS`.
|
|
3206
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
3180
3207
|
* @type {string || null}
|
|
3181
3208
|
*/
|
|
3182
3209
|
this.SpecialUse = null;
|
|
@@ -4601,7 +4628,7 @@ class UnBindEnvironmentRequest extends AbstractModel {
|
|
|
4601
4628
|
}
|
|
4602
4629
|
|
|
4603
4630
|
/**
|
|
4604
|
-
*
|
|
4631
|
+
* The returned result of upstream query
|
|
4605
4632
|
* @class
|
|
4606
4633
|
*/
|
|
4607
4634
|
class DescribeUpstreamInfo extends AbstractModel {
|
|
@@ -5024,7 +5051,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5024
5051
|
}
|
|
5025
5052
|
|
|
5026
5053
|
/**
|
|
5027
|
-
*
|
|
5054
|
+
* Upstream details
|
|
5028
5055
|
* @class
|
|
5029
5056
|
*/
|
|
5030
5057
|
class UpstreamInfo extends AbstractModel {
|
|
@@ -5032,43 +5059,43 @@ class UpstreamInfo extends AbstractModel {
|
|
|
5032
5059
|
super();
|
|
5033
5060
|
|
|
5034
5061
|
/**
|
|
5035
|
-
* Unique ID
|
|
5062
|
+
* Unique upstream ID
|
|
5036
5063
|
* @type {string || null}
|
|
5037
5064
|
*/
|
|
5038
5065
|
this.UpstreamId = null;
|
|
5039
5066
|
|
|
5040
5067
|
/**
|
|
5041
|
-
*
|
|
5068
|
+
* Upstream name
|
|
5042
5069
|
* @type {string || null}
|
|
5043
5070
|
*/
|
|
5044
5071
|
this.UpstreamName = null;
|
|
5045
5072
|
|
|
5046
5073
|
/**
|
|
5047
|
-
*
|
|
5074
|
+
* Upstream description
|
|
5048
5075
|
* @type {string || null}
|
|
5049
5076
|
*/
|
|
5050
5077
|
this.UpstreamDescription = null;
|
|
5051
5078
|
|
|
5052
5079
|
/**
|
|
5053
|
-
*
|
|
5080
|
+
* Backend protocol. Valid values: `HTTP`, `HTTPS`
|
|
5054
5081
|
* @type {string || null}
|
|
5055
5082
|
*/
|
|
5056
5083
|
this.Scheme = null;
|
|
5057
5084
|
|
|
5058
5085
|
/**
|
|
5059
|
-
* Load balancing algorithm
|
|
5086
|
+
* Load balancing algorithm. Valid value: `ROUND_ROBIN`
|
|
5060
5087
|
* @type {string || null}
|
|
5061
5088
|
*/
|
|
5062
5089
|
this.Algorithm = null;
|
|
5063
5090
|
|
|
5064
5091
|
/**
|
|
5065
|
-
* Unique VPC ID
|
|
5092
|
+
* Unique VPC ID
|
|
5066
5093
|
* @type {string || null}
|
|
5067
5094
|
*/
|
|
5068
5095
|
this.UniqVpcId = null;
|
|
5069
5096
|
|
|
5070
5097
|
/**
|
|
5071
|
-
* Number of
|
|
5098
|
+
* Number of retry attempts
|
|
5072
5099
|
* @type {number || null}
|
|
5073
5100
|
*/
|
|
5074
5101
|
this.Retries = null;
|
|
@@ -5100,21 +5127,21 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
5100
5127
|
this.HealthChecker = null;
|
|
5101
5128
|
|
|
5102
5129
|
/**
|
|
5103
|
-
*
|
|
5130
|
+
* Upstream type. Valid values: `IP_PORT`, `K8S`
|
|
5104
5131
|
* @type {string || null}
|
|
5105
5132
|
*/
|
|
5106
5133
|
this.UpstreamType = null;
|
|
5107
5134
|
|
|
5108
5135
|
/**
|
|
5109
|
-
* Configuration of
|
|
5110
|
-
Note: This field may return `
|
|
5136
|
+
* Configuration of TKE service
|
|
5137
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
5111
5138
|
* @type {Array.<K8sService> || null}
|
|
5112
5139
|
*/
|
|
5113
5140
|
this.K8sServices = null;
|
|
5114
5141
|
|
|
5115
5142
|
/**
|
|
5116
|
-
* Host
|
|
5117
|
-
Note: This field may return `
|
|
5143
|
+
* The Host header that the gateway forwards to the upstream
|
|
5144
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
5118
5145
|
* @type {string || null}
|
|
5119
5146
|
*/
|
|
5120
5147
|
this.UpstreamHost = null;
|
|
@@ -6191,7 +6218,7 @@ class CreatePluginRequest extends AbstractModel {
|
|
|
6191
6218
|
this.PluginName = null;
|
|
6192
6219
|
|
|
6193
6220
|
/**
|
|
6194
|
-
* Plugin type. Valid values: `IPControl`, `TrafficControl`, `Cors`, `CustomReq`, `CustomAuth`, `Routing`, `TrafficControlByParameter
|
|
6221
|
+
* Plugin type. Valid values: `IPControl`, `TrafficControl`, `Cors`, `CustomReq`, `CustomAuth`, `Routing`, `TrafficControlByParameter`, `CircuitBreaker`, `ProxyCache`
|
|
6195
6222
|
* @type {string || null}
|
|
6196
6223
|
*/
|
|
6197
6224
|
this.PluginType = null;
|
|
@@ -6208,6 +6235,12 @@ class CreatePluginRequest extends AbstractModel {
|
|
|
6208
6235
|
*/
|
|
6209
6236
|
this.Description = null;
|
|
6210
6237
|
|
|
6238
|
+
/**
|
|
6239
|
+
* Label
|
|
6240
|
+
* @type {Array.<Tag> || null}
|
|
6241
|
+
*/
|
|
6242
|
+
this.Tags = null;
|
|
6243
|
+
|
|
6211
6244
|
}
|
|
6212
6245
|
|
|
6213
6246
|
/**
|
|
@@ -6222,6 +6255,15 @@ class CreatePluginRequest extends AbstractModel {
|
|
|
6222
6255
|
this.PluginData = 'PluginData' in params ? params.PluginData : null;
|
|
6223
6256
|
this.Description = 'Description' in params ? params.Description : null;
|
|
6224
6257
|
|
|
6258
|
+
if (params.Tags) {
|
|
6259
|
+
this.Tags = new Array();
|
|
6260
|
+
for (let z in params.Tags) {
|
|
6261
|
+
let obj = new Tag();
|
|
6262
|
+
obj.deserialize(params.Tags[z]);
|
|
6263
|
+
this.Tags.push(obj);
|
|
6264
|
+
}
|
|
6265
|
+
}
|
|
6266
|
+
|
|
6225
6267
|
}
|
|
6226
6268
|
}
|
|
6227
6269
|
|
|
@@ -8004,6 +8046,12 @@ class CreateApiRequest extends AbstractModel {
|
|
|
8004
8046
|
*/
|
|
8005
8047
|
this.EIAMAppId = null;
|
|
8006
8048
|
|
|
8049
|
+
/**
|
|
8050
|
+
* Owner of the resource
|
|
8051
|
+
* @type {string || null}
|
|
8052
|
+
*/
|
|
8053
|
+
this.Owner = null;
|
|
8054
|
+
|
|
8007
8055
|
}
|
|
8008
8056
|
|
|
8009
8057
|
/**
|
|
@@ -8143,6 +8191,7 @@ class CreateApiRequest extends AbstractModel {
|
|
|
8143
8191
|
this.EIAMAuthType = 'EIAMAuthType' in params ? params.EIAMAuthType : null;
|
|
8144
8192
|
this.TokenTimeout = 'TokenTimeout' in params ? params.TokenTimeout : null;
|
|
8145
8193
|
this.EIAMAppId = 'EIAMAppId' in params ? params.EIAMAppId : null;
|
|
8194
|
+
this.Owner = 'Owner' in params ? params.Owner : null;
|
|
8146
8195
|
|
|
8147
8196
|
}
|
|
8148
8197
|
}
|
|
@@ -9009,13 +9058,13 @@ class CreateUpstreamRequest extends AbstractModel {
|
|
|
9009
9058
|
super();
|
|
9010
9059
|
|
|
9011
9060
|
/**
|
|
9012
|
-
* Backend protocol.
|
|
9061
|
+
* Backend protocol. Valid values: `HTTP`, `HTTPS`
|
|
9013
9062
|
* @type {string || null}
|
|
9014
9063
|
*/
|
|
9015
9064
|
this.Scheme = null;
|
|
9016
9065
|
|
|
9017
9066
|
/**
|
|
9018
|
-
*
|
|
9067
|
+
* Load balancing algorithm. Valid value: `ROUND-ROBIN`
|
|
9019
9068
|
* @type {string || null}
|
|
9020
9069
|
*/
|
|
9021
9070
|
this.Algorithm = null;
|
|
@@ -9027,17 +9076,23 @@ class CreateUpstreamRequest extends AbstractModel {
|
|
|
9027
9076
|
this.UniqVpcId = null;
|
|
9028
9077
|
|
|
9029
9078
|
/**
|
|
9030
|
-
*
|
|
9079
|
+
* Upstream name
|
|
9031
9080
|
* @type {string || null}
|
|
9032
9081
|
*/
|
|
9033
9082
|
this.UpstreamName = null;
|
|
9034
9083
|
|
|
9035
9084
|
/**
|
|
9036
|
-
*
|
|
9085
|
+
* Upstream description
|
|
9037
9086
|
* @type {string || null}
|
|
9038
9087
|
*/
|
|
9039
9088
|
this.UpstreamDescription = null;
|
|
9040
9089
|
|
|
9090
|
+
/**
|
|
9091
|
+
* Upstream access type. Valid values: `IP_PORT`, `K8S`
|
|
9092
|
+
* @type {string || null}
|
|
9093
|
+
*/
|
|
9094
|
+
this.UpstreamType = null;
|
|
9095
|
+
|
|
9041
9096
|
/**
|
|
9042
9097
|
* Retry attempts. It defaults to `3`.
|
|
9043
9098
|
* @type {number || null}
|
|
@@ -9045,7 +9100,7 @@ class CreateUpstreamRequest extends AbstractModel {
|
|
|
9045
9100
|
this.Retries = null;
|
|
9046
9101
|
|
|
9047
9102
|
/**
|
|
9048
|
-
* The
|
|
9103
|
+
* The Host request header that forwarded from the gateway to backend
|
|
9049
9104
|
* @type {string || null}
|
|
9050
9105
|
*/
|
|
9051
9106
|
this.UpstreamHost = null;
|
|
@@ -9057,7 +9112,19 @@ class CreateUpstreamRequest extends AbstractModel {
|
|
|
9057
9112
|
this.Nodes = null;
|
|
9058
9113
|
|
|
9059
9114
|
/**
|
|
9060
|
-
*
|
|
9115
|
+
* Label
|
|
9116
|
+
* @type {Array.<Tag> || null}
|
|
9117
|
+
*/
|
|
9118
|
+
this.Tags = null;
|
|
9119
|
+
|
|
9120
|
+
/**
|
|
9121
|
+
* Health check configuration
|
|
9122
|
+
* @type {UpstreamHealthChecker || null}
|
|
9123
|
+
*/
|
|
9124
|
+
this.HealthChecker = null;
|
|
9125
|
+
|
|
9126
|
+
/**
|
|
9127
|
+
* Configuration of TKE service
|
|
9061
9128
|
* @type {Array.<K8sService> || null}
|
|
9062
9129
|
*/
|
|
9063
9130
|
this.K8sService = null;
|
|
@@ -9076,6 +9143,7 @@ class CreateUpstreamRequest extends AbstractModel {
|
|
|
9076
9143
|
this.UniqVpcId = 'UniqVpcId' in params ? params.UniqVpcId : null;
|
|
9077
9144
|
this.UpstreamName = 'UpstreamName' in params ? params.UpstreamName : null;
|
|
9078
9145
|
this.UpstreamDescription = 'UpstreamDescription' in params ? params.UpstreamDescription : null;
|
|
9146
|
+
this.UpstreamType = 'UpstreamType' in params ? params.UpstreamType : null;
|
|
9079
9147
|
this.Retries = 'Retries' in params ? params.Retries : null;
|
|
9080
9148
|
this.UpstreamHost = 'UpstreamHost' in params ? params.UpstreamHost : null;
|
|
9081
9149
|
|
|
@@ -9088,6 +9156,21 @@ class CreateUpstreamRequest extends AbstractModel {
|
|
|
9088
9156
|
}
|
|
9089
9157
|
}
|
|
9090
9158
|
|
|
9159
|
+
if (params.Tags) {
|
|
9160
|
+
this.Tags = new Array();
|
|
9161
|
+
for (let z in params.Tags) {
|
|
9162
|
+
let obj = new Tag();
|
|
9163
|
+
obj.deserialize(params.Tags[z]);
|
|
9164
|
+
this.Tags.push(obj);
|
|
9165
|
+
}
|
|
9166
|
+
}
|
|
9167
|
+
|
|
9168
|
+
if (params.HealthChecker) {
|
|
9169
|
+
let obj = new UpstreamHealthChecker();
|
|
9170
|
+
obj.deserialize(params.HealthChecker)
|
|
9171
|
+
this.HealthChecker = obj;
|
|
9172
|
+
}
|
|
9173
|
+
|
|
9091
9174
|
if (params.K8sService) {
|
|
9092
9175
|
this.K8sService = new Array();
|
|
9093
9176
|
for (let z in params.K8sService) {
|
|
@@ -10033,19 +10116,19 @@ class DescribeUpstreamsRequest extends AbstractModel {
|
|
|
10033
10116
|
super();
|
|
10034
10117
|
|
|
10035
10118
|
/**
|
|
10036
|
-
* Number of
|
|
10119
|
+
* Number of entries per page
|
|
10037
10120
|
* @type {number || null}
|
|
10038
10121
|
*/
|
|
10039
10122
|
this.Limit = null;
|
|
10040
10123
|
|
|
10041
10124
|
/**
|
|
10042
|
-
*
|
|
10125
|
+
* The starting position of paging
|
|
10043
10126
|
* @type {number || null}
|
|
10044
10127
|
*/
|
|
10045
10128
|
this.Offset = null;
|
|
10046
10129
|
|
|
10047
10130
|
/**
|
|
10048
|
-
* Filters
|
|
10131
|
+
* Filters. Valid values: `UpstreamId` and `UpstreamName`
|
|
10049
10132
|
* @type {Array.<Filter> || null}
|
|
10050
10133
|
*/
|
|
10051
10134
|
this.Filters = null;
|
|
@@ -10347,8 +10430,8 @@ class CreateUpstreamResponse extends AbstractModel {
|
|
|
10347
10430
|
super();
|
|
10348
10431
|
|
|
10349
10432
|
/**
|
|
10350
|
-
* The unique upstream
|
|
10351
|
-
Note: This field may return `
|
|
10433
|
+
* The unique upstream ID returned
|
|
10434
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
10352
10435
|
* @type {string || null}
|
|
10353
10436
|
*/
|
|
10354
10437
|
this.UpstreamId = null;
|
|
@@ -10682,7 +10765,7 @@ class DeletePluginResponse extends AbstractModel {
|
|
|
10682
10765
|
}
|
|
10683
10766
|
|
|
10684
10767
|
/**
|
|
10685
|
-
*
|
|
10768
|
+
* Queries APIs bound with an upstream
|
|
10686
10769
|
* @class
|
|
10687
10770
|
*/
|
|
10688
10771
|
class DescribeUpstreamBindApis extends AbstractModel {
|
|
@@ -12356,8 +12439,8 @@ class ModifyUpstreamResponse extends AbstractModel {
|
|
|
12356
12439
|
super();
|
|
12357
12440
|
|
|
12358
12441
|
/**
|
|
12359
|
-
*
|
|
12360
|
-
Note: This field may return `
|
|
12442
|
+
* Return modified upstream information
|
|
12443
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
12361
12444
|
* @type {UpstreamInfo || null}
|
|
12362
12445
|
*/
|
|
12363
12446
|
this.Result = null;
|
|
@@ -12633,7 +12716,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
12633
12716
|
}
|
|
12634
12717
|
|
|
12635
12718
|
/**
|
|
12636
|
-
*
|
|
12719
|
+
* Upstream node metadata
|
|
12637
12720
|
* @class
|
|
12638
12721
|
*/
|
|
12639
12722
|
class UpstreamNode extends AbstractModel {
|
|
@@ -12641,7 +12724,7 @@ class UpstreamNode extends AbstractModel {
|
|
|
12641
12724
|
super();
|
|
12642
12725
|
|
|
12643
12726
|
/**
|
|
12644
|
-
* IP or domain name
|
|
12727
|
+
* IP or domain name
|
|
12645
12728
|
* @type {string || null}
|
|
12646
12729
|
*/
|
|
12647
12730
|
this.Host = null;
|
|
@@ -12659,8 +12742,8 @@ class UpstreamNode extends AbstractModel {
|
|
|
12659
12742
|
this.Weight = null;
|
|
12660
12743
|
|
|
12661
12744
|
/**
|
|
12662
|
-
*
|
|
12663
|
-
Note: This field may return `
|
|
12745
|
+
* CVM Instance ID
|
|
12746
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
12664
12747
|
* @type {string || null}
|
|
12665
12748
|
*/
|
|
12666
12749
|
this.VmInstanceId = null;
|
|
@@ -12673,22 +12756,22 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
12673
12756
|
this.Tags = null;
|
|
12674
12757
|
|
|
12675
12758
|
/**
|
|
12676
|
-
* Health status of the node.
|
|
12677
|
-
Note: This field may return `
|
|
12759
|
+
* Health status of the node. Values: `OFF`, `HEALTHY`, `UNHEALTHY` and `NO_DATA`. It’s not required for creating and editing actions. It only supports VPC upstreams.
|
|
12760
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
12678
12761
|
* @type {string || null}
|
|
12679
12762
|
*/
|
|
12680
12763
|
this.Healthy = null;
|
|
12681
12764
|
|
|
12682
12765
|
/**
|
|
12683
|
-
*
|
|
12684
|
-
Note: This field may return `
|
|
12766
|
+
* TKE container name
|
|
12767
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
12685
12768
|
* @type {string || null}
|
|
12686
12769
|
*/
|
|
12687
12770
|
this.ServiceName = null;
|
|
12688
12771
|
|
|
12689
12772
|
/**
|
|
12690
|
-
*
|
|
12691
|
-
Note: This field may return `
|
|
12773
|
+
* TKE namespace
|
|
12774
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
12692
12775
|
* @type {string || null}
|
|
12693
12776
|
*/
|
|
12694
12777
|
this.NameSpace = null;
|
|
@@ -12701,8 +12784,8 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
12701
12784
|
this.ClusterId = null;
|
|
12702
12785
|
|
|
12703
12786
|
/**
|
|
12704
|
-
*
|
|
12705
|
-
Note: This field may return `
|
|
12787
|
+
* Node source. Valid value: `K8S`
|
|
12788
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
12706
12789
|
* @type {string || null}
|
|
12707
12790
|
*/
|
|
12708
12791
|
this.Source = null;
|
|
@@ -12791,8 +12874,8 @@ class DeleteUpstreamResponse extends AbstractModel {
|
|
|
12791
12874
|
super();
|
|
12792
12875
|
|
|
12793
12876
|
/**
|
|
12794
|
-
* ID of the upstream
|
|
12795
|
-
Note: This field may return `
|
|
12877
|
+
* ID of the deleted upstream
|
|
12878
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
12796
12879
|
* @type {string || null}
|
|
12797
12880
|
*/
|
|
12798
12881
|
this.UpstreamId = null;
|
|
@@ -14338,7 +14421,7 @@ class RequestParameter extends AbstractModel {
|
|
|
14338
14421
|
}
|
|
14339
14422
|
|
|
14340
14423
|
/**
|
|
14341
|
-
* Upstream health check configuration
|
|
14424
|
+
* Upstream health check parameter configuration
|
|
14342
14425
|
* @class
|
|
14343
14426
|
*/
|
|
14344
14427
|
class UpstreamHealthChecker extends AbstractModel {
|
|
@@ -1296,7 +1296,7 @@ Note:
|
|
|
1296
1296
|
}
|
|
1297
1297
|
|
|
1298
1298
|
/**
|
|
1299
|
-
* This API is used to query
|
|
1299
|
+
* This API is used to query database proxy. It will be deprecated and replaced by the `QueryCDBProxy` API.
|
|
1300
1300
|
* @param {DescribeCDBProxyRequest} req
|
|
1301
1301
|
* @param {function(string, DescribeCDBProxyResponse):void} cb
|
|
1302
1302
|
* @public
|