tencentcloud-sdk-cdc 1.0.313
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.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-cdc.rb +11 -0
- data/lib/v20201214/client.rb +516 -0
- data/lib/v20201214/models.rb +1871 -0
- metadata +66 -0
@@ -0,0 +1,1871 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Cdc
|
19
|
+
module V20201214
|
20
|
+
# 购买的cbs信息
|
21
|
+
class CbsInfo < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Size: cbs存储大小,单位TB
|
23
|
+
# @type Size: Integer
|
24
|
+
# @param Type: cbs存储类型,默认为SSD
|
25
|
+
# @type Type: String
|
26
|
+
|
27
|
+
attr_accessor :Size, :Type
|
28
|
+
|
29
|
+
def initialize(size=nil, type=nil)
|
30
|
+
@Size = size
|
31
|
+
@Type = type
|
32
|
+
end
|
33
|
+
|
34
|
+
def deserialize(params)
|
35
|
+
@Size = params['Size']
|
36
|
+
@Type = params['Type']
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
# CDC集群内cos的容量信息
|
41
|
+
class CosCapacity < TencentCloud::Common::AbstractModel
|
42
|
+
# @param TotalCapacity: 已购cos的总容量大小,单位GB
|
43
|
+
# @type TotalCapacity: Float
|
44
|
+
# @param TotalFreeCapacity: 剩余可用cos的容量大小,单位GB
|
45
|
+
# @type TotalFreeCapacity: Float
|
46
|
+
# @param TotalUsedCapacity: 已用cos的容量大小,单位GB
|
47
|
+
# @type TotalUsedCapacity: Float
|
48
|
+
|
49
|
+
attr_accessor :TotalCapacity, :TotalFreeCapacity, :TotalUsedCapacity
|
50
|
+
|
51
|
+
def initialize(totalcapacity=nil, totalfreecapacity=nil, totalusedcapacity=nil)
|
52
|
+
@TotalCapacity = totalcapacity
|
53
|
+
@TotalFreeCapacity = totalfreecapacity
|
54
|
+
@TotalUsedCapacity = totalusedcapacity
|
55
|
+
end
|
56
|
+
|
57
|
+
def deserialize(params)
|
58
|
+
@TotalCapacity = params['TotalCapacity']
|
59
|
+
@TotalFreeCapacity = params['TotalFreeCapacity']
|
60
|
+
@TotalUsedCapacity = params['TotalUsedCapacity']
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# 用于购买页面添加cos信息
|
65
|
+
class CosInfo < TencentCloud::Common::AbstractModel
|
66
|
+
# @param Size: COS存储大小,单位TB
|
67
|
+
# @type Size: Integer
|
68
|
+
# @param Type: COS存储类型,默认为cos
|
69
|
+
# @type Type: String
|
70
|
+
|
71
|
+
attr_accessor :Size, :Type
|
72
|
+
|
73
|
+
def initialize(size=nil, type=nil)
|
74
|
+
@Size = size
|
75
|
+
@Type = type
|
76
|
+
end
|
77
|
+
|
78
|
+
def deserialize(params)
|
79
|
+
@Size = params['Size']
|
80
|
+
@Type = params['Type']
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# CreateDedicatedClusterOrder请求参数结构体
|
85
|
+
class CreateDedicatedClusterOrderRequest < TencentCloud::Common::AbstractModel
|
86
|
+
# @param DedicatedClusterId: 专用集群id
|
87
|
+
# @type DedicatedClusterId: String
|
88
|
+
# @param DedicatedClusterTypes: order关联的专用集群类型数组
|
89
|
+
# @type DedicatedClusterTypes: Array
|
90
|
+
# @param CosInfo: order关联的cos存储信息
|
91
|
+
# @type CosInfo: :class:`Tencentcloud::Cdc.v20201214.models.CosInfo`
|
92
|
+
# @param CbsInfo: order关联的cbs存储信息
|
93
|
+
# @type CbsInfo: :class:`Tencentcloud::Cdc.v20201214.models.CbsInfo`
|
94
|
+
# @param PurchaseSource: 购买来源,默认为cloudApi
|
95
|
+
# @type PurchaseSource: String
|
96
|
+
# @param DedicatedClusterOrderId: 当调用API接口提交订单时,需要提交DedicatedClusterOrderId
|
97
|
+
# @type DedicatedClusterOrderId: String
|
98
|
+
|
99
|
+
attr_accessor :DedicatedClusterId, :DedicatedClusterTypes, :CosInfo, :CbsInfo, :PurchaseSource, :DedicatedClusterOrderId
|
100
|
+
|
101
|
+
def initialize(dedicatedclusterid=nil, dedicatedclustertypes=nil, cosinfo=nil, cbsinfo=nil, purchasesource=nil, dedicatedclusterorderid=nil)
|
102
|
+
@DedicatedClusterId = dedicatedclusterid
|
103
|
+
@DedicatedClusterTypes = dedicatedclustertypes
|
104
|
+
@CosInfo = cosinfo
|
105
|
+
@CbsInfo = cbsinfo
|
106
|
+
@PurchaseSource = purchasesource
|
107
|
+
@DedicatedClusterOrderId = dedicatedclusterorderid
|
108
|
+
end
|
109
|
+
|
110
|
+
def deserialize(params)
|
111
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
112
|
+
unless params['DedicatedClusterTypes'].nil?
|
113
|
+
@DedicatedClusterTypes = []
|
114
|
+
params['DedicatedClusterTypes'].each do |i|
|
115
|
+
dedicatedclustertypeinfo_tmp = DedicatedClusterTypeInfo.new
|
116
|
+
dedicatedclustertypeinfo_tmp.deserialize(i)
|
117
|
+
@DedicatedClusterTypes << dedicatedclustertypeinfo_tmp
|
118
|
+
end
|
119
|
+
end
|
120
|
+
unless params['CosInfo'].nil?
|
121
|
+
@CosInfo = CosInfo.new
|
122
|
+
@CosInfo.deserialize(params['CosInfo'])
|
123
|
+
end
|
124
|
+
unless params['CbsInfo'].nil?
|
125
|
+
@CbsInfo = CbsInfo.new
|
126
|
+
@CbsInfo.deserialize(params['CbsInfo'])
|
127
|
+
end
|
128
|
+
@PurchaseSource = params['PurchaseSource']
|
129
|
+
@DedicatedClusterOrderId = params['DedicatedClusterOrderId']
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# CreateDedicatedClusterOrder返回参数结构体
|
134
|
+
class CreateDedicatedClusterOrderResponse < TencentCloud::Common::AbstractModel
|
135
|
+
# @param DedicatedClusterOrderId: 专用集群订单id
|
136
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
137
|
+
# @type DedicatedClusterOrderId: String
|
138
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
139
|
+
# @type RequestId: String
|
140
|
+
|
141
|
+
attr_accessor :DedicatedClusterOrderId, :RequestId
|
142
|
+
|
143
|
+
def initialize(dedicatedclusterorderid=nil, requestid=nil)
|
144
|
+
@DedicatedClusterOrderId = dedicatedclusterorderid
|
145
|
+
@RequestId = requestid
|
146
|
+
end
|
147
|
+
|
148
|
+
def deserialize(params)
|
149
|
+
@DedicatedClusterOrderId = params['DedicatedClusterOrderId']
|
150
|
+
@RequestId = params['RequestId']
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# CreateDedicatedCluster请求参数结构体
|
155
|
+
class CreateDedicatedClusterRequest < TencentCloud::Common::AbstractModel
|
156
|
+
# @param SiteId: 专用集群所属的SiteId
|
157
|
+
# @type SiteId: String
|
158
|
+
# @param Name: 专用集群的名称
|
159
|
+
# @type Name: String
|
160
|
+
# @param Zone: 专用集群所属的可用区
|
161
|
+
# @type Zone: String
|
162
|
+
# @param Description: 专用集群的描述
|
163
|
+
# @type Description: String
|
164
|
+
|
165
|
+
attr_accessor :SiteId, :Name, :Zone, :Description
|
166
|
+
|
167
|
+
def initialize(siteid=nil, name=nil, zone=nil, description=nil)
|
168
|
+
@SiteId = siteid
|
169
|
+
@Name = name
|
170
|
+
@Zone = zone
|
171
|
+
@Description = description
|
172
|
+
end
|
173
|
+
|
174
|
+
def deserialize(params)
|
175
|
+
@SiteId = params['SiteId']
|
176
|
+
@Name = params['Name']
|
177
|
+
@Zone = params['Zone']
|
178
|
+
@Description = params['Description']
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
# CreateDedicatedCluster返回参数结构体
|
183
|
+
class CreateDedicatedClusterResponse < TencentCloud::Common::AbstractModel
|
184
|
+
# @param DedicatedClusterId: 创建的专用集群id
|
185
|
+
# @type DedicatedClusterId: String
|
186
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
187
|
+
# @type RequestId: String
|
188
|
+
|
189
|
+
attr_accessor :DedicatedClusterId, :RequestId
|
190
|
+
|
191
|
+
def initialize(dedicatedclusterid=nil, requestid=nil)
|
192
|
+
@DedicatedClusterId = dedicatedclusterid
|
193
|
+
@RequestId = requestid
|
194
|
+
end
|
195
|
+
|
196
|
+
def deserialize(params)
|
197
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
198
|
+
@RequestId = params['RequestId']
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
# CreateSite请求参数结构体
|
203
|
+
class CreateSiteRequest < TencentCloud::Common::AbstractModel
|
204
|
+
# @param Name: 站点名称
|
205
|
+
# @type Name: String
|
206
|
+
# @param Country: 站点所在国家
|
207
|
+
# @type Country: String
|
208
|
+
# @param Province: 站点所在省份
|
209
|
+
# @type Province: String
|
210
|
+
# @param City: 站点所在城市
|
211
|
+
# @type City: String
|
212
|
+
# @param AddressLine: 站点所在地区的详细地址信息
|
213
|
+
# @type AddressLine: String
|
214
|
+
# @param Description: 站点描述
|
215
|
+
# @type Description: String
|
216
|
+
# @param Note: 注意事项
|
217
|
+
# @type Note: String
|
218
|
+
# @param FiberType: 您将使用光纤类型将CDC设备连接到网络。有单模和多模两种选项。
|
219
|
+
# @type FiberType: String
|
220
|
+
# @param OpticalStandard: 您将CDC连接到网络时采用的光学标准。此字段取决于上行链路速度、光纤类型和到上游设备的距离。
|
221
|
+
# @type OpticalStandard: String
|
222
|
+
# @param PowerConnectors: 电源连接器类型
|
223
|
+
# @type PowerConnectors: String
|
224
|
+
# @param PowerFeedDrop: 从机架上方还是下方供电。
|
225
|
+
# @type PowerFeedDrop: String
|
226
|
+
# @param MaxWeight: 最大承重(KG)
|
227
|
+
# @type MaxWeight: Integer
|
228
|
+
# @param PowerDrawKva: 功耗(KW)
|
229
|
+
# @type PowerDrawKva: Integer
|
230
|
+
# @param UplinkSpeedGbps: 网络到腾讯云Region区域的上行链路速度
|
231
|
+
# @type UplinkSpeedGbps: Integer
|
232
|
+
# @param UplinkCount: 将CDC连接到网络时,每台CDC网络设备(每个机架 2 台设备)使用的上行链路数量。
|
233
|
+
# @type UplinkCount: Integer
|
234
|
+
# @param ConditionRequirement: 是否满足下面环境条件:
|
235
|
+
# 1、场地没有材料要求或验收标准会影响 CDC 设备配送和安装。
|
236
|
+
# 2、确定的机架位置包含:
|
237
|
+
# 温度范围为 41 到 104°F (5 到 40°C)。
|
238
|
+
# 湿度范围为 10°F (-12°C)和 8% RH (相对湿度)到 70°F(21°C)和 80% RH。
|
239
|
+
# 机架位置的气流方向为从前向后,且应具有足够的 CFM (每分钟立方英尺)。CFM 必须是 CDC 配置的 kVA 功耗值的 145.8 倍。
|
240
|
+
# @type ConditionRequirement: Boolean
|
241
|
+
# @param DimensionRequirement: 是否满足下面的尺寸条件:
|
242
|
+
# 您的装货站台可以容纳一个机架箱(高 x 宽 x 深 = 94" x 54" x 48")。
|
243
|
+
# 您可以提供从机架(高 x 宽 x 深 = 80" x 24" x 48")交货地点到机架最终安置位置的明确通道。测量深度时,应包括站台、走廊通道、门、转弯、坡道、货梯,并将其他通道限制考虑在内。
|
244
|
+
# 在最终的 CDC安置位置,前部间隙可以为 48" 或更大,后部间隙可以为 24" 或更大。
|
245
|
+
# @type DimensionRequirement: Boolean
|
246
|
+
# @param RedundantNetworking: 是否提供冗余的上游设备(交换机或路由器),以便两台 网络设备都能连接到网络设备。
|
247
|
+
# @type RedundantNetworking: Boolean
|
248
|
+
# @param PostalCode: 站点所在地区的邮编
|
249
|
+
# @type PostalCode: Integer
|
250
|
+
# @param OptionalAddressLine: 站点所在地区的详细地址信息(补充)
|
251
|
+
# @type OptionalAddressLine: String
|
252
|
+
# @param NeedHelp: 是否需要腾讯云团队协助完成机架支撑工作
|
253
|
+
# @type NeedHelp: Boolean
|
254
|
+
# @param RedundantPower: 是否电源冗余
|
255
|
+
# @type RedundantPower: Boolean
|
256
|
+
# @param BreakerRequirement: 上游断路器是否具备
|
257
|
+
# @type BreakerRequirement: Boolean
|
258
|
+
|
259
|
+
attr_accessor :Name, :Country, :Province, :City, :AddressLine, :Description, :Note, :FiberType, :OpticalStandard, :PowerConnectors, :PowerFeedDrop, :MaxWeight, :PowerDrawKva, :UplinkSpeedGbps, :UplinkCount, :ConditionRequirement, :DimensionRequirement, :RedundantNetworking, :PostalCode, :OptionalAddressLine, :NeedHelp, :RedundantPower, :BreakerRequirement
|
260
|
+
|
261
|
+
def initialize(name=nil, country=nil, province=nil, city=nil, addressline=nil, description=nil, note=nil, fibertype=nil, opticalstandard=nil, powerconnectors=nil, powerfeeddrop=nil, maxweight=nil, powerdrawkva=nil, uplinkspeedgbps=nil, uplinkcount=nil, conditionrequirement=nil, dimensionrequirement=nil, redundantnetworking=nil, postalcode=nil, optionaladdressline=nil, needhelp=nil, redundantpower=nil, breakerrequirement=nil)
|
262
|
+
@Name = name
|
263
|
+
@Country = country
|
264
|
+
@Province = province
|
265
|
+
@City = city
|
266
|
+
@AddressLine = addressline
|
267
|
+
@Description = description
|
268
|
+
@Note = note
|
269
|
+
@FiberType = fibertype
|
270
|
+
@OpticalStandard = opticalstandard
|
271
|
+
@PowerConnectors = powerconnectors
|
272
|
+
@PowerFeedDrop = powerfeeddrop
|
273
|
+
@MaxWeight = maxweight
|
274
|
+
@PowerDrawKva = powerdrawkva
|
275
|
+
@UplinkSpeedGbps = uplinkspeedgbps
|
276
|
+
@UplinkCount = uplinkcount
|
277
|
+
@ConditionRequirement = conditionrequirement
|
278
|
+
@DimensionRequirement = dimensionrequirement
|
279
|
+
@RedundantNetworking = redundantnetworking
|
280
|
+
@PostalCode = postalcode
|
281
|
+
@OptionalAddressLine = optionaladdressline
|
282
|
+
@NeedHelp = needhelp
|
283
|
+
@RedundantPower = redundantpower
|
284
|
+
@BreakerRequirement = breakerrequirement
|
285
|
+
end
|
286
|
+
|
287
|
+
def deserialize(params)
|
288
|
+
@Name = params['Name']
|
289
|
+
@Country = params['Country']
|
290
|
+
@Province = params['Province']
|
291
|
+
@City = params['City']
|
292
|
+
@AddressLine = params['AddressLine']
|
293
|
+
@Description = params['Description']
|
294
|
+
@Note = params['Note']
|
295
|
+
@FiberType = params['FiberType']
|
296
|
+
@OpticalStandard = params['OpticalStandard']
|
297
|
+
@PowerConnectors = params['PowerConnectors']
|
298
|
+
@PowerFeedDrop = params['PowerFeedDrop']
|
299
|
+
@MaxWeight = params['MaxWeight']
|
300
|
+
@PowerDrawKva = params['PowerDrawKva']
|
301
|
+
@UplinkSpeedGbps = params['UplinkSpeedGbps']
|
302
|
+
@UplinkCount = params['UplinkCount']
|
303
|
+
@ConditionRequirement = params['ConditionRequirement']
|
304
|
+
@DimensionRequirement = params['DimensionRequirement']
|
305
|
+
@RedundantNetworking = params['RedundantNetworking']
|
306
|
+
@PostalCode = params['PostalCode']
|
307
|
+
@OptionalAddressLine = params['OptionalAddressLine']
|
308
|
+
@NeedHelp = params['NeedHelp']
|
309
|
+
@RedundantPower = params['RedundantPower']
|
310
|
+
@BreakerRequirement = params['BreakerRequirement']
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
# CreateSite返回参数结构体
|
315
|
+
class CreateSiteResponse < TencentCloud::Common::AbstractModel
|
316
|
+
# @param SiteId: 创建Site生成的id
|
317
|
+
# @type SiteId: String
|
318
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
319
|
+
# @type RequestId: String
|
320
|
+
|
321
|
+
attr_accessor :SiteId, :RequestId
|
322
|
+
|
323
|
+
def initialize(siteid=nil, requestid=nil)
|
324
|
+
@SiteId = siteid
|
325
|
+
@RequestId = requestid
|
326
|
+
end
|
327
|
+
|
328
|
+
def deserialize(params)
|
329
|
+
@SiteId = params['SiteId']
|
330
|
+
@RequestId = params['RequestId']
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
# 专用集群列表
|
335
|
+
class DedicatedCluster < TencentCloud::Common::AbstractModel
|
336
|
+
# @param DedicatedClusterId: 专用集群id。如"cluster-xxxxx"。
|
337
|
+
# @type DedicatedClusterId: String
|
338
|
+
# @param Zone: 专用集群所属可用区名称。
|
339
|
+
# @type Zone: String
|
340
|
+
# @param Description: 专用集群的描述。
|
341
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
342
|
+
# @type Description: String
|
343
|
+
# @param Name: 专用集群的名称。
|
344
|
+
# @type Name: String
|
345
|
+
# @param LifecycleStatus: 专用集群的生命周期。如"PENDING"。
|
346
|
+
# @type LifecycleStatus: String
|
347
|
+
# @param CreateTime: 专用集群的创建时间。
|
348
|
+
# @type CreateTime: String
|
349
|
+
# @param SiteId: 专用集群所属的站点id。
|
350
|
+
# @type SiteId: String
|
351
|
+
|
352
|
+
attr_accessor :DedicatedClusterId, :Zone, :Description, :Name, :LifecycleStatus, :CreateTime, :SiteId
|
353
|
+
|
354
|
+
def initialize(dedicatedclusterid=nil, zone=nil, description=nil, name=nil, lifecyclestatus=nil, createtime=nil, siteid=nil)
|
355
|
+
@DedicatedClusterId = dedicatedclusterid
|
356
|
+
@Zone = zone
|
357
|
+
@Description = description
|
358
|
+
@Name = name
|
359
|
+
@LifecycleStatus = lifecyclestatus
|
360
|
+
@CreateTime = createtime
|
361
|
+
@SiteId = siteid
|
362
|
+
end
|
363
|
+
|
364
|
+
def deserialize(params)
|
365
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
366
|
+
@Zone = params['Zone']
|
367
|
+
@Description = params['Description']
|
368
|
+
@Name = params['Name']
|
369
|
+
@LifecycleStatus = params['LifecycleStatus']
|
370
|
+
@CreateTime = params['CreateTime']
|
371
|
+
@SiteId = params['SiteId']
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
# 专用宿主机支持的实例规格列表
|
376
|
+
class DedicatedClusterInstanceType < TencentCloud::Common::AbstractModel
|
377
|
+
# @param Zone: 可用区
|
378
|
+
# @type Zone: String
|
379
|
+
# @param InstanceType: 规格名称
|
380
|
+
# @type InstanceType: String
|
381
|
+
# @param NetworkCard: 网卡类型,例如:25代表25G网卡
|
382
|
+
# @type NetworkCard: Integer
|
383
|
+
# @param Cpu: 实例的CPU核数,单位:核。
|
384
|
+
# @type Cpu: Integer
|
385
|
+
# @param Memory: 实例内存容量,单位:`GB`。
|
386
|
+
# @type Memory: Integer
|
387
|
+
# @param InstanceFamily: 实例机型系列。
|
388
|
+
# @type InstanceFamily: String
|
389
|
+
# @param TypeName: 机型名称。
|
390
|
+
# @type TypeName: String
|
391
|
+
# @param StorageBlockAmount: 本地存储块数量。
|
392
|
+
# @type StorageBlockAmount: Integer
|
393
|
+
# @param InstanceBandwidth: 内网带宽,单位Gbps。
|
394
|
+
# @type InstanceBandwidth: Float
|
395
|
+
# @param InstancePps: 网络收发包能力,单位万PPS。
|
396
|
+
# @type InstancePps: Integer
|
397
|
+
# @param CpuType: 处理器型号。
|
398
|
+
# @type CpuType: String
|
399
|
+
# @param Gpu: 实例的GPU数量。
|
400
|
+
# @type Gpu: Integer
|
401
|
+
# @param Fpga: 实例的FPGA数量。
|
402
|
+
# @type Fpga: Integer
|
403
|
+
# @param Remark: 机型描述
|
404
|
+
# @type Remark: String
|
405
|
+
# @param Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br><li>SOLD_OUT:表示实例已售罄。
|
406
|
+
# @type Status: String
|
407
|
+
|
408
|
+
attr_accessor :Zone, :InstanceType, :NetworkCard, :Cpu, :Memory, :InstanceFamily, :TypeName, :StorageBlockAmount, :InstanceBandwidth, :InstancePps, :CpuType, :Gpu, :Fpga, :Remark, :Status
|
409
|
+
|
410
|
+
def initialize(zone=nil, instancetype=nil, networkcard=nil, cpu=nil, memory=nil, instancefamily=nil, typename=nil, storageblockamount=nil, instancebandwidth=nil, instancepps=nil, cputype=nil, gpu=nil, fpga=nil, remark=nil, status=nil)
|
411
|
+
@Zone = zone
|
412
|
+
@InstanceType = instancetype
|
413
|
+
@NetworkCard = networkcard
|
414
|
+
@Cpu = cpu
|
415
|
+
@Memory = memory
|
416
|
+
@InstanceFamily = instancefamily
|
417
|
+
@TypeName = typename
|
418
|
+
@StorageBlockAmount = storageblockamount
|
419
|
+
@InstanceBandwidth = instancebandwidth
|
420
|
+
@InstancePps = instancepps
|
421
|
+
@CpuType = cputype
|
422
|
+
@Gpu = gpu
|
423
|
+
@Fpga = fpga
|
424
|
+
@Remark = remark
|
425
|
+
@Status = status
|
426
|
+
end
|
427
|
+
|
428
|
+
def deserialize(params)
|
429
|
+
@Zone = params['Zone']
|
430
|
+
@InstanceType = params['InstanceType']
|
431
|
+
@NetworkCard = params['NetworkCard']
|
432
|
+
@Cpu = params['Cpu']
|
433
|
+
@Memory = params['Memory']
|
434
|
+
@InstanceFamily = params['InstanceFamily']
|
435
|
+
@TypeName = params['TypeName']
|
436
|
+
@StorageBlockAmount = params['StorageBlockAmount']
|
437
|
+
@InstanceBandwidth = params['InstanceBandwidth']
|
438
|
+
@InstancePps = params['InstancePps']
|
439
|
+
@CpuType = params['CpuType']
|
440
|
+
@Gpu = params['Gpu']
|
441
|
+
@Fpga = params['Fpga']
|
442
|
+
@Remark = params['Remark']
|
443
|
+
@Status = params['Status']
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
# 专用集群订单
|
448
|
+
class DedicatedClusterOrder < TencentCloud::Common::AbstractModel
|
449
|
+
# @param DedicatedClusterId: 专用集群id
|
450
|
+
# @type DedicatedClusterId: String
|
451
|
+
# @param DedicatedClusterTypeId: 专用集群类型id(移到下一层级,已经废弃,后续将删除)
|
452
|
+
# @type DedicatedClusterTypeId: String
|
453
|
+
# @param SupportedStorageType: 支持的存储类型列表(移到下一层级,已经废弃,后续将删除)
|
454
|
+
# @type SupportedStorageType: Array
|
455
|
+
# @param SupportedUplinkSpeed: 支持的上连交换机的链路传输速率(GiB)(移到下一层级,已经废弃,后续将删除)
|
456
|
+
# @type SupportedUplinkSpeed: Array
|
457
|
+
# @param SupportedInstanceFamily: 支持的实例族列表(移到下一层级,已经废弃,后续将删除)
|
458
|
+
# @type SupportedInstanceFamily: Array
|
459
|
+
# @param Weight: 地板承重要求(KG)
|
460
|
+
# @type Weight: Integer
|
461
|
+
# @param PowerDraw: 功率要求(KW)
|
462
|
+
# @type PowerDraw: Float
|
463
|
+
# @param OrderStatus: 订单状态
|
464
|
+
# @type OrderStatus: String
|
465
|
+
# @param CreateTime: 订单创建的时间
|
466
|
+
# @type CreateTime: String
|
467
|
+
# @param DedicatedClusterOrderId: 大订单ID
|
468
|
+
# @type DedicatedClusterOrderId: String
|
469
|
+
# @param Action: 订单类型,创建CREATE或扩容EXTEND
|
470
|
+
# @type Action: String
|
471
|
+
# @param DedicatedClusterOrderItems: 子订单详情列表
|
472
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
473
|
+
# @type DedicatedClusterOrderItems: Array
|
474
|
+
# @param Cpu: cpu值
|
475
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
476
|
+
# @type Cpu: Integer
|
477
|
+
# @param Mem: mem值
|
478
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
479
|
+
# @type Mem: Integer
|
480
|
+
# @param Gpu: gpu值
|
481
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
482
|
+
# @type Gpu: Integer
|
483
|
+
# @param PayStatus: 0代表未支付,1代表已支付
|
484
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
485
|
+
# @type PayStatus: Integer
|
486
|
+
|
487
|
+
attr_accessor :DedicatedClusterId, :DedicatedClusterTypeId, :SupportedStorageType, :SupportedUplinkSpeed, :SupportedInstanceFamily, :Weight, :PowerDraw, :OrderStatus, :CreateTime, :DedicatedClusterOrderId, :Action, :DedicatedClusterOrderItems, :Cpu, :Mem, :Gpu, :PayStatus
|
488
|
+
|
489
|
+
def initialize(dedicatedclusterid=nil, dedicatedclustertypeid=nil, supportedstoragetype=nil, supporteduplinkspeed=nil, supportedinstancefamily=nil, weight=nil, powerdraw=nil, orderstatus=nil, createtime=nil, dedicatedclusterorderid=nil, action=nil, dedicatedclusterorderitems=nil, cpu=nil, mem=nil, gpu=nil, paystatus=nil)
|
490
|
+
@DedicatedClusterId = dedicatedclusterid
|
491
|
+
@DedicatedClusterTypeId = dedicatedclustertypeid
|
492
|
+
@SupportedStorageType = supportedstoragetype
|
493
|
+
@SupportedUplinkSpeed = supporteduplinkspeed
|
494
|
+
@SupportedInstanceFamily = supportedinstancefamily
|
495
|
+
@Weight = weight
|
496
|
+
@PowerDraw = powerdraw
|
497
|
+
@OrderStatus = orderstatus
|
498
|
+
@CreateTime = createtime
|
499
|
+
@DedicatedClusterOrderId = dedicatedclusterorderid
|
500
|
+
@Action = action
|
501
|
+
@DedicatedClusterOrderItems = dedicatedclusterorderitems
|
502
|
+
@Cpu = cpu
|
503
|
+
@Mem = mem
|
504
|
+
@Gpu = gpu
|
505
|
+
@PayStatus = paystatus
|
506
|
+
end
|
507
|
+
|
508
|
+
def deserialize(params)
|
509
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
510
|
+
@DedicatedClusterTypeId = params['DedicatedClusterTypeId']
|
511
|
+
@SupportedStorageType = params['SupportedStorageType']
|
512
|
+
@SupportedUplinkSpeed = params['SupportedUplinkSpeed']
|
513
|
+
@SupportedInstanceFamily = params['SupportedInstanceFamily']
|
514
|
+
@Weight = params['Weight']
|
515
|
+
@PowerDraw = params['PowerDraw']
|
516
|
+
@OrderStatus = params['OrderStatus']
|
517
|
+
@CreateTime = params['CreateTime']
|
518
|
+
@DedicatedClusterOrderId = params['DedicatedClusterOrderId']
|
519
|
+
@Action = params['Action']
|
520
|
+
unless params['DedicatedClusterOrderItems'].nil?
|
521
|
+
@DedicatedClusterOrderItems = []
|
522
|
+
params['DedicatedClusterOrderItems'].each do |i|
|
523
|
+
dedicatedclusterorderitem_tmp = DedicatedClusterOrderItem.new
|
524
|
+
dedicatedclusterorderitem_tmp.deserialize(i)
|
525
|
+
@DedicatedClusterOrderItems << dedicatedclusterorderitem_tmp
|
526
|
+
end
|
527
|
+
end
|
528
|
+
@Cpu = params['Cpu']
|
529
|
+
@Mem = params['Mem']
|
530
|
+
@Gpu = params['Gpu']
|
531
|
+
@PayStatus = params['PayStatus']
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
# 专用集群子订单
|
536
|
+
class DedicatedClusterOrderItem < TencentCloud::Common::AbstractModel
|
537
|
+
# @param DedicatedClusterTypeId: 专用集群类型id
|
538
|
+
# @type DedicatedClusterTypeId: String
|
539
|
+
# @param SupportedStorageType: 支持的存储类型列表
|
540
|
+
# @type SupportedStorageType: Array
|
541
|
+
# @param SupportedUplinkSpeed: 支持的上连交换机的链路传输速率(GiB)
|
542
|
+
# @type SupportedUplinkSpeed: Array
|
543
|
+
# @param SupportedInstanceFamily: 支持的实例族列表
|
544
|
+
# @type SupportedInstanceFamily: Array
|
545
|
+
# @param Weight: 地板承重要求(KG)
|
546
|
+
# @type Weight: Integer
|
547
|
+
# @param PowerDraw: 功率要求(KW)
|
548
|
+
# @type PowerDraw: Float
|
549
|
+
# @param SubOrderStatus: 订单状态
|
550
|
+
# @type SubOrderStatus: String
|
551
|
+
# @param CreateTime: 订单创建的时间
|
552
|
+
# @type CreateTime: String
|
553
|
+
# @param SubOrderId: 子订单ID
|
554
|
+
# @type SubOrderId: String
|
555
|
+
# @param Count: 关联的集群规格数量
|
556
|
+
# @type Count: Integer
|
557
|
+
# @param Name: 规格简单描述
|
558
|
+
# @type Name: String
|
559
|
+
# @param Description: 规格详细描述
|
560
|
+
# @type Description: String
|
561
|
+
# @param TotalCpu: CPU数
|
562
|
+
# @type TotalCpu: Integer
|
563
|
+
# @param TotalMem: 内存数
|
564
|
+
# @type TotalMem: Integer
|
565
|
+
# @param TotalGpu: GPU数
|
566
|
+
# @type TotalGpu: Integer
|
567
|
+
# @param TypeName: 规格英文名
|
568
|
+
# @type TypeName: String
|
569
|
+
# @param ComputeFormat: 规格展示
|
570
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
571
|
+
# @type ComputeFormat: String
|
572
|
+
|
573
|
+
attr_accessor :DedicatedClusterTypeId, :SupportedStorageType, :SupportedUplinkSpeed, :SupportedInstanceFamily, :Weight, :PowerDraw, :SubOrderStatus, :CreateTime, :SubOrderId, :Count, :Name, :Description, :TotalCpu, :TotalMem, :TotalGpu, :TypeName, :ComputeFormat
|
574
|
+
|
575
|
+
def initialize(dedicatedclustertypeid=nil, supportedstoragetype=nil, supporteduplinkspeed=nil, supportedinstancefamily=nil, weight=nil, powerdraw=nil, suborderstatus=nil, createtime=nil, suborderid=nil, count=nil, name=nil, description=nil, totalcpu=nil, totalmem=nil, totalgpu=nil, typename=nil, computeformat=nil)
|
576
|
+
@DedicatedClusterTypeId = dedicatedclustertypeid
|
577
|
+
@SupportedStorageType = supportedstoragetype
|
578
|
+
@SupportedUplinkSpeed = supporteduplinkspeed
|
579
|
+
@SupportedInstanceFamily = supportedinstancefamily
|
580
|
+
@Weight = weight
|
581
|
+
@PowerDraw = powerdraw
|
582
|
+
@SubOrderStatus = suborderstatus
|
583
|
+
@CreateTime = createtime
|
584
|
+
@SubOrderId = suborderid
|
585
|
+
@Count = count
|
586
|
+
@Name = name
|
587
|
+
@Description = description
|
588
|
+
@TotalCpu = totalcpu
|
589
|
+
@TotalMem = totalmem
|
590
|
+
@TotalGpu = totalgpu
|
591
|
+
@TypeName = typename
|
592
|
+
@ComputeFormat = computeformat
|
593
|
+
end
|
594
|
+
|
595
|
+
def deserialize(params)
|
596
|
+
@DedicatedClusterTypeId = params['DedicatedClusterTypeId']
|
597
|
+
@SupportedStorageType = params['SupportedStorageType']
|
598
|
+
@SupportedUplinkSpeed = params['SupportedUplinkSpeed']
|
599
|
+
@SupportedInstanceFamily = params['SupportedInstanceFamily']
|
600
|
+
@Weight = params['Weight']
|
601
|
+
@PowerDraw = params['PowerDraw']
|
602
|
+
@SubOrderStatus = params['SubOrderStatus']
|
603
|
+
@CreateTime = params['CreateTime']
|
604
|
+
@SubOrderId = params['SubOrderId']
|
605
|
+
@Count = params['Count']
|
606
|
+
@Name = params['Name']
|
607
|
+
@Description = params['Description']
|
608
|
+
@TotalCpu = params['TotalCpu']
|
609
|
+
@TotalMem = params['TotalMem']
|
610
|
+
@TotalGpu = params['TotalGpu']
|
611
|
+
@TypeName = params['TypeName']
|
612
|
+
@ComputeFormat = params['ComputeFormat']
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
# 专用集群配置
|
617
|
+
class DedicatedClusterType < TencentCloud::Common::AbstractModel
|
618
|
+
# @param DedicatedClusterTypeId: 配置id
|
619
|
+
# @type DedicatedClusterTypeId: String
|
620
|
+
# @param Description: 配置描述,对应描述
|
621
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
622
|
+
# @type Description: String
|
623
|
+
# @param Name: 配置名称,对应计算资源类型
|
624
|
+
# @type Name: String
|
625
|
+
# @param CreateTime: 创建配置的时间
|
626
|
+
# @type CreateTime: String
|
627
|
+
# @param SupportedStorageType: 支持的存储类型列表
|
628
|
+
# @type SupportedStorageType: Array
|
629
|
+
# @param SupportedUplinkGiB: 支持的上连交换机的链路传输速率
|
630
|
+
# @type SupportedUplinkGiB: Array
|
631
|
+
# @param SupportedInstanceFamily: 支持的实例族列表
|
632
|
+
# @type SupportedInstanceFamily: Array
|
633
|
+
# @param Weight: 地板承重要求(KG)
|
634
|
+
# @type Weight: Integer
|
635
|
+
# @param PowerDrawKva: 功率要求(KW)
|
636
|
+
# @type PowerDrawKva: Float
|
637
|
+
# @param ComputeFormatDesc: 显示计算资源规格详情,存储等资源不显示;对应规格
|
638
|
+
# @type ComputeFormatDesc: String
|
639
|
+
|
640
|
+
attr_accessor :DedicatedClusterTypeId, :Description, :Name, :CreateTime, :SupportedStorageType, :SupportedUplinkGiB, :SupportedInstanceFamily, :Weight, :PowerDrawKva, :ComputeFormatDesc
|
641
|
+
|
642
|
+
def initialize(dedicatedclustertypeid=nil, description=nil, name=nil, createtime=nil, supportedstoragetype=nil, supporteduplinkgib=nil, supportedinstancefamily=nil, weight=nil, powerdrawkva=nil, computeformatdesc=nil)
|
643
|
+
@DedicatedClusterTypeId = dedicatedclustertypeid
|
644
|
+
@Description = description
|
645
|
+
@Name = name
|
646
|
+
@CreateTime = createtime
|
647
|
+
@SupportedStorageType = supportedstoragetype
|
648
|
+
@SupportedUplinkGiB = supporteduplinkgib
|
649
|
+
@SupportedInstanceFamily = supportedinstancefamily
|
650
|
+
@Weight = weight
|
651
|
+
@PowerDrawKva = powerdrawkva
|
652
|
+
@ComputeFormatDesc = computeformatdesc
|
653
|
+
end
|
654
|
+
|
655
|
+
def deserialize(params)
|
656
|
+
@DedicatedClusterTypeId = params['DedicatedClusterTypeId']
|
657
|
+
@Description = params['Description']
|
658
|
+
@Name = params['Name']
|
659
|
+
@CreateTime = params['CreateTime']
|
660
|
+
@SupportedStorageType = params['SupportedStorageType']
|
661
|
+
@SupportedUplinkGiB = params['SupportedUplinkGiB']
|
662
|
+
@SupportedInstanceFamily = params['SupportedInstanceFamily']
|
663
|
+
@Weight = params['Weight']
|
664
|
+
@PowerDrawKva = params['PowerDrawKva']
|
665
|
+
@ComputeFormatDesc = params['ComputeFormatDesc']
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
# DedicatedClusterType => (Id, Count)
|
670
|
+
class DedicatedClusterTypeInfo < TencentCloud::Common::AbstractModel
|
671
|
+
# @param Id: 集群类型Id
|
672
|
+
# @type Id: String
|
673
|
+
# @param Count: 集群类型个数
|
674
|
+
# @type Count: Integer
|
675
|
+
|
676
|
+
attr_accessor :Id, :Count
|
677
|
+
|
678
|
+
def initialize(id=nil, count=nil)
|
679
|
+
@Id = id
|
680
|
+
@Count = count
|
681
|
+
end
|
682
|
+
|
683
|
+
def deserialize(params)
|
684
|
+
@Id = params['Id']
|
685
|
+
@Count = params['Count']
|
686
|
+
end
|
687
|
+
end
|
688
|
+
|
689
|
+
# DeleteDedicatedClusters请求参数结构体
|
690
|
+
class DeleteDedicatedClustersRequest < TencentCloud::Common::AbstractModel
|
691
|
+
# @param DedicatedClusterIds: 要删除的专用集群id
|
692
|
+
# @type DedicatedClusterIds: Array
|
693
|
+
|
694
|
+
attr_accessor :DedicatedClusterIds
|
695
|
+
|
696
|
+
def initialize(dedicatedclusterids=nil)
|
697
|
+
@DedicatedClusterIds = dedicatedclusterids
|
698
|
+
end
|
699
|
+
|
700
|
+
def deserialize(params)
|
701
|
+
@DedicatedClusterIds = params['DedicatedClusterIds']
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
705
|
+
# DeleteDedicatedClusters返回参数结构体
|
706
|
+
class DeleteDedicatedClustersResponse < TencentCloud::Common::AbstractModel
|
707
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
708
|
+
# @type RequestId: String
|
709
|
+
|
710
|
+
attr_accessor :RequestId
|
711
|
+
|
712
|
+
def initialize(requestid=nil)
|
713
|
+
@RequestId = requestid
|
714
|
+
end
|
715
|
+
|
716
|
+
def deserialize(params)
|
717
|
+
@RequestId = params['RequestId']
|
718
|
+
end
|
719
|
+
end
|
720
|
+
|
721
|
+
# DeleteSites请求参数结构体
|
722
|
+
class DeleteSitesRequest < TencentCloud::Common::AbstractModel
|
723
|
+
# @param SiteIds: 要删除的站点id列表
|
724
|
+
# @type SiteIds: Array
|
725
|
+
|
726
|
+
attr_accessor :SiteIds
|
727
|
+
|
728
|
+
def initialize(siteids=nil)
|
729
|
+
@SiteIds = siteids
|
730
|
+
end
|
731
|
+
|
732
|
+
def deserialize(params)
|
733
|
+
@SiteIds = params['SiteIds']
|
734
|
+
end
|
735
|
+
end
|
736
|
+
|
737
|
+
# DeleteSites返回参数结构体
|
738
|
+
class DeleteSitesResponse < TencentCloud::Common::AbstractModel
|
739
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
740
|
+
# @type RequestId: String
|
741
|
+
|
742
|
+
attr_accessor :RequestId
|
743
|
+
|
744
|
+
def initialize(requestid=nil)
|
745
|
+
@RequestId = requestid
|
746
|
+
end
|
747
|
+
|
748
|
+
def deserialize(params)
|
749
|
+
@RequestId = params['RequestId']
|
750
|
+
end
|
751
|
+
end
|
752
|
+
|
753
|
+
# DescribeDedicatedClusterCosCapacity请求参数结构体
|
754
|
+
class DescribeDedicatedClusterCosCapacityRequest < TencentCloud::Common::AbstractModel
|
755
|
+
# @param DedicatedClusterId: 查询的专用集群id
|
756
|
+
# @type DedicatedClusterId: String
|
757
|
+
|
758
|
+
attr_accessor :DedicatedClusterId
|
759
|
+
|
760
|
+
def initialize(dedicatedclusterid=nil)
|
761
|
+
@DedicatedClusterId = dedicatedclusterid
|
762
|
+
end
|
763
|
+
|
764
|
+
def deserialize(params)
|
765
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
# DescribeDedicatedClusterCosCapacity返回参数结构体
|
770
|
+
class DescribeDedicatedClusterCosCapacityResponse < TencentCloud::Common::AbstractModel
|
771
|
+
# @param CosCapacity: 本集群内cos容量信息,单位:‘GB’
|
772
|
+
# @type CosCapacity: :class:`Tencentcloud::Cdc.v20201214.models.CosCapacity`
|
773
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
774
|
+
# @type RequestId: String
|
775
|
+
|
776
|
+
attr_accessor :CosCapacity, :RequestId
|
777
|
+
|
778
|
+
def initialize(coscapacity=nil, requestid=nil)
|
779
|
+
@CosCapacity = coscapacity
|
780
|
+
@RequestId = requestid
|
781
|
+
end
|
782
|
+
|
783
|
+
def deserialize(params)
|
784
|
+
unless params['CosCapacity'].nil?
|
785
|
+
@CosCapacity = CosCapacity.new
|
786
|
+
@CosCapacity.deserialize(params['CosCapacity'])
|
787
|
+
end
|
788
|
+
@RequestId = params['RequestId']
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
792
|
+
# DescribeDedicatedClusterHostStatistics请求参数结构体
|
793
|
+
class DescribeDedicatedClusterHostStatisticsRequest < TencentCloud::Common::AbstractModel
|
794
|
+
# @param DedicatedClusterId: 查询的专用集群id
|
795
|
+
# @type DedicatedClusterId: String
|
796
|
+
|
797
|
+
attr_accessor :DedicatedClusterId
|
798
|
+
|
799
|
+
def initialize(dedicatedclusterid=nil)
|
800
|
+
@DedicatedClusterId = dedicatedclusterid
|
801
|
+
end
|
802
|
+
|
803
|
+
def deserialize(params)
|
804
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
805
|
+
end
|
806
|
+
end
|
807
|
+
|
808
|
+
# DescribeDedicatedClusterHostStatistics返回参数结构体
|
809
|
+
class DescribeDedicatedClusterHostStatisticsResponse < TencentCloud::Common::AbstractModel
|
810
|
+
# @param HostStatisticSet: 该集群内宿主机的统计信息列表
|
811
|
+
# @type HostStatisticSet: Array
|
812
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
813
|
+
# @type RequestId: String
|
814
|
+
|
815
|
+
attr_accessor :HostStatisticSet, :RequestId
|
816
|
+
|
817
|
+
def initialize(hoststatisticset=nil, requestid=nil)
|
818
|
+
@HostStatisticSet = hoststatisticset
|
819
|
+
@RequestId = requestid
|
820
|
+
end
|
821
|
+
|
822
|
+
def deserialize(params)
|
823
|
+
unless params['HostStatisticSet'].nil?
|
824
|
+
@HostStatisticSet = []
|
825
|
+
params['HostStatisticSet'].each do |i|
|
826
|
+
hoststatistic_tmp = HostStatistic.new
|
827
|
+
hoststatistic_tmp.deserialize(i)
|
828
|
+
@HostStatisticSet << hoststatistic_tmp
|
829
|
+
end
|
830
|
+
end
|
831
|
+
@RequestId = params['RequestId']
|
832
|
+
end
|
833
|
+
end
|
834
|
+
|
835
|
+
# DescribeDedicatedClusterHosts请求参数结构体
|
836
|
+
class DescribeDedicatedClusterHostsRequest < TencentCloud::Common::AbstractModel
|
837
|
+
# @param DedicatedClusterId: 集群id
|
838
|
+
# @type DedicatedClusterId: String
|
839
|
+
# @param Offset: 偏移量,默认为0。
|
840
|
+
# @type Offset: Integer
|
841
|
+
# @param Limit: 返回数量,默认为20
|
842
|
+
# @type Limit: Integer
|
843
|
+
|
844
|
+
attr_accessor :DedicatedClusterId, :Offset, :Limit
|
845
|
+
|
846
|
+
def initialize(dedicatedclusterid=nil, offset=nil, limit=nil)
|
847
|
+
@DedicatedClusterId = dedicatedclusterid
|
848
|
+
@Offset = offset
|
849
|
+
@Limit = limit
|
850
|
+
end
|
851
|
+
|
852
|
+
def deserialize(params)
|
853
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
854
|
+
@Offset = params['Offset']
|
855
|
+
@Limit = params['Limit']
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
# DescribeDedicatedClusterHosts返回参数结构体
|
860
|
+
class DescribeDedicatedClusterHostsResponse < TencentCloud::Common::AbstractModel
|
861
|
+
# @param HostInfoSet: 宿主机信息
|
862
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
863
|
+
# @type HostInfoSet: Array
|
864
|
+
# @param TotalCount: 宿主机总数
|
865
|
+
# @type TotalCount: Integer
|
866
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
867
|
+
# @type RequestId: String
|
868
|
+
|
869
|
+
attr_accessor :HostInfoSet, :TotalCount, :RequestId
|
870
|
+
|
871
|
+
def initialize(hostinfoset=nil, totalcount=nil, requestid=nil)
|
872
|
+
@HostInfoSet = hostinfoset
|
873
|
+
@TotalCount = totalcount
|
874
|
+
@RequestId = requestid
|
875
|
+
end
|
876
|
+
|
877
|
+
def deserialize(params)
|
878
|
+
unless params['HostInfoSet'].nil?
|
879
|
+
@HostInfoSet = []
|
880
|
+
params['HostInfoSet'].each do |i|
|
881
|
+
hostinfo_tmp = HostInfo.new
|
882
|
+
hostinfo_tmp.deserialize(i)
|
883
|
+
@HostInfoSet << hostinfo_tmp
|
884
|
+
end
|
885
|
+
end
|
886
|
+
@TotalCount = params['TotalCount']
|
887
|
+
@RequestId = params['RequestId']
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
891
|
+
# DescribeDedicatedClusterInstanceTypes请求参数结构体
|
892
|
+
class DescribeDedicatedClusterInstanceTypesRequest < TencentCloud::Common::AbstractModel
|
893
|
+
# @param DedicatedClusterId: 查询的专用集群id
|
894
|
+
# @type DedicatedClusterId: String
|
895
|
+
|
896
|
+
attr_accessor :DedicatedClusterId
|
897
|
+
|
898
|
+
def initialize(dedicatedclusterid=nil)
|
899
|
+
@DedicatedClusterId = dedicatedclusterid
|
900
|
+
end
|
901
|
+
|
902
|
+
def deserialize(params)
|
903
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
904
|
+
end
|
905
|
+
end
|
906
|
+
|
907
|
+
# DescribeDedicatedClusterInstanceTypes返回参数结构体
|
908
|
+
class DescribeDedicatedClusterInstanceTypesResponse < TencentCloud::Common::AbstractModel
|
909
|
+
# @param DedicatedClusterInstanceTypeSet: 支持的实例规格列表
|
910
|
+
# @type DedicatedClusterInstanceTypeSet: Array
|
911
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
912
|
+
# @type RequestId: String
|
913
|
+
|
914
|
+
attr_accessor :DedicatedClusterInstanceTypeSet, :RequestId
|
915
|
+
|
916
|
+
def initialize(dedicatedclusterinstancetypeset=nil, requestid=nil)
|
917
|
+
@DedicatedClusterInstanceTypeSet = dedicatedclusterinstancetypeset
|
918
|
+
@RequestId = requestid
|
919
|
+
end
|
920
|
+
|
921
|
+
def deserialize(params)
|
922
|
+
unless params['DedicatedClusterInstanceTypeSet'].nil?
|
923
|
+
@DedicatedClusterInstanceTypeSet = []
|
924
|
+
params['DedicatedClusterInstanceTypeSet'].each do |i|
|
925
|
+
dedicatedclusterinstancetype_tmp = DedicatedClusterInstanceType.new
|
926
|
+
dedicatedclusterinstancetype_tmp.deserialize(i)
|
927
|
+
@DedicatedClusterInstanceTypeSet << dedicatedclusterinstancetype_tmp
|
928
|
+
end
|
929
|
+
end
|
930
|
+
@RequestId = params['RequestId']
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
# DescribeDedicatedClusterOrders请求参数结构体
|
935
|
+
class DescribeDedicatedClusterOrdersRequest < TencentCloud::Common::AbstractModel
|
936
|
+
# @param DedicatedClusterIds: 按照专用集群id过滤
|
937
|
+
# @type DedicatedClusterIds: Array
|
938
|
+
# @param DedicatedClusterOrderIds: 按照专用集群订单id过滤
|
939
|
+
# @type DedicatedClusterOrderIds: String
|
940
|
+
# @param Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
941
|
+
# @type Offset: Integer
|
942
|
+
# @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
943
|
+
# @type Limit: Integer
|
944
|
+
# @param Status: 订单状态为过滤条件:PENDING INCONSTRUCTION DELIVERING DELIVERED EXPIRED CANCELLED OFFLINE
|
945
|
+
# @type Status: String
|
946
|
+
# @param ActionType: 订单类型为过滤条件:CREATE EXTEND
|
947
|
+
# @type ActionType: String
|
948
|
+
|
949
|
+
attr_accessor :DedicatedClusterIds, :DedicatedClusterOrderIds, :Offset, :Limit, :Status, :ActionType
|
950
|
+
|
951
|
+
def initialize(dedicatedclusterids=nil, dedicatedclusterorderids=nil, offset=nil, limit=nil, status=nil, actiontype=nil)
|
952
|
+
@DedicatedClusterIds = dedicatedclusterids
|
953
|
+
@DedicatedClusterOrderIds = dedicatedclusterorderids
|
954
|
+
@Offset = offset
|
955
|
+
@Limit = limit
|
956
|
+
@Status = status
|
957
|
+
@ActionType = actiontype
|
958
|
+
end
|
959
|
+
|
960
|
+
def deserialize(params)
|
961
|
+
@DedicatedClusterIds = params['DedicatedClusterIds']
|
962
|
+
@DedicatedClusterOrderIds = params['DedicatedClusterOrderIds']
|
963
|
+
@Offset = params['Offset']
|
964
|
+
@Limit = params['Limit']
|
965
|
+
@Status = params['Status']
|
966
|
+
@ActionType = params['ActionType']
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
970
|
+
# DescribeDedicatedClusterOrders返回参数结构体
|
971
|
+
class DescribeDedicatedClusterOrdersResponse < TencentCloud::Common::AbstractModel
|
972
|
+
# @param DedicatedClusterOrderSet: 专用集群订单列表
|
973
|
+
# @type DedicatedClusterOrderSet: Array
|
974
|
+
# @param TotalCount: 符合条件的专用集群订单总数
|
975
|
+
# @type TotalCount: Integer
|
976
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
977
|
+
# @type RequestId: String
|
978
|
+
|
979
|
+
attr_accessor :DedicatedClusterOrderSet, :TotalCount, :RequestId
|
980
|
+
|
981
|
+
def initialize(dedicatedclusterorderset=nil, totalcount=nil, requestid=nil)
|
982
|
+
@DedicatedClusterOrderSet = dedicatedclusterorderset
|
983
|
+
@TotalCount = totalcount
|
984
|
+
@RequestId = requestid
|
985
|
+
end
|
986
|
+
|
987
|
+
def deserialize(params)
|
988
|
+
unless params['DedicatedClusterOrderSet'].nil?
|
989
|
+
@DedicatedClusterOrderSet = []
|
990
|
+
params['DedicatedClusterOrderSet'].each do |i|
|
991
|
+
dedicatedclusterorder_tmp = DedicatedClusterOrder.new
|
992
|
+
dedicatedclusterorder_tmp.deserialize(i)
|
993
|
+
@DedicatedClusterOrderSet << dedicatedclusterorder_tmp
|
994
|
+
end
|
995
|
+
end
|
996
|
+
@TotalCount = params['TotalCount']
|
997
|
+
@RequestId = params['RequestId']
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
1001
|
+
# DescribeDedicatedClusterOverview请求参数结构体
|
1002
|
+
class DescribeDedicatedClusterOverviewRequest < TencentCloud::Common::AbstractModel
|
1003
|
+
# @param DedicatedClusterId: 集群id
|
1004
|
+
# @type DedicatedClusterId: String
|
1005
|
+
|
1006
|
+
attr_accessor :DedicatedClusterId
|
1007
|
+
|
1008
|
+
def initialize(dedicatedclusterid=nil)
|
1009
|
+
@DedicatedClusterId = dedicatedclusterid
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
def deserialize(params)
|
1013
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
1014
|
+
end
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
# DescribeDedicatedClusterOverview返回参数结构体
|
1018
|
+
class DescribeDedicatedClusterOverviewResponse < TencentCloud::Common::AbstractModel
|
1019
|
+
# @param CvmCount: 云服务器数量
|
1020
|
+
# @type CvmCount: Integer
|
1021
|
+
# @param HostCount: 宿主机数量
|
1022
|
+
# @type HostCount: Integer
|
1023
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1024
|
+
# @type RequestId: String
|
1025
|
+
|
1026
|
+
attr_accessor :CvmCount, :HostCount, :RequestId
|
1027
|
+
|
1028
|
+
def initialize(cvmcount=nil, hostcount=nil, requestid=nil)
|
1029
|
+
@CvmCount = cvmcount
|
1030
|
+
@HostCount = hostcount
|
1031
|
+
@RequestId = requestid
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
def deserialize(params)
|
1035
|
+
@CvmCount = params['CvmCount']
|
1036
|
+
@HostCount = params['HostCount']
|
1037
|
+
@RequestId = params['RequestId']
|
1038
|
+
end
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# DescribeDedicatedClusterTypes请求参数结构体
|
1042
|
+
class DescribeDedicatedClusterTypesRequest < TencentCloud::Common::AbstractModel
|
1043
|
+
# @param Name: 模糊匹配专用集群配置名称
|
1044
|
+
# @type Name: String
|
1045
|
+
# @param DedicatedClusterTypeIds: 待查询的专用集群配置id列表
|
1046
|
+
# @type DedicatedClusterTypeIds: Array
|
1047
|
+
# @param Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1048
|
+
# @type Offset: Integer
|
1049
|
+
# @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1050
|
+
# @type Limit: Integer
|
1051
|
+
# @param IsCompute: 是否只查询计算规格类型
|
1052
|
+
# @type IsCompute: Boolean
|
1053
|
+
|
1054
|
+
attr_accessor :Name, :DedicatedClusterTypeIds, :Offset, :Limit, :IsCompute
|
1055
|
+
|
1056
|
+
def initialize(name=nil, dedicatedclustertypeids=nil, offset=nil, limit=nil, iscompute=nil)
|
1057
|
+
@Name = name
|
1058
|
+
@DedicatedClusterTypeIds = dedicatedclustertypeids
|
1059
|
+
@Offset = offset
|
1060
|
+
@Limit = limit
|
1061
|
+
@IsCompute = iscompute
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
def deserialize(params)
|
1065
|
+
@Name = params['Name']
|
1066
|
+
@DedicatedClusterTypeIds = params['DedicatedClusterTypeIds']
|
1067
|
+
@Offset = params['Offset']
|
1068
|
+
@Limit = params['Limit']
|
1069
|
+
@IsCompute = params['IsCompute']
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# DescribeDedicatedClusterTypes返回参数结构体
|
1074
|
+
class DescribeDedicatedClusterTypesResponse < TencentCloud::Common::AbstractModel
|
1075
|
+
# @param DedicatedClusterTypeSet: 专用集群配置列表
|
1076
|
+
# @type DedicatedClusterTypeSet: Array
|
1077
|
+
# @param TotalCount: 符合条件的个数
|
1078
|
+
# @type TotalCount: Integer
|
1079
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1080
|
+
# @type RequestId: String
|
1081
|
+
|
1082
|
+
attr_accessor :DedicatedClusterTypeSet, :TotalCount, :RequestId
|
1083
|
+
|
1084
|
+
def initialize(dedicatedclustertypeset=nil, totalcount=nil, requestid=nil)
|
1085
|
+
@DedicatedClusterTypeSet = dedicatedclustertypeset
|
1086
|
+
@TotalCount = totalcount
|
1087
|
+
@RequestId = requestid
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
def deserialize(params)
|
1091
|
+
unless params['DedicatedClusterTypeSet'].nil?
|
1092
|
+
@DedicatedClusterTypeSet = []
|
1093
|
+
params['DedicatedClusterTypeSet'].each do |i|
|
1094
|
+
dedicatedclustertype_tmp = DedicatedClusterType.new
|
1095
|
+
dedicatedclustertype_tmp.deserialize(i)
|
1096
|
+
@DedicatedClusterTypeSet << dedicatedclustertype_tmp
|
1097
|
+
end
|
1098
|
+
end
|
1099
|
+
@TotalCount = params['TotalCount']
|
1100
|
+
@RequestId = params['RequestId']
|
1101
|
+
end
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
# DescribeDedicatedClusters请求参数结构体
|
1105
|
+
class DescribeDedicatedClustersRequest < TencentCloud::Common::AbstractModel
|
1106
|
+
# @param DedicatedClusterIds: 按照一个或者多个实例ID查询。实例ID形如:`cluster-xxxxxxxx`
|
1107
|
+
# @type DedicatedClusterIds: Array
|
1108
|
+
# @param Zones: 按照可用区名称过滤
|
1109
|
+
# @type Zones: Array
|
1110
|
+
# @param SiteIds: 按照站点id过滤
|
1111
|
+
# @type SiteIds: Array
|
1112
|
+
# @param LifecycleStatuses: 按照专用集群生命周期过滤
|
1113
|
+
# @type LifecycleStatuses: Array
|
1114
|
+
# @param Name: 模糊匹配专用集群名称
|
1115
|
+
# @type Name: String
|
1116
|
+
# @param Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1117
|
+
# @type Offset: Integer
|
1118
|
+
# @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1119
|
+
# @type Limit: Integer
|
1120
|
+
|
1121
|
+
attr_accessor :DedicatedClusterIds, :Zones, :SiteIds, :LifecycleStatuses, :Name, :Offset, :Limit
|
1122
|
+
|
1123
|
+
def initialize(dedicatedclusterids=nil, zones=nil, siteids=nil, lifecyclestatuses=nil, name=nil, offset=nil, limit=nil)
|
1124
|
+
@DedicatedClusterIds = dedicatedclusterids
|
1125
|
+
@Zones = zones
|
1126
|
+
@SiteIds = siteids
|
1127
|
+
@LifecycleStatuses = lifecyclestatuses
|
1128
|
+
@Name = name
|
1129
|
+
@Offset = offset
|
1130
|
+
@Limit = limit
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
def deserialize(params)
|
1134
|
+
@DedicatedClusterIds = params['DedicatedClusterIds']
|
1135
|
+
@Zones = params['Zones']
|
1136
|
+
@SiteIds = params['SiteIds']
|
1137
|
+
@LifecycleStatuses = params['LifecycleStatuses']
|
1138
|
+
@Name = params['Name']
|
1139
|
+
@Offset = params['Offset']
|
1140
|
+
@Limit = params['Limit']
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
# DescribeDedicatedClusters返回参数结构体
|
1145
|
+
class DescribeDedicatedClustersResponse < TencentCloud::Common::AbstractModel
|
1146
|
+
# @param DedicatedClusterSet: 符合查询条件的专用集群列表
|
1147
|
+
# @type DedicatedClusterSet: Array
|
1148
|
+
# @param TotalCount: 符合条件的专用集群数量。
|
1149
|
+
# @type TotalCount: Integer
|
1150
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1151
|
+
# @type RequestId: String
|
1152
|
+
|
1153
|
+
attr_accessor :DedicatedClusterSet, :TotalCount, :RequestId
|
1154
|
+
|
1155
|
+
def initialize(dedicatedclusterset=nil, totalcount=nil, requestid=nil)
|
1156
|
+
@DedicatedClusterSet = dedicatedclusterset
|
1157
|
+
@TotalCount = totalcount
|
1158
|
+
@RequestId = requestid
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
def deserialize(params)
|
1162
|
+
unless params['DedicatedClusterSet'].nil?
|
1163
|
+
@DedicatedClusterSet = []
|
1164
|
+
params['DedicatedClusterSet'].each do |i|
|
1165
|
+
dedicatedcluster_tmp = DedicatedCluster.new
|
1166
|
+
dedicatedcluster_tmp.deserialize(i)
|
1167
|
+
@DedicatedClusterSet << dedicatedcluster_tmp
|
1168
|
+
end
|
1169
|
+
end
|
1170
|
+
@TotalCount = params['TotalCount']
|
1171
|
+
@RequestId = params['RequestId']
|
1172
|
+
end
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
# DescribeDedicatedSupportedZones请求参数结构体
|
1176
|
+
class DescribeDedicatedSupportedZonesRequest < TencentCloud::Common::AbstractModel
|
1177
|
+
# @param Regions: 传入region列表
|
1178
|
+
# @type Regions: Array
|
1179
|
+
|
1180
|
+
attr_accessor :Regions
|
1181
|
+
|
1182
|
+
def initialize(regions=nil)
|
1183
|
+
@Regions = regions
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
def deserialize(params)
|
1187
|
+
@Regions = params['Regions']
|
1188
|
+
end
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
# DescribeDedicatedSupportedZones返回参数结构体
|
1192
|
+
class DescribeDedicatedSupportedZonesResponse < TencentCloud::Common::AbstractModel
|
1193
|
+
# @param ZoneSet: 支持的可用区列表
|
1194
|
+
# @type ZoneSet: Array
|
1195
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1196
|
+
# @type RequestId: String
|
1197
|
+
|
1198
|
+
attr_accessor :ZoneSet, :RequestId
|
1199
|
+
|
1200
|
+
def initialize(zoneset=nil, requestid=nil)
|
1201
|
+
@ZoneSet = zoneset
|
1202
|
+
@RequestId = requestid
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
def deserialize(params)
|
1206
|
+
unless params['ZoneSet'].nil?
|
1207
|
+
@ZoneSet = []
|
1208
|
+
params['ZoneSet'].each do |i|
|
1209
|
+
regionzoneinfo_tmp = RegionZoneInfo.new
|
1210
|
+
regionzoneinfo_tmp.deserialize(i)
|
1211
|
+
@ZoneSet << regionzoneinfo_tmp
|
1212
|
+
end
|
1213
|
+
end
|
1214
|
+
@RequestId = params['RequestId']
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
# DescribeSitesDetail请求参数结构体
|
1219
|
+
class DescribeSitesDetailRequest < TencentCloud::Common::AbstractModel
|
1220
|
+
# @param SiteIds: 按照站点id过滤
|
1221
|
+
# @type SiteIds: Array
|
1222
|
+
# @param Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1223
|
+
# @type Offset: Integer
|
1224
|
+
# @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1225
|
+
# @type Limit: Integer
|
1226
|
+
# @param Name: 按照站定名称模糊匹配
|
1227
|
+
# @type Name: String
|
1228
|
+
|
1229
|
+
attr_accessor :SiteIds, :Offset, :Limit, :Name
|
1230
|
+
|
1231
|
+
def initialize(siteids=nil, offset=nil, limit=nil, name=nil)
|
1232
|
+
@SiteIds = siteids
|
1233
|
+
@Offset = offset
|
1234
|
+
@Limit = limit
|
1235
|
+
@Name = name
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
def deserialize(params)
|
1239
|
+
@SiteIds = params['SiteIds']
|
1240
|
+
@Offset = params['Offset']
|
1241
|
+
@Limit = params['Limit']
|
1242
|
+
@Name = params['Name']
|
1243
|
+
end
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
# DescribeSitesDetail返回参数结构体
|
1247
|
+
class DescribeSitesDetailResponse < TencentCloud::Common::AbstractModel
|
1248
|
+
# @param SiteDetailSet: 站点详情
|
1249
|
+
# @type SiteDetailSet: Array
|
1250
|
+
# @param TotalCount: 符合条件的站点总数
|
1251
|
+
# @type TotalCount: Integer
|
1252
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1253
|
+
# @type RequestId: String
|
1254
|
+
|
1255
|
+
attr_accessor :SiteDetailSet, :TotalCount, :RequestId
|
1256
|
+
|
1257
|
+
def initialize(sitedetailset=nil, totalcount=nil, requestid=nil)
|
1258
|
+
@SiteDetailSet = sitedetailset
|
1259
|
+
@TotalCount = totalcount
|
1260
|
+
@RequestId = requestid
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
def deserialize(params)
|
1264
|
+
unless params['SiteDetailSet'].nil?
|
1265
|
+
@SiteDetailSet = []
|
1266
|
+
params['SiteDetailSet'].each do |i|
|
1267
|
+
sitedetail_tmp = SiteDetail.new
|
1268
|
+
sitedetail_tmp.deserialize(i)
|
1269
|
+
@SiteDetailSet << sitedetail_tmp
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
@TotalCount = params['TotalCount']
|
1273
|
+
@RequestId = params['RequestId']
|
1274
|
+
end
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
# DescribeSites请求参数结构体
|
1278
|
+
class DescribeSitesRequest < TencentCloud::Common::AbstractModel
|
1279
|
+
# @param SiteIds: 按照站点id过滤
|
1280
|
+
# @type SiteIds: Array
|
1281
|
+
# @param Name: 模糊匹配站点名称
|
1282
|
+
# @type Name: String
|
1283
|
+
# @param Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1284
|
+
# @type Offset: Integer
|
1285
|
+
# @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1286
|
+
# @type Limit: Integer
|
1287
|
+
|
1288
|
+
attr_accessor :SiteIds, :Name, :Offset, :Limit
|
1289
|
+
|
1290
|
+
def initialize(siteids=nil, name=nil, offset=nil, limit=nil)
|
1291
|
+
@SiteIds = siteids
|
1292
|
+
@Name = name
|
1293
|
+
@Offset = offset
|
1294
|
+
@Limit = limit
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
def deserialize(params)
|
1298
|
+
@SiteIds = params['SiteIds']
|
1299
|
+
@Name = params['Name']
|
1300
|
+
@Offset = params['Offset']
|
1301
|
+
@Limit = params['Limit']
|
1302
|
+
end
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# DescribeSites返回参数结构体
|
1306
|
+
class DescribeSitesResponse < TencentCloud::Common::AbstractModel
|
1307
|
+
# @param SiteSet: 符合查询条件的站点列表
|
1308
|
+
# @type SiteSet: Array
|
1309
|
+
# @param TotalCount: 符合条件的站点数量。
|
1310
|
+
# @type TotalCount: Integer
|
1311
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1312
|
+
# @type RequestId: String
|
1313
|
+
|
1314
|
+
attr_accessor :SiteSet, :TotalCount, :RequestId
|
1315
|
+
|
1316
|
+
def initialize(siteset=nil, totalcount=nil, requestid=nil)
|
1317
|
+
@SiteSet = siteset
|
1318
|
+
@TotalCount = totalcount
|
1319
|
+
@RequestId = requestid
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
def deserialize(params)
|
1323
|
+
unless params['SiteSet'].nil?
|
1324
|
+
@SiteSet = []
|
1325
|
+
params['SiteSet'].each do |i|
|
1326
|
+
site_tmp = Site.new
|
1327
|
+
site_tmp.deserialize(i)
|
1328
|
+
@SiteSet << site_tmp
|
1329
|
+
end
|
1330
|
+
end
|
1331
|
+
@TotalCount = params['TotalCount']
|
1332
|
+
@RequestId = params['RequestId']
|
1333
|
+
end
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
# CDC宿主机的详细信息
|
1337
|
+
class HostInfo < TencentCloud::Common::AbstractModel
|
1338
|
+
# @param HostIp: 宿主机IP
|
1339
|
+
# @type HostIp: String
|
1340
|
+
# @param ServiceType: 云服务类型
|
1341
|
+
# @type ServiceType: String
|
1342
|
+
# @param HostStatus: 宿主机运行状态
|
1343
|
+
# @type HostStatus: String
|
1344
|
+
# @param HostType: 宿主机类型
|
1345
|
+
# @type HostType: String
|
1346
|
+
# @param CpuAvailable: cpu可用数
|
1347
|
+
# @type CpuAvailable: Integer
|
1348
|
+
# @param CpuTotal: cpu总数
|
1349
|
+
# @type CpuTotal: Integer
|
1350
|
+
# @param MemAvailable: 内存可用数
|
1351
|
+
# @type MemAvailable: Integer
|
1352
|
+
# @param MemTotal: 内存总数
|
1353
|
+
# @type MemTotal: Integer
|
1354
|
+
# @param RunTime: 运行时间
|
1355
|
+
# @type RunTime: String
|
1356
|
+
# @param ExpireTime: 到期时间
|
1357
|
+
# @type ExpireTime: String
|
1358
|
+
|
1359
|
+
attr_accessor :HostIp, :ServiceType, :HostStatus, :HostType, :CpuAvailable, :CpuTotal, :MemAvailable, :MemTotal, :RunTime, :ExpireTime
|
1360
|
+
|
1361
|
+
def initialize(hostip=nil, servicetype=nil, hoststatus=nil, hosttype=nil, cpuavailable=nil, cputotal=nil, memavailable=nil, memtotal=nil, runtime=nil, expiretime=nil)
|
1362
|
+
@HostIp = hostip
|
1363
|
+
@ServiceType = servicetype
|
1364
|
+
@HostStatus = hoststatus
|
1365
|
+
@HostType = hosttype
|
1366
|
+
@CpuAvailable = cpuavailable
|
1367
|
+
@CpuTotal = cputotal
|
1368
|
+
@MemAvailable = memavailable
|
1369
|
+
@MemTotal = memtotal
|
1370
|
+
@RunTime = runtime
|
1371
|
+
@ExpireTime = expiretime
|
1372
|
+
end
|
1373
|
+
|
1374
|
+
def deserialize(params)
|
1375
|
+
@HostIp = params['HostIp']
|
1376
|
+
@ServiceType = params['ServiceType']
|
1377
|
+
@HostStatus = params['HostStatus']
|
1378
|
+
@HostType = params['HostType']
|
1379
|
+
@CpuAvailable = params['CpuAvailable']
|
1380
|
+
@CpuTotal = params['CpuTotal']
|
1381
|
+
@MemAvailable = params['MemAvailable']
|
1382
|
+
@MemTotal = params['MemTotal']
|
1383
|
+
@RunTime = params['RunTime']
|
1384
|
+
@ExpireTime = params['ExpireTime']
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
# CDC集群内宿主机的统计信息
|
1389
|
+
class HostStatistic < TencentCloud::Common::AbstractModel
|
1390
|
+
# @param HostType: 宿主机规格
|
1391
|
+
# @type HostType: String
|
1392
|
+
# @param HostFamily: 宿主机机型系列
|
1393
|
+
# @type HostFamily: String
|
1394
|
+
# @param Cpu: 宿主机的CPU核数,单位:核
|
1395
|
+
# @type Cpu: Integer
|
1396
|
+
# @param Memory: 宿主机内存大小,单位:GB
|
1397
|
+
# @type Memory: Integer
|
1398
|
+
# @param Count: 该规格宿主机的数量
|
1399
|
+
# @type Count: Integer
|
1400
|
+
|
1401
|
+
attr_accessor :HostType, :HostFamily, :Cpu, :Memory, :Count
|
1402
|
+
|
1403
|
+
def initialize(hosttype=nil, hostfamily=nil, cpu=nil, memory=nil, count=nil)
|
1404
|
+
@HostType = hosttype
|
1405
|
+
@HostFamily = hostfamily
|
1406
|
+
@Cpu = cpu
|
1407
|
+
@Memory = memory
|
1408
|
+
@Count = count
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
def deserialize(params)
|
1412
|
+
@HostType = params['HostType']
|
1413
|
+
@HostFamily = params['HostFamily']
|
1414
|
+
@Cpu = params['Cpu']
|
1415
|
+
@Memory = params['Memory']
|
1416
|
+
@Count = params['Count']
|
1417
|
+
end
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
# ModifyDedicatedClusterInfo请求参数结构体
|
1421
|
+
class ModifyDedicatedClusterInfoRequest < TencentCloud::Common::AbstractModel
|
1422
|
+
# @param DedicatedClusterId: 本地专用集群ID
|
1423
|
+
# @type DedicatedClusterId: String
|
1424
|
+
# @param Name: 集群的新名称
|
1425
|
+
# @type Name: String
|
1426
|
+
# @param Zone: 集群的新可用区
|
1427
|
+
# @type Zone: String
|
1428
|
+
# @param Description: 集群的新描述信息
|
1429
|
+
# @type Description: String
|
1430
|
+
# @param SiteId: 集群所在站点
|
1431
|
+
# @type SiteId: String
|
1432
|
+
|
1433
|
+
attr_accessor :DedicatedClusterId, :Name, :Zone, :Description, :SiteId
|
1434
|
+
|
1435
|
+
def initialize(dedicatedclusterid=nil, name=nil, zone=nil, description=nil, siteid=nil)
|
1436
|
+
@DedicatedClusterId = dedicatedclusterid
|
1437
|
+
@Name = name
|
1438
|
+
@Zone = zone
|
1439
|
+
@Description = description
|
1440
|
+
@SiteId = siteid
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
def deserialize(params)
|
1444
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
1445
|
+
@Name = params['Name']
|
1446
|
+
@Zone = params['Zone']
|
1447
|
+
@Description = params['Description']
|
1448
|
+
@SiteId = params['SiteId']
|
1449
|
+
end
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
# ModifyDedicatedClusterInfo返回参数结构体
|
1453
|
+
class ModifyDedicatedClusterInfoResponse < TencentCloud::Common::AbstractModel
|
1454
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1455
|
+
# @type RequestId: String
|
1456
|
+
|
1457
|
+
attr_accessor :RequestId
|
1458
|
+
|
1459
|
+
def initialize(requestid=nil)
|
1460
|
+
@RequestId = requestid
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
def deserialize(params)
|
1464
|
+
@RequestId = params['RequestId']
|
1465
|
+
end
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
# ModifyOrderStatus请求参数结构体
|
1469
|
+
class ModifyOrderStatusRequest < TencentCloud::Common::AbstractModel
|
1470
|
+
# @param Status: 要更新成的状态
|
1471
|
+
# @type Status: String
|
1472
|
+
# @param DedicatedClusterOrderId: 大订单ID
|
1473
|
+
# @type DedicatedClusterOrderId: String
|
1474
|
+
# @param SubOrderIds: 小订单ID
|
1475
|
+
# @type SubOrderIds: Array
|
1476
|
+
|
1477
|
+
attr_accessor :Status, :DedicatedClusterOrderId, :SubOrderIds
|
1478
|
+
|
1479
|
+
def initialize(status=nil, dedicatedclusterorderid=nil, suborderids=nil)
|
1480
|
+
@Status = status
|
1481
|
+
@DedicatedClusterOrderId = dedicatedclusterorderid
|
1482
|
+
@SubOrderIds = suborderids
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
def deserialize(params)
|
1486
|
+
@Status = params['Status']
|
1487
|
+
@DedicatedClusterOrderId = params['DedicatedClusterOrderId']
|
1488
|
+
@SubOrderIds = params['SubOrderIds']
|
1489
|
+
end
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
# ModifyOrderStatus返回参数结构体
|
1493
|
+
class ModifyOrderStatusResponse < TencentCloud::Common::AbstractModel
|
1494
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1495
|
+
# @type RequestId: String
|
1496
|
+
|
1497
|
+
attr_accessor :RequestId
|
1498
|
+
|
1499
|
+
def initialize(requestid=nil)
|
1500
|
+
@RequestId = requestid
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
def deserialize(params)
|
1504
|
+
@RequestId = params['RequestId']
|
1505
|
+
end
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
# ModifySiteDeviceInfo请求参数结构体
|
1509
|
+
class ModifySiteDeviceInfoRequest < TencentCloud::Common::AbstractModel
|
1510
|
+
# @param SiteId: 机房ID
|
1511
|
+
# @type SiteId: String
|
1512
|
+
# @param FiberType: 您将使用光纤类型将CDC设备连接到网络。有单模和多模两种选项。
|
1513
|
+
# @type FiberType: String
|
1514
|
+
# @param OpticalStandard: 您将CDC连接到网络时采用的光学标准。此字段取决于上行链路速度、光纤类型和到上游设备的距离。
|
1515
|
+
# @type OpticalStandard: String
|
1516
|
+
# @param PowerConnectors: 电源连接器类型
|
1517
|
+
# @type PowerConnectors: String
|
1518
|
+
# @param PowerFeedDrop: 从机架上方还是下方供电。
|
1519
|
+
# @type PowerFeedDrop: String
|
1520
|
+
# @param MaxWeight: 最大承重(KG)
|
1521
|
+
# @type MaxWeight: Integer
|
1522
|
+
# @param PowerDrawKva: 功耗(KW)
|
1523
|
+
# @type PowerDrawKva: Integer
|
1524
|
+
# @param UplinkSpeedGbps: 网络到腾讯云Region区域的上行链路速度
|
1525
|
+
# @type UplinkSpeedGbps: Integer
|
1526
|
+
# @param UplinkCount: 将CDC连接到网络时,每台CDC网络设备(每个机架 2 台设备)使用的上行链路数量。
|
1527
|
+
# @type UplinkCount: Integer
|
1528
|
+
# @param ConditionRequirement: 是否满足下面环境条件:
|
1529
|
+
# 1、场地没有材料要求或验收标准会影响 CDC 设备配送和安装。
|
1530
|
+
# 2、确定的机架位置包含:
|
1531
|
+
# 温度范围为 41 到 104°F (5 到 40°C)。
|
1532
|
+
# 湿度范围为 10°F (-12°C)和 8% RH (相对湿度)到 70°F(21°C)和 80% RH。
|
1533
|
+
# 机架位置的气流方向为从前向后,且应具有足够的 CFM (每分钟立方英尺)。CFM 必须是 CDC 配置的 kVA 功耗值的 145.8 倍。
|
1534
|
+
# @type ConditionRequirement: Boolean
|
1535
|
+
# @param DimensionRequirement: 是否满足下面的尺寸条件:
|
1536
|
+
# 您的装货站台可以容纳一个机架箱(高 x 宽 x 深 = 94" x 54" x 48")。
|
1537
|
+
# 您可以提供从机架(高 x 宽 x 深 = 80" x 24" x 48")交货地点到机架最终安置位置的明确通道。测量深度时,应包括站台、走廊通道、门、转弯、坡道、货梯,并将其他通道限制考虑在内。
|
1538
|
+
# 在最终的 CDC安置位置,前部间隙可以为 48" 或更大,后部间隙可以为 24" 或更大。
|
1539
|
+
# @type DimensionRequirement: Boolean
|
1540
|
+
# @param RedundantNetworking: 是否提供冗余的上游设备(交换机或路由器),以便两台 网络设备都能连接到网络设备。
|
1541
|
+
# @type RedundantNetworking: Boolean
|
1542
|
+
# @param NeedHelp: 是否需要腾讯云团队协助完成机架支撑工作
|
1543
|
+
# @type NeedHelp: Boolean
|
1544
|
+
# @param RedundantPower: 是否电源冗余
|
1545
|
+
# @type RedundantPower: Boolean
|
1546
|
+
# @param BreakerRequirement: 上游断路器是否具备
|
1547
|
+
# @type BreakerRequirement: Boolean
|
1548
|
+
|
1549
|
+
attr_accessor :SiteId, :FiberType, :OpticalStandard, :PowerConnectors, :PowerFeedDrop, :MaxWeight, :PowerDrawKva, :UplinkSpeedGbps, :UplinkCount, :ConditionRequirement, :DimensionRequirement, :RedundantNetworking, :NeedHelp, :RedundantPower, :BreakerRequirement
|
1550
|
+
|
1551
|
+
def initialize(siteid=nil, fibertype=nil, opticalstandard=nil, powerconnectors=nil, powerfeeddrop=nil, maxweight=nil, powerdrawkva=nil, uplinkspeedgbps=nil, uplinkcount=nil, conditionrequirement=nil, dimensionrequirement=nil, redundantnetworking=nil, needhelp=nil, redundantpower=nil, breakerrequirement=nil)
|
1552
|
+
@SiteId = siteid
|
1553
|
+
@FiberType = fibertype
|
1554
|
+
@OpticalStandard = opticalstandard
|
1555
|
+
@PowerConnectors = powerconnectors
|
1556
|
+
@PowerFeedDrop = powerfeeddrop
|
1557
|
+
@MaxWeight = maxweight
|
1558
|
+
@PowerDrawKva = powerdrawkva
|
1559
|
+
@UplinkSpeedGbps = uplinkspeedgbps
|
1560
|
+
@UplinkCount = uplinkcount
|
1561
|
+
@ConditionRequirement = conditionrequirement
|
1562
|
+
@DimensionRequirement = dimensionrequirement
|
1563
|
+
@RedundantNetworking = redundantnetworking
|
1564
|
+
@NeedHelp = needhelp
|
1565
|
+
@RedundantPower = redundantpower
|
1566
|
+
@BreakerRequirement = breakerrequirement
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
def deserialize(params)
|
1570
|
+
@SiteId = params['SiteId']
|
1571
|
+
@FiberType = params['FiberType']
|
1572
|
+
@OpticalStandard = params['OpticalStandard']
|
1573
|
+
@PowerConnectors = params['PowerConnectors']
|
1574
|
+
@PowerFeedDrop = params['PowerFeedDrop']
|
1575
|
+
@MaxWeight = params['MaxWeight']
|
1576
|
+
@PowerDrawKva = params['PowerDrawKva']
|
1577
|
+
@UplinkSpeedGbps = params['UplinkSpeedGbps']
|
1578
|
+
@UplinkCount = params['UplinkCount']
|
1579
|
+
@ConditionRequirement = params['ConditionRequirement']
|
1580
|
+
@DimensionRequirement = params['DimensionRequirement']
|
1581
|
+
@RedundantNetworking = params['RedundantNetworking']
|
1582
|
+
@NeedHelp = params['NeedHelp']
|
1583
|
+
@RedundantPower = params['RedundantPower']
|
1584
|
+
@BreakerRequirement = params['BreakerRequirement']
|
1585
|
+
end
|
1586
|
+
end
|
1587
|
+
|
1588
|
+
# ModifySiteDeviceInfo返回参数结构体
|
1589
|
+
class ModifySiteDeviceInfoResponse < TencentCloud::Common::AbstractModel
|
1590
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1591
|
+
# @type RequestId: String
|
1592
|
+
|
1593
|
+
attr_accessor :RequestId
|
1594
|
+
|
1595
|
+
def initialize(requestid=nil)
|
1596
|
+
@RequestId = requestid
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
def deserialize(params)
|
1600
|
+
@RequestId = params['RequestId']
|
1601
|
+
end
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
# ModifySiteInfo请求参数结构体
|
1605
|
+
class ModifySiteInfoRequest < TencentCloud::Common::AbstractModel
|
1606
|
+
# @param SiteId: 机房ID
|
1607
|
+
# @type SiteId: String
|
1608
|
+
# @param Name: 站点名称
|
1609
|
+
# @type Name: String
|
1610
|
+
# @param Description: 站点描述
|
1611
|
+
# @type Description: String
|
1612
|
+
# @param Note: 注意事项
|
1613
|
+
# @type Note: String
|
1614
|
+
# @param Country: 站点所在国家
|
1615
|
+
# @type Country: String
|
1616
|
+
# @param Province: 站点所在省份
|
1617
|
+
# @type Province: String
|
1618
|
+
# @param City: 站点所在城市
|
1619
|
+
# @type City: String
|
1620
|
+
# @param PostalCode: 站点所在地区的邮编
|
1621
|
+
# @type PostalCode: String
|
1622
|
+
# @param AddressLine: 站点所在地区的详细地址信息
|
1623
|
+
# @type AddressLine: String
|
1624
|
+
|
1625
|
+
attr_accessor :SiteId, :Name, :Description, :Note, :Country, :Province, :City, :PostalCode, :AddressLine
|
1626
|
+
|
1627
|
+
def initialize(siteid=nil, name=nil, description=nil, note=nil, country=nil, province=nil, city=nil, postalcode=nil, addressline=nil)
|
1628
|
+
@SiteId = siteid
|
1629
|
+
@Name = name
|
1630
|
+
@Description = description
|
1631
|
+
@Note = note
|
1632
|
+
@Country = country
|
1633
|
+
@Province = province
|
1634
|
+
@City = city
|
1635
|
+
@PostalCode = postalcode
|
1636
|
+
@AddressLine = addressline
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
def deserialize(params)
|
1640
|
+
@SiteId = params['SiteId']
|
1641
|
+
@Name = params['Name']
|
1642
|
+
@Description = params['Description']
|
1643
|
+
@Note = params['Note']
|
1644
|
+
@Country = params['Country']
|
1645
|
+
@Province = params['Province']
|
1646
|
+
@City = params['City']
|
1647
|
+
@PostalCode = params['PostalCode']
|
1648
|
+
@AddressLine = params['AddressLine']
|
1649
|
+
end
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
# ModifySiteInfo返回参数结构体
|
1653
|
+
class ModifySiteInfoResponse < TencentCloud::Common::AbstractModel
|
1654
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1655
|
+
# @type RequestId: String
|
1656
|
+
|
1657
|
+
attr_accessor :RequestId
|
1658
|
+
|
1659
|
+
def initialize(requestid=nil)
|
1660
|
+
@RequestId = requestid
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
def deserialize(params)
|
1664
|
+
@RequestId = params['RequestId']
|
1665
|
+
end
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
# RegionZoneInfo信息
|
1669
|
+
class RegionZoneInfo < TencentCloud::Common::AbstractModel
|
1670
|
+
# @param RegionId: Region id
|
1671
|
+
# @type RegionId: Integer
|
1672
|
+
# @param Zones: ZoneInfo数组
|
1673
|
+
# @type Zones: Array
|
1674
|
+
|
1675
|
+
attr_accessor :RegionId, :Zones
|
1676
|
+
|
1677
|
+
def initialize(regionid=nil, zones=nil)
|
1678
|
+
@RegionId = regionid
|
1679
|
+
@Zones = zones
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
def deserialize(params)
|
1683
|
+
@RegionId = params['RegionId']
|
1684
|
+
unless params['Zones'].nil?
|
1685
|
+
@Zones = []
|
1686
|
+
params['Zones'].each do |i|
|
1687
|
+
zoneinfo_tmp = ZoneInfo.new
|
1688
|
+
zoneinfo_tmp.deserialize(i)
|
1689
|
+
@Zones << zoneinfo_tmp
|
1690
|
+
end
|
1691
|
+
end
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
# 客户站点信息
|
1696
|
+
class Site < TencentCloud::Common::AbstractModel
|
1697
|
+
# @param Name: 站点名称
|
1698
|
+
# @type Name: String
|
1699
|
+
# @param SiteId: 站点id
|
1700
|
+
# @type SiteId: String
|
1701
|
+
# @param Description: 站点描述
|
1702
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1703
|
+
# @type Description: String
|
1704
|
+
# @param CreateTime: 站点创建时间
|
1705
|
+
# @type CreateTime: String
|
1706
|
+
|
1707
|
+
attr_accessor :Name, :SiteId, :Description, :CreateTime
|
1708
|
+
|
1709
|
+
def initialize(name=nil, siteid=nil, description=nil, createtime=nil)
|
1710
|
+
@Name = name
|
1711
|
+
@SiteId = siteid
|
1712
|
+
@Description = description
|
1713
|
+
@CreateTime = createtime
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
def deserialize(params)
|
1717
|
+
@Name = params['Name']
|
1718
|
+
@SiteId = params['SiteId']
|
1719
|
+
@Description = params['Description']
|
1720
|
+
@CreateTime = params['CreateTime']
|
1721
|
+
end
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
# 站点详情
|
1725
|
+
class SiteDetail < TencentCloud::Common::AbstractModel
|
1726
|
+
# @param SiteId: 站点id
|
1727
|
+
# @type SiteId: String
|
1728
|
+
# @param Name: 站点名称
|
1729
|
+
# @type Name: String
|
1730
|
+
# @param Description: 站点描述
|
1731
|
+
# @type Description: String
|
1732
|
+
# @param CreateTime: 站点创建时间
|
1733
|
+
# @type CreateTime: String
|
1734
|
+
# @param FiberType: 光纤类型
|
1735
|
+
# @type FiberType: String
|
1736
|
+
# @param UplinkSpeedGbps: 网络到腾讯云Region区域的上行链路速度
|
1737
|
+
# @type UplinkSpeedGbps: Integer
|
1738
|
+
# @param UplinkCount: 将CDC连接到网络时,每台CDC网络设备(每个机架 2 台设备)使用的上行链路数量。
|
1739
|
+
# @type UplinkCount: Integer
|
1740
|
+
# @param OpticalStandard: 将CDC连接到网络时采用的光学标准
|
1741
|
+
# @type OpticalStandard: String
|
1742
|
+
# @param RedundantNetworking: 是否提供冗余的上游设备(交换机或路由器),以便两台 网络设备都能连接到网络设备。
|
1743
|
+
# @type RedundantNetworking: Boolean
|
1744
|
+
# @param PowerConnectors: 电源连接器类型
|
1745
|
+
# @type PowerConnectors: String
|
1746
|
+
# @param PowerFeedDrop: 从机架上方还是下方供电。
|
1747
|
+
# @type PowerFeedDrop: String
|
1748
|
+
# @param PowerDrawKva: 功耗(KW)
|
1749
|
+
# @type PowerDrawKva: Float
|
1750
|
+
# @param ConditionRequirement: 是否满足下面环境条件:
|
1751
|
+
# 1、场地没有材料要求或验收标准会影响 CDC 设备配送和安装。
|
1752
|
+
# 2、确定的机架位置包含:
|
1753
|
+
# 温度范围为 41 到 104°F (5 到 40°C)。
|
1754
|
+
# 湿度范围为 10°F (-12°C)和 8% RH (相对湿度)到 70°F(21°C)和 80% RH。
|
1755
|
+
# 机架位置的气流方向为从前向后,且应具有足够的 CFM (每分钟立方英尺)。CFM 必须是 CDC 配置的 kVA 功耗值的 145.8 倍。
|
1756
|
+
# @type ConditionRequirement: Boolean
|
1757
|
+
# @param DimensionRequirement: 是否满足下面的尺寸条件:
|
1758
|
+
# 您的装货站台可以容纳一个机架箱(高 x 宽 x 深 = 94" x 54" x 48")。
|
1759
|
+
# 您可以提供从机架(高 x 宽 x 深 = 80" x 24" x 48")交货地点到机架最终安置位置的明确通道。测量深度时,应包括站台、走廊通道、门、转弯、坡道、货梯,并将其他通道限制考虑在内。
|
1760
|
+
# 在最终的 CDC安置位置,前部间隙可以为 48" 或更大,后部间隙可以为 24" 或更大。
|
1761
|
+
# @type DimensionRequirement: Boolean
|
1762
|
+
# @param MaxWeight: 最大承重(KG)
|
1763
|
+
# @type MaxWeight: Integer
|
1764
|
+
# @param AddressLine: 站点地址
|
1765
|
+
# @type AddressLine: String
|
1766
|
+
# @param OptionalAddressLine: 站点所在地区的详细地址信息(补充)
|
1767
|
+
# @type OptionalAddressLine: String
|
1768
|
+
# @param NeedHelp: 是否需要腾讯云团队协助完成机架支撑工作
|
1769
|
+
# @type NeedHelp: Boolean
|
1770
|
+
# @param BreakerRequirement: 上游断路器是否具备
|
1771
|
+
# @type BreakerRequirement: Boolean
|
1772
|
+
# @param RedundantPower: 是否电源冗余
|
1773
|
+
# @type RedundantPower: Boolean
|
1774
|
+
# @param Country: 站点所在国家
|
1775
|
+
# @type Country: String
|
1776
|
+
# @param Province: 站点所在省份
|
1777
|
+
# @type Province: String
|
1778
|
+
# @param City: 站点所在城市
|
1779
|
+
# @type City: String
|
1780
|
+
# @param PostalCode: 站点所在地区的邮编
|
1781
|
+
# @type PostalCode: Integer
|
1782
|
+
|
1783
|
+
attr_accessor :SiteId, :Name, :Description, :CreateTime, :FiberType, :UplinkSpeedGbps, :UplinkCount, :OpticalStandard, :RedundantNetworking, :PowerConnectors, :PowerFeedDrop, :PowerDrawKva, :ConditionRequirement, :DimensionRequirement, :MaxWeight, :AddressLine, :OptionalAddressLine, :NeedHelp, :BreakerRequirement, :RedundantPower, :Country, :Province, :City, :PostalCode
|
1784
|
+
|
1785
|
+
def initialize(siteid=nil, name=nil, description=nil, createtime=nil, fibertype=nil, uplinkspeedgbps=nil, uplinkcount=nil, opticalstandard=nil, redundantnetworking=nil, powerconnectors=nil, powerfeeddrop=nil, powerdrawkva=nil, conditionrequirement=nil, dimensionrequirement=nil, maxweight=nil, addressline=nil, optionaladdressline=nil, needhelp=nil, breakerrequirement=nil, redundantpower=nil, country=nil, province=nil, city=nil, postalcode=nil)
|
1786
|
+
@SiteId = siteid
|
1787
|
+
@Name = name
|
1788
|
+
@Description = description
|
1789
|
+
@CreateTime = createtime
|
1790
|
+
@FiberType = fibertype
|
1791
|
+
@UplinkSpeedGbps = uplinkspeedgbps
|
1792
|
+
@UplinkCount = uplinkcount
|
1793
|
+
@OpticalStandard = opticalstandard
|
1794
|
+
@RedundantNetworking = redundantnetworking
|
1795
|
+
@PowerConnectors = powerconnectors
|
1796
|
+
@PowerFeedDrop = powerfeeddrop
|
1797
|
+
@PowerDrawKva = powerdrawkva
|
1798
|
+
@ConditionRequirement = conditionrequirement
|
1799
|
+
@DimensionRequirement = dimensionrequirement
|
1800
|
+
@MaxWeight = maxweight
|
1801
|
+
@AddressLine = addressline
|
1802
|
+
@OptionalAddressLine = optionaladdressline
|
1803
|
+
@NeedHelp = needhelp
|
1804
|
+
@BreakerRequirement = breakerrequirement
|
1805
|
+
@RedundantPower = redundantpower
|
1806
|
+
@Country = country
|
1807
|
+
@Province = province
|
1808
|
+
@City = city
|
1809
|
+
@PostalCode = postalcode
|
1810
|
+
end
|
1811
|
+
|
1812
|
+
def deserialize(params)
|
1813
|
+
@SiteId = params['SiteId']
|
1814
|
+
@Name = params['Name']
|
1815
|
+
@Description = params['Description']
|
1816
|
+
@CreateTime = params['CreateTime']
|
1817
|
+
@FiberType = params['FiberType']
|
1818
|
+
@UplinkSpeedGbps = params['UplinkSpeedGbps']
|
1819
|
+
@UplinkCount = params['UplinkCount']
|
1820
|
+
@OpticalStandard = params['OpticalStandard']
|
1821
|
+
@RedundantNetworking = params['RedundantNetworking']
|
1822
|
+
@PowerConnectors = params['PowerConnectors']
|
1823
|
+
@PowerFeedDrop = params['PowerFeedDrop']
|
1824
|
+
@PowerDrawKva = params['PowerDrawKva']
|
1825
|
+
@ConditionRequirement = params['ConditionRequirement']
|
1826
|
+
@DimensionRequirement = params['DimensionRequirement']
|
1827
|
+
@MaxWeight = params['MaxWeight']
|
1828
|
+
@AddressLine = params['AddressLine']
|
1829
|
+
@OptionalAddressLine = params['OptionalAddressLine']
|
1830
|
+
@NeedHelp = params['NeedHelp']
|
1831
|
+
@BreakerRequirement = params['BreakerRequirement']
|
1832
|
+
@RedundantPower = params['RedundantPower']
|
1833
|
+
@Country = params['Country']
|
1834
|
+
@Province = params['Province']
|
1835
|
+
@City = params['City']
|
1836
|
+
@PostalCode = params['PostalCode']
|
1837
|
+
end
|
1838
|
+
end
|
1839
|
+
|
1840
|
+
# 可用区信息
|
1841
|
+
class ZoneInfo < TencentCloud::Common::AbstractModel
|
1842
|
+
# @param Zone: 可用区名称
|
1843
|
+
# @type Zone: String
|
1844
|
+
# @param ZoneName: 可用区描述
|
1845
|
+
# @type ZoneName: String
|
1846
|
+
# @param ZoneId: 可用区ID
|
1847
|
+
# @type ZoneId: Integer
|
1848
|
+
# @param ZoneState: 可用区状态,包含AVAILABLE和UNAVAILABLE。AVAILABLE代表可用,UNAVAILABLE代表不可用。
|
1849
|
+
# @type ZoneState: String
|
1850
|
+
|
1851
|
+
attr_accessor :Zone, :ZoneName, :ZoneId, :ZoneState
|
1852
|
+
|
1853
|
+
def initialize(zone=nil, zonename=nil, zoneid=nil, zonestate=nil)
|
1854
|
+
@Zone = zone
|
1855
|
+
@ZoneName = zonename
|
1856
|
+
@ZoneId = zoneid
|
1857
|
+
@ZoneState = zonestate
|
1858
|
+
end
|
1859
|
+
|
1860
|
+
def deserialize(params)
|
1861
|
+
@Zone = params['Zone']
|
1862
|
+
@ZoneName = params['ZoneName']
|
1863
|
+
@ZoneId = params['ZoneId']
|
1864
|
+
@ZoneState = params['ZoneState']
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
end
|
1869
|
+
end
|
1870
|
+
end
|
1871
|
+
|