tencentcloud-sdk-nodejs-intl-en 3.0.1062 → 3.0.1064
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/batch/v20170312/models.js +59 -22
- package/tencentcloud/car/v20220110/models.js +1 -1
- package/tencentcloud/cbs/v20170312/models.js +1 -1
- package/tencentcloud/cdc/index.js +3 -0
- package/tencentcloud/cdc/v20201214/cdc_client.js +314 -0
- package/tencentcloud/cdc/v20201214/index.js +4 -0
- package/tencentcloud/cdc/v20201214/models.js +3799 -0
- package/tencentcloud/ckafka/v20190819/models.js +1 -1
- package/tencentcloud/cloudaudit/v20190319/models.js +1 -1
- package/tencentcloud/cls/v20201016/cls_client.js +7 -4
- package/tencentcloud/cls/v20201016/models.js +241 -108
- package/tencentcloud/cmq/v20190304/cmq_client.js +0 -1
- package/tencentcloud/cmq/v20190304/models.js +37 -37
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/eb/v20210416/models.js +15 -1
- package/tencentcloud/ecm/v20190719/models.js +1 -1
- package/tencentcloud/gme/v20180711/models.js +1 -1
- package/tencentcloud/index.js +2 -0
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +2 -2
- package/tencentcloud/lighthouse/v20200324/models.js +1 -1
- package/tencentcloud/live/v20180801/models.js +1 -1
- package/tencentcloud/organization/v20181225/models.js +20 -20
- package/tencentcloud/organization/v20210331/models.js +1990 -581
- package/tencentcloud/organization/v20210331/organization_client.js +648 -413
- package/tencentcloud/scf/v20180416/models.js +1 -1
- package/tencentcloud/tat/v20201028/models.js +19 -19
- package/tencentcloud/tdmq/v20200217/models.js +1 -1
- package/tencentcloud/tem/v20210701/models.js +1 -1
- package/tencentcloud/teo/v20220901/models.js +68 -10
- package/tencentcloud/teo/v20220901/teo_client.js +1 -0
- package/tencentcloud/vclm/index.js +3 -0
- package/tencentcloud/vclm/v20240523/index.js +4 -0
- package/tencentcloud/vclm/v20240523/models.js +354 -0
- package/tencentcloud/vclm/v20240523/vclm_client.js +61 -0
- package/tencentcloud/vod/v20180717/models.js +75 -4
- package/tencentcloud/vod/v20180717/vod_client.js +1 -0
- package/tencentcloud/waf/v20180125/models.js +1606 -1130
- package/tencentcloud/waf/v20180125/waf_client.js +88 -71
- package/tencentcloud/wedata/v20210820/models.js +3 -3
|
@@ -0,0 +1,3799 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const AbstractModel = require("../../common/abstract_model");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* DescribeDedicatedClusterInstanceTypes response structure.
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class DescribeDedicatedClusterInstanceTypesResponse extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* List of supported instance types
|
|
29
|
+
* @type {Array.<DedicatedClusterInstanceType> || null}
|
|
30
|
+
*/
|
|
31
|
+
this.DedicatedClusterInstanceTypeSet = null;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* 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.
|
|
35
|
+
* @type {string || null}
|
|
36
|
+
*/
|
|
37
|
+
this.RequestId = null;
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @private
|
|
43
|
+
*/
|
|
44
|
+
deserialize(params) {
|
|
45
|
+
if (!params) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
if (params.DedicatedClusterInstanceTypeSet) {
|
|
50
|
+
this.DedicatedClusterInstanceTypeSet = new Array();
|
|
51
|
+
for (let z in params.DedicatedClusterInstanceTypeSet) {
|
|
52
|
+
let obj = new DedicatedClusterInstanceType();
|
|
53
|
+
obj.deserialize(params.DedicatedClusterInstanceTypeSet[z]);
|
|
54
|
+
this.DedicatedClusterInstanceTypeSet.push(obj);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
58
|
+
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* DescribeDedicatedClusters request structure.
|
|
64
|
+
* @class
|
|
65
|
+
*/
|
|
66
|
+
class DescribeDedicatedClustersRequest extends AbstractModel {
|
|
67
|
+
constructor(){
|
|
68
|
+
super();
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Query by one or more instance IDs. Example of instance ID: cluster-xxxxxxxx
|
|
72
|
+
* @type {Array.<string> || null}
|
|
73
|
+
*/
|
|
74
|
+
this.DedicatedClusterIds = null;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Filter by AZ name.
|
|
78
|
+
* @type {Array.<string> || null}
|
|
79
|
+
*/
|
|
80
|
+
this.Zones = null;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Filter by site id.
|
|
84
|
+
* @type {Array.<string> || null}
|
|
85
|
+
*/
|
|
86
|
+
this.SiteIds = null;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Filter by CDC life cycle.
|
|
90
|
+
* @type {Array.<string> || null}
|
|
91
|
+
*/
|
|
92
|
+
this.LifecycleStatuses = null;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Name of fuzzy matching CDC
|
|
96
|
+
* @type {string || null}
|
|
97
|
+
*/
|
|
98
|
+
this.Name = null;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
102
|
+
* @type {number || null}
|
|
103
|
+
*/
|
|
104
|
+
this.Offset = null;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
108
|
+
* @type {number || null}
|
|
109
|
+
*/
|
|
110
|
+
this.Limit = null;
|
|
111
|
+
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @private
|
|
116
|
+
*/
|
|
117
|
+
deserialize(params) {
|
|
118
|
+
if (!params) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
this.DedicatedClusterIds = 'DedicatedClusterIds' in params ? params.DedicatedClusterIds : null;
|
|
122
|
+
this.Zones = 'Zones' in params ? params.Zones : null;
|
|
123
|
+
this.SiteIds = 'SiteIds' in params ? params.SiteIds : null;
|
|
124
|
+
this.LifecycleStatuses = 'LifecycleStatuses' in params ? params.LifecycleStatuses : null;
|
|
125
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
126
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
127
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
128
|
+
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* DescribeDedicatedClusterTypes response structure.
|
|
134
|
+
* @class
|
|
135
|
+
*/
|
|
136
|
+
class DescribeDedicatedClusterTypesResponse extends AbstractModel {
|
|
137
|
+
constructor(){
|
|
138
|
+
super();
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* List of CDC configurations
|
|
142
|
+
* @type {Array.<DedicatedClusterType> || null}
|
|
143
|
+
*/
|
|
144
|
+
this.DedicatedClusterTypeSet = null;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Number of records that meet the conditions
|
|
148
|
+
* @type {number || null}
|
|
149
|
+
*/
|
|
150
|
+
this.TotalCount = null;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* 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.
|
|
154
|
+
* @type {string || null}
|
|
155
|
+
*/
|
|
156
|
+
this.RequestId = null;
|
|
157
|
+
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @private
|
|
162
|
+
*/
|
|
163
|
+
deserialize(params) {
|
|
164
|
+
if (!params) {
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
if (params.DedicatedClusterTypeSet) {
|
|
169
|
+
this.DedicatedClusterTypeSet = new Array();
|
|
170
|
+
for (let z in params.DedicatedClusterTypeSet) {
|
|
171
|
+
let obj = new DedicatedClusterType();
|
|
172
|
+
obj.deserialize(params.DedicatedClusterTypeSet[z]);
|
|
173
|
+
this.DedicatedClusterTypeSet.push(obj);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
177
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
178
|
+
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* List of instance specifications supported by the CDC host
|
|
184
|
+
* @class
|
|
185
|
+
*/
|
|
186
|
+
class DedicatedClusterInstanceType extends AbstractModel {
|
|
187
|
+
constructor(){
|
|
188
|
+
super();
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* AZ
|
|
192
|
+
* @type {string || null}
|
|
193
|
+
*/
|
|
194
|
+
this.Zone = null;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Type name
|
|
198
|
+
* @type {string || null}
|
|
199
|
+
*/
|
|
200
|
+
this.InstanceType = null;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* NIC type, e.g., 25 represents a 25 GB NIC.
|
|
204
|
+
* @type {number || null}
|
|
205
|
+
*/
|
|
206
|
+
this.NetworkCard = null;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Number of CPU cores of instance, in cores
|
|
210
|
+
* @type {number || null}
|
|
211
|
+
*/
|
|
212
|
+
this.Cpu = null;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Memory capacity of instance, in GB
|
|
216
|
+
* @type {number || null}
|
|
217
|
+
*/
|
|
218
|
+
this.Memory = null;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Instance family
|
|
222
|
+
* @type {string || null}
|
|
223
|
+
*/
|
|
224
|
+
this.InstanceFamily = null;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Type name
|
|
228
|
+
* @type {string || null}
|
|
229
|
+
*/
|
|
230
|
+
this.TypeName = null;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Local storage block count
|
|
234
|
+
* @type {number || null}
|
|
235
|
+
*/
|
|
236
|
+
this.StorageBlockAmount = null;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* LAN bandwidth, in GB/s
|
|
240
|
+
* @type {number || null}
|
|
241
|
+
*/
|
|
242
|
+
this.InstanceBandwidth = null;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Network packet receiving/sending capacity, in 10,000 PPS
|
|
246
|
+
* @type {number || null}
|
|
247
|
+
*/
|
|
248
|
+
this.InstancePps = null;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Processor type
|
|
252
|
+
* @type {string || null}
|
|
253
|
+
*/
|
|
254
|
+
this.CpuType = null;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Number of GPUs of instance
|
|
258
|
+
* @type {number || null}
|
|
259
|
+
*/
|
|
260
|
+
this.Gpu = null;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Number of FPGAs of instance.
|
|
264
|
+
* @type {number || null}
|
|
265
|
+
*/
|
|
266
|
+
this.Fpga = null;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Type description
|
|
270
|
+
* @type {string || null}
|
|
271
|
+
*/
|
|
272
|
+
this.Remark = null;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Whether the instance is for sale? Value values: <br><li>SELL: Indicates that the instance is for sale. <br><li>SOLD_OUT: Indicates that the instance has been sold out.
|
|
276
|
+
* @type {string || null}
|
|
277
|
+
*/
|
|
278
|
+
this.Status = null;
|
|
279
|
+
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @private
|
|
284
|
+
*/
|
|
285
|
+
deserialize(params) {
|
|
286
|
+
if (!params) {
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
290
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
291
|
+
this.NetworkCard = 'NetworkCard' in params ? params.NetworkCard : null;
|
|
292
|
+
this.Cpu = 'Cpu' in params ? params.Cpu : null;
|
|
293
|
+
this.Memory = 'Memory' in params ? params.Memory : null;
|
|
294
|
+
this.InstanceFamily = 'InstanceFamily' in params ? params.InstanceFamily : null;
|
|
295
|
+
this.TypeName = 'TypeName' in params ? params.TypeName : null;
|
|
296
|
+
this.StorageBlockAmount = 'StorageBlockAmount' in params ? params.StorageBlockAmount : null;
|
|
297
|
+
this.InstanceBandwidth = 'InstanceBandwidth' in params ? params.InstanceBandwidth : null;
|
|
298
|
+
this.InstancePps = 'InstancePps' in params ? params.InstancePps : null;
|
|
299
|
+
this.CpuType = 'CpuType' in params ? params.CpuType : null;
|
|
300
|
+
this.Gpu = 'Gpu' in params ? params.Gpu : null;
|
|
301
|
+
this.Fpga = 'Fpga' in params ? params.Fpga : null;
|
|
302
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
303
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
304
|
+
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* CDC configurations
|
|
310
|
+
* @class
|
|
311
|
+
*/
|
|
312
|
+
class DedicatedClusterType extends AbstractModel {
|
|
313
|
+
constructor(){
|
|
314
|
+
super();
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Configuration id
|
|
318
|
+
* @type {string || null}
|
|
319
|
+
*/
|
|
320
|
+
this.DedicatedClusterTypeId = null;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Configuration description, corresponding to description
|
|
324
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
325
|
+
* @type {string || null}
|
|
326
|
+
*/
|
|
327
|
+
this.Description = null;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Configuration name, corresponding to computing resource type
|
|
331
|
+
* @type {string || null}
|
|
332
|
+
*/
|
|
333
|
+
this.Name = null;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Configuration creation time
|
|
337
|
+
* @type {string || null}
|
|
338
|
+
*/
|
|
339
|
+
this.CreateTime = null;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* List of supported storage types
|
|
343
|
+
* @type {Array.<string> || null}
|
|
344
|
+
*/
|
|
345
|
+
this.SupportedStorageType = null;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Supported uplink switch transmission rate
|
|
349
|
+
* @type {Array.<number> || null}
|
|
350
|
+
*/
|
|
351
|
+
this.SupportedUplinkGiB = null;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* List of supported instance families
|
|
355
|
+
* @type {Array.<string> || null}
|
|
356
|
+
*/
|
|
357
|
+
this.SupportedInstanceFamily = null;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Floor weight capacity (KG)
|
|
361
|
+
* @type {number || null}
|
|
362
|
+
*/
|
|
363
|
+
this.Weight = null;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Power requirements (KW)
|
|
367
|
+
* @type {number || null}
|
|
368
|
+
*/
|
|
369
|
+
this.PowerDrawKva = null;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Displays the details of computing resource types, and does not display resources such as storage; corresponding to type
|
|
373
|
+
* @type {string || null}
|
|
374
|
+
*/
|
|
375
|
+
this.ComputeFormatDesc = null;
|
|
376
|
+
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* @private
|
|
381
|
+
*/
|
|
382
|
+
deserialize(params) {
|
|
383
|
+
if (!params) {
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
386
|
+
this.DedicatedClusterTypeId = 'DedicatedClusterTypeId' in params ? params.DedicatedClusterTypeId : null;
|
|
387
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
388
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
389
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
390
|
+
this.SupportedStorageType = 'SupportedStorageType' in params ? params.SupportedStorageType : null;
|
|
391
|
+
this.SupportedUplinkGiB = 'SupportedUplinkGiB' in params ? params.SupportedUplinkGiB : null;
|
|
392
|
+
this.SupportedInstanceFamily = 'SupportedInstanceFamily' in params ? params.SupportedInstanceFamily : null;
|
|
393
|
+
this.Weight = 'Weight' in params ? params.Weight : null;
|
|
394
|
+
this.PowerDrawKva = 'PowerDrawKva' in params ? params.PowerDrawKva : null;
|
|
395
|
+
this.ComputeFormatDesc = 'ComputeFormatDesc' in params ? params.ComputeFormatDesc : null;
|
|
396
|
+
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* DeleteSites request structure.
|
|
402
|
+
* @class
|
|
403
|
+
*/
|
|
404
|
+
class DeleteSitesRequest extends AbstractModel {
|
|
405
|
+
constructor(){
|
|
406
|
+
super();
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* List of site ids to be deleted
|
|
410
|
+
* @type {Array.<string> || null}
|
|
411
|
+
*/
|
|
412
|
+
this.SiteIds = null;
|
|
413
|
+
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @private
|
|
418
|
+
*/
|
|
419
|
+
deserialize(params) {
|
|
420
|
+
if (!params) {
|
|
421
|
+
return;
|
|
422
|
+
}
|
|
423
|
+
this.SiteIds = 'SiteIds' in params ? params.SiteIds : null;
|
|
424
|
+
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Used to add COS information on the purchase page.
|
|
430
|
+
* @class
|
|
431
|
+
*/
|
|
432
|
+
class CosInfo extends AbstractModel {
|
|
433
|
+
constructor(){
|
|
434
|
+
super();
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* COS size, in TB
|
|
438
|
+
* @type {number || null}
|
|
439
|
+
*/
|
|
440
|
+
this.Size = null;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* COS type, COS by default
|
|
444
|
+
* @type {string || null}
|
|
445
|
+
*/
|
|
446
|
+
this.Type = null;
|
|
447
|
+
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* @private
|
|
452
|
+
*/
|
|
453
|
+
deserialize(params) {
|
|
454
|
+
if (!params) {
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
this.Size = 'Size' in params ? params.Size : null;
|
|
458
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
459
|
+
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* AZ information
|
|
465
|
+
* @class
|
|
466
|
+
*/
|
|
467
|
+
class ZoneInfo extends AbstractModel {
|
|
468
|
+
constructor(){
|
|
469
|
+
super();
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* AZ name
|
|
473
|
+
* @type {string || null}
|
|
474
|
+
*/
|
|
475
|
+
this.Zone = null;
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* AZ description
|
|
479
|
+
* @type {string || null}
|
|
480
|
+
*/
|
|
481
|
+
this.ZoneName = null;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* AZ ID
|
|
485
|
+
* @type {number || null}
|
|
486
|
+
*/
|
|
487
|
+
this.ZoneId = null;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* AZ status: AVAILABLE or UNAVAILABLE AVAILABLE means the AZ is available while UNAVAILABLE means the AZ is unavailable.
|
|
491
|
+
* @type {string || null}
|
|
492
|
+
*/
|
|
493
|
+
this.ZoneState = null;
|
|
494
|
+
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* @private
|
|
499
|
+
*/
|
|
500
|
+
deserialize(params) {
|
|
501
|
+
if (!params) {
|
|
502
|
+
return;
|
|
503
|
+
}
|
|
504
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
505
|
+
this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
|
|
506
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
507
|
+
this.ZoneState = 'ZoneState' in params ? params.ZoneState : null;
|
|
508
|
+
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* DescribeDedicatedClusterOverview response structure.
|
|
514
|
+
* @class
|
|
515
|
+
*/
|
|
516
|
+
class DescribeDedicatedClusterOverviewResponse extends AbstractModel {
|
|
517
|
+
constructor(){
|
|
518
|
+
super();
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Number of CVMs
|
|
522
|
+
* @type {number || null}
|
|
523
|
+
*/
|
|
524
|
+
this.CvmCount = null;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Number of hosts
|
|
528
|
+
* @type {number || null}
|
|
529
|
+
*/
|
|
530
|
+
this.HostCount = null;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* VPN channel status
|
|
534
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
535
|
+
* @type {string || null}
|
|
536
|
+
*/
|
|
537
|
+
this.VpnConnectionState = null;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* VPN gateway monitoring data
|
|
541
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
542
|
+
* @type {VpngwBandwidthData || null}
|
|
543
|
+
*/
|
|
544
|
+
this.VpngwBandwidthData = null;
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Local gateway information
|
|
548
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
549
|
+
* @type {LocalNetInfo || null}
|
|
550
|
+
*/
|
|
551
|
+
this.LocalNetInfo = null;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* VPN gateway channel monitoring data
|
|
555
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
556
|
+
* @type {Array.<VpngwBandwidthData> || null}
|
|
557
|
+
*/
|
|
558
|
+
this.VpnConnectionBandwidthData = null;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @type {Array.<HostDetailInfo> || null}
|
|
563
|
+
*/
|
|
564
|
+
this.HostDetailInfo = null;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
*
|
|
568
|
+
* @type {number || null}
|
|
569
|
+
*/
|
|
570
|
+
this.HostStandbyCount = null;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
*
|
|
574
|
+
* @type {number || null}
|
|
575
|
+
*/
|
|
576
|
+
this.HostNormalCount = null;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* 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.
|
|
580
|
+
* @type {string || null}
|
|
581
|
+
*/
|
|
582
|
+
this.RequestId = null;
|
|
583
|
+
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* @private
|
|
588
|
+
*/
|
|
589
|
+
deserialize(params) {
|
|
590
|
+
if (!params) {
|
|
591
|
+
return;
|
|
592
|
+
}
|
|
593
|
+
this.CvmCount = 'CvmCount' in params ? params.CvmCount : null;
|
|
594
|
+
this.HostCount = 'HostCount' in params ? params.HostCount : null;
|
|
595
|
+
this.VpnConnectionState = 'VpnConnectionState' in params ? params.VpnConnectionState : null;
|
|
596
|
+
|
|
597
|
+
if (params.VpngwBandwidthData) {
|
|
598
|
+
let obj = new VpngwBandwidthData();
|
|
599
|
+
obj.deserialize(params.VpngwBandwidthData)
|
|
600
|
+
this.VpngwBandwidthData = obj;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
if (params.LocalNetInfo) {
|
|
604
|
+
let obj = new LocalNetInfo();
|
|
605
|
+
obj.deserialize(params.LocalNetInfo)
|
|
606
|
+
this.LocalNetInfo = obj;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
if (params.VpnConnectionBandwidthData) {
|
|
610
|
+
this.VpnConnectionBandwidthData = new Array();
|
|
611
|
+
for (let z in params.VpnConnectionBandwidthData) {
|
|
612
|
+
let obj = new VpngwBandwidthData();
|
|
613
|
+
obj.deserialize(params.VpnConnectionBandwidthData[z]);
|
|
614
|
+
this.VpnConnectionBandwidthData.push(obj);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
if (params.HostDetailInfo) {
|
|
619
|
+
this.HostDetailInfo = new Array();
|
|
620
|
+
for (let z in params.HostDetailInfo) {
|
|
621
|
+
let obj = new HostDetailInfo();
|
|
622
|
+
obj.deserialize(params.HostDetailInfo[z]);
|
|
623
|
+
this.HostDetailInfo.push(obj);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
this.HostStandbyCount = 'HostStandbyCount' in params ? params.HostStandbyCount : null;
|
|
627
|
+
this.HostNormalCount = 'HostNormalCount' in params ? params.HostNormalCount : null;
|
|
628
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
629
|
+
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* DescribeSites request structure.
|
|
635
|
+
* @class
|
|
636
|
+
*/
|
|
637
|
+
class DescribeSitesRequest extends AbstractModel {
|
|
638
|
+
constructor(){
|
|
639
|
+
super();
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Filter by site id.
|
|
643
|
+
* @type {Array.<string> || null}
|
|
644
|
+
*/
|
|
645
|
+
this.SiteIds = null;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Name of fuzzy matching site
|
|
649
|
+
* @type {string || null}
|
|
650
|
+
*/
|
|
651
|
+
this.Name = null;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
655
|
+
* @type {number || null}
|
|
656
|
+
*/
|
|
657
|
+
this.Offset = null;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
661
|
+
* @type {number || null}
|
|
662
|
+
*/
|
|
663
|
+
this.Limit = null;
|
|
664
|
+
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* @private
|
|
669
|
+
*/
|
|
670
|
+
deserialize(params) {
|
|
671
|
+
if (!params) {
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
this.SiteIds = 'SiteIds' in params ? params.SiteIds : null;
|
|
675
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
676
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
677
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
678
|
+
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* CDC host details
|
|
684
|
+
* @class
|
|
685
|
+
*/
|
|
686
|
+
class HostInfo extends AbstractModel {
|
|
687
|
+
constructor(){
|
|
688
|
+
super();
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Host IP
|
|
692
|
+
* @type {string || null}
|
|
693
|
+
*/
|
|
694
|
+
this.HostIp = null;
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Cloud service type
|
|
698
|
+
* @type {string || null}
|
|
699
|
+
*/
|
|
700
|
+
this.ServiceType = null;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Host running status
|
|
704
|
+
* @type {string || null}
|
|
705
|
+
*/
|
|
706
|
+
this.HostStatus = null;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* Host type
|
|
710
|
+
* @type {string || null}
|
|
711
|
+
*/
|
|
712
|
+
this.HostType = null;
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Number of available CPUs
|
|
716
|
+
* @type {number || null}
|
|
717
|
+
*/
|
|
718
|
+
this.CpuAvailable = null;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Total CPUs
|
|
722
|
+
* @type {number || null}
|
|
723
|
+
*/
|
|
724
|
+
this.CpuTotal = null;
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Available memories
|
|
728
|
+
* @type {number || null}
|
|
729
|
+
*/
|
|
730
|
+
this.MemAvailable = null;
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* Total memories
|
|
734
|
+
* @type {number || null}
|
|
735
|
+
*/
|
|
736
|
+
this.MemTotal = null;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Running time
|
|
740
|
+
* @type {string || null}
|
|
741
|
+
*/
|
|
742
|
+
this.RunTime = null;
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Expiration time
|
|
746
|
+
* @type {string || null}
|
|
747
|
+
*/
|
|
748
|
+
this.ExpireTime = null;
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Host id
|
|
752
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
753
|
+
* @type {string || null}
|
|
754
|
+
*/
|
|
755
|
+
this.HostId = null;
|
|
756
|
+
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* @private
|
|
761
|
+
*/
|
|
762
|
+
deserialize(params) {
|
|
763
|
+
if (!params) {
|
|
764
|
+
return;
|
|
765
|
+
}
|
|
766
|
+
this.HostIp = 'HostIp' in params ? params.HostIp : null;
|
|
767
|
+
this.ServiceType = 'ServiceType' in params ? params.ServiceType : null;
|
|
768
|
+
this.HostStatus = 'HostStatus' in params ? params.HostStatus : null;
|
|
769
|
+
this.HostType = 'HostType' in params ? params.HostType : null;
|
|
770
|
+
this.CpuAvailable = 'CpuAvailable' in params ? params.CpuAvailable : null;
|
|
771
|
+
this.CpuTotal = 'CpuTotal' in params ? params.CpuTotal : null;
|
|
772
|
+
this.MemAvailable = 'MemAvailable' in params ? params.MemAvailable : null;
|
|
773
|
+
this.MemTotal = 'MemTotal' in params ? params.MemTotal : null;
|
|
774
|
+
this.RunTime = 'RunTime' in params ? params.RunTime : null;
|
|
775
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
776
|
+
this.HostId = 'HostId' in params ? params.HostId : null;
|
|
777
|
+
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* CreateSite response structure.
|
|
783
|
+
* @class
|
|
784
|
+
*/
|
|
785
|
+
class CreateSiteResponse extends AbstractModel {
|
|
786
|
+
constructor(){
|
|
787
|
+
super();
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Created Site id
|
|
791
|
+
* @type {string || null}
|
|
792
|
+
*/
|
|
793
|
+
this.SiteId = null;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* 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.
|
|
797
|
+
* @type {string || null}
|
|
798
|
+
*/
|
|
799
|
+
this.RequestId = null;
|
|
800
|
+
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* @private
|
|
805
|
+
*/
|
|
806
|
+
deserialize(params) {
|
|
807
|
+
if (!params) {
|
|
808
|
+
return;
|
|
809
|
+
}
|
|
810
|
+
this.SiteId = 'SiteId' in params ? params.SiteId : null;
|
|
811
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
812
|
+
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* DescribeDedicatedSupportedZones response structure.
|
|
818
|
+
* @class
|
|
819
|
+
*/
|
|
820
|
+
class DescribeDedicatedSupportedZonesResponse extends AbstractModel {
|
|
821
|
+
constructor(){
|
|
822
|
+
super();
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* List of supported AZs
|
|
826
|
+
* @type {Array.<RegionZoneInfo> || null}
|
|
827
|
+
*/
|
|
828
|
+
this.ZoneSet = null;
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* 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.
|
|
832
|
+
* @type {string || null}
|
|
833
|
+
*/
|
|
834
|
+
this.RequestId = null;
|
|
835
|
+
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* @private
|
|
840
|
+
*/
|
|
841
|
+
deserialize(params) {
|
|
842
|
+
if (!params) {
|
|
843
|
+
return;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
if (params.ZoneSet) {
|
|
847
|
+
this.ZoneSet = new Array();
|
|
848
|
+
for (let z in params.ZoneSet) {
|
|
849
|
+
let obj = new RegionZoneInfo();
|
|
850
|
+
obj.deserialize(params.ZoneSet[z]);
|
|
851
|
+
this.ZoneSet.push(obj);
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
855
|
+
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* ModifySiteInfo response structure.
|
|
861
|
+
* @class
|
|
862
|
+
*/
|
|
863
|
+
class ModifySiteInfoResponse extends AbstractModel {
|
|
864
|
+
constructor(){
|
|
865
|
+
super();
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* 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.
|
|
869
|
+
* @type {string || null}
|
|
870
|
+
*/
|
|
871
|
+
this.RequestId = null;
|
|
872
|
+
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* @private
|
|
877
|
+
*/
|
|
878
|
+
deserialize(params) {
|
|
879
|
+
if (!params) {
|
|
880
|
+
return;
|
|
881
|
+
}
|
|
882
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
883
|
+
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* CreateDedicatedClusterOrder request structure.
|
|
889
|
+
* @class
|
|
890
|
+
*/
|
|
891
|
+
class CreateDedicatedClusterOrderRequest extends AbstractModel {
|
|
892
|
+
constructor(){
|
|
893
|
+
super();
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* CDC id
|
|
897
|
+
* @type {string || null}
|
|
898
|
+
*/
|
|
899
|
+
this.DedicatedClusterId = null;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Array of order-related CDC types
|
|
903
|
+
* @type {Array.<DedicatedClusterTypeInfo> || null}
|
|
904
|
+
*/
|
|
905
|
+
this.DedicatedClusterTypes = null;
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Order-related COS storage information
|
|
909
|
+
* @type {CosInfo || null}
|
|
910
|
+
*/
|
|
911
|
+
this.CosInfo = null;
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Order-related CBS storage information
|
|
915
|
+
* @type {CbsInfo || null}
|
|
916
|
+
*/
|
|
917
|
+
this.CbsInfo = null;
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Purchase source, cloudApi by default
|
|
921
|
+
* @type {string || null}
|
|
922
|
+
*/
|
|
923
|
+
this.PurchaseSource = null;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* DedicatedClusterOrderId needs to be submitted when API is invoked to submit an order.
|
|
927
|
+
* @type {string || null}
|
|
928
|
+
*/
|
|
929
|
+
this.DedicatedClusterOrderId = null;
|
|
930
|
+
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* @private
|
|
935
|
+
*/
|
|
936
|
+
deserialize(params) {
|
|
937
|
+
if (!params) {
|
|
938
|
+
return;
|
|
939
|
+
}
|
|
940
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
941
|
+
|
|
942
|
+
if (params.DedicatedClusterTypes) {
|
|
943
|
+
this.DedicatedClusterTypes = new Array();
|
|
944
|
+
for (let z in params.DedicatedClusterTypes) {
|
|
945
|
+
let obj = new DedicatedClusterTypeInfo();
|
|
946
|
+
obj.deserialize(params.DedicatedClusterTypes[z]);
|
|
947
|
+
this.DedicatedClusterTypes.push(obj);
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
if (params.CosInfo) {
|
|
952
|
+
let obj = new CosInfo();
|
|
953
|
+
obj.deserialize(params.CosInfo)
|
|
954
|
+
this.CosInfo = obj;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
if (params.CbsInfo) {
|
|
958
|
+
let obj = new CbsInfo();
|
|
959
|
+
obj.deserialize(params.CbsInfo)
|
|
960
|
+
this.CbsInfo = obj;
|
|
961
|
+
}
|
|
962
|
+
this.PurchaseSource = 'PurchaseSource' in params ? params.PurchaseSource : null;
|
|
963
|
+
this.DedicatedClusterOrderId = 'DedicatedClusterOrderId' in params ? params.DedicatedClusterOrderId : null;
|
|
964
|
+
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* ModifyOrderStatus request structure.
|
|
970
|
+
* @class
|
|
971
|
+
*/
|
|
972
|
+
class ModifyOrderStatusRequest extends AbstractModel {
|
|
973
|
+
constructor(){
|
|
974
|
+
super();
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* Status to be updated
|
|
978
|
+
* @type {string || null}
|
|
979
|
+
*/
|
|
980
|
+
this.Status = null;
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Large order ID
|
|
984
|
+
* @type {string || null}
|
|
985
|
+
*/
|
|
986
|
+
this.DedicatedClusterOrderId = null;
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Small order ID
|
|
990
|
+
* @type {Array.<string> || null}
|
|
991
|
+
*/
|
|
992
|
+
this.SubOrderIds = null;
|
|
993
|
+
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* @private
|
|
998
|
+
*/
|
|
999
|
+
deserialize(params) {
|
|
1000
|
+
if (!params) {
|
|
1001
|
+
return;
|
|
1002
|
+
}
|
|
1003
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1004
|
+
this.DedicatedClusterOrderId = 'DedicatedClusterOrderId' in params ? params.DedicatedClusterOrderId : null;
|
|
1005
|
+
this.SubOrderIds = 'SubOrderIds' in params ? params.SubOrderIds : null;
|
|
1006
|
+
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* CDC sub-order
|
|
1012
|
+
* @class
|
|
1013
|
+
*/
|
|
1014
|
+
class DedicatedClusterOrderItem extends AbstractModel {
|
|
1015
|
+
constructor(){
|
|
1016
|
+
super();
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* CDC type id
|
|
1020
|
+
* @type {string || null}
|
|
1021
|
+
*/
|
|
1022
|
+
this.DedicatedClusterTypeId = null;
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* List of supported storage types
|
|
1026
|
+
* @type {Array.<string> || null}
|
|
1027
|
+
*/
|
|
1028
|
+
this.SupportedStorageType = null;
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Supported uplink switch transmission rate (GiB)
|
|
1032
|
+
* @type {Array.<number> || null}
|
|
1033
|
+
*/
|
|
1034
|
+
this.SupportedUplinkSpeed = null;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* List of supported instance families
|
|
1038
|
+
* @type {Array.<string> || null}
|
|
1039
|
+
*/
|
|
1040
|
+
this.SupportedInstanceFamily = null;
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Floor weight capacity (KG)
|
|
1044
|
+
* @type {number || null}
|
|
1045
|
+
*/
|
|
1046
|
+
this.Weight = null;
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* Power requirements (KW)
|
|
1050
|
+
* @type {number || null}
|
|
1051
|
+
*/
|
|
1052
|
+
this.PowerDraw = null;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Order status
|
|
1056
|
+
* @type {string || null}
|
|
1057
|
+
*/
|
|
1058
|
+
this.SubOrderStatus = null;
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* Order creation time
|
|
1062
|
+
* @type {string || null}
|
|
1063
|
+
*/
|
|
1064
|
+
this.CreateTime = null;
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Sub-order ID
|
|
1068
|
+
* @type {string || null}
|
|
1069
|
+
*/
|
|
1070
|
+
this.SubOrderId = null;
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* Number of linked cluster types
|
|
1074
|
+
* @type {number || null}
|
|
1075
|
+
*/
|
|
1076
|
+
this.Count = null;
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Brief description of type
|
|
1080
|
+
* @type {string || null}
|
|
1081
|
+
*/
|
|
1082
|
+
this.Name = null;
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Detailed description of type
|
|
1086
|
+
* @type {string || null}
|
|
1087
|
+
*/
|
|
1088
|
+
this.Description = null;
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Number of CPUs
|
|
1092
|
+
* @type {number || null}
|
|
1093
|
+
*/
|
|
1094
|
+
this.TotalCpu = null;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Number of memories
|
|
1098
|
+
* @type {number || null}
|
|
1099
|
+
*/
|
|
1100
|
+
this.TotalMem = null;
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* Total GPUs
|
|
1104
|
+
* @type {number || null}
|
|
1105
|
+
*/
|
|
1106
|
+
this.TotalGpu = null;
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* English type name
|
|
1110
|
+
* @type {string || null}
|
|
1111
|
+
*/
|
|
1112
|
+
this.TypeName = null;
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* Type display
|
|
1116
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1117
|
+
* @type {string || null}
|
|
1118
|
+
*/
|
|
1119
|
+
this.ComputeFormat = null;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* Type family
|
|
1123
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1124
|
+
* @type {string || null}
|
|
1125
|
+
*/
|
|
1126
|
+
this.TypeFamily = null;
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* 0 for unpaid, 1 for paid
|
|
1130
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1131
|
+
* @type {number || null}
|
|
1132
|
+
*/
|
|
1133
|
+
this.SubOrderPayStatus = null;
|
|
1134
|
+
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* @private
|
|
1139
|
+
*/
|
|
1140
|
+
deserialize(params) {
|
|
1141
|
+
if (!params) {
|
|
1142
|
+
return;
|
|
1143
|
+
}
|
|
1144
|
+
this.DedicatedClusterTypeId = 'DedicatedClusterTypeId' in params ? params.DedicatedClusterTypeId : null;
|
|
1145
|
+
this.SupportedStorageType = 'SupportedStorageType' in params ? params.SupportedStorageType : null;
|
|
1146
|
+
this.SupportedUplinkSpeed = 'SupportedUplinkSpeed' in params ? params.SupportedUplinkSpeed : null;
|
|
1147
|
+
this.SupportedInstanceFamily = 'SupportedInstanceFamily' in params ? params.SupportedInstanceFamily : null;
|
|
1148
|
+
this.Weight = 'Weight' in params ? params.Weight : null;
|
|
1149
|
+
this.PowerDraw = 'PowerDraw' in params ? params.PowerDraw : null;
|
|
1150
|
+
this.SubOrderStatus = 'SubOrderStatus' in params ? params.SubOrderStatus : null;
|
|
1151
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1152
|
+
this.SubOrderId = 'SubOrderId' in params ? params.SubOrderId : null;
|
|
1153
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
1154
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1155
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1156
|
+
this.TotalCpu = 'TotalCpu' in params ? params.TotalCpu : null;
|
|
1157
|
+
this.TotalMem = 'TotalMem' in params ? params.TotalMem : null;
|
|
1158
|
+
this.TotalGpu = 'TotalGpu' in params ? params.TotalGpu : null;
|
|
1159
|
+
this.TypeName = 'TypeName' in params ? params.TypeName : null;
|
|
1160
|
+
this.ComputeFormat = 'ComputeFormat' in params ? params.ComputeFormat : null;
|
|
1161
|
+
this.TypeFamily = 'TypeFamily' in params ? params.TypeFamily : null;
|
|
1162
|
+
this.SubOrderPayStatus = 'SubOrderPayStatus' in params ? params.SubOrderPayStatus : null;
|
|
1163
|
+
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* CreateSite request structure.
|
|
1169
|
+
* @class
|
|
1170
|
+
*/
|
|
1171
|
+
class CreateSiteRequest extends AbstractModel {
|
|
1172
|
+
constructor(){
|
|
1173
|
+
super();
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* Site name
|
|
1177
|
+
* @type {string || null}
|
|
1178
|
+
*/
|
|
1179
|
+
this.Name = null;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Country where the site is located
|
|
1183
|
+
* @type {string || null}
|
|
1184
|
+
*/
|
|
1185
|
+
this.Country = null;
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* Province where the site is located
|
|
1189
|
+
* @type {string || null}
|
|
1190
|
+
*/
|
|
1191
|
+
this.Province = null;
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* City where the site is located
|
|
1195
|
+
* @type {string || null}
|
|
1196
|
+
*/
|
|
1197
|
+
this.City = null;
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* Detailed address of the site
|
|
1201
|
+
* @type {string || null}
|
|
1202
|
+
*/
|
|
1203
|
+
this.AddressLine = null;
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* Site description
|
|
1207
|
+
* @type {string || null}
|
|
1208
|
+
*/
|
|
1209
|
+
this.Description = null;
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* Note
|
|
1213
|
+
* @type {string || null}
|
|
1214
|
+
*/
|
|
1215
|
+
this.Note = null;
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* You are using optical fiber type to connect the CDC device to the network Single-mode or multi-mode fibers are available.
|
|
1219
|
+
* @type {string || null}
|
|
1220
|
+
*/
|
|
1221
|
+
this.FiberType = null;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Optical standard used to connect the CDC device to the network This field depends on the uplink speed, optical fiber type, and distance to upstream equipment.
|
|
1225
|
+
* @type {string || null}
|
|
1226
|
+
*/
|
|
1227
|
+
this.OpticalStandard = null;
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* Type of power connector
|
|
1231
|
+
* @type {string || null}
|
|
1232
|
+
*/
|
|
1233
|
+
this.PowerConnectors = null;
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* Whether power is supplied from above or below the rack
|
|
1237
|
+
* @type {string || null}
|
|
1238
|
+
*/
|
|
1239
|
+
this.PowerFeedDrop = null;
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* Maximum weight capacity (KG)
|
|
1243
|
+
* @type {number || null}
|
|
1244
|
+
*/
|
|
1245
|
+
this.MaxWeight = null;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Power consumption (KW)
|
|
1249
|
+
* @type {number || null}
|
|
1250
|
+
*/
|
|
1251
|
+
this.PowerDrawKva = null;
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* Uplink speed from the network to Tencent Cloud Region
|
|
1255
|
+
* @type {number || null}
|
|
1256
|
+
*/
|
|
1257
|
+
this.UplinkSpeedGbps = null;
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* Number of uplinks used by each CDC device (2 devices per rack) when connected to the network
|
|
1261
|
+
* @type {number || null}
|
|
1262
|
+
*/
|
|
1263
|
+
this.UplinkCount = null;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Whether the following environmental conditions are met:
|
|
1267
|
+
1. There are no material requirements or the acceptance standard on site that will affect the delivery and installation of the CDC device.
|
|
1268
|
+
2. The following conditions are met for finalized rack positions:
|
|
1269
|
+
Temperature ranges from 41 to 104°F (5 to 40°C).
|
|
1270
|
+
Humidity ranges from 10°F (-12°C) to 70°F (21°C) and relative humidity ranges from 8% RH to 80% RH.
|
|
1271
|
+
Air flows from front to back at the rack position and there is sufficient air in CFM (cubic feet per minute). The air quantity in CFM must be 145.8 times the power consumption (in KVA) of CDC.
|
|
1272
|
+
* @type {boolean || null}
|
|
1273
|
+
*/
|
|
1274
|
+
this.ConditionRequirement = null;
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* Whether the following dimension conditions are met:
|
|
1278
|
+
Your loading dock can accommodate one rack container (H x W x D = 94" x 54" x 48").
|
|
1279
|
+
You can provide a clear route from the delivery point of your rack (H x W x D = 80" x 24" x 48") to its final installation location. You should consider platforms, corridors, doors, turns, ramps, freight elevators as well as other access restrictions when measuring the depth.
|
|
1280
|
+
There shall be a 48" or greater front clearance and a 24" or greater rear clearance where the CDC is finally installed.
|
|
1281
|
+
* @type {boolean || null}
|
|
1282
|
+
*/
|
|
1283
|
+
this.DimensionRequirement = null;
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* Whether redundant upstream equipment (switch or router) is provided so that both network devices can be connected to the network.
|
|
1287
|
+
* @type {boolean || null}
|
|
1288
|
+
*/
|
|
1289
|
+
this.RedundantNetworking = null;
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* Postal code of the site area
|
|
1293
|
+
* @type {number || null}
|
|
1294
|
+
*/
|
|
1295
|
+
this.PostalCode = null;
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* Detailed address of the site area (to be added)
|
|
1299
|
+
* @type {string || null}
|
|
1300
|
+
*/
|
|
1301
|
+
this.OptionalAddressLine = null;
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Whether you need help from Tencent Cloud for rack installation?
|
|
1305
|
+
* @type {boolean || null}
|
|
1306
|
+
*/
|
|
1307
|
+
this.NeedHelp = null;
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Whether there is power redundancy?
|
|
1311
|
+
* @type {boolean || null}
|
|
1312
|
+
*/
|
|
1313
|
+
this.RedundantPower = null;
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* Whether there is an upstream circuit breaker?
|
|
1317
|
+
* @type {boolean || null}
|
|
1318
|
+
*/
|
|
1319
|
+
this.BreakerRequirement = null;
|
|
1320
|
+
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* @private
|
|
1325
|
+
*/
|
|
1326
|
+
deserialize(params) {
|
|
1327
|
+
if (!params) {
|
|
1328
|
+
return;
|
|
1329
|
+
}
|
|
1330
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1331
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
1332
|
+
this.Province = 'Province' in params ? params.Province : null;
|
|
1333
|
+
this.City = 'City' in params ? params.City : null;
|
|
1334
|
+
this.AddressLine = 'AddressLine' in params ? params.AddressLine : null;
|
|
1335
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1336
|
+
this.Note = 'Note' in params ? params.Note : null;
|
|
1337
|
+
this.FiberType = 'FiberType' in params ? params.FiberType : null;
|
|
1338
|
+
this.OpticalStandard = 'OpticalStandard' in params ? params.OpticalStandard : null;
|
|
1339
|
+
this.PowerConnectors = 'PowerConnectors' in params ? params.PowerConnectors : null;
|
|
1340
|
+
this.PowerFeedDrop = 'PowerFeedDrop' in params ? params.PowerFeedDrop : null;
|
|
1341
|
+
this.MaxWeight = 'MaxWeight' in params ? params.MaxWeight : null;
|
|
1342
|
+
this.PowerDrawKva = 'PowerDrawKva' in params ? params.PowerDrawKva : null;
|
|
1343
|
+
this.UplinkSpeedGbps = 'UplinkSpeedGbps' in params ? params.UplinkSpeedGbps : null;
|
|
1344
|
+
this.UplinkCount = 'UplinkCount' in params ? params.UplinkCount : null;
|
|
1345
|
+
this.ConditionRequirement = 'ConditionRequirement' in params ? params.ConditionRequirement : null;
|
|
1346
|
+
this.DimensionRequirement = 'DimensionRequirement' in params ? params.DimensionRequirement : null;
|
|
1347
|
+
this.RedundantNetworking = 'RedundantNetworking' in params ? params.RedundantNetworking : null;
|
|
1348
|
+
this.PostalCode = 'PostalCode' in params ? params.PostalCode : null;
|
|
1349
|
+
this.OptionalAddressLine = 'OptionalAddressLine' in params ? params.OptionalAddressLine : null;
|
|
1350
|
+
this.NeedHelp = 'NeedHelp' in params ? params.NeedHelp : null;
|
|
1351
|
+
this.RedundantPower = 'RedundantPower' in params ? params.RedundantPower : null;
|
|
1352
|
+
this.BreakerRequirement = 'BreakerRequirement' in params ? params.BreakerRequirement : null;
|
|
1353
|
+
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* DescribeDedicatedSupportedZones request structure.
|
|
1359
|
+
* @class
|
|
1360
|
+
*/
|
|
1361
|
+
class DescribeDedicatedSupportedZonesRequest extends AbstractModel {
|
|
1362
|
+
constructor(){
|
|
1363
|
+
super();
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* List of input regions
|
|
1367
|
+
* @type {Array.<number> || null}
|
|
1368
|
+
*/
|
|
1369
|
+
this.Regions = null;
|
|
1370
|
+
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* @private
|
|
1375
|
+
*/
|
|
1376
|
+
deserialize(params) {
|
|
1377
|
+
if (!params) {
|
|
1378
|
+
return;
|
|
1379
|
+
}
|
|
1380
|
+
this.Regions = 'Regions' in params ? params.Regions : null;
|
|
1381
|
+
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* DedicatedClusterType => (Id, Count)
|
|
1387
|
+
* @class
|
|
1388
|
+
*/
|
|
1389
|
+
class DedicatedClusterTypeInfo extends AbstractModel {
|
|
1390
|
+
constructor(){
|
|
1391
|
+
super();
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* Cluster type id
|
|
1395
|
+
* @type {string || null}
|
|
1396
|
+
*/
|
|
1397
|
+
this.Id = null;
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* Cluster type count
|
|
1401
|
+
* @type {number || null}
|
|
1402
|
+
*/
|
|
1403
|
+
this.Count = null;
|
|
1404
|
+
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* @private
|
|
1409
|
+
*/
|
|
1410
|
+
deserialize(params) {
|
|
1411
|
+
if (!params) {
|
|
1412
|
+
return;
|
|
1413
|
+
}
|
|
1414
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
1415
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
1416
|
+
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* ModifyOrderStatus response structure.
|
|
1422
|
+
* @class
|
|
1423
|
+
*/
|
|
1424
|
+
class ModifyOrderStatusResponse extends AbstractModel {
|
|
1425
|
+
constructor(){
|
|
1426
|
+
super();
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* 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.
|
|
1430
|
+
* @type {string || null}
|
|
1431
|
+
*/
|
|
1432
|
+
this.RequestId = null;
|
|
1433
|
+
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* @private
|
|
1438
|
+
*/
|
|
1439
|
+
deserialize(params) {
|
|
1440
|
+
if (!params) {
|
|
1441
|
+
return;
|
|
1442
|
+
}
|
|
1443
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1444
|
+
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* Inbound bandwidth data
|
|
1450
|
+
* @class
|
|
1451
|
+
*/
|
|
1452
|
+
class InBandwidth extends AbstractModel {
|
|
1453
|
+
constructor(){
|
|
1454
|
+
super();
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Timestamp
|
|
1458
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1459
|
+
* @type {Array.<number> || null}
|
|
1460
|
+
*/
|
|
1461
|
+
this.Timestamps = null;
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* Time-specific value
|
|
1465
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1466
|
+
* @type {Array.<number> || null}
|
|
1467
|
+
*/
|
|
1468
|
+
this.Values = null;
|
|
1469
|
+
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* @private
|
|
1474
|
+
*/
|
|
1475
|
+
deserialize(params) {
|
|
1476
|
+
if (!params) {
|
|
1477
|
+
return;
|
|
1478
|
+
}
|
|
1479
|
+
this.Timestamps = 'Timestamps' in params ? params.Timestamps : null;
|
|
1480
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
1481
|
+
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* DescribeDedicatedClusterCosCapacity request structure.
|
|
1487
|
+
* @class
|
|
1488
|
+
*/
|
|
1489
|
+
class DescribeDedicatedClusterCosCapacityRequest extends AbstractModel {
|
|
1490
|
+
constructor(){
|
|
1491
|
+
super();
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* Queried CDC id
|
|
1495
|
+
* @type {string || null}
|
|
1496
|
+
*/
|
|
1497
|
+
this.DedicatedClusterId = null;
|
|
1498
|
+
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* @private
|
|
1503
|
+
*/
|
|
1504
|
+
deserialize(params) {
|
|
1505
|
+
if (!params) {
|
|
1506
|
+
return;
|
|
1507
|
+
}
|
|
1508
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
1509
|
+
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* DescribeSites response structure.
|
|
1515
|
+
* @class
|
|
1516
|
+
*/
|
|
1517
|
+
class DescribeSitesResponse extends AbstractModel {
|
|
1518
|
+
constructor(){
|
|
1519
|
+
super();
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* List of sites that meet the query conditions
|
|
1523
|
+
* @type {Array.<Site> || null}
|
|
1524
|
+
*/
|
|
1525
|
+
this.SiteSet = null;
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* Number of sites that meet the conditions
|
|
1529
|
+
* @type {number || null}
|
|
1530
|
+
*/
|
|
1531
|
+
this.TotalCount = null;
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* 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.
|
|
1535
|
+
* @type {string || null}
|
|
1536
|
+
*/
|
|
1537
|
+
this.RequestId = null;
|
|
1538
|
+
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* @private
|
|
1543
|
+
*/
|
|
1544
|
+
deserialize(params) {
|
|
1545
|
+
if (!params) {
|
|
1546
|
+
return;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
if (params.SiteSet) {
|
|
1550
|
+
this.SiteSet = new Array();
|
|
1551
|
+
for (let z in params.SiteSet) {
|
|
1552
|
+
let obj = new Site();
|
|
1553
|
+
obj.deserialize(params.SiteSet[z]);
|
|
1554
|
+
this.SiteSet.push(obj);
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1558
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1559
|
+
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* DescribeSitesDetail request structure.
|
|
1565
|
+
* @class
|
|
1566
|
+
*/
|
|
1567
|
+
class DescribeSitesDetailRequest extends AbstractModel {
|
|
1568
|
+
constructor(){
|
|
1569
|
+
super();
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* Filter by site id.
|
|
1573
|
+
* @type {Array.<string> || null}
|
|
1574
|
+
*/
|
|
1575
|
+
this.SiteIds = null;
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
1579
|
+
* @type {number || null}
|
|
1580
|
+
*/
|
|
1581
|
+
this.Offset = null;
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
1585
|
+
* @type {number || null}
|
|
1586
|
+
*/
|
|
1587
|
+
this.Limit = null;
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Fuzzy match by site name.
|
|
1591
|
+
* @type {string || null}
|
|
1592
|
+
*/
|
|
1593
|
+
this.Name = null;
|
|
1594
|
+
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* @private
|
|
1599
|
+
*/
|
|
1600
|
+
deserialize(params) {
|
|
1601
|
+
if (!params) {
|
|
1602
|
+
return;
|
|
1603
|
+
}
|
|
1604
|
+
this.SiteIds = 'SiteIds' in params ? params.SiteIds : null;
|
|
1605
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1606
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1607
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1608
|
+
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* Time-stamped detailed data
|
|
1614
|
+
* @class
|
|
1615
|
+
*/
|
|
1616
|
+
class DetailData extends AbstractModel {
|
|
1617
|
+
constructor(){
|
|
1618
|
+
super();
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* Timestamp
|
|
1622
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1623
|
+
* @type {Array.<number> || null}
|
|
1624
|
+
*/
|
|
1625
|
+
this.Timestamps = null;
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* Corresponding value
|
|
1629
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1630
|
+
* @type {Array.<number> || null}
|
|
1631
|
+
*/
|
|
1632
|
+
this.Values = null;
|
|
1633
|
+
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* @private
|
|
1638
|
+
*/
|
|
1639
|
+
deserialize(params) {
|
|
1640
|
+
if (!params) {
|
|
1641
|
+
return;
|
|
1642
|
+
}
|
|
1643
|
+
this.Timestamps = 'Timestamps' in params ? params.Timestamps : null;
|
|
1644
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
1645
|
+
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* CDC order
|
|
1651
|
+
* @class
|
|
1652
|
+
*/
|
|
1653
|
+
class DedicatedClusterOrder extends AbstractModel {
|
|
1654
|
+
constructor(){
|
|
1655
|
+
super();
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* CDC id
|
|
1659
|
+
* @type {string || null}
|
|
1660
|
+
*/
|
|
1661
|
+
this.DedicatedClusterId = null;
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* CDC type id (moved to the next level, obsolete and will be deleted later)
|
|
1665
|
+
* @type {string || null}
|
|
1666
|
+
*/
|
|
1667
|
+
this.DedicatedClusterTypeId = null;
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* List of supported storage types (moved to the next level, obsolete and will be deleted later)
|
|
1671
|
+
* @type {Array.<string> || null}
|
|
1672
|
+
*/
|
|
1673
|
+
this.SupportedStorageType = null;
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Supported uplink switch transmission rate (GiB) (moved to the next level, obsolete and will be deleted later)
|
|
1677
|
+
* @type {Array.<number> || null}
|
|
1678
|
+
*/
|
|
1679
|
+
this.SupportedUplinkSpeed = null;
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* List of supported instance families (moved to the next level, obsolete and will be deleted later)
|
|
1683
|
+
* @type {Array.<string> || null}
|
|
1684
|
+
*/
|
|
1685
|
+
this.SupportedInstanceFamily = null;
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* Floor weight capacity (KG)
|
|
1689
|
+
* @type {number || null}
|
|
1690
|
+
*/
|
|
1691
|
+
this.Weight = null;
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* Power requirements (KW)
|
|
1695
|
+
* @type {number || null}
|
|
1696
|
+
*/
|
|
1697
|
+
this.PowerDraw = null;
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Order status
|
|
1701
|
+
* @type {string || null}
|
|
1702
|
+
*/
|
|
1703
|
+
this.OrderStatus = null;
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* Order creation time
|
|
1707
|
+
* @type {string || null}
|
|
1708
|
+
*/
|
|
1709
|
+
this.CreateTime = null;
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* Large order ID
|
|
1713
|
+
* @type {string || null}
|
|
1714
|
+
*/
|
|
1715
|
+
this.DedicatedClusterOrderId = null;
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* Order type, CREATE or EXTEND
|
|
1719
|
+
* @type {string || null}
|
|
1720
|
+
*/
|
|
1721
|
+
this.Action = null;
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* List of sub-order details
|
|
1725
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1726
|
+
* @type {Array.<DedicatedClusterOrderItem> || null}
|
|
1727
|
+
*/
|
|
1728
|
+
this.DedicatedClusterOrderItems = null;
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* CPU value
|
|
1732
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1733
|
+
* @type {number || null}
|
|
1734
|
+
*/
|
|
1735
|
+
this.Cpu = null;
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* MEM value
|
|
1739
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1740
|
+
* @type {number || null}
|
|
1741
|
+
*/
|
|
1742
|
+
this.Mem = null;
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* GPU value
|
|
1746
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1747
|
+
* @type {number || null}
|
|
1748
|
+
*/
|
|
1749
|
+
this.Gpu = null;
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* 0 for unpaid, 1 for paid
|
|
1753
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1754
|
+
* @type {number || null}
|
|
1755
|
+
*/
|
|
1756
|
+
this.PayStatus = null;
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* Payment method: lump-sum, monthly, and annually
|
|
1760
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1761
|
+
* @type {string || null}
|
|
1762
|
+
*/
|
|
1763
|
+
this.PayType = null;
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* Unit of purchased period
|
|
1767
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1768
|
+
* @type {string || null}
|
|
1769
|
+
*/
|
|
1770
|
+
this.TimeUnit = null;
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* Purchased period
|
|
1774
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1775
|
+
* @type {number || null}
|
|
1776
|
+
*/
|
|
1777
|
+
this.TimeSpan = null;
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* Order type
|
|
1781
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1782
|
+
* @type {string || null}
|
|
1783
|
+
*/
|
|
1784
|
+
this.OrderType = null;
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
*
|
|
1788
|
+
* @type {string || null}
|
|
1789
|
+
*/
|
|
1790
|
+
this.CheckStatus = null;
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
*
|
|
1794
|
+
* @type {string || null}
|
|
1795
|
+
*/
|
|
1796
|
+
this.DeliverExpectTime = null;
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
*
|
|
1800
|
+
* @type {string || null}
|
|
1801
|
+
*/
|
|
1802
|
+
this.DeliverFinishTime = null;
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
*
|
|
1806
|
+
* @type {string || null}
|
|
1807
|
+
*/
|
|
1808
|
+
this.CheckExpectTime = null;
|
|
1809
|
+
|
|
1810
|
+
/**
|
|
1811
|
+
*
|
|
1812
|
+
* @type {string || null}
|
|
1813
|
+
*/
|
|
1814
|
+
this.CheckFinishTime = null;
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
*
|
|
1818
|
+
* @type {string || null}
|
|
1819
|
+
*/
|
|
1820
|
+
this.OrderSLA = null;
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
*
|
|
1824
|
+
* @type {string || null}
|
|
1825
|
+
*/
|
|
1826
|
+
this.OrderPayPlan = null;
|
|
1827
|
+
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
* @private
|
|
1832
|
+
*/
|
|
1833
|
+
deserialize(params) {
|
|
1834
|
+
if (!params) {
|
|
1835
|
+
return;
|
|
1836
|
+
}
|
|
1837
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
1838
|
+
this.DedicatedClusterTypeId = 'DedicatedClusterTypeId' in params ? params.DedicatedClusterTypeId : null;
|
|
1839
|
+
this.SupportedStorageType = 'SupportedStorageType' in params ? params.SupportedStorageType : null;
|
|
1840
|
+
this.SupportedUplinkSpeed = 'SupportedUplinkSpeed' in params ? params.SupportedUplinkSpeed : null;
|
|
1841
|
+
this.SupportedInstanceFamily = 'SupportedInstanceFamily' in params ? params.SupportedInstanceFamily : null;
|
|
1842
|
+
this.Weight = 'Weight' in params ? params.Weight : null;
|
|
1843
|
+
this.PowerDraw = 'PowerDraw' in params ? params.PowerDraw : null;
|
|
1844
|
+
this.OrderStatus = 'OrderStatus' in params ? params.OrderStatus : null;
|
|
1845
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1846
|
+
this.DedicatedClusterOrderId = 'DedicatedClusterOrderId' in params ? params.DedicatedClusterOrderId : null;
|
|
1847
|
+
this.Action = 'Action' in params ? params.Action : null;
|
|
1848
|
+
|
|
1849
|
+
if (params.DedicatedClusterOrderItems) {
|
|
1850
|
+
this.DedicatedClusterOrderItems = new Array();
|
|
1851
|
+
for (let z in params.DedicatedClusterOrderItems) {
|
|
1852
|
+
let obj = new DedicatedClusterOrderItem();
|
|
1853
|
+
obj.deserialize(params.DedicatedClusterOrderItems[z]);
|
|
1854
|
+
this.DedicatedClusterOrderItems.push(obj);
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
this.Cpu = 'Cpu' in params ? params.Cpu : null;
|
|
1858
|
+
this.Mem = 'Mem' in params ? params.Mem : null;
|
|
1859
|
+
this.Gpu = 'Gpu' in params ? params.Gpu : null;
|
|
1860
|
+
this.PayStatus = 'PayStatus' in params ? params.PayStatus : null;
|
|
1861
|
+
this.PayType = 'PayType' in params ? params.PayType : null;
|
|
1862
|
+
this.TimeUnit = 'TimeUnit' in params ? params.TimeUnit : null;
|
|
1863
|
+
this.TimeSpan = 'TimeSpan' in params ? params.TimeSpan : null;
|
|
1864
|
+
this.OrderType = 'OrderType' in params ? params.OrderType : null;
|
|
1865
|
+
this.CheckStatus = 'CheckStatus' in params ? params.CheckStatus : null;
|
|
1866
|
+
this.DeliverExpectTime = 'DeliverExpectTime' in params ? params.DeliverExpectTime : null;
|
|
1867
|
+
this.DeliverFinishTime = 'DeliverFinishTime' in params ? params.DeliverFinishTime : null;
|
|
1868
|
+
this.CheckExpectTime = 'CheckExpectTime' in params ? params.CheckExpectTime : null;
|
|
1869
|
+
this.CheckFinishTime = 'CheckFinishTime' in params ? params.CheckFinishTime : null;
|
|
1870
|
+
this.OrderSLA = 'OrderSLA' in params ? params.OrderSLA : null;
|
|
1871
|
+
this.OrderPayPlan = 'OrderPayPlan' in params ? params.OrderPayPlan : null;
|
|
1872
|
+
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* ModifyDedicatedClusterInfo request structure.
|
|
1878
|
+
* @class
|
|
1879
|
+
*/
|
|
1880
|
+
class ModifyDedicatedClusterInfoRequest extends AbstractModel {
|
|
1881
|
+
constructor(){
|
|
1882
|
+
super();
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* CDC ID
|
|
1886
|
+
* @type {string || null}
|
|
1887
|
+
*/
|
|
1888
|
+
this.DedicatedClusterId = null;
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* New cluster name
|
|
1892
|
+
* @type {string || null}
|
|
1893
|
+
*/
|
|
1894
|
+
this.Name = null;
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* New cluster AZ
|
|
1898
|
+
* @type {string || null}
|
|
1899
|
+
*/
|
|
1900
|
+
this.Zone = null;
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* New cluster description
|
|
1904
|
+
* @type {string || null}
|
|
1905
|
+
*/
|
|
1906
|
+
this.Description = null;
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* Site where the cluster resides
|
|
1910
|
+
* @type {string || null}
|
|
1911
|
+
*/
|
|
1912
|
+
this.SiteId = null;
|
|
1913
|
+
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* @private
|
|
1918
|
+
*/
|
|
1919
|
+
deserialize(params) {
|
|
1920
|
+
if (!params) {
|
|
1921
|
+
return;
|
|
1922
|
+
}
|
|
1923
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
1924
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1925
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
1926
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1927
|
+
this.SiteId = 'SiteId' in params ? params.SiteId : null;
|
|
1928
|
+
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* DescribeDedicatedClusterHosts request structure.
|
|
1934
|
+
* @class
|
|
1935
|
+
*/
|
|
1936
|
+
class DescribeDedicatedClusterHostsRequest extends AbstractModel {
|
|
1937
|
+
constructor(){
|
|
1938
|
+
super();
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* Cluster id
|
|
1942
|
+
* @type {string || null}
|
|
1943
|
+
*/
|
|
1944
|
+
this.DedicatedClusterId = null;
|
|
1945
|
+
|
|
1946
|
+
/**
|
|
1947
|
+
* Offset, 0 by default
|
|
1948
|
+
* @type {number || null}
|
|
1949
|
+
*/
|
|
1950
|
+
this.Offset = null;
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* Number of returned pieces, 20 by default
|
|
1954
|
+
* @type {number || null}
|
|
1955
|
+
*/
|
|
1956
|
+
this.Limit = null;
|
|
1957
|
+
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* @private
|
|
1962
|
+
*/
|
|
1963
|
+
deserialize(params) {
|
|
1964
|
+
if (!params) {
|
|
1965
|
+
return;
|
|
1966
|
+
}
|
|
1967
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
1968
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1969
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1970
|
+
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
/**
|
|
1975
|
+
* CreateDedicatedClusterOrder response structure.
|
|
1976
|
+
* @class
|
|
1977
|
+
*/
|
|
1978
|
+
class CreateDedicatedClusterOrderResponse extends AbstractModel {
|
|
1979
|
+
constructor(){
|
|
1980
|
+
super();
|
|
1981
|
+
|
|
1982
|
+
/**
|
|
1983
|
+
* CDC order id
|
|
1984
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
1985
|
+
* @type {string || null}
|
|
1986
|
+
*/
|
|
1987
|
+
this.DedicatedClusterOrderId = null;
|
|
1988
|
+
|
|
1989
|
+
/**
|
|
1990
|
+
* 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.
|
|
1991
|
+
* @type {string || null}
|
|
1992
|
+
*/
|
|
1993
|
+
this.RequestId = null;
|
|
1994
|
+
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* @private
|
|
1999
|
+
*/
|
|
2000
|
+
deserialize(params) {
|
|
2001
|
+
if (!params) {
|
|
2002
|
+
return;
|
|
2003
|
+
}
|
|
2004
|
+
this.DedicatedClusterOrderId = 'DedicatedClusterOrderId' in params ? params.DedicatedClusterOrderId : null;
|
|
2005
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2006
|
+
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* DescribeDedicatedClusterCosCapacity response structure.
|
|
2012
|
+
* @class
|
|
2013
|
+
*/
|
|
2014
|
+
class DescribeDedicatedClusterCosCapacityResponse extends AbstractModel {
|
|
2015
|
+
constructor(){
|
|
2016
|
+
super();
|
|
2017
|
+
|
|
2018
|
+
/**
|
|
2019
|
+
* Cluster COS capacity, in GB
|
|
2020
|
+
* @type {CosCapacity || null}
|
|
2021
|
+
*/
|
|
2022
|
+
this.CosCapacity = null;
|
|
2023
|
+
|
|
2024
|
+
/**
|
|
2025
|
+
* 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.
|
|
2026
|
+
* @type {string || null}
|
|
2027
|
+
*/
|
|
2028
|
+
this.RequestId = null;
|
|
2029
|
+
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
/**
|
|
2033
|
+
* @private
|
|
2034
|
+
*/
|
|
2035
|
+
deserialize(params) {
|
|
2036
|
+
if (!params) {
|
|
2037
|
+
return;
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
if (params.CosCapacity) {
|
|
2041
|
+
let obj = new CosCapacity();
|
|
2042
|
+
obj.deserialize(params.CosCapacity)
|
|
2043
|
+
this.CosCapacity = obj;
|
|
2044
|
+
}
|
|
2045
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2046
|
+
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* Information of RegionZoneInfo
|
|
2052
|
+
* @class
|
|
2053
|
+
*/
|
|
2054
|
+
class RegionZoneInfo extends AbstractModel {
|
|
2055
|
+
constructor(){
|
|
2056
|
+
super();
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* Region id
|
|
2060
|
+
* @type {number || null}
|
|
2061
|
+
*/
|
|
2062
|
+
this.RegionId = null;
|
|
2063
|
+
|
|
2064
|
+
/**
|
|
2065
|
+
* ZoneInfo array
|
|
2066
|
+
* @type {Array.<ZoneInfo> || null}
|
|
2067
|
+
*/
|
|
2068
|
+
this.Zones = null;
|
|
2069
|
+
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* @private
|
|
2074
|
+
*/
|
|
2075
|
+
deserialize(params) {
|
|
2076
|
+
if (!params) {
|
|
2077
|
+
return;
|
|
2078
|
+
}
|
|
2079
|
+
this.RegionId = 'RegionId' in params ? params.RegionId : null;
|
|
2080
|
+
|
|
2081
|
+
if (params.Zones) {
|
|
2082
|
+
this.Zones = new Array();
|
|
2083
|
+
for (let z in params.Zones) {
|
|
2084
|
+
let obj = new ZoneInfo();
|
|
2085
|
+
obj.deserialize(params.Zones[z]);
|
|
2086
|
+
this.Zones.push(obj);
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* CreateDedicatedCluster response structure.
|
|
2095
|
+
* @class
|
|
2096
|
+
*/
|
|
2097
|
+
class CreateDedicatedClusterResponse extends AbstractModel {
|
|
2098
|
+
constructor(){
|
|
2099
|
+
super();
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* Created CDC id
|
|
2103
|
+
* @type {string || null}
|
|
2104
|
+
*/
|
|
2105
|
+
this.DedicatedClusterId = null;
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* 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.
|
|
2109
|
+
* @type {string || null}
|
|
2110
|
+
*/
|
|
2111
|
+
this.RequestId = null;
|
|
2112
|
+
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* @private
|
|
2117
|
+
*/
|
|
2118
|
+
deserialize(params) {
|
|
2119
|
+
if (!params) {
|
|
2120
|
+
return;
|
|
2121
|
+
}
|
|
2122
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
2123
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2124
|
+
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* CDC list
|
|
2130
|
+
* @class
|
|
2131
|
+
*/
|
|
2132
|
+
class DedicatedCluster extends AbstractModel {
|
|
2133
|
+
constructor(){
|
|
2134
|
+
super();
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* CDC id, e.g., cluster-xxxxx.
|
|
2138
|
+
* @type {string || null}
|
|
2139
|
+
*/
|
|
2140
|
+
this.DedicatedClusterId = null;
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* Name of AZ to which the CDC belongs
|
|
2144
|
+
* @type {string || null}
|
|
2145
|
+
*/
|
|
2146
|
+
this.Zone = null;
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* CDC description
|
|
2150
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2151
|
+
* @type {string || null}
|
|
2152
|
+
*/
|
|
2153
|
+
this.Description = null;
|
|
2154
|
+
|
|
2155
|
+
/**
|
|
2156
|
+
* CDC name
|
|
2157
|
+
* @type {string || null}
|
|
2158
|
+
*/
|
|
2159
|
+
this.Name = null;
|
|
2160
|
+
|
|
2161
|
+
/**
|
|
2162
|
+
* Life cycle of the CDC, e.g., PENDING.
|
|
2163
|
+
* @type {string || null}
|
|
2164
|
+
*/
|
|
2165
|
+
this.LifecycleStatus = null;
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* Creation time of the CDC
|
|
2169
|
+
* @type {string || null}
|
|
2170
|
+
*/
|
|
2171
|
+
this.CreateTime = null;
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* Site id to which the CDC belongs
|
|
2175
|
+
* @type {string || null}
|
|
2176
|
+
*/
|
|
2177
|
+
this.SiteId = null;
|
|
2178
|
+
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* @private
|
|
2183
|
+
*/
|
|
2184
|
+
deserialize(params) {
|
|
2185
|
+
if (!params) {
|
|
2186
|
+
return;
|
|
2187
|
+
}
|
|
2188
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
2189
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
2190
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
2191
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
2192
|
+
this.LifecycleStatus = 'LifecycleStatus' in params ? params.LifecycleStatus : null;
|
|
2193
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
2194
|
+
this.SiteId = 'SiteId' in params ? params.SiteId : null;
|
|
2195
|
+
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
/**
|
|
2200
|
+
* DescribeSitesDetail response structure.
|
|
2201
|
+
* @class
|
|
2202
|
+
*/
|
|
2203
|
+
class DescribeSitesDetailResponse extends AbstractModel {
|
|
2204
|
+
constructor(){
|
|
2205
|
+
super();
|
|
2206
|
+
|
|
2207
|
+
/**
|
|
2208
|
+
* Site details
|
|
2209
|
+
* @type {Array.<SiteDetail> || null}
|
|
2210
|
+
*/
|
|
2211
|
+
this.SiteDetailSet = null;
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* Total number of sites that meet the conditions
|
|
2215
|
+
* @type {number || null}
|
|
2216
|
+
*/
|
|
2217
|
+
this.TotalCount = null;
|
|
2218
|
+
|
|
2219
|
+
/**
|
|
2220
|
+
* 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.
|
|
2221
|
+
* @type {string || null}
|
|
2222
|
+
*/
|
|
2223
|
+
this.RequestId = null;
|
|
2224
|
+
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
/**
|
|
2228
|
+
* @private
|
|
2229
|
+
*/
|
|
2230
|
+
deserialize(params) {
|
|
2231
|
+
if (!params) {
|
|
2232
|
+
return;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
if (params.SiteDetailSet) {
|
|
2236
|
+
this.SiteDetailSet = new Array();
|
|
2237
|
+
for (let z in params.SiteDetailSet) {
|
|
2238
|
+
let obj = new SiteDetail();
|
|
2239
|
+
obj.deserialize(params.SiteDetailSet[z]);
|
|
2240
|
+
this.SiteDetailSet.push(obj);
|
|
2241
|
+
}
|
|
2242
|
+
}
|
|
2243
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2244
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2245
|
+
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
/**
|
|
2250
|
+
* DescribeDedicatedClusterOrders request structure.
|
|
2251
|
+
* @class
|
|
2252
|
+
*/
|
|
2253
|
+
class DescribeDedicatedClusterOrdersRequest extends AbstractModel {
|
|
2254
|
+
constructor(){
|
|
2255
|
+
super();
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
* Filter by CDC id.
|
|
2259
|
+
* @type {Array.<string> || null}
|
|
2260
|
+
*/
|
|
2261
|
+
this.DedicatedClusterIds = null;
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* Filter by CDC order id.
|
|
2265
|
+
* @type {string || null}
|
|
2266
|
+
*/
|
|
2267
|
+
this.DedicatedClusterOrderIds = null;
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
2271
|
+
* @type {number || null}
|
|
2272
|
+
*/
|
|
2273
|
+
this.Offset = null;
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
2277
|
+
* @type {number || null}
|
|
2278
|
+
*/
|
|
2279
|
+
this.Limit = null;
|
|
2280
|
+
|
|
2281
|
+
/**
|
|
2282
|
+
* The order status is the filter condition: PENDING INCONSTRUCTION DELIVERING DELIVERED EXPIRED CANCELLED OFFLINE
|
|
2283
|
+
* @type {string || null}
|
|
2284
|
+
*/
|
|
2285
|
+
this.Status = null;
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* The order type is the filter condition: CREATE EXTEND
|
|
2289
|
+
* @type {string || null}
|
|
2290
|
+
*/
|
|
2291
|
+
this.ActionType = null;
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
*
|
|
2295
|
+
* @type {Array.<string> || null}
|
|
2296
|
+
*/
|
|
2297
|
+
this.OrderTypes = null;
|
|
2298
|
+
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* @private
|
|
2303
|
+
*/
|
|
2304
|
+
deserialize(params) {
|
|
2305
|
+
if (!params) {
|
|
2306
|
+
return;
|
|
2307
|
+
}
|
|
2308
|
+
this.DedicatedClusterIds = 'DedicatedClusterIds' in params ? params.DedicatedClusterIds : null;
|
|
2309
|
+
this.DedicatedClusterOrderIds = 'DedicatedClusterOrderIds' in params ? params.DedicatedClusterOrderIds : null;
|
|
2310
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2311
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2312
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2313
|
+
this.ActionType = 'ActionType' in params ? params.ActionType : null;
|
|
2314
|
+
this.OrderTypes = 'OrderTypes' in params ? params.OrderTypes : null;
|
|
2315
|
+
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* DescribeDedicatedClusters response structure.
|
|
2321
|
+
* @class
|
|
2322
|
+
*/
|
|
2323
|
+
class DescribeDedicatedClustersResponse extends AbstractModel {
|
|
2324
|
+
constructor(){
|
|
2325
|
+
super();
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* List of CDCs that meet the conditions
|
|
2329
|
+
* @type {Array.<DedicatedCluster> || null}
|
|
2330
|
+
*/
|
|
2331
|
+
this.DedicatedClusterSet = null;
|
|
2332
|
+
|
|
2333
|
+
/**
|
|
2334
|
+
* Total number of CDCs that meet the conditions
|
|
2335
|
+
* @type {number || null}
|
|
2336
|
+
*/
|
|
2337
|
+
this.TotalCount = null;
|
|
2338
|
+
|
|
2339
|
+
/**
|
|
2340
|
+
* 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.
|
|
2341
|
+
* @type {string || null}
|
|
2342
|
+
*/
|
|
2343
|
+
this.RequestId = null;
|
|
2344
|
+
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
/**
|
|
2348
|
+
* @private
|
|
2349
|
+
*/
|
|
2350
|
+
deserialize(params) {
|
|
2351
|
+
if (!params) {
|
|
2352
|
+
return;
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
if (params.DedicatedClusterSet) {
|
|
2356
|
+
this.DedicatedClusterSet = new Array();
|
|
2357
|
+
for (let z in params.DedicatedClusterSet) {
|
|
2358
|
+
let obj = new DedicatedCluster();
|
|
2359
|
+
obj.deserialize(params.DedicatedClusterSet[z]);
|
|
2360
|
+
this.DedicatedClusterSet.push(obj);
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2363
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2364
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2365
|
+
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* Statistic information of hosts in the CDC
|
|
2371
|
+
* @class
|
|
2372
|
+
*/
|
|
2373
|
+
class HostStatistic extends AbstractModel {
|
|
2374
|
+
constructor(){
|
|
2375
|
+
super();
|
|
2376
|
+
|
|
2377
|
+
/**
|
|
2378
|
+
* Host type
|
|
2379
|
+
* @type {string || null}
|
|
2380
|
+
*/
|
|
2381
|
+
this.HostType = null;
|
|
2382
|
+
|
|
2383
|
+
/**
|
|
2384
|
+
* Host model family
|
|
2385
|
+
* @type {string || null}
|
|
2386
|
+
*/
|
|
2387
|
+
this.HostFamily = null;
|
|
2388
|
+
|
|
2389
|
+
/**
|
|
2390
|
+
* Number of CPU cores of host, in cores
|
|
2391
|
+
* @type {number || null}
|
|
2392
|
+
*/
|
|
2393
|
+
this.Cpu = null;
|
|
2394
|
+
|
|
2395
|
+
/**
|
|
2396
|
+
* Host memory, in GB
|
|
2397
|
+
* @type {number || null}
|
|
2398
|
+
*/
|
|
2399
|
+
this.Memory = null;
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* Number of hosts of this type
|
|
2403
|
+
* @type {number || null}
|
|
2404
|
+
*/
|
|
2405
|
+
this.Count = null;
|
|
2406
|
+
|
|
2407
|
+
/**
|
|
2408
|
+
* Average CPU load percentage
|
|
2409
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2410
|
+
* @type {number || null}
|
|
2411
|
+
*/
|
|
2412
|
+
this.CpuAverage = null;
|
|
2413
|
+
|
|
2414
|
+
/**
|
|
2415
|
+
* Average memory usage percentage
|
|
2416
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2417
|
+
* @type {number || null}
|
|
2418
|
+
*/
|
|
2419
|
+
this.MemAverage = null;
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* Average network traffic
|
|
2423
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2424
|
+
* @type {number || null}
|
|
2425
|
+
*/
|
|
2426
|
+
this.NetAverage = null;
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* Detailed CPU monitoring data
|
|
2430
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2431
|
+
* @type {DetailData || null}
|
|
2432
|
+
*/
|
|
2433
|
+
this.CpuDetailData = null;
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Memory details
|
|
2437
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2438
|
+
* @type {DetailData || null}
|
|
2439
|
+
*/
|
|
2440
|
+
this.MemDetailData = null;
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* Network rate details
|
|
2444
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2445
|
+
* @type {DetailData || null}
|
|
2446
|
+
*/
|
|
2447
|
+
this.NetRateDetailData = null;
|
|
2448
|
+
|
|
2449
|
+
/**
|
|
2450
|
+
* Network packet details
|
|
2451
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2452
|
+
* @type {DetailData || null}
|
|
2453
|
+
*/
|
|
2454
|
+
this.NetPacketDetailData = null;
|
|
2455
|
+
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* @private
|
|
2460
|
+
*/
|
|
2461
|
+
deserialize(params) {
|
|
2462
|
+
if (!params) {
|
|
2463
|
+
return;
|
|
2464
|
+
}
|
|
2465
|
+
this.HostType = 'HostType' in params ? params.HostType : null;
|
|
2466
|
+
this.HostFamily = 'HostFamily' in params ? params.HostFamily : null;
|
|
2467
|
+
this.Cpu = 'Cpu' in params ? params.Cpu : null;
|
|
2468
|
+
this.Memory = 'Memory' in params ? params.Memory : null;
|
|
2469
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
2470
|
+
this.CpuAverage = 'CpuAverage' in params ? params.CpuAverage : null;
|
|
2471
|
+
this.MemAverage = 'MemAverage' in params ? params.MemAverage : null;
|
|
2472
|
+
this.NetAverage = 'NetAverage' in params ? params.NetAverage : null;
|
|
2473
|
+
|
|
2474
|
+
if (params.CpuDetailData) {
|
|
2475
|
+
let obj = new DetailData();
|
|
2476
|
+
obj.deserialize(params.CpuDetailData)
|
|
2477
|
+
this.CpuDetailData = obj;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
if (params.MemDetailData) {
|
|
2481
|
+
let obj = new DetailData();
|
|
2482
|
+
obj.deserialize(params.MemDetailData)
|
|
2483
|
+
this.MemDetailData = obj;
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
if (params.NetRateDetailData) {
|
|
2487
|
+
let obj = new DetailData();
|
|
2488
|
+
obj.deserialize(params.NetRateDetailData)
|
|
2489
|
+
this.NetRateDetailData = obj;
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
if (params.NetPacketDetailData) {
|
|
2493
|
+
let obj = new DetailData();
|
|
2494
|
+
obj.deserialize(params.NetPacketDetailData)
|
|
2495
|
+
this.NetPacketDetailData = obj;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
}
|
|
2499
|
+
}
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
*
|
|
2503
|
+
* @class
|
|
2504
|
+
*/
|
|
2505
|
+
class HostDetailInfo extends AbstractModel {
|
|
2506
|
+
constructor(){
|
|
2507
|
+
super();
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
*
|
|
2511
|
+
* @type {string || null}
|
|
2512
|
+
*/
|
|
2513
|
+
this.HostTypeFamily = null;
|
|
2514
|
+
|
|
2515
|
+
/**
|
|
2516
|
+
*
|
|
2517
|
+
* @type {number || null}
|
|
2518
|
+
*/
|
|
2519
|
+
this.CpuTotal = null;
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
*
|
|
2523
|
+
* @type {number || null}
|
|
2524
|
+
*/
|
|
2525
|
+
this.CpuAvailable = null;
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
*
|
|
2529
|
+
* @type {number || null}
|
|
2530
|
+
*/
|
|
2531
|
+
this.MemTotal = null;
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
*
|
|
2535
|
+
* @type {number || null}
|
|
2536
|
+
*/
|
|
2537
|
+
this.MemAvailable = null;
|
|
2538
|
+
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* @private
|
|
2543
|
+
*/
|
|
2544
|
+
deserialize(params) {
|
|
2545
|
+
if (!params) {
|
|
2546
|
+
return;
|
|
2547
|
+
}
|
|
2548
|
+
this.HostTypeFamily = 'HostTypeFamily' in params ? params.HostTypeFamily : null;
|
|
2549
|
+
this.CpuTotal = 'CpuTotal' in params ? params.CpuTotal : null;
|
|
2550
|
+
this.CpuAvailable = 'CpuAvailable' in params ? params.CpuAvailable : null;
|
|
2551
|
+
this.MemTotal = 'MemTotal' in params ? params.MemTotal : null;
|
|
2552
|
+
this.MemAvailable = 'MemAvailable' in params ? params.MemAvailable : null;
|
|
2553
|
+
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
/**
|
|
2558
|
+
* Information about purchased CBS
|
|
2559
|
+
* @class
|
|
2560
|
+
*/
|
|
2561
|
+
class CbsInfo extends AbstractModel {
|
|
2562
|
+
constructor(){
|
|
2563
|
+
super();
|
|
2564
|
+
|
|
2565
|
+
/**
|
|
2566
|
+
* CBS storage size, in TB
|
|
2567
|
+
* @type {number || null}
|
|
2568
|
+
*/
|
|
2569
|
+
this.Size = null;
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* CBS storage type, SSD by default
|
|
2573
|
+
* @type {string || null}
|
|
2574
|
+
*/
|
|
2575
|
+
this.Type = null;
|
|
2576
|
+
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* @private
|
|
2581
|
+
*/
|
|
2582
|
+
deserialize(params) {
|
|
2583
|
+
if (!params) {
|
|
2584
|
+
return;
|
|
2585
|
+
}
|
|
2586
|
+
this.Size = 'Size' in params ? params.Size : null;
|
|
2587
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2588
|
+
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
/**
|
|
2593
|
+
* ModifySiteDeviceInfo response structure.
|
|
2594
|
+
* @class
|
|
2595
|
+
*/
|
|
2596
|
+
class ModifySiteDeviceInfoResponse extends AbstractModel {
|
|
2597
|
+
constructor(){
|
|
2598
|
+
super();
|
|
2599
|
+
|
|
2600
|
+
/**
|
|
2601
|
+
* 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.
|
|
2602
|
+
* @type {string || null}
|
|
2603
|
+
*/
|
|
2604
|
+
this.RequestId = null;
|
|
2605
|
+
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* @private
|
|
2610
|
+
*/
|
|
2611
|
+
deserialize(params) {
|
|
2612
|
+
if (!params) {
|
|
2613
|
+
return;
|
|
2614
|
+
}
|
|
2615
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2616
|
+
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
/**
|
|
2621
|
+
* CreateDedicatedCluster request structure.
|
|
2622
|
+
* @class
|
|
2623
|
+
*/
|
|
2624
|
+
class CreateDedicatedClusterRequest extends AbstractModel {
|
|
2625
|
+
constructor(){
|
|
2626
|
+
super();
|
|
2627
|
+
|
|
2628
|
+
/**
|
|
2629
|
+
* SiteId to which the CDC belongs
|
|
2630
|
+
* @type {string || null}
|
|
2631
|
+
*/
|
|
2632
|
+
this.SiteId = null;
|
|
2633
|
+
|
|
2634
|
+
/**
|
|
2635
|
+
* CDC name
|
|
2636
|
+
* @type {string || null}
|
|
2637
|
+
*/
|
|
2638
|
+
this.Name = null;
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* AZ to which the CDC belongs
|
|
2642
|
+
* @type {string || null}
|
|
2643
|
+
*/
|
|
2644
|
+
this.Zone = null;
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* CDC description
|
|
2648
|
+
* @type {string || null}
|
|
2649
|
+
*/
|
|
2650
|
+
this.Description = null;
|
|
2651
|
+
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* @private
|
|
2656
|
+
*/
|
|
2657
|
+
deserialize(params) {
|
|
2658
|
+
if (!params) {
|
|
2659
|
+
return;
|
|
2660
|
+
}
|
|
2661
|
+
this.SiteId = 'SiteId' in params ? params.SiteId : null;
|
|
2662
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
2663
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
2664
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
2665
|
+
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
/**
|
|
2670
|
+
* DescribeDedicatedClusterHosts response structure.
|
|
2671
|
+
* @class
|
|
2672
|
+
*/
|
|
2673
|
+
class DescribeDedicatedClusterHostsResponse extends AbstractModel {
|
|
2674
|
+
constructor(){
|
|
2675
|
+
super();
|
|
2676
|
+
|
|
2677
|
+
/**
|
|
2678
|
+
* Host information
|
|
2679
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2680
|
+
* @type {Array.<HostInfo> || null}
|
|
2681
|
+
*/
|
|
2682
|
+
this.HostInfoSet = null;
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* Total number of hosts
|
|
2686
|
+
* @type {number || null}
|
|
2687
|
+
*/
|
|
2688
|
+
this.TotalCount = null;
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* 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.
|
|
2692
|
+
* @type {string || null}
|
|
2693
|
+
*/
|
|
2694
|
+
this.RequestId = null;
|
|
2695
|
+
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
/**
|
|
2699
|
+
* @private
|
|
2700
|
+
*/
|
|
2701
|
+
deserialize(params) {
|
|
2702
|
+
if (!params) {
|
|
2703
|
+
return;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
if (params.HostInfoSet) {
|
|
2707
|
+
this.HostInfoSet = new Array();
|
|
2708
|
+
for (let z in params.HostInfoSet) {
|
|
2709
|
+
let obj = new HostInfo();
|
|
2710
|
+
obj.deserialize(params.HostInfoSet[z]);
|
|
2711
|
+
this.HostInfoSet.push(obj);
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2715
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2716
|
+
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
/**
|
|
2721
|
+
* Local network information
|
|
2722
|
+
* @class
|
|
2723
|
+
*/
|
|
2724
|
+
class LocalNetInfo extends AbstractModel {
|
|
2725
|
+
constructor(){
|
|
2726
|
+
super();
|
|
2727
|
+
|
|
2728
|
+
/**
|
|
2729
|
+
* Protocol
|
|
2730
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2731
|
+
* @type {string || null}
|
|
2732
|
+
*/
|
|
2733
|
+
this.Protocol = null;
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
* Network id
|
|
2737
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2738
|
+
* @type {string || null}
|
|
2739
|
+
*/
|
|
2740
|
+
this.VpcId = null;
|
|
2741
|
+
|
|
2742
|
+
/**
|
|
2743
|
+
* Routing information
|
|
2744
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2745
|
+
* @type {string || null}
|
|
2746
|
+
*/
|
|
2747
|
+
this.BGPRoute = null;
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* Local IP
|
|
2751
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
2752
|
+
* @type {string || null}
|
|
2753
|
+
*/
|
|
2754
|
+
this.LocalIp = null;
|
|
2755
|
+
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
/**
|
|
2759
|
+
* @private
|
|
2760
|
+
*/
|
|
2761
|
+
deserialize(params) {
|
|
2762
|
+
if (!params) {
|
|
2763
|
+
return;
|
|
2764
|
+
}
|
|
2765
|
+
this.Protocol = 'Protocol' in params ? params.Protocol : null;
|
|
2766
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
2767
|
+
this.BGPRoute = 'BGPRoute' in params ? params.BGPRoute : null;
|
|
2768
|
+
this.LocalIp = 'LocalIp' in params ? params.LocalIp : null;
|
|
2769
|
+
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
/**
|
|
2774
|
+
* DescribeDedicatedClusterInstanceTypes request structure.
|
|
2775
|
+
* @class
|
|
2776
|
+
*/
|
|
2777
|
+
class DescribeDedicatedClusterInstanceTypesRequest extends AbstractModel {
|
|
2778
|
+
constructor(){
|
|
2779
|
+
super();
|
|
2780
|
+
|
|
2781
|
+
/**
|
|
2782
|
+
* Queried CDC id
|
|
2783
|
+
* @type {string || null}
|
|
2784
|
+
*/
|
|
2785
|
+
this.DedicatedClusterId = null;
|
|
2786
|
+
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
/**
|
|
2790
|
+
* @private
|
|
2791
|
+
*/
|
|
2792
|
+
deserialize(params) {
|
|
2793
|
+
if (!params) {
|
|
2794
|
+
return;
|
|
2795
|
+
}
|
|
2796
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
2797
|
+
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
/**
|
|
2802
|
+
* ModifyDedicatedClusterInfo response structure.
|
|
2803
|
+
* @class
|
|
2804
|
+
*/
|
|
2805
|
+
class ModifyDedicatedClusterInfoResponse extends AbstractModel {
|
|
2806
|
+
constructor(){
|
|
2807
|
+
super();
|
|
2808
|
+
|
|
2809
|
+
/**
|
|
2810
|
+
* 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.
|
|
2811
|
+
* @type {string || null}
|
|
2812
|
+
*/
|
|
2813
|
+
this.RequestId = null;
|
|
2814
|
+
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
/**
|
|
2818
|
+
* @private
|
|
2819
|
+
*/
|
|
2820
|
+
deserialize(params) {
|
|
2821
|
+
if (!params) {
|
|
2822
|
+
return;
|
|
2823
|
+
}
|
|
2824
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2825
|
+
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
/**
|
|
2830
|
+
* ModifySiteInfo request structure.
|
|
2831
|
+
* @class
|
|
2832
|
+
*/
|
|
2833
|
+
class ModifySiteInfoRequest extends AbstractModel {
|
|
2834
|
+
constructor(){
|
|
2835
|
+
super();
|
|
2836
|
+
|
|
2837
|
+
/**
|
|
2838
|
+
* Equipment room ID
|
|
2839
|
+
* @type {string || null}
|
|
2840
|
+
*/
|
|
2841
|
+
this.SiteId = null;
|
|
2842
|
+
|
|
2843
|
+
/**
|
|
2844
|
+
* Site name
|
|
2845
|
+
* @type {string || null}
|
|
2846
|
+
*/
|
|
2847
|
+
this.Name = null;
|
|
2848
|
+
|
|
2849
|
+
/**
|
|
2850
|
+
* Site description
|
|
2851
|
+
* @type {string || null}
|
|
2852
|
+
*/
|
|
2853
|
+
this.Description = null;
|
|
2854
|
+
|
|
2855
|
+
/**
|
|
2856
|
+
* Note
|
|
2857
|
+
* @type {string || null}
|
|
2858
|
+
*/
|
|
2859
|
+
this.Note = null;
|
|
2860
|
+
|
|
2861
|
+
/**
|
|
2862
|
+
* Country where the site is located
|
|
2863
|
+
* @type {string || null}
|
|
2864
|
+
*/
|
|
2865
|
+
this.Country = null;
|
|
2866
|
+
|
|
2867
|
+
/**
|
|
2868
|
+
* Province where the site is located
|
|
2869
|
+
* @type {string || null}
|
|
2870
|
+
*/
|
|
2871
|
+
this.Province = null;
|
|
2872
|
+
|
|
2873
|
+
/**
|
|
2874
|
+
* City where the site is located
|
|
2875
|
+
* @type {string || null}
|
|
2876
|
+
*/
|
|
2877
|
+
this.City = null;
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* Postal code of the site area
|
|
2881
|
+
* @type {string || null}
|
|
2882
|
+
*/
|
|
2883
|
+
this.PostalCode = null;
|
|
2884
|
+
|
|
2885
|
+
/**
|
|
2886
|
+
* Detailed address of the site
|
|
2887
|
+
* @type {string || null}
|
|
2888
|
+
*/
|
|
2889
|
+
this.AddressLine = null;
|
|
2890
|
+
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
/**
|
|
2894
|
+
* @private
|
|
2895
|
+
*/
|
|
2896
|
+
deserialize(params) {
|
|
2897
|
+
if (!params) {
|
|
2898
|
+
return;
|
|
2899
|
+
}
|
|
2900
|
+
this.SiteId = 'SiteId' in params ? params.SiteId : null;
|
|
2901
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
2902
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
2903
|
+
this.Note = 'Note' in params ? params.Note : null;
|
|
2904
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
2905
|
+
this.Province = 'Province' in params ? params.Province : null;
|
|
2906
|
+
this.City = 'City' in params ? params.City : null;
|
|
2907
|
+
this.PostalCode = 'PostalCode' in params ? params.PostalCode : null;
|
|
2908
|
+
this.AddressLine = 'AddressLine' in params ? params.AddressLine : null;
|
|
2909
|
+
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
/**
|
|
2914
|
+
* Site details
|
|
2915
|
+
* @class
|
|
2916
|
+
*/
|
|
2917
|
+
class SiteDetail extends AbstractModel {
|
|
2918
|
+
constructor(){
|
|
2919
|
+
super();
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* Site id
|
|
2923
|
+
* @type {string || null}
|
|
2924
|
+
*/
|
|
2925
|
+
this.SiteId = null;
|
|
2926
|
+
|
|
2927
|
+
/**
|
|
2928
|
+
* Site name
|
|
2929
|
+
* @type {string || null}
|
|
2930
|
+
*/
|
|
2931
|
+
this.Name = null;
|
|
2932
|
+
|
|
2933
|
+
/**
|
|
2934
|
+
* Site description
|
|
2935
|
+
* @type {string || null}
|
|
2936
|
+
*/
|
|
2937
|
+
this.Description = null;
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* Site creation time
|
|
2941
|
+
* @type {string || null}
|
|
2942
|
+
*/
|
|
2943
|
+
this.CreateTime = null;
|
|
2944
|
+
|
|
2945
|
+
/**
|
|
2946
|
+
* Optical fiber type
|
|
2947
|
+
* @type {string || null}
|
|
2948
|
+
*/
|
|
2949
|
+
this.FiberType = null;
|
|
2950
|
+
|
|
2951
|
+
/**
|
|
2952
|
+
* Uplink speed from the network to Tencent Cloud Region
|
|
2953
|
+
* @type {number || null}
|
|
2954
|
+
*/
|
|
2955
|
+
this.UplinkSpeedGbps = null;
|
|
2956
|
+
|
|
2957
|
+
/**
|
|
2958
|
+
* Number of uplinks used by each CDC device (2 devices per rack) when connected to the network
|
|
2959
|
+
* @type {number || null}
|
|
2960
|
+
*/
|
|
2961
|
+
this.UplinkCount = null;
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* Optical standard used to connect the CDC device to the network
|
|
2965
|
+
* @type {string || null}
|
|
2966
|
+
*/
|
|
2967
|
+
this.OpticalStandard = null;
|
|
2968
|
+
|
|
2969
|
+
/**
|
|
2970
|
+
* Whether redundant upstream equipment (switch or router) is provided so that both network devices can be connected to the network.
|
|
2971
|
+
* @type {boolean || null}
|
|
2972
|
+
*/
|
|
2973
|
+
this.RedundantNetworking = null;
|
|
2974
|
+
|
|
2975
|
+
/**
|
|
2976
|
+
* Type of power connector
|
|
2977
|
+
* @type {string || null}
|
|
2978
|
+
*/
|
|
2979
|
+
this.PowerConnectors = null;
|
|
2980
|
+
|
|
2981
|
+
/**
|
|
2982
|
+
* Whether power is supplied from above or below the rack
|
|
2983
|
+
* @type {string || null}
|
|
2984
|
+
*/
|
|
2985
|
+
this.PowerFeedDrop = null;
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* Power consumption (KW)
|
|
2989
|
+
* @type {number || null}
|
|
2990
|
+
*/
|
|
2991
|
+
this.PowerDrawKva = null;
|
|
2992
|
+
|
|
2993
|
+
/**
|
|
2994
|
+
* Whether the following environmental conditions are met:
|
|
2995
|
+
1. There are no material requirements or the acceptance standard on site that will affect the delivery and installation of the CDC device.
|
|
2996
|
+
2. The following conditions are met for finalized rack positions:
|
|
2997
|
+
Temperature ranges from 41 to 104°F (5 to 40°C).
|
|
2998
|
+
Humidity ranges from 10°F (-12°C) to 70°F (21°C) and relative humidity ranges from 8% RH to 80% RH.
|
|
2999
|
+
Air flows from front to back at the rack position and there is sufficient air in CFM (cubic feet per minute). The air quantity in CFM must be 145.8 times the power consumption (in KVA) of CDC.
|
|
3000
|
+
* @type {boolean || null}
|
|
3001
|
+
*/
|
|
3002
|
+
this.ConditionRequirement = null;
|
|
3003
|
+
|
|
3004
|
+
/**
|
|
3005
|
+
* Whether the following dimension conditions are met:
|
|
3006
|
+
Your loading dock can accommodate one rack container (H x W x D = 94" x 54" x 48").
|
|
3007
|
+
You can provide a clear route from the delivery point of your rack (H x W x D = 80" x 24" x 48") to its final installation location. You should consider platforms, corridors, doors, turns, ramps, freight elevators as well as other access restrictions when measuring the depth.
|
|
3008
|
+
There shall be a 48" or greater front clearance and a 24" or greater rear clearance where the CDC is finally installed.
|
|
3009
|
+
* @type {boolean || null}
|
|
3010
|
+
*/
|
|
3011
|
+
this.DimensionRequirement = null;
|
|
3012
|
+
|
|
3013
|
+
/**
|
|
3014
|
+
* Maximum weight capacity (KG)
|
|
3015
|
+
* @type {number || null}
|
|
3016
|
+
*/
|
|
3017
|
+
this.MaxWeight = null;
|
|
3018
|
+
|
|
3019
|
+
/**
|
|
3020
|
+
* Site address
|
|
3021
|
+
* @type {string || null}
|
|
3022
|
+
*/
|
|
3023
|
+
this.AddressLine = null;
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* Detailed address of the site area (to be added)
|
|
3027
|
+
* @type {string || null}
|
|
3028
|
+
*/
|
|
3029
|
+
this.OptionalAddressLine = null;
|
|
3030
|
+
|
|
3031
|
+
/**
|
|
3032
|
+
* Whether you need help from Tencent Cloud for rack installation?
|
|
3033
|
+
* @type {boolean || null}
|
|
3034
|
+
*/
|
|
3035
|
+
this.NeedHelp = null;
|
|
3036
|
+
|
|
3037
|
+
/**
|
|
3038
|
+
* Whether there is an upstream circuit breaker?
|
|
3039
|
+
* @type {boolean || null}
|
|
3040
|
+
*/
|
|
3041
|
+
this.BreakerRequirement = null;
|
|
3042
|
+
|
|
3043
|
+
/**
|
|
3044
|
+
* Whether there is power redundancy?
|
|
3045
|
+
* @type {boolean || null}
|
|
3046
|
+
*/
|
|
3047
|
+
this.RedundantPower = null;
|
|
3048
|
+
|
|
3049
|
+
/**
|
|
3050
|
+
* Country where the site is located
|
|
3051
|
+
* @type {string || null}
|
|
3052
|
+
*/
|
|
3053
|
+
this.Country = null;
|
|
3054
|
+
|
|
3055
|
+
/**
|
|
3056
|
+
* Province where the site is located
|
|
3057
|
+
* @type {string || null}
|
|
3058
|
+
*/
|
|
3059
|
+
this.Province = null;
|
|
3060
|
+
|
|
3061
|
+
/**
|
|
3062
|
+
* City where the site is located
|
|
3063
|
+
* @type {string || null}
|
|
3064
|
+
*/
|
|
3065
|
+
this.City = null;
|
|
3066
|
+
|
|
3067
|
+
/**
|
|
3068
|
+
* Postal code of the site area
|
|
3069
|
+
* @type {number || null}
|
|
3070
|
+
*/
|
|
3071
|
+
this.PostalCode = null;
|
|
3072
|
+
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
/**
|
|
3076
|
+
* @private
|
|
3077
|
+
*/
|
|
3078
|
+
deserialize(params) {
|
|
3079
|
+
if (!params) {
|
|
3080
|
+
return;
|
|
3081
|
+
}
|
|
3082
|
+
this.SiteId = 'SiteId' in params ? params.SiteId : null;
|
|
3083
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
3084
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
3085
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
3086
|
+
this.FiberType = 'FiberType' in params ? params.FiberType : null;
|
|
3087
|
+
this.UplinkSpeedGbps = 'UplinkSpeedGbps' in params ? params.UplinkSpeedGbps : null;
|
|
3088
|
+
this.UplinkCount = 'UplinkCount' in params ? params.UplinkCount : null;
|
|
3089
|
+
this.OpticalStandard = 'OpticalStandard' in params ? params.OpticalStandard : null;
|
|
3090
|
+
this.RedundantNetworking = 'RedundantNetworking' in params ? params.RedundantNetworking : null;
|
|
3091
|
+
this.PowerConnectors = 'PowerConnectors' in params ? params.PowerConnectors : null;
|
|
3092
|
+
this.PowerFeedDrop = 'PowerFeedDrop' in params ? params.PowerFeedDrop : null;
|
|
3093
|
+
this.PowerDrawKva = 'PowerDrawKva' in params ? params.PowerDrawKva : null;
|
|
3094
|
+
this.ConditionRequirement = 'ConditionRequirement' in params ? params.ConditionRequirement : null;
|
|
3095
|
+
this.DimensionRequirement = 'DimensionRequirement' in params ? params.DimensionRequirement : null;
|
|
3096
|
+
this.MaxWeight = 'MaxWeight' in params ? params.MaxWeight : null;
|
|
3097
|
+
this.AddressLine = 'AddressLine' in params ? params.AddressLine : null;
|
|
3098
|
+
this.OptionalAddressLine = 'OptionalAddressLine' in params ? params.OptionalAddressLine : null;
|
|
3099
|
+
this.NeedHelp = 'NeedHelp' in params ? params.NeedHelp : null;
|
|
3100
|
+
this.BreakerRequirement = 'BreakerRequirement' in params ? params.BreakerRequirement : null;
|
|
3101
|
+
this.RedundantPower = 'RedundantPower' in params ? params.RedundantPower : null;
|
|
3102
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
3103
|
+
this.Province = 'Province' in params ? params.Province : null;
|
|
3104
|
+
this.City = 'City' in params ? params.City : null;
|
|
3105
|
+
this.PostalCode = 'PostalCode' in params ? params.PostalCode : null;
|
|
3106
|
+
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
3109
|
+
|
|
3110
|
+
/**
|
|
3111
|
+
* DeleteSites response structure.
|
|
3112
|
+
* @class
|
|
3113
|
+
*/
|
|
3114
|
+
class DeleteSitesResponse extends AbstractModel {
|
|
3115
|
+
constructor(){
|
|
3116
|
+
super();
|
|
3117
|
+
|
|
3118
|
+
/**
|
|
3119
|
+
* 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.
|
|
3120
|
+
* @type {string || null}
|
|
3121
|
+
*/
|
|
3122
|
+
this.RequestId = null;
|
|
3123
|
+
|
|
3124
|
+
}
|
|
3125
|
+
|
|
3126
|
+
/**
|
|
3127
|
+
* @private
|
|
3128
|
+
*/
|
|
3129
|
+
deserialize(params) {
|
|
3130
|
+
if (!params) {
|
|
3131
|
+
return;
|
|
3132
|
+
}
|
|
3133
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3134
|
+
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
/**
|
|
3139
|
+
* Capacity of COS in CDC
|
|
3140
|
+
* @class
|
|
3141
|
+
*/
|
|
3142
|
+
class CosCapacity extends AbstractModel {
|
|
3143
|
+
constructor(){
|
|
3144
|
+
super();
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* Total capacity, in GB
|
|
3148
|
+
* @type {number || null}
|
|
3149
|
+
*/
|
|
3150
|
+
this.TotalCapacity = null;
|
|
3151
|
+
|
|
3152
|
+
/**
|
|
3153
|
+
* Available capacity, in GB
|
|
3154
|
+
* @type {number || null}
|
|
3155
|
+
*/
|
|
3156
|
+
this.TotalFreeCapacity = null;
|
|
3157
|
+
|
|
3158
|
+
/**
|
|
3159
|
+
* Used capacity, in GB
|
|
3160
|
+
* @type {number || null}
|
|
3161
|
+
*/
|
|
3162
|
+
this.TotalUsedCapacity = null;
|
|
3163
|
+
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* @private
|
|
3168
|
+
*/
|
|
3169
|
+
deserialize(params) {
|
|
3170
|
+
if (!params) {
|
|
3171
|
+
return;
|
|
3172
|
+
}
|
|
3173
|
+
this.TotalCapacity = 'TotalCapacity' in params ? params.TotalCapacity : null;
|
|
3174
|
+
this.TotalFreeCapacity = 'TotalFreeCapacity' in params ? params.TotalFreeCapacity : null;
|
|
3175
|
+
this.TotalUsedCapacity = 'TotalUsedCapacity' in params ? params.TotalUsedCapacity : null;
|
|
3176
|
+
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
/**
|
|
3181
|
+
* VPN gateway traffic monitoring data
|
|
3182
|
+
* @class
|
|
3183
|
+
*/
|
|
3184
|
+
class VpngwBandwidthData extends AbstractModel {
|
|
3185
|
+
constructor(){
|
|
3186
|
+
super();
|
|
3187
|
+
|
|
3188
|
+
/**
|
|
3189
|
+
* Outbound bandwidth traffic
|
|
3190
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
3191
|
+
* @type {OutBandwidth || null}
|
|
3192
|
+
*/
|
|
3193
|
+
this.OutBandwidth = null;
|
|
3194
|
+
|
|
3195
|
+
/**
|
|
3196
|
+
* Inbound bandwidth traffic
|
|
3197
|
+
* @type {InBandwidth || null}
|
|
3198
|
+
*/
|
|
3199
|
+
this.InBandwidth = null;
|
|
3200
|
+
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3203
|
+
/**
|
|
3204
|
+
* @private
|
|
3205
|
+
*/
|
|
3206
|
+
deserialize(params) {
|
|
3207
|
+
if (!params) {
|
|
3208
|
+
return;
|
|
3209
|
+
}
|
|
3210
|
+
|
|
3211
|
+
if (params.OutBandwidth) {
|
|
3212
|
+
let obj = new OutBandwidth();
|
|
3213
|
+
obj.deserialize(params.OutBandwidth)
|
|
3214
|
+
this.OutBandwidth = obj;
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3217
|
+
if (params.InBandwidth) {
|
|
3218
|
+
let obj = new InBandwidth();
|
|
3219
|
+
obj.deserialize(params.InBandwidth)
|
|
3220
|
+
this.InBandwidth = obj;
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3223
|
+
}
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
/**
|
|
3227
|
+
* ModifySiteDeviceInfo request structure.
|
|
3228
|
+
* @class
|
|
3229
|
+
*/
|
|
3230
|
+
class ModifySiteDeviceInfoRequest extends AbstractModel {
|
|
3231
|
+
constructor(){
|
|
3232
|
+
super();
|
|
3233
|
+
|
|
3234
|
+
/**
|
|
3235
|
+
* Equipment room ID
|
|
3236
|
+
* @type {string || null}
|
|
3237
|
+
*/
|
|
3238
|
+
this.SiteId = null;
|
|
3239
|
+
|
|
3240
|
+
/**
|
|
3241
|
+
* You are using optical fiber type to connect the CDC device to the network Single-mode or multi-mode fibers are available.
|
|
3242
|
+
* @type {string || null}
|
|
3243
|
+
*/
|
|
3244
|
+
this.FiberType = null;
|
|
3245
|
+
|
|
3246
|
+
/**
|
|
3247
|
+
* Optical standard used to connect the CDC device to the network This field depends on the uplink speed, optical fiber type, and distance to upstream equipment.
|
|
3248
|
+
* @type {string || null}
|
|
3249
|
+
*/
|
|
3250
|
+
this.OpticalStandard = null;
|
|
3251
|
+
|
|
3252
|
+
/**
|
|
3253
|
+
* Type of power connector
|
|
3254
|
+
* @type {string || null}
|
|
3255
|
+
*/
|
|
3256
|
+
this.PowerConnectors = null;
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* Whether power is supplied from above or below the rack
|
|
3260
|
+
* @type {string || null}
|
|
3261
|
+
*/
|
|
3262
|
+
this.PowerFeedDrop = null;
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* Maximum weight capacity (KG)
|
|
3266
|
+
* @type {number || null}
|
|
3267
|
+
*/
|
|
3268
|
+
this.MaxWeight = null;
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* Power consumption (KW)
|
|
3272
|
+
* @type {number || null}
|
|
3273
|
+
*/
|
|
3274
|
+
this.PowerDrawKva = null;
|
|
3275
|
+
|
|
3276
|
+
/**
|
|
3277
|
+
* Uplink speed from the network to Tencent Cloud Region
|
|
3278
|
+
* @type {number || null}
|
|
3279
|
+
*/
|
|
3280
|
+
this.UplinkSpeedGbps = null;
|
|
3281
|
+
|
|
3282
|
+
/**
|
|
3283
|
+
* Number of uplinks used by each CDC device (2 devices per rack) when connected to the network
|
|
3284
|
+
* @type {number || null}
|
|
3285
|
+
*/
|
|
3286
|
+
this.UplinkCount = null;
|
|
3287
|
+
|
|
3288
|
+
/**
|
|
3289
|
+
* Whether the following environmental conditions are met:
|
|
3290
|
+
1. There are no material requirements or the acceptance standard on site that will affect the delivery and installation of the CDC device.
|
|
3291
|
+
2. The following conditions are met for finalized rack positions:
|
|
3292
|
+
Temperature ranges from 41 to 104°F (5 to 40°C).
|
|
3293
|
+
Humidity ranges from 10°F (-12°C) to 70°F (21°C) and relative humidity ranges from 8% RH to 80% RH.
|
|
3294
|
+
Air flows from front to back at the rack position and there is sufficient air in CFM (cubic feet per minute). The air quantity in CFM must be 145.8 times the power consumption (in KVA) of CDC.
|
|
3295
|
+
* @type {boolean || null}
|
|
3296
|
+
*/
|
|
3297
|
+
this.ConditionRequirement = null;
|
|
3298
|
+
|
|
3299
|
+
/**
|
|
3300
|
+
* Whether the following dimension conditions are met:
|
|
3301
|
+
Your loading dock can accommodate one rack container (H x W x D = 94" x 54" x 48").
|
|
3302
|
+
You can provide a clear route from the delivery point of your rack (H x W x D = 80" x 24" x 48") to its final installation location. You should consider platforms, corridors, doors, turns, ramps, freight elevators as well as other access restrictions when measuring the depth.
|
|
3303
|
+
There shall be a 48" or greater front clearance and a 24" or greater rear clearance where the CDC is finally installed.
|
|
3304
|
+
* @type {boolean || null}
|
|
3305
|
+
*/
|
|
3306
|
+
this.DimensionRequirement = null;
|
|
3307
|
+
|
|
3308
|
+
/**
|
|
3309
|
+
* Whether redundant upstream equipment (switch or router) is provided so that both network devices can be connected to the network.
|
|
3310
|
+
* @type {boolean || null}
|
|
3311
|
+
*/
|
|
3312
|
+
this.RedundantNetworking = null;
|
|
3313
|
+
|
|
3314
|
+
/**
|
|
3315
|
+
* Whether you need help from Tencent Cloud for rack installation?
|
|
3316
|
+
* @type {boolean || null}
|
|
3317
|
+
*/
|
|
3318
|
+
this.NeedHelp = null;
|
|
3319
|
+
|
|
3320
|
+
/**
|
|
3321
|
+
* Whether there is power redundancy?
|
|
3322
|
+
* @type {boolean || null}
|
|
3323
|
+
*/
|
|
3324
|
+
this.RedundantPower = null;
|
|
3325
|
+
|
|
3326
|
+
/**
|
|
3327
|
+
* Whether there is an upstream circuit breaker?
|
|
3328
|
+
* @type {boolean || null}
|
|
3329
|
+
*/
|
|
3330
|
+
this.BreakerRequirement = null;
|
|
3331
|
+
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
/**
|
|
3335
|
+
* @private
|
|
3336
|
+
*/
|
|
3337
|
+
deserialize(params) {
|
|
3338
|
+
if (!params) {
|
|
3339
|
+
return;
|
|
3340
|
+
}
|
|
3341
|
+
this.SiteId = 'SiteId' in params ? params.SiteId : null;
|
|
3342
|
+
this.FiberType = 'FiberType' in params ? params.FiberType : null;
|
|
3343
|
+
this.OpticalStandard = 'OpticalStandard' in params ? params.OpticalStandard : null;
|
|
3344
|
+
this.PowerConnectors = 'PowerConnectors' in params ? params.PowerConnectors : null;
|
|
3345
|
+
this.PowerFeedDrop = 'PowerFeedDrop' in params ? params.PowerFeedDrop : null;
|
|
3346
|
+
this.MaxWeight = 'MaxWeight' in params ? params.MaxWeight : null;
|
|
3347
|
+
this.PowerDrawKva = 'PowerDrawKva' in params ? params.PowerDrawKva : null;
|
|
3348
|
+
this.UplinkSpeedGbps = 'UplinkSpeedGbps' in params ? params.UplinkSpeedGbps : null;
|
|
3349
|
+
this.UplinkCount = 'UplinkCount' in params ? params.UplinkCount : null;
|
|
3350
|
+
this.ConditionRequirement = 'ConditionRequirement' in params ? params.ConditionRequirement : null;
|
|
3351
|
+
this.DimensionRequirement = 'DimensionRequirement' in params ? params.DimensionRequirement : null;
|
|
3352
|
+
this.RedundantNetworking = 'RedundantNetworking' in params ? params.RedundantNetworking : null;
|
|
3353
|
+
this.NeedHelp = 'NeedHelp' in params ? params.NeedHelp : null;
|
|
3354
|
+
this.RedundantPower = 'RedundantPower' in params ? params.RedundantPower : null;
|
|
3355
|
+
this.BreakerRequirement = 'BreakerRequirement' in params ? params.BreakerRequirement : null;
|
|
3356
|
+
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
|
|
3360
|
+
/**
|
|
3361
|
+
* DescribeDedicatedClusterHostStatistics response structure.
|
|
3362
|
+
* @class
|
|
3363
|
+
*/
|
|
3364
|
+
class DescribeDedicatedClusterHostStatisticsResponse extends AbstractModel {
|
|
3365
|
+
constructor(){
|
|
3366
|
+
super();
|
|
3367
|
+
|
|
3368
|
+
/**
|
|
3369
|
+
* List of statistic information of the cluster host
|
|
3370
|
+
* @type {Array.<HostStatistic> || null}
|
|
3371
|
+
*/
|
|
3372
|
+
this.HostStatisticSet = null;
|
|
3373
|
+
|
|
3374
|
+
/**
|
|
3375
|
+
* 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.
|
|
3376
|
+
* @type {string || null}
|
|
3377
|
+
*/
|
|
3378
|
+
this.RequestId = null;
|
|
3379
|
+
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
/**
|
|
3383
|
+
* @private
|
|
3384
|
+
*/
|
|
3385
|
+
deserialize(params) {
|
|
3386
|
+
if (!params) {
|
|
3387
|
+
return;
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
if (params.HostStatisticSet) {
|
|
3391
|
+
this.HostStatisticSet = new Array();
|
|
3392
|
+
for (let z in params.HostStatisticSet) {
|
|
3393
|
+
let obj = new HostStatistic();
|
|
3394
|
+
obj.deserialize(params.HostStatisticSet[z]);
|
|
3395
|
+
this.HostStatisticSet.push(obj);
|
|
3396
|
+
}
|
|
3397
|
+
}
|
|
3398
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3399
|
+
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3403
|
+
/**
|
|
3404
|
+
* Customer site information
|
|
3405
|
+
* @class
|
|
3406
|
+
*/
|
|
3407
|
+
class Site extends AbstractModel {
|
|
3408
|
+
constructor(){
|
|
3409
|
+
super();
|
|
3410
|
+
|
|
3411
|
+
/**
|
|
3412
|
+
* Site name
|
|
3413
|
+
* @type {string || null}
|
|
3414
|
+
*/
|
|
3415
|
+
this.Name = null;
|
|
3416
|
+
|
|
3417
|
+
/**
|
|
3418
|
+
* Site id
|
|
3419
|
+
* @type {string || null}
|
|
3420
|
+
*/
|
|
3421
|
+
this.SiteId = null;
|
|
3422
|
+
|
|
3423
|
+
/**
|
|
3424
|
+
* Site description
|
|
3425
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
3426
|
+
* @type {string || null}
|
|
3427
|
+
*/
|
|
3428
|
+
this.Description = null;
|
|
3429
|
+
|
|
3430
|
+
/**
|
|
3431
|
+
* Site creation time
|
|
3432
|
+
* @type {string || null}
|
|
3433
|
+
*/
|
|
3434
|
+
this.CreateTime = null;
|
|
3435
|
+
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
/**
|
|
3439
|
+
* @private
|
|
3440
|
+
*/
|
|
3441
|
+
deserialize(params) {
|
|
3442
|
+
if (!params) {
|
|
3443
|
+
return;
|
|
3444
|
+
}
|
|
3445
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
3446
|
+
this.SiteId = 'SiteId' in params ? params.SiteId : null;
|
|
3447
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
3448
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
3449
|
+
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
/**
|
|
3454
|
+
* DescribeDedicatedClusterTypes request structure.
|
|
3455
|
+
* @class
|
|
3456
|
+
*/
|
|
3457
|
+
class DescribeDedicatedClusterTypesRequest extends AbstractModel {
|
|
3458
|
+
constructor(){
|
|
3459
|
+
super();
|
|
3460
|
+
|
|
3461
|
+
/**
|
|
3462
|
+
* Name of fuzzy matching CDC configuration
|
|
3463
|
+
* @type {string || null}
|
|
3464
|
+
*/
|
|
3465
|
+
this.Name = null;
|
|
3466
|
+
|
|
3467
|
+
/**
|
|
3468
|
+
* List of CDC configuration ids to be queried
|
|
3469
|
+
* @type {Array.<string> || null}
|
|
3470
|
+
*/
|
|
3471
|
+
this.DedicatedClusterTypeIds = null;
|
|
3472
|
+
|
|
3473
|
+
/**
|
|
3474
|
+
* Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
3475
|
+
* @type {number || null}
|
|
3476
|
+
*/
|
|
3477
|
+
this.Offset = null;
|
|
3478
|
+
|
|
3479
|
+
/**
|
|
3480
|
+
* Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
3481
|
+
* @type {number || null}
|
|
3482
|
+
*/
|
|
3483
|
+
this.Limit = null;
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* Whether to query only the computing type?
|
|
3487
|
+
* @type {boolean || null}
|
|
3488
|
+
*/
|
|
3489
|
+
this.IsCompute = null;
|
|
3490
|
+
|
|
3491
|
+
}
|
|
3492
|
+
|
|
3493
|
+
/**
|
|
3494
|
+
* @private
|
|
3495
|
+
*/
|
|
3496
|
+
deserialize(params) {
|
|
3497
|
+
if (!params) {
|
|
3498
|
+
return;
|
|
3499
|
+
}
|
|
3500
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
3501
|
+
this.DedicatedClusterTypeIds = 'DedicatedClusterTypeIds' in params ? params.DedicatedClusterTypeIds : null;
|
|
3502
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
3503
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
3504
|
+
this.IsCompute = 'IsCompute' in params ? params.IsCompute : null;
|
|
3505
|
+
|
|
3506
|
+
}
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3509
|
+
/**
|
|
3510
|
+
* DescribeDedicatedClusterOrders response structure.
|
|
3511
|
+
* @class
|
|
3512
|
+
*/
|
|
3513
|
+
class DescribeDedicatedClusterOrdersResponse extends AbstractModel {
|
|
3514
|
+
constructor(){
|
|
3515
|
+
super();
|
|
3516
|
+
|
|
3517
|
+
/**
|
|
3518
|
+
* List of CDC orders
|
|
3519
|
+
* @type {Array.<DedicatedClusterOrder> || null}
|
|
3520
|
+
*/
|
|
3521
|
+
this.DedicatedClusterOrderSet = null;
|
|
3522
|
+
|
|
3523
|
+
/**
|
|
3524
|
+
* Total number of CDC orders that meet the conditions
|
|
3525
|
+
* @type {number || null}
|
|
3526
|
+
*/
|
|
3527
|
+
this.TotalCount = null;
|
|
3528
|
+
|
|
3529
|
+
/**
|
|
3530
|
+
* 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.
|
|
3531
|
+
* @type {string || null}
|
|
3532
|
+
*/
|
|
3533
|
+
this.RequestId = null;
|
|
3534
|
+
|
|
3535
|
+
}
|
|
3536
|
+
|
|
3537
|
+
/**
|
|
3538
|
+
* @private
|
|
3539
|
+
*/
|
|
3540
|
+
deserialize(params) {
|
|
3541
|
+
if (!params) {
|
|
3542
|
+
return;
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
if (params.DedicatedClusterOrderSet) {
|
|
3546
|
+
this.DedicatedClusterOrderSet = new Array();
|
|
3547
|
+
for (let z in params.DedicatedClusterOrderSet) {
|
|
3548
|
+
let obj = new DedicatedClusterOrder();
|
|
3549
|
+
obj.deserialize(params.DedicatedClusterOrderSet[z]);
|
|
3550
|
+
this.DedicatedClusterOrderSet.push(obj);
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
3553
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
3554
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3555
|
+
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
/**
|
|
3560
|
+
* DescribeDedicatedClusterHostStatistics request structure.
|
|
3561
|
+
* @class
|
|
3562
|
+
*/
|
|
3563
|
+
class DescribeDedicatedClusterHostStatisticsRequest extends AbstractModel {
|
|
3564
|
+
constructor(){
|
|
3565
|
+
super();
|
|
3566
|
+
|
|
3567
|
+
/**
|
|
3568
|
+
* Queried CDC id
|
|
3569
|
+
* @type {string || null}
|
|
3570
|
+
*/
|
|
3571
|
+
this.DedicatedClusterId = null;
|
|
3572
|
+
|
|
3573
|
+
/**
|
|
3574
|
+
* Host id
|
|
3575
|
+
* @type {string || null}
|
|
3576
|
+
*/
|
|
3577
|
+
this.HostId = null;
|
|
3578
|
+
|
|
3579
|
+
/**
|
|
3580
|
+
* Start time
|
|
3581
|
+
* @type {string || null}
|
|
3582
|
+
*/
|
|
3583
|
+
this.StartTime = null;
|
|
3584
|
+
|
|
3585
|
+
/**
|
|
3586
|
+
* End time
|
|
3587
|
+
* @type {string || null}
|
|
3588
|
+
*/
|
|
3589
|
+
this.EndTime = null;
|
|
3590
|
+
|
|
3591
|
+
/**
|
|
3592
|
+
* Time range accuracy, 1 min/5 min
|
|
3593
|
+
* @type {string || null}
|
|
3594
|
+
*/
|
|
3595
|
+
this.Period = null;
|
|
3596
|
+
|
|
3597
|
+
}
|
|
3598
|
+
|
|
3599
|
+
/**
|
|
3600
|
+
* @private
|
|
3601
|
+
*/
|
|
3602
|
+
deserialize(params) {
|
|
3603
|
+
if (!params) {
|
|
3604
|
+
return;
|
|
3605
|
+
}
|
|
3606
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
3607
|
+
this.HostId = 'HostId' in params ? params.HostId : null;
|
|
3608
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
3609
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
3610
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
3611
|
+
|
|
3612
|
+
}
|
|
3613
|
+
}
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* Outbound bandwidth data
|
|
3617
|
+
* @class
|
|
3618
|
+
*/
|
|
3619
|
+
class OutBandwidth extends AbstractModel {
|
|
3620
|
+
constructor(){
|
|
3621
|
+
super();
|
|
3622
|
+
|
|
3623
|
+
/**
|
|
3624
|
+
* Timestamp
|
|
3625
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
3626
|
+
* @type {Array.<number> || null}
|
|
3627
|
+
*/
|
|
3628
|
+
this.Timestamps = null;
|
|
3629
|
+
|
|
3630
|
+
/**
|
|
3631
|
+
* Time-specific value
|
|
3632
|
+
Note: The returned value of this field may be null, indicating that no valid value is obtained.
|
|
3633
|
+
* @type {Array.<number> || null}
|
|
3634
|
+
*/
|
|
3635
|
+
this.Values = null;
|
|
3636
|
+
|
|
3637
|
+
}
|
|
3638
|
+
|
|
3639
|
+
/**
|
|
3640
|
+
* @private
|
|
3641
|
+
*/
|
|
3642
|
+
deserialize(params) {
|
|
3643
|
+
if (!params) {
|
|
3644
|
+
return;
|
|
3645
|
+
}
|
|
3646
|
+
this.Timestamps = 'Timestamps' in params ? params.Timestamps : null;
|
|
3647
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
3648
|
+
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
|
|
3652
|
+
/**
|
|
3653
|
+
* DescribeDedicatedClusterOverview request structure.
|
|
3654
|
+
* @class
|
|
3655
|
+
*/
|
|
3656
|
+
class DescribeDedicatedClusterOverviewRequest extends AbstractModel {
|
|
3657
|
+
constructor(){
|
|
3658
|
+
super();
|
|
3659
|
+
|
|
3660
|
+
/**
|
|
3661
|
+
* Cluster id
|
|
3662
|
+
* @type {string || null}
|
|
3663
|
+
*/
|
|
3664
|
+
this.DedicatedClusterId = null;
|
|
3665
|
+
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
/**
|
|
3669
|
+
* @private
|
|
3670
|
+
*/
|
|
3671
|
+
deserialize(params) {
|
|
3672
|
+
if (!params) {
|
|
3673
|
+
return;
|
|
3674
|
+
}
|
|
3675
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
3676
|
+
|
|
3677
|
+
}
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
/**
|
|
3681
|
+
* DeleteDedicatedClusters request structure.
|
|
3682
|
+
* @class
|
|
3683
|
+
*/
|
|
3684
|
+
class DeleteDedicatedClustersRequest extends AbstractModel {
|
|
3685
|
+
constructor(){
|
|
3686
|
+
super();
|
|
3687
|
+
|
|
3688
|
+
/**
|
|
3689
|
+
* CDC id to be deleted
|
|
3690
|
+
* @type {Array.<string> || null}
|
|
3691
|
+
*/
|
|
3692
|
+
this.DedicatedClusterIds = null;
|
|
3693
|
+
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
/**
|
|
3697
|
+
* @private
|
|
3698
|
+
*/
|
|
3699
|
+
deserialize(params) {
|
|
3700
|
+
if (!params) {
|
|
3701
|
+
return;
|
|
3702
|
+
}
|
|
3703
|
+
this.DedicatedClusterIds = 'DedicatedClusterIds' in params ? params.DedicatedClusterIds : null;
|
|
3704
|
+
|
|
3705
|
+
}
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
/**
|
|
3709
|
+
* DeleteDedicatedClusters response structure.
|
|
3710
|
+
* @class
|
|
3711
|
+
*/
|
|
3712
|
+
class DeleteDedicatedClustersResponse extends AbstractModel {
|
|
3713
|
+
constructor(){
|
|
3714
|
+
super();
|
|
3715
|
+
|
|
3716
|
+
/**
|
|
3717
|
+
* 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.
|
|
3718
|
+
* @type {string || null}
|
|
3719
|
+
*/
|
|
3720
|
+
this.RequestId = null;
|
|
3721
|
+
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3724
|
+
/**
|
|
3725
|
+
* @private
|
|
3726
|
+
*/
|
|
3727
|
+
deserialize(params) {
|
|
3728
|
+
if (!params) {
|
|
3729
|
+
return;
|
|
3730
|
+
}
|
|
3731
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3732
|
+
|
|
3733
|
+
}
|
|
3734
|
+
}
|
|
3735
|
+
|
|
3736
|
+
module.exports = {
|
|
3737
|
+
DescribeDedicatedClusterInstanceTypesResponse: DescribeDedicatedClusterInstanceTypesResponse,
|
|
3738
|
+
DescribeDedicatedClustersRequest: DescribeDedicatedClustersRequest,
|
|
3739
|
+
DescribeDedicatedClusterTypesResponse: DescribeDedicatedClusterTypesResponse,
|
|
3740
|
+
DedicatedClusterInstanceType: DedicatedClusterInstanceType,
|
|
3741
|
+
DedicatedClusterType: DedicatedClusterType,
|
|
3742
|
+
DeleteSitesRequest: DeleteSitesRequest,
|
|
3743
|
+
CosInfo: CosInfo,
|
|
3744
|
+
ZoneInfo: ZoneInfo,
|
|
3745
|
+
DescribeDedicatedClusterOverviewResponse: DescribeDedicatedClusterOverviewResponse,
|
|
3746
|
+
DescribeSitesRequest: DescribeSitesRequest,
|
|
3747
|
+
HostInfo: HostInfo,
|
|
3748
|
+
CreateSiteResponse: CreateSiteResponse,
|
|
3749
|
+
DescribeDedicatedSupportedZonesResponse: DescribeDedicatedSupportedZonesResponse,
|
|
3750
|
+
ModifySiteInfoResponse: ModifySiteInfoResponse,
|
|
3751
|
+
CreateDedicatedClusterOrderRequest: CreateDedicatedClusterOrderRequest,
|
|
3752
|
+
ModifyOrderStatusRequest: ModifyOrderStatusRequest,
|
|
3753
|
+
DedicatedClusterOrderItem: DedicatedClusterOrderItem,
|
|
3754
|
+
CreateSiteRequest: CreateSiteRequest,
|
|
3755
|
+
DescribeDedicatedSupportedZonesRequest: DescribeDedicatedSupportedZonesRequest,
|
|
3756
|
+
DedicatedClusterTypeInfo: DedicatedClusterTypeInfo,
|
|
3757
|
+
ModifyOrderStatusResponse: ModifyOrderStatusResponse,
|
|
3758
|
+
InBandwidth: InBandwidth,
|
|
3759
|
+
DescribeDedicatedClusterCosCapacityRequest: DescribeDedicatedClusterCosCapacityRequest,
|
|
3760
|
+
DescribeSitesResponse: DescribeSitesResponse,
|
|
3761
|
+
DescribeSitesDetailRequest: DescribeSitesDetailRequest,
|
|
3762
|
+
DetailData: DetailData,
|
|
3763
|
+
DedicatedClusterOrder: DedicatedClusterOrder,
|
|
3764
|
+
ModifyDedicatedClusterInfoRequest: ModifyDedicatedClusterInfoRequest,
|
|
3765
|
+
DescribeDedicatedClusterHostsRequest: DescribeDedicatedClusterHostsRequest,
|
|
3766
|
+
CreateDedicatedClusterOrderResponse: CreateDedicatedClusterOrderResponse,
|
|
3767
|
+
DescribeDedicatedClusterCosCapacityResponse: DescribeDedicatedClusterCosCapacityResponse,
|
|
3768
|
+
RegionZoneInfo: RegionZoneInfo,
|
|
3769
|
+
CreateDedicatedClusterResponse: CreateDedicatedClusterResponse,
|
|
3770
|
+
DedicatedCluster: DedicatedCluster,
|
|
3771
|
+
DescribeSitesDetailResponse: DescribeSitesDetailResponse,
|
|
3772
|
+
DescribeDedicatedClusterOrdersRequest: DescribeDedicatedClusterOrdersRequest,
|
|
3773
|
+
DescribeDedicatedClustersResponse: DescribeDedicatedClustersResponse,
|
|
3774
|
+
HostStatistic: HostStatistic,
|
|
3775
|
+
HostDetailInfo: HostDetailInfo,
|
|
3776
|
+
CbsInfo: CbsInfo,
|
|
3777
|
+
ModifySiteDeviceInfoResponse: ModifySiteDeviceInfoResponse,
|
|
3778
|
+
CreateDedicatedClusterRequest: CreateDedicatedClusterRequest,
|
|
3779
|
+
DescribeDedicatedClusterHostsResponse: DescribeDedicatedClusterHostsResponse,
|
|
3780
|
+
LocalNetInfo: LocalNetInfo,
|
|
3781
|
+
DescribeDedicatedClusterInstanceTypesRequest: DescribeDedicatedClusterInstanceTypesRequest,
|
|
3782
|
+
ModifyDedicatedClusterInfoResponse: ModifyDedicatedClusterInfoResponse,
|
|
3783
|
+
ModifySiteInfoRequest: ModifySiteInfoRequest,
|
|
3784
|
+
SiteDetail: SiteDetail,
|
|
3785
|
+
DeleteSitesResponse: DeleteSitesResponse,
|
|
3786
|
+
CosCapacity: CosCapacity,
|
|
3787
|
+
VpngwBandwidthData: VpngwBandwidthData,
|
|
3788
|
+
ModifySiteDeviceInfoRequest: ModifySiteDeviceInfoRequest,
|
|
3789
|
+
DescribeDedicatedClusterHostStatisticsResponse: DescribeDedicatedClusterHostStatisticsResponse,
|
|
3790
|
+
Site: Site,
|
|
3791
|
+
DescribeDedicatedClusterTypesRequest: DescribeDedicatedClusterTypesRequest,
|
|
3792
|
+
DescribeDedicatedClusterOrdersResponse: DescribeDedicatedClusterOrdersResponse,
|
|
3793
|
+
DescribeDedicatedClusterHostStatisticsRequest: DescribeDedicatedClusterHostStatisticsRequest,
|
|
3794
|
+
OutBandwidth: OutBandwidth,
|
|
3795
|
+
DescribeDedicatedClusterOverviewRequest: DescribeDedicatedClusterOverviewRequest,
|
|
3796
|
+
DeleteDedicatedClustersRequest: DeleteDedicatedClustersRequest,
|
|
3797
|
+
DeleteDedicatedClustersResponse: DeleteDedicatedClustersResponse,
|
|
3798
|
+
|
|
3799
|
+
}
|