tencentcloud-sdk-nodejs-intl-en 3.0.1128 → 3.0.1129
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
CHANGED
|
@@ -18,6 +18,7 @@ const models = require("./models");
|
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const IPStrategyApiStatus = models.IPStrategyApiStatus;
|
|
20
20
|
const UnBindSubDomainResponse = models.UnBindSubDomainResponse;
|
|
21
|
+
const UpstreamInfo = models.UpstreamInfo;
|
|
21
22
|
const UpdateApiKeyRequest = models.UpdateApiKeyRequest;
|
|
22
23
|
const Service = models.Service;
|
|
23
24
|
const DeleteAPIDocRequest = models.DeleteAPIDocRequest;
|
|
@@ -102,7 +103,7 @@ const UnBindEnvironmentRequest = models.UnBindEnvironmentRequest;
|
|
|
102
103
|
const DescribeUpstreamInfo = models.DescribeUpstreamInfo;
|
|
103
104
|
const ModifyApiEnvironmentStrategyRequest = models.ModifyApiEnvironmentStrategyRequest;
|
|
104
105
|
const ServiceReleaseHistory = models.ServiceReleaseHistory;
|
|
105
|
-
const
|
|
106
|
+
const DescribeUpstreamBindApisResponse = models.DescribeUpstreamBindApisResponse;
|
|
106
107
|
const IPStrategiesStatus = models.IPStrategiesStatus;
|
|
107
108
|
const CreateUsagePlanResponse = models.CreateUsagePlanResponse;
|
|
108
109
|
const ReqParameter = models.ReqParameter;
|
|
@@ -110,7 +111,7 @@ const DeletePluginRequest = models.DeletePluginRequest;
|
|
|
110
111
|
const Base64EncodedTriggerRule = models.Base64EncodedTriggerRule;
|
|
111
112
|
const RequestConfig = models.RequestConfig;
|
|
112
113
|
const DeleteApiKeyResponse = models.DeleteApiKeyResponse;
|
|
113
|
-
const
|
|
114
|
+
const EnvironmentStrategy = models.EnvironmentStrategy;
|
|
114
115
|
const UsagePlan = models.UsagePlan;
|
|
115
116
|
const DescribeServiceReleaseVersionRequest = models.DescribeServiceReleaseVersionRequest;
|
|
116
117
|
const DescribeUsagePlanSecretIdsRequest = models.DescribeUsagePlanSecretIdsRequest;
|
|
@@ -158,7 +159,7 @@ const DescribeAllPluginApisRequest = models.DescribeAllPluginApisRequest;
|
|
|
158
159
|
const ApiIdStatus = models.ApiIdStatus;
|
|
159
160
|
const CreateApiRequest = models.CreateApiRequest;
|
|
160
161
|
const DescribeServiceEnvironmentStrategyRequest = models.DescribeServiceEnvironmentStrategyRequest;
|
|
161
|
-
const
|
|
162
|
+
const DescribeInstancesNetworkConfigResponse = models.DescribeInstancesNetworkConfigResponse;
|
|
162
163
|
const ReleaseServiceRequest = models.ReleaseServiceRequest;
|
|
163
164
|
const DeleteServiceResponse = models.DeleteServiceResponse;
|
|
164
165
|
const DescribeServiceEnvironmentReleaseHistoryResponse = models.DescribeServiceEnvironmentReleaseHistoryResponse;
|
|
@@ -250,7 +251,7 @@ const BindEnvironmentRequest = models.BindEnvironmentRequest;
|
|
|
250
251
|
const ModifyUpstreamResponse = models.ModifyUpstreamResponse;
|
|
251
252
|
const DescribeIPStrategyRequest = models.DescribeIPStrategyRequest;
|
|
252
253
|
const DescribeApiForApiAppResponse = models.DescribeApiForApiAppResponse;
|
|
253
|
-
const
|
|
254
|
+
const DescribeInstancesNetworkConfigRequest = models.DescribeInstancesNetworkConfigRequest;
|
|
254
255
|
const DescribeUsagePlanEnvironmentsRequest = models.DescribeUsagePlanEnvironmentsRequest;
|
|
255
256
|
const ImportOpenApiRequest = models.ImportOpenApiRequest;
|
|
256
257
|
const DescribeServiceReleaseVersionResponse = models.DescribeServiceReleaseVersionResponse;
|
|
@@ -271,6 +272,7 @@ const DescribeLogSearchRequest = models.DescribeLogSearchRequest;
|
|
|
271
272
|
const BuildAPIDocRequest = models.BuildAPIDocRequest;
|
|
272
273
|
const DetachPluginResponse = models.DetachPluginResponse;
|
|
273
274
|
const ApiKeysStatus = models.ApiKeysStatus;
|
|
275
|
+
const ModifyUsagePlanResponse = models.ModifyUsagePlanResponse;
|
|
274
276
|
const APIDoc = models.APIDoc;
|
|
275
277
|
const DescribeServiceUsagePlanResponse = models.DescribeServiceUsagePlanResponse;
|
|
276
278
|
const CreateApiAppResponse = models.CreateApiAppResponse;
|
|
@@ -950,6 +952,17 @@ To make authentication and throttling for a service take effect, you need to bin
|
|
|
950
952
|
this.request("DescribeApiUsagePlan", req, resp, cb);
|
|
951
953
|
}
|
|
952
954
|
|
|
955
|
+
/**
|
|
956
|
+
* This API is used to obtain the network configuration list of a dedicated instance.
|
|
957
|
+
* @param {DescribeInstancesNetworkConfigRequest} req
|
|
958
|
+
* @param {function(string, DescribeInstancesNetworkConfigResponse):void} cb
|
|
959
|
+
* @public
|
|
960
|
+
*/
|
|
961
|
+
DescribeInstancesNetworkConfig(req, cb) {
|
|
962
|
+
let resp = new DescribeInstancesNetworkConfigResponse();
|
|
963
|
+
this.request("DescribeInstancesNetworkConfig", req, resp, cb);
|
|
964
|
+
}
|
|
965
|
+
|
|
953
966
|
/**
|
|
954
967
|
* This API is used to query the list of service IP policies.
|
|
955
968
|
* @param {DescribeIPStrategysStatusRequest} req
|
|
@@ -96,6 +96,158 @@ class UnBindSubDomainResponse extends AbstractModel {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
/**
|
|
100
|
+
* Upstream details
|
|
101
|
+
* @class
|
|
102
|
+
*/
|
|
103
|
+
class UpstreamInfo extends AbstractModel {
|
|
104
|
+
constructor(){
|
|
105
|
+
super();
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Unique upstream ID
|
|
109
|
+
* @type {string || null}
|
|
110
|
+
*/
|
|
111
|
+
this.UpstreamId = null;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Upstream name
|
|
115
|
+
* @type {string || null}
|
|
116
|
+
*/
|
|
117
|
+
this.UpstreamName = null;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Upstream description
|
|
121
|
+
* @type {string || null}
|
|
122
|
+
*/
|
|
123
|
+
this.UpstreamDescription = null;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Backend protocol. Valid values: `HTTP`, `HTTPS`
|
|
127
|
+
* @type {string || null}
|
|
128
|
+
*/
|
|
129
|
+
this.Scheme = null;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Load balancing algorithm. Valid value: `ROUND_ROBIN`
|
|
133
|
+
* @type {string || null}
|
|
134
|
+
*/
|
|
135
|
+
this.Algorithm = null;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Unique VPC ID
|
|
139
|
+
* @type {string || null}
|
|
140
|
+
*/
|
|
141
|
+
this.UniqVpcId = null;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Number of retry attempts
|
|
145
|
+
* @type {number || null}
|
|
146
|
+
*/
|
|
147
|
+
this.Retries = null;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Backend nodes
|
|
151
|
+
* @type {Array.<UpstreamNode> || null}
|
|
152
|
+
*/
|
|
153
|
+
this.Nodes = null;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Creation time.
|
|
157
|
+
* @type {string || null}
|
|
158
|
+
*/
|
|
159
|
+
this.CreatedTime = null;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Label
|
|
163
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
164
|
+
* @type {Array.<Tag> || null}
|
|
165
|
+
*/
|
|
166
|
+
this.Tags = null;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Health check configuration
|
|
170
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
171
|
+
* @type {UpstreamHealthChecker || null}
|
|
172
|
+
*/
|
|
173
|
+
this.HealthChecker = null;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Upstream type. Valid values: `IP_PORT`, `K8S`
|
|
177
|
+
* @type {string || null}
|
|
178
|
+
*/
|
|
179
|
+
this.UpstreamType = null;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Configuration of TKE service
|
|
183
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
184
|
+
* @type {Array.<K8sService> || null}
|
|
185
|
+
*/
|
|
186
|
+
this.K8sServices = null;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* The Host header that the gateway forwards to the upstream
|
|
190
|
+
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
191
|
+
* @type {string || null}
|
|
192
|
+
*/
|
|
193
|
+
this.UpstreamHost = null;
|
|
194
|
+
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @private
|
|
199
|
+
*/
|
|
200
|
+
deserialize(params) {
|
|
201
|
+
if (!params) {
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
this.UpstreamId = 'UpstreamId' in params ? params.UpstreamId : null;
|
|
205
|
+
this.UpstreamName = 'UpstreamName' in params ? params.UpstreamName : null;
|
|
206
|
+
this.UpstreamDescription = 'UpstreamDescription' in params ? params.UpstreamDescription : null;
|
|
207
|
+
this.Scheme = 'Scheme' in params ? params.Scheme : null;
|
|
208
|
+
this.Algorithm = 'Algorithm' in params ? params.Algorithm : null;
|
|
209
|
+
this.UniqVpcId = 'UniqVpcId' in params ? params.UniqVpcId : null;
|
|
210
|
+
this.Retries = 'Retries' in params ? params.Retries : null;
|
|
211
|
+
|
|
212
|
+
if (params.Nodes) {
|
|
213
|
+
this.Nodes = new Array();
|
|
214
|
+
for (let z in params.Nodes) {
|
|
215
|
+
let obj = new UpstreamNode();
|
|
216
|
+
obj.deserialize(params.Nodes[z]);
|
|
217
|
+
this.Nodes.push(obj);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
|
|
221
|
+
|
|
222
|
+
if (params.Tags) {
|
|
223
|
+
this.Tags = new Array();
|
|
224
|
+
for (let z in params.Tags) {
|
|
225
|
+
let obj = new Tag();
|
|
226
|
+
obj.deserialize(params.Tags[z]);
|
|
227
|
+
this.Tags.push(obj);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
if (params.HealthChecker) {
|
|
232
|
+
let obj = new UpstreamHealthChecker();
|
|
233
|
+
obj.deserialize(params.HealthChecker)
|
|
234
|
+
this.HealthChecker = obj;
|
|
235
|
+
}
|
|
236
|
+
this.UpstreamType = 'UpstreamType' in params ? params.UpstreamType : null;
|
|
237
|
+
|
|
238
|
+
if (params.K8sServices) {
|
|
239
|
+
this.K8sServices = new Array();
|
|
240
|
+
for (let z in params.K8sServices) {
|
|
241
|
+
let obj = new K8sService();
|
|
242
|
+
obj.deserialize(params.K8sServices[z]);
|
|
243
|
+
this.K8sServices.push(obj);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
this.UpstreamHost = 'UpstreamHost' in params ? params.UpstreamHost : null;
|
|
247
|
+
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
99
251
|
/**
|
|
100
252
|
* UpdateApiKey request structure.
|
|
101
253
|
* @class
|
|
@@ -5055,17 +5207,16 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5055
5207
|
}
|
|
5056
5208
|
|
|
5057
5209
|
/**
|
|
5058
|
-
*
|
|
5210
|
+
* DescribeUpstreamBindApis response structure.
|
|
5059
5211
|
* @class
|
|
5060
5212
|
*/
|
|
5061
|
-
class
|
|
5213
|
+
class DescribeUpstreamBindApisResponse extends AbstractModel {
|
|
5062
5214
|
constructor(){
|
|
5063
5215
|
super();
|
|
5064
5216
|
|
|
5065
5217
|
/**
|
|
5066
|
-
*
|
|
5067
|
-
|
|
5068
|
-
* @type {UsagePlanInfo || null}
|
|
5218
|
+
* Query results
|
|
5219
|
+
* @type {DescribeUpstreamBindApis || null}
|
|
5069
5220
|
*/
|
|
5070
5221
|
this.Result = null;
|
|
5071
5222
|
|
|
@@ -5086,7 +5237,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5086
5237
|
}
|
|
5087
5238
|
|
|
5088
5239
|
if (params.Result) {
|
|
5089
|
-
let obj = new
|
|
5240
|
+
let obj = new DescribeUpstreamBindApis();
|
|
5090
5241
|
obj.deserialize(params.Result)
|
|
5091
5242
|
this.Result = obj;
|
|
5092
5243
|
}
|
|
@@ -5384,100 +5535,24 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5384
5535
|
}
|
|
5385
5536
|
|
|
5386
5537
|
/**
|
|
5387
|
-
*
|
|
5538
|
+
* Environment throttling
|
|
5388
5539
|
* @class
|
|
5389
5540
|
*/
|
|
5390
|
-
class
|
|
5541
|
+
class EnvironmentStrategy extends AbstractModel {
|
|
5391
5542
|
constructor(){
|
|
5392
5543
|
super();
|
|
5393
5544
|
|
|
5394
5545
|
/**
|
|
5395
|
-
*
|
|
5396
|
-
* @type {string || null}
|
|
5397
|
-
*/
|
|
5398
|
-
this.UpstreamId = null;
|
|
5399
|
-
|
|
5400
|
-
/**
|
|
5401
|
-
* Upstream name
|
|
5402
|
-
* @type {string || null}
|
|
5403
|
-
*/
|
|
5404
|
-
this.UpstreamName = null;
|
|
5405
|
-
|
|
5406
|
-
/**
|
|
5407
|
-
* Upstream description
|
|
5408
|
-
* @type {string || null}
|
|
5409
|
-
*/
|
|
5410
|
-
this.UpstreamDescription = null;
|
|
5411
|
-
|
|
5412
|
-
/**
|
|
5413
|
-
* Backend protocol. Valid values: `HTTP`, `HTTPS`
|
|
5414
|
-
* @type {string || null}
|
|
5415
|
-
*/
|
|
5416
|
-
this.Scheme = null;
|
|
5417
|
-
|
|
5418
|
-
/**
|
|
5419
|
-
* Load balancing algorithm. Valid value: `ROUND_ROBIN`
|
|
5420
|
-
* @type {string || null}
|
|
5421
|
-
*/
|
|
5422
|
-
this.Algorithm = null;
|
|
5423
|
-
|
|
5424
|
-
/**
|
|
5425
|
-
* Unique VPC ID
|
|
5546
|
+
* Environment name
|
|
5426
5547
|
* @type {string || null}
|
|
5427
5548
|
*/
|
|
5428
|
-
this.
|
|
5549
|
+
this.EnvironmentName = null;
|
|
5429
5550
|
|
|
5430
5551
|
/**
|
|
5431
|
-
*
|
|
5552
|
+
* Throttling value
|
|
5432
5553
|
* @type {number || null}
|
|
5433
5554
|
*/
|
|
5434
|
-
this.
|
|
5435
|
-
|
|
5436
|
-
/**
|
|
5437
|
-
* Backend nodes
|
|
5438
|
-
* @type {Array.<UpstreamNode> || null}
|
|
5439
|
-
*/
|
|
5440
|
-
this.Nodes = null;
|
|
5441
|
-
|
|
5442
|
-
/**
|
|
5443
|
-
* Creation time.
|
|
5444
|
-
* @type {string || null}
|
|
5445
|
-
*/
|
|
5446
|
-
this.CreatedTime = null;
|
|
5447
|
-
|
|
5448
|
-
/**
|
|
5449
|
-
* Label
|
|
5450
|
-
Note: This field may return `null`, indicating that no valid value was found.
|
|
5451
|
-
* @type {Array.<Tag> || null}
|
|
5452
|
-
*/
|
|
5453
|
-
this.Tags = null;
|
|
5454
|
-
|
|
5455
|
-
/**
|
|
5456
|
-
* Health check configuration
|
|
5457
|
-
Note: This field may return `null`, indicating that no valid value was found.
|
|
5458
|
-
* @type {UpstreamHealthChecker || null}
|
|
5459
|
-
*/
|
|
5460
|
-
this.HealthChecker = null;
|
|
5461
|
-
|
|
5462
|
-
/**
|
|
5463
|
-
* Upstream type. Valid values: `IP_PORT`, `K8S`
|
|
5464
|
-
* @type {string || null}
|
|
5465
|
-
*/
|
|
5466
|
-
this.UpstreamType = null;
|
|
5467
|
-
|
|
5468
|
-
/**
|
|
5469
|
-
* Configuration of TKE service
|
|
5470
|
-
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
5471
|
-
* @type {Array.<K8sService> || null}
|
|
5472
|
-
*/
|
|
5473
|
-
this.K8sServices = null;
|
|
5474
|
-
|
|
5475
|
-
/**
|
|
5476
|
-
* The Host header that the gateway forwards to the upstream
|
|
5477
|
-
Note: This field may return `NULL`, indicating that no valid value was found.
|
|
5478
|
-
* @type {string || null}
|
|
5479
|
-
*/
|
|
5480
|
-
this.UpstreamHost = null;
|
|
5555
|
+
this.Quota = null;
|
|
5481
5556
|
|
|
5482
5557
|
}
|
|
5483
5558
|
|
|
@@ -5488,49 +5563,8 @@ Note: This field may return `NULL`, indicating that no valid value was found.
|
|
|
5488
5563
|
if (!params) {
|
|
5489
5564
|
return;
|
|
5490
5565
|
}
|
|
5491
|
-
this.
|
|
5492
|
-
this.
|
|
5493
|
-
this.UpstreamDescription = 'UpstreamDescription' in params ? params.UpstreamDescription : null;
|
|
5494
|
-
this.Scheme = 'Scheme' in params ? params.Scheme : null;
|
|
5495
|
-
this.Algorithm = 'Algorithm' in params ? params.Algorithm : null;
|
|
5496
|
-
this.UniqVpcId = 'UniqVpcId' in params ? params.UniqVpcId : null;
|
|
5497
|
-
this.Retries = 'Retries' in params ? params.Retries : null;
|
|
5498
|
-
|
|
5499
|
-
if (params.Nodes) {
|
|
5500
|
-
this.Nodes = new Array();
|
|
5501
|
-
for (let z in params.Nodes) {
|
|
5502
|
-
let obj = new UpstreamNode();
|
|
5503
|
-
obj.deserialize(params.Nodes[z]);
|
|
5504
|
-
this.Nodes.push(obj);
|
|
5505
|
-
}
|
|
5506
|
-
}
|
|
5507
|
-
this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
|
|
5508
|
-
|
|
5509
|
-
if (params.Tags) {
|
|
5510
|
-
this.Tags = new Array();
|
|
5511
|
-
for (let z in params.Tags) {
|
|
5512
|
-
let obj = new Tag();
|
|
5513
|
-
obj.deserialize(params.Tags[z]);
|
|
5514
|
-
this.Tags.push(obj);
|
|
5515
|
-
}
|
|
5516
|
-
}
|
|
5517
|
-
|
|
5518
|
-
if (params.HealthChecker) {
|
|
5519
|
-
let obj = new UpstreamHealthChecker();
|
|
5520
|
-
obj.deserialize(params.HealthChecker)
|
|
5521
|
-
this.HealthChecker = obj;
|
|
5522
|
-
}
|
|
5523
|
-
this.UpstreamType = 'UpstreamType' in params ? params.UpstreamType : null;
|
|
5524
|
-
|
|
5525
|
-
if (params.K8sServices) {
|
|
5526
|
-
this.K8sServices = new Array();
|
|
5527
|
-
for (let z in params.K8sServices) {
|
|
5528
|
-
let obj = new K8sService();
|
|
5529
|
-
obj.deserialize(params.K8sServices[z]);
|
|
5530
|
-
this.K8sServices.push(obj);
|
|
5531
|
-
}
|
|
5532
|
-
}
|
|
5533
|
-
this.UpstreamHost = 'UpstreamHost' in params ? params.UpstreamHost : null;
|
|
5566
|
+
this.EnvironmentName = 'EnvironmentName' in params ? params.EnvironmentName : null;
|
|
5567
|
+
this.Quota = 'Quota' in params ? params.Quota : null;
|
|
5534
5568
|
|
|
5535
5569
|
}
|
|
5536
5570
|
}
|
|
@@ -8710,19 +8744,13 @@ class DescribeServiceEnvironmentStrategyRequest extends AbstractModel {
|
|
|
8710
8744
|
}
|
|
8711
8745
|
|
|
8712
8746
|
/**
|
|
8713
|
-
*
|
|
8747
|
+
* DescribeInstancesNetworkConfig response structure.
|
|
8714
8748
|
* @class
|
|
8715
8749
|
*/
|
|
8716
|
-
class
|
|
8750
|
+
class DescribeInstancesNetworkConfigResponse extends AbstractModel {
|
|
8717
8751
|
constructor(){
|
|
8718
8752
|
super();
|
|
8719
8753
|
|
|
8720
|
-
/**
|
|
8721
|
-
* Query results
|
|
8722
|
-
* @type {DescribeUpstreamBindApis || null}
|
|
8723
|
-
*/
|
|
8724
|
-
this.Result = null;
|
|
8725
|
-
|
|
8726
8754
|
/**
|
|
8727
8755
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8728
8756
|
* @type {string || null}
|
|
@@ -8738,12 +8766,6 @@ class DescribeUpstreamBindApisResponse extends AbstractModel {
|
|
|
8738
8766
|
if (!params) {
|
|
8739
8767
|
return;
|
|
8740
8768
|
}
|
|
8741
|
-
|
|
8742
|
-
if (params.Result) {
|
|
8743
|
-
let obj = new DescribeUpstreamBindApis();
|
|
8744
|
-
obj.deserialize(params.Result)
|
|
8745
|
-
this.Result = obj;
|
|
8746
|
-
}
|
|
8747
8769
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8748
8770
|
|
|
8749
8771
|
}
|
|
@@ -13304,24 +13326,26 @@ class DescribeApiForApiAppResponse extends AbstractModel {
|
|
|
13304
13326
|
}
|
|
13305
13327
|
|
|
13306
13328
|
/**
|
|
13307
|
-
*
|
|
13329
|
+
* DescribeInstancesNetworkConfig request structure.
|
|
13308
13330
|
* @class
|
|
13309
13331
|
*/
|
|
13310
|
-
class
|
|
13332
|
+
class DescribeInstancesNetworkConfigRequest extends AbstractModel {
|
|
13311
13333
|
constructor(){
|
|
13312
13334
|
super();
|
|
13313
13335
|
|
|
13314
13336
|
/**
|
|
13315
|
-
*
|
|
13316
|
-
|
|
13337
|
+
* Number of returns, with a default value of 20 and a maximum value of 100.
|
|
13338
|
+
|
|
13339
|
+
* @type {number || null}
|
|
13317
13340
|
*/
|
|
13318
|
-
this.
|
|
13341
|
+
this.Limit = null;
|
|
13319
13342
|
|
|
13320
13343
|
/**
|
|
13321
|
-
*
|
|
13344
|
+
* Offset, which is 0 by default.
|
|
13345
|
+
|
|
13322
13346
|
* @type {number || null}
|
|
13323
13347
|
*/
|
|
13324
|
-
this.
|
|
13348
|
+
this.Offset = null;
|
|
13325
13349
|
|
|
13326
13350
|
}
|
|
13327
13351
|
|
|
@@ -13332,8 +13356,8 @@ class EnvironmentStrategy extends AbstractModel {
|
|
|
13332
13356
|
if (!params) {
|
|
13333
13357
|
return;
|
|
13334
13358
|
}
|
|
13335
|
-
this.
|
|
13336
|
-
this.
|
|
13359
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
13360
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
13337
13361
|
|
|
13338
13362
|
}
|
|
13339
13363
|
}
|
|
@@ -14603,6 +14627,47 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
14603
14627
|
}
|
|
14604
14628
|
}
|
|
14605
14629
|
|
|
14630
|
+
/**
|
|
14631
|
+
* ModifyUsagePlan response structure.
|
|
14632
|
+
* @class
|
|
14633
|
+
*/
|
|
14634
|
+
class ModifyUsagePlanResponse extends AbstractModel {
|
|
14635
|
+
constructor(){
|
|
14636
|
+
super();
|
|
14637
|
+
|
|
14638
|
+
/**
|
|
14639
|
+
* Usage plan details.
|
|
14640
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
14641
|
+
* @type {UsagePlanInfo || null}
|
|
14642
|
+
*/
|
|
14643
|
+
this.Result = null;
|
|
14644
|
+
|
|
14645
|
+
/**
|
|
14646
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14647
|
+
* @type {string || null}
|
|
14648
|
+
*/
|
|
14649
|
+
this.RequestId = null;
|
|
14650
|
+
|
|
14651
|
+
}
|
|
14652
|
+
|
|
14653
|
+
/**
|
|
14654
|
+
* @private
|
|
14655
|
+
*/
|
|
14656
|
+
deserialize(params) {
|
|
14657
|
+
if (!params) {
|
|
14658
|
+
return;
|
|
14659
|
+
}
|
|
14660
|
+
|
|
14661
|
+
if (params.Result) {
|
|
14662
|
+
let obj = new UsagePlanInfo();
|
|
14663
|
+
obj.deserialize(params.Result)
|
|
14664
|
+
this.Result = obj;
|
|
14665
|
+
}
|
|
14666
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
14667
|
+
|
|
14668
|
+
}
|
|
14669
|
+
}
|
|
14670
|
+
|
|
14606
14671
|
/**
|
|
14607
14672
|
* Basic information of API document
|
|
14608
14673
|
* @class
|
|
@@ -15487,6 +15552,7 @@ class CreateApiKeyRequest extends AbstractModel {
|
|
|
15487
15552
|
module.exports = {
|
|
15488
15553
|
IPStrategyApiStatus: IPStrategyApiStatus,
|
|
15489
15554
|
UnBindSubDomainResponse: UnBindSubDomainResponse,
|
|
15555
|
+
UpstreamInfo: UpstreamInfo,
|
|
15490
15556
|
UpdateApiKeyRequest: UpdateApiKeyRequest,
|
|
15491
15557
|
Service: Service,
|
|
15492
15558
|
DeleteAPIDocRequest: DeleteAPIDocRequest,
|
|
@@ -15571,7 +15637,7 @@ module.exports = {
|
|
|
15571
15637
|
DescribeUpstreamInfo: DescribeUpstreamInfo,
|
|
15572
15638
|
ModifyApiEnvironmentStrategyRequest: ModifyApiEnvironmentStrategyRequest,
|
|
15573
15639
|
ServiceReleaseHistory: ServiceReleaseHistory,
|
|
15574
|
-
|
|
15640
|
+
DescribeUpstreamBindApisResponse: DescribeUpstreamBindApisResponse,
|
|
15575
15641
|
IPStrategiesStatus: IPStrategiesStatus,
|
|
15576
15642
|
CreateUsagePlanResponse: CreateUsagePlanResponse,
|
|
15577
15643
|
ReqParameter: ReqParameter,
|
|
@@ -15579,7 +15645,7 @@ module.exports = {
|
|
|
15579
15645
|
Base64EncodedTriggerRule: Base64EncodedTriggerRule,
|
|
15580
15646
|
RequestConfig: RequestConfig,
|
|
15581
15647
|
DeleteApiKeyResponse: DeleteApiKeyResponse,
|
|
15582
|
-
|
|
15648
|
+
EnvironmentStrategy: EnvironmentStrategy,
|
|
15583
15649
|
UsagePlan: UsagePlan,
|
|
15584
15650
|
DescribeServiceReleaseVersionRequest: DescribeServiceReleaseVersionRequest,
|
|
15585
15651
|
DescribeUsagePlanSecretIdsRequest: DescribeUsagePlanSecretIdsRequest,
|
|
@@ -15627,7 +15693,7 @@ module.exports = {
|
|
|
15627
15693
|
ApiIdStatus: ApiIdStatus,
|
|
15628
15694
|
CreateApiRequest: CreateApiRequest,
|
|
15629
15695
|
DescribeServiceEnvironmentStrategyRequest: DescribeServiceEnvironmentStrategyRequest,
|
|
15630
|
-
|
|
15696
|
+
DescribeInstancesNetworkConfigResponse: DescribeInstancesNetworkConfigResponse,
|
|
15631
15697
|
ReleaseServiceRequest: ReleaseServiceRequest,
|
|
15632
15698
|
DeleteServiceResponse: DeleteServiceResponse,
|
|
15633
15699
|
DescribeServiceEnvironmentReleaseHistoryResponse: DescribeServiceEnvironmentReleaseHistoryResponse,
|
|
@@ -15719,7 +15785,7 @@ module.exports = {
|
|
|
15719
15785
|
ModifyUpstreamResponse: ModifyUpstreamResponse,
|
|
15720
15786
|
DescribeIPStrategyRequest: DescribeIPStrategyRequest,
|
|
15721
15787
|
DescribeApiForApiAppResponse: DescribeApiForApiAppResponse,
|
|
15722
|
-
|
|
15788
|
+
DescribeInstancesNetworkConfigRequest: DescribeInstancesNetworkConfigRequest,
|
|
15723
15789
|
DescribeUsagePlanEnvironmentsRequest: DescribeUsagePlanEnvironmentsRequest,
|
|
15724
15790
|
ImportOpenApiRequest: ImportOpenApiRequest,
|
|
15725
15791
|
DescribeServiceReleaseVersionResponse: DescribeServiceReleaseVersionResponse,
|
|
@@ -15740,6 +15806,7 @@ module.exports = {
|
|
|
15740
15806
|
BuildAPIDocRequest: BuildAPIDocRequest,
|
|
15741
15807
|
DetachPluginResponse: DetachPluginResponse,
|
|
15742
15808
|
ApiKeysStatus: ApiKeysStatus,
|
|
15809
|
+
ModifyUsagePlanResponse: ModifyUsagePlanResponse,
|
|
15743
15810
|
APIDoc: APIDoc,
|
|
15744
15811
|
DescribeServiceUsagePlanResponse: DescribeServiceUsagePlanResponse,
|
|
15745
15812
|
CreateApiAppResponse: CreateApiAppResponse,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1129";
|
|
2
2
|
module.exports = sdkVersion
|