tencentcloud-sdk-bm 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-bm.rb +11 -0
- data/lib/v20180423/client.rb +1340 -0
- data/lib/v20180423/models.rb +4307 -0
- metadata +66 -0
@@ -0,0 +1,4307 @@
|
|
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 Bm
|
19
|
+
module V20180423
|
20
|
+
# AttachCamRole请求参数结构体
|
21
|
+
class AttachCamRoleRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param InstanceId: 服务器ID
|
23
|
+
# @type InstanceId: String
|
24
|
+
# @param RoleName: 角色名称。
|
25
|
+
# @type RoleName: String
|
26
|
+
|
27
|
+
attr_accessor :InstanceId, :RoleName
|
28
|
+
|
29
|
+
def initialize(instanceid=nil, rolename=nil)
|
30
|
+
@InstanceId = instanceid
|
31
|
+
@RoleName = rolename
|
32
|
+
end
|
33
|
+
|
34
|
+
def deserialize(params)
|
35
|
+
@InstanceId = params['InstanceId']
|
36
|
+
@RoleName = params['RoleName']
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
# AttachCamRole返回参数结构体
|
41
|
+
class AttachCamRoleResponse < TencentCloud::Common::AbstractModel
|
42
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
43
|
+
# @type RequestId: String
|
44
|
+
|
45
|
+
attr_accessor :RequestId
|
46
|
+
|
47
|
+
def initialize(requestid=nil)
|
48
|
+
@RequestId = requestid
|
49
|
+
end
|
50
|
+
|
51
|
+
def deserialize(params)
|
52
|
+
@RequestId = params['RequestId']
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# BindPsaTag请求参数结构体
|
57
|
+
class BindPsaTagRequest < TencentCloud::Common::AbstractModel
|
58
|
+
# @param PsaId: 预授权规则ID
|
59
|
+
# @type PsaId: String
|
60
|
+
# @param TagKey: 需要绑定的标签key
|
61
|
+
# @type TagKey: String
|
62
|
+
# @param TagValue: 需要绑定的标签value
|
63
|
+
# @type TagValue: String
|
64
|
+
|
65
|
+
attr_accessor :PsaId, :TagKey, :TagValue
|
66
|
+
|
67
|
+
def initialize(psaid=nil, tagkey=nil, tagvalue=nil)
|
68
|
+
@PsaId = psaid
|
69
|
+
@TagKey = tagkey
|
70
|
+
@TagValue = tagvalue
|
71
|
+
end
|
72
|
+
|
73
|
+
def deserialize(params)
|
74
|
+
@PsaId = params['PsaId']
|
75
|
+
@TagKey = params['TagKey']
|
76
|
+
@TagValue = params['TagValue']
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# BindPsaTag返回参数结构体
|
81
|
+
class BindPsaTagResponse < TencentCloud::Common::AbstractModel
|
82
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
83
|
+
# @type RequestId: String
|
84
|
+
|
85
|
+
attr_accessor :RequestId
|
86
|
+
|
87
|
+
def initialize(requestid=nil)
|
88
|
+
@RequestId = requestid
|
89
|
+
end
|
90
|
+
|
91
|
+
def deserialize(params)
|
92
|
+
@RequestId = params['RequestId']
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# BuyDevices请求参数结构体
|
97
|
+
class BuyDevicesRequest < TencentCloud::Common::AbstractModel
|
98
|
+
# @param Zone: 可用区ID。通过接口[查询地域以及可用区(DescribeRegions)](https://cloud.tencent.com/document/api/386/33564)获取可用区信息
|
99
|
+
# @type Zone: String
|
100
|
+
# @param OsTypeId: 部署服务器的操作系统ID。通过接口[查询操作系统信息(DescribeOsInfo)](https://cloud.tencent.com/document/product/386/32902)获取操作系统信息
|
101
|
+
# @type OsTypeId: Integer
|
102
|
+
# @param RaidId: RAID类型ID。通过接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/api/386/32910)获取RAID信息
|
103
|
+
# @type RaidId: Integer
|
104
|
+
# @param GoodsCount: 购买数量
|
105
|
+
# @type GoodsCount: Integer
|
106
|
+
# @param VpcId: 购买至私有网络ID
|
107
|
+
# @type VpcId: String
|
108
|
+
# @param SubnetId: 购买至子网ID
|
109
|
+
# @type SubnetId: String
|
110
|
+
# @param DeviceClassCode: 购买的机型ID。通过接口[查询设备型号(DescribeDeviceClass)](https://cloud.tencent.com/document/api/386/32911)获取机型信息
|
111
|
+
# @type DeviceClassCode: String
|
112
|
+
# @param TimeUnit: 购买时长单位,取值:M(月) D(天)
|
113
|
+
# @type TimeUnit: String
|
114
|
+
# @param TimeSpan: 购买时长
|
115
|
+
# @type TimeSpan: Integer
|
116
|
+
# @param NeedSecurityAgent: 是否安装安全Agent,取值:1(安装) 0(不安装),默认取值0
|
117
|
+
# @type NeedSecurityAgent: Integer
|
118
|
+
# @param NeedMonitorAgent: 是否安装监控Agent,取值:1(安装) 0(不安装),默认取值0
|
119
|
+
# @type NeedMonitorAgent: Integer
|
120
|
+
# @param NeedEMRAgent: 是否安装EMR Agent,取值:1(安装) 0(不安装),默认取值0
|
121
|
+
# @type NeedEMRAgent: Integer
|
122
|
+
# @param NeedEMRSoftware: 是否安装EMR软件包,取值:1(安装) 0(不安装),默认取值0
|
123
|
+
# @type NeedEMRSoftware: Integer
|
124
|
+
# @param ApplyEip: 是否分配弹性公网IP,取值:1(分配) 0(不分配),默认取值0
|
125
|
+
# @type ApplyEip: Integer
|
126
|
+
# @param EipPayMode: 弹性公网IP计费模式,取值:Flow(按流量计费) Bandwidth(按带宽计费),默认取值Flow
|
127
|
+
# @type EipPayMode: String
|
128
|
+
# @param EipBandwidth: 弹性公网IP带宽限制,单位Mb
|
129
|
+
# @type EipBandwidth: Integer
|
130
|
+
# @param IsZoning: 数据盘是否格式化,取值:1(格式化) 0(不格式化),默认取值为1
|
131
|
+
# @type IsZoning: Integer
|
132
|
+
# @param CpmPayMode: 物理机计费模式,取值:1(预付费) 2(后付费),默认取值为1
|
133
|
+
# @type CpmPayMode: Integer
|
134
|
+
# @param ImageId: 自定义镜像ID,取值生效时用自定义镜像部署物理机
|
135
|
+
# @type ImageId: String
|
136
|
+
# @param Password: 设置Linux root或Windows Administrator的密码
|
137
|
+
# @type Password: String
|
138
|
+
# @param AutoRenewFlag: 自动续费标志位,取值:1(自动续费) 0(不自动续费),默认取值0
|
139
|
+
# @type AutoRenewFlag: Integer
|
140
|
+
# @param SysRootSpace: 系统盘根分区大小,单位为G,默认取值10G。通过接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/api/386/32910)获取根分区信息
|
141
|
+
# @type SysRootSpace: Integer
|
142
|
+
# @param SysSwaporuefiSpace: 系统盘swap分区或/boot/efi分区的大小,单位为G。若是uefi启动的机器,分区为/boot/efi,且此值是默认是2G。 普通机器为swap分区,可以不指定此分区。 机型是否是uefi启动,参见接口[查询设备型号(DescribeDeviceClass)](https://cloud.tencent.com/document/api/386/32911)
|
143
|
+
# @type SysSwaporuefiSpace: Integer
|
144
|
+
# @param SysUsrlocalSpace: /usr/local分区大小,单位为G
|
145
|
+
# @type SysUsrlocalSpace: Integer
|
146
|
+
# @param SysDataSpace: /data分区大小,单位为G。如果系统盘还有剩余大小,会分配给/data分区。(特殊情况:如果剩余空间不足10G,并且没有指定/data分区,则剩余空间会分配给Root分区)
|
147
|
+
# @type SysDataSpace: Integer
|
148
|
+
# @param HyperThreading: 是否开启超线程,取值:1(开启) 0(关闭),默认取值1
|
149
|
+
# @type HyperThreading: Integer
|
150
|
+
# @param LanIps: 指定的内网IP列表,不指定时自动分配
|
151
|
+
# @type LanIps: Array
|
152
|
+
# @param Aliases: 设备名称列表
|
153
|
+
# @type Aliases: Array
|
154
|
+
# @param CpuId: CPU型号ID,自定义机型需要传入,取值:
|
155
|
+
# <br/><li>1: E5-2620v3 (6核) * 2</li><li>2: E5-2680v4 (14核) * 2</li><li>3: E5-2670v3 (12核) * 2</li><li>4: E5-2620v4 (8核) * 2</li><li>5: 4110 (8核) * 2</li><li>6: 6133 (20核) * 2</li><br/>
|
156
|
+
# @type CpuId: Integer
|
157
|
+
# @param ContainRaidCard: 是否有RAID卡,取值:1(有) 0(无),自定义机型需要传入
|
158
|
+
# @type ContainRaidCard: Integer
|
159
|
+
# @param MemSize: 内存大小,单位为G,自定义机型需要传入。取值参考接口[查询自定义机型部件信息(DescribeHardwareSpecification)](https://cloud.tencent.com/document/api/386/33565)返回值
|
160
|
+
# @type MemSize: Integer
|
161
|
+
# @param SystemDiskTypeId: 系统盘ID,自定义机型需要传入。取值参考接口[查询自定义机型部件信息(DescribeHardwareSpecification)](https://cloud.tencent.com/document/api/386/33565)返回值
|
162
|
+
# @type SystemDiskTypeId: Integer
|
163
|
+
# @param SystemDiskCount: 系统盘数量,自定义机型需要传入。取值参考接口[查询自定义机型部件信息(DescribeHardwareSpecification)](https://cloud.tencent.com/document/api/386/33565)返回值
|
164
|
+
# @type SystemDiskCount: Integer
|
165
|
+
# @param DataDiskTypeId: 数据盘ID,自定义机型需要传入。取值参考接口[查询自定义机型部件信息(DescribeHardwareSpecification)](https://cloud.tencent.com/document/api/386/33565)返回值
|
166
|
+
# @type DataDiskTypeId: Integer
|
167
|
+
# @param DataDiskCount: 数据盘数量,自定义机型需要传入。取值参考接口[查询自定义机型部件信息(DescribeHardwareSpecification)](https://cloud.tencent.com/document/api/386/33565)返回值
|
168
|
+
# @type DataDiskCount: Integer
|
169
|
+
# @param Tags: 绑定的标签列表
|
170
|
+
# @type Tags: Array
|
171
|
+
# @param FileSystem: 指定数据盘的文件系统格式,当前支持 EXT4和XFS选项, 默认为EXT4。 参数适用于数据盘和Linux, 且在IsZoning为1时生效
|
172
|
+
# @type FileSystem: String
|
173
|
+
# @param BuySession: 此参数是为了防止重复发货。如果两次调用传入相同的BuySession,只会发货一次。 不要以设备别名作为BuySession,这样只会第一次购买成功。参数长度为128位,合法字符为大小字母,数字,下划线,横线。
|
174
|
+
# @type BuySession: String
|
175
|
+
# @param SgId: 绑定已有的安全组ID。仅在NeedSecurityAgent为1时生效
|
176
|
+
# @type SgId: String
|
177
|
+
# @param TemplateId: 安全组模板ID,由模板创建新安全组并绑定。TemplateId和SgId不能同时传入
|
178
|
+
# @type TemplateId: String
|
179
|
+
|
180
|
+
attr_accessor :Zone, :OsTypeId, :RaidId, :GoodsCount, :VpcId, :SubnetId, :DeviceClassCode, :TimeUnit, :TimeSpan, :NeedSecurityAgent, :NeedMonitorAgent, :NeedEMRAgent, :NeedEMRSoftware, :ApplyEip, :EipPayMode, :EipBandwidth, :IsZoning, :CpmPayMode, :ImageId, :Password, :AutoRenewFlag, :SysRootSpace, :SysSwaporuefiSpace, :SysUsrlocalSpace, :SysDataSpace, :HyperThreading, :LanIps, :Aliases, :CpuId, :ContainRaidCard, :MemSize, :SystemDiskTypeId, :SystemDiskCount, :DataDiskTypeId, :DataDiskCount, :Tags, :FileSystem, :BuySession, :SgId, :TemplateId
|
181
|
+
|
182
|
+
def initialize(zone=nil, ostypeid=nil, raidid=nil, goodscount=nil, vpcid=nil, subnetid=nil, deviceclasscode=nil, timeunit=nil, timespan=nil, needsecurityagent=nil, needmonitoragent=nil, needemragent=nil, needemrsoftware=nil, applyeip=nil, eippaymode=nil, eipbandwidth=nil, iszoning=nil, cpmpaymode=nil, imageid=nil, password=nil, autorenewflag=nil, sysrootspace=nil, sysswaporuefispace=nil, sysusrlocalspace=nil, sysdataspace=nil, hyperthreading=nil, lanips=nil, aliases=nil, cpuid=nil, containraidcard=nil, memsize=nil, systemdisktypeid=nil, systemdiskcount=nil, datadisktypeid=nil, datadiskcount=nil, tags=nil, filesystem=nil, buysession=nil, sgid=nil, templateid=nil)
|
183
|
+
@Zone = zone
|
184
|
+
@OsTypeId = ostypeid
|
185
|
+
@RaidId = raidid
|
186
|
+
@GoodsCount = goodscount
|
187
|
+
@VpcId = vpcid
|
188
|
+
@SubnetId = subnetid
|
189
|
+
@DeviceClassCode = deviceclasscode
|
190
|
+
@TimeUnit = timeunit
|
191
|
+
@TimeSpan = timespan
|
192
|
+
@NeedSecurityAgent = needsecurityagent
|
193
|
+
@NeedMonitorAgent = needmonitoragent
|
194
|
+
@NeedEMRAgent = needemragent
|
195
|
+
@NeedEMRSoftware = needemrsoftware
|
196
|
+
@ApplyEip = applyeip
|
197
|
+
@EipPayMode = eippaymode
|
198
|
+
@EipBandwidth = eipbandwidth
|
199
|
+
@IsZoning = iszoning
|
200
|
+
@CpmPayMode = cpmpaymode
|
201
|
+
@ImageId = imageid
|
202
|
+
@Password = password
|
203
|
+
@AutoRenewFlag = autorenewflag
|
204
|
+
@SysRootSpace = sysrootspace
|
205
|
+
@SysSwaporuefiSpace = sysswaporuefispace
|
206
|
+
@SysUsrlocalSpace = sysusrlocalspace
|
207
|
+
@SysDataSpace = sysdataspace
|
208
|
+
@HyperThreading = hyperthreading
|
209
|
+
@LanIps = lanips
|
210
|
+
@Aliases = aliases
|
211
|
+
@CpuId = cpuid
|
212
|
+
@ContainRaidCard = containraidcard
|
213
|
+
@MemSize = memsize
|
214
|
+
@SystemDiskTypeId = systemdisktypeid
|
215
|
+
@SystemDiskCount = systemdiskcount
|
216
|
+
@DataDiskTypeId = datadisktypeid
|
217
|
+
@DataDiskCount = datadiskcount
|
218
|
+
@Tags = tags
|
219
|
+
@FileSystem = filesystem
|
220
|
+
@BuySession = buysession
|
221
|
+
@SgId = sgid
|
222
|
+
@TemplateId = templateid
|
223
|
+
end
|
224
|
+
|
225
|
+
def deserialize(params)
|
226
|
+
@Zone = params['Zone']
|
227
|
+
@OsTypeId = params['OsTypeId']
|
228
|
+
@RaidId = params['RaidId']
|
229
|
+
@GoodsCount = params['GoodsCount']
|
230
|
+
@VpcId = params['VpcId']
|
231
|
+
@SubnetId = params['SubnetId']
|
232
|
+
@DeviceClassCode = params['DeviceClassCode']
|
233
|
+
@TimeUnit = params['TimeUnit']
|
234
|
+
@TimeSpan = params['TimeSpan']
|
235
|
+
@NeedSecurityAgent = params['NeedSecurityAgent']
|
236
|
+
@NeedMonitorAgent = params['NeedMonitorAgent']
|
237
|
+
@NeedEMRAgent = params['NeedEMRAgent']
|
238
|
+
@NeedEMRSoftware = params['NeedEMRSoftware']
|
239
|
+
@ApplyEip = params['ApplyEip']
|
240
|
+
@EipPayMode = params['EipPayMode']
|
241
|
+
@EipBandwidth = params['EipBandwidth']
|
242
|
+
@IsZoning = params['IsZoning']
|
243
|
+
@CpmPayMode = params['CpmPayMode']
|
244
|
+
@ImageId = params['ImageId']
|
245
|
+
@Password = params['Password']
|
246
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
247
|
+
@SysRootSpace = params['SysRootSpace']
|
248
|
+
@SysSwaporuefiSpace = params['SysSwaporuefiSpace']
|
249
|
+
@SysUsrlocalSpace = params['SysUsrlocalSpace']
|
250
|
+
@SysDataSpace = params['SysDataSpace']
|
251
|
+
@HyperThreading = params['HyperThreading']
|
252
|
+
@LanIps = params['LanIps']
|
253
|
+
@Aliases = params['Aliases']
|
254
|
+
@CpuId = params['CpuId']
|
255
|
+
@ContainRaidCard = params['ContainRaidCard']
|
256
|
+
@MemSize = params['MemSize']
|
257
|
+
@SystemDiskTypeId = params['SystemDiskTypeId']
|
258
|
+
@SystemDiskCount = params['SystemDiskCount']
|
259
|
+
@DataDiskTypeId = params['DataDiskTypeId']
|
260
|
+
@DataDiskCount = params['DataDiskCount']
|
261
|
+
unless params['Tags'].nil?
|
262
|
+
@Tags = []
|
263
|
+
params['Tags'].each do |i|
|
264
|
+
tag_tmp = Tag.new
|
265
|
+
tag_tmp.deserialize(i)
|
266
|
+
@Tags << tag_tmp
|
267
|
+
end
|
268
|
+
end
|
269
|
+
@FileSystem = params['FileSystem']
|
270
|
+
@BuySession = params['BuySession']
|
271
|
+
@SgId = params['SgId']
|
272
|
+
@TemplateId = params['TemplateId']
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
# BuyDevices返回参数结构体
|
277
|
+
class BuyDevicesResponse < TencentCloud::Common::AbstractModel
|
278
|
+
# @param InstanceIds: 购买的物理机实例ID列表
|
279
|
+
# @type InstanceIds: Array
|
280
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
281
|
+
# @type RequestId: String
|
282
|
+
|
283
|
+
attr_accessor :InstanceIds, :RequestId
|
284
|
+
|
285
|
+
def initialize(instanceids=nil, requestid=nil)
|
286
|
+
@InstanceIds = instanceids
|
287
|
+
@RequestId = requestid
|
288
|
+
end
|
289
|
+
|
290
|
+
def deserialize(params)
|
291
|
+
@InstanceIds = params['InstanceIds']
|
292
|
+
@RequestId = params['RequestId']
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
# cpu信息
|
297
|
+
class CpuInfo < TencentCloud::Common::AbstractModel
|
298
|
+
# @param CpuId: CPU的ID
|
299
|
+
# @type CpuId: Integer
|
300
|
+
# @param CpuDescription: CPU型号描述
|
301
|
+
# @type CpuDescription: String
|
302
|
+
# @param Series: 机型序列
|
303
|
+
# @type Series: Integer
|
304
|
+
# @param ContainRaidCard: 支持的RAID方式,0:有RAID卡,1:没有RAID卡
|
305
|
+
# @type ContainRaidCard: Array
|
306
|
+
|
307
|
+
attr_accessor :CpuId, :CpuDescription, :Series, :ContainRaidCard
|
308
|
+
|
309
|
+
def initialize(cpuid=nil, cpudescription=nil, series=nil, containraidcard=nil)
|
310
|
+
@CpuId = cpuid
|
311
|
+
@CpuDescription = cpudescription
|
312
|
+
@Series = series
|
313
|
+
@ContainRaidCard = containraidcard
|
314
|
+
end
|
315
|
+
|
316
|
+
def deserialize(params)
|
317
|
+
@CpuId = params['CpuId']
|
318
|
+
@CpuDescription = params['CpuDescription']
|
319
|
+
@Series = params['Series']
|
320
|
+
@ContainRaidCard = params['ContainRaidCard']
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
# CreateCustomImage请求参数结构体
|
325
|
+
class CreateCustomImageRequest < TencentCloud::Common::AbstractModel
|
326
|
+
# @param InstanceId: 用于制作镜像的物理机ID
|
327
|
+
# @type InstanceId: String
|
328
|
+
# @param ImageName: 镜像别名
|
329
|
+
# @type ImageName: String
|
330
|
+
# @param ImageDescription: 镜像描述
|
331
|
+
# @type ImageDescription: String
|
332
|
+
|
333
|
+
attr_accessor :InstanceId, :ImageName, :ImageDescription
|
334
|
+
|
335
|
+
def initialize(instanceid=nil, imagename=nil, imagedescription=nil)
|
336
|
+
@InstanceId = instanceid
|
337
|
+
@ImageName = imagename
|
338
|
+
@ImageDescription = imagedescription
|
339
|
+
end
|
340
|
+
|
341
|
+
def deserialize(params)
|
342
|
+
@InstanceId = params['InstanceId']
|
343
|
+
@ImageName = params['ImageName']
|
344
|
+
@ImageDescription = params['ImageDescription']
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
# CreateCustomImage返回参数结构体
|
349
|
+
class CreateCustomImageResponse < TencentCloud::Common::AbstractModel
|
350
|
+
# @param TaskId: 黑石异步任务ID
|
351
|
+
# @type TaskId: Integer
|
352
|
+
# @param ImageId: 镜像ID
|
353
|
+
# @type ImageId: String
|
354
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
355
|
+
# @type RequestId: String
|
356
|
+
|
357
|
+
attr_accessor :TaskId, :ImageId, :RequestId
|
358
|
+
|
359
|
+
def initialize(taskid=nil, imageid=nil, requestid=nil)
|
360
|
+
@TaskId = taskid
|
361
|
+
@ImageId = imageid
|
362
|
+
@RequestId = requestid
|
363
|
+
end
|
364
|
+
|
365
|
+
def deserialize(params)
|
366
|
+
@TaskId = params['TaskId']
|
367
|
+
@ImageId = params['ImageId']
|
368
|
+
@RequestId = params['RequestId']
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
# CreatePsaRegulation请求参数结构体
|
373
|
+
class CreatePsaRegulationRequest < TencentCloud::Common::AbstractModel
|
374
|
+
# @param PsaName: 规则别名
|
375
|
+
# @type PsaName: String
|
376
|
+
# @param TaskTypeIds: 关联的故障类型ID列表
|
377
|
+
# @type TaskTypeIds: Array
|
378
|
+
# @param RepairLimit: 维修实例上限,默认为5
|
379
|
+
# @type RepairLimit: Integer
|
380
|
+
# @param PsaDescription: 规则备注
|
381
|
+
# @type PsaDescription: String
|
382
|
+
|
383
|
+
attr_accessor :PsaName, :TaskTypeIds, :RepairLimit, :PsaDescription
|
384
|
+
|
385
|
+
def initialize(psaname=nil, tasktypeids=nil, repairlimit=nil, psadescription=nil)
|
386
|
+
@PsaName = psaname
|
387
|
+
@TaskTypeIds = tasktypeids
|
388
|
+
@RepairLimit = repairlimit
|
389
|
+
@PsaDescription = psadescription
|
390
|
+
end
|
391
|
+
|
392
|
+
def deserialize(params)
|
393
|
+
@PsaName = params['PsaName']
|
394
|
+
@TaskTypeIds = params['TaskTypeIds']
|
395
|
+
@RepairLimit = params['RepairLimit']
|
396
|
+
@PsaDescription = params['PsaDescription']
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
# CreatePsaRegulation返回参数结构体
|
401
|
+
class CreatePsaRegulationResponse < TencentCloud::Common::AbstractModel
|
402
|
+
# @param PsaId: 创建的预授权规则ID
|
403
|
+
# @type PsaId: String
|
404
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
405
|
+
# @type RequestId: String
|
406
|
+
|
407
|
+
attr_accessor :PsaId, :RequestId
|
408
|
+
|
409
|
+
def initialize(psaid=nil, requestid=nil)
|
410
|
+
@PsaId = psaid
|
411
|
+
@RequestId = requestid
|
412
|
+
end
|
413
|
+
|
414
|
+
def deserialize(params)
|
415
|
+
@PsaId = params['PsaId']
|
416
|
+
@RequestId = params['RequestId']
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
# CreateSpotDevice请求参数结构体
|
421
|
+
class CreateSpotDeviceRequest < TencentCloud::Common::AbstractModel
|
422
|
+
# @param Zone: 可用区名称。如ap-guangzhou-bls-1, 通过DescribeRegions获取
|
423
|
+
# @type Zone: String
|
424
|
+
# @param ComputeType: 计算单元类型, 如v3.c2.medium,更详细的ComputeType参考[竞价实例产品文档](https://cloud.tencent.com/document/product/386/30256)
|
425
|
+
# @type ComputeType: String
|
426
|
+
# @param OsTypeId: 操作系统类型ID
|
427
|
+
# @type OsTypeId: Integer
|
428
|
+
# @param VpcId: 私有网络ID
|
429
|
+
# @type VpcId: String
|
430
|
+
# @param SubnetId: 子网ID
|
431
|
+
# @type SubnetId: String
|
432
|
+
# @param GoodsNum: 购买的计算单元个数
|
433
|
+
# @type GoodsNum: Integer
|
434
|
+
# @param SpotStrategy: 出价策略。可取值为SpotWithPriceLimit和SpotAsPriceGo。SpotWithPriceLimit,用户设置价格上限,需要传SpotPriceLimit参数, 如果市场价高于用户的指定价格,则购买不成功; SpotAsPriceGo 是随市场价的策略。
|
435
|
+
# @type SpotStrategy: String
|
436
|
+
# @param SpotPriceLimit: 用户设置的价格。当为SpotWithPriceLimit竞价策略时有效
|
437
|
+
# @type SpotPriceLimit: Float
|
438
|
+
# @param Passwd: 设置竞价实例密码。可选参数,没有指定会生成随机密码
|
439
|
+
# @type Passwd: String
|
440
|
+
|
441
|
+
attr_accessor :Zone, :ComputeType, :OsTypeId, :VpcId, :SubnetId, :GoodsNum, :SpotStrategy, :SpotPriceLimit, :Passwd
|
442
|
+
|
443
|
+
def initialize(zone=nil, computetype=nil, ostypeid=nil, vpcid=nil, subnetid=nil, goodsnum=nil, spotstrategy=nil, spotpricelimit=nil, passwd=nil)
|
444
|
+
@Zone = zone
|
445
|
+
@ComputeType = computetype
|
446
|
+
@OsTypeId = ostypeid
|
447
|
+
@VpcId = vpcid
|
448
|
+
@SubnetId = subnetid
|
449
|
+
@GoodsNum = goodsnum
|
450
|
+
@SpotStrategy = spotstrategy
|
451
|
+
@SpotPriceLimit = spotpricelimit
|
452
|
+
@Passwd = passwd
|
453
|
+
end
|
454
|
+
|
455
|
+
def deserialize(params)
|
456
|
+
@Zone = params['Zone']
|
457
|
+
@ComputeType = params['ComputeType']
|
458
|
+
@OsTypeId = params['OsTypeId']
|
459
|
+
@VpcId = params['VpcId']
|
460
|
+
@SubnetId = params['SubnetId']
|
461
|
+
@GoodsNum = params['GoodsNum']
|
462
|
+
@SpotStrategy = params['SpotStrategy']
|
463
|
+
@SpotPriceLimit = params['SpotPriceLimit']
|
464
|
+
@Passwd = params['Passwd']
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
# CreateSpotDevice返回参数结构体
|
469
|
+
class CreateSpotDeviceResponse < TencentCloud::Common::AbstractModel
|
470
|
+
# @param ResourceIds: 创建的服务器ID
|
471
|
+
# @type ResourceIds: Array
|
472
|
+
# @param FlowId: 任务ID
|
473
|
+
# @type FlowId: Integer
|
474
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
475
|
+
# @type RequestId: String
|
476
|
+
|
477
|
+
attr_accessor :ResourceIds, :FlowId, :RequestId
|
478
|
+
|
479
|
+
def initialize(resourceids=nil, flowid=nil, requestid=nil)
|
480
|
+
@ResourceIds = resourceids
|
481
|
+
@FlowId = flowid
|
482
|
+
@RequestId = requestid
|
483
|
+
end
|
484
|
+
|
485
|
+
def deserialize(params)
|
486
|
+
@ResourceIds = params['ResourceIds']
|
487
|
+
@FlowId = params['FlowId']
|
488
|
+
@RequestId = params['RequestId']
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
# CreateUserCmd请求参数结构体
|
493
|
+
class CreateUserCmdRequest < TencentCloud::Common::AbstractModel
|
494
|
+
# @param Alias: 用户自定义脚本的名称
|
495
|
+
# @type Alias: String
|
496
|
+
# @param OsType: 命令适用的操作系统类型,取值linux或xserver
|
497
|
+
# @type OsType: String
|
498
|
+
# @param Content: 脚本内容,必须经过base64编码
|
499
|
+
# @type Content: String
|
500
|
+
|
501
|
+
attr_accessor :Alias, :OsType, :Content
|
502
|
+
|
503
|
+
def initialize(_alias=nil, ostype=nil, content=nil)
|
504
|
+
@Alias = _alias
|
505
|
+
@OsType = ostype
|
506
|
+
@Content = content
|
507
|
+
end
|
508
|
+
|
509
|
+
def deserialize(params)
|
510
|
+
@Alias = params['Alias']
|
511
|
+
@OsType = params['OsType']
|
512
|
+
@Content = params['Content']
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
# CreateUserCmd返回参数结构体
|
517
|
+
class CreateUserCmdResponse < TencentCloud::Common::AbstractModel
|
518
|
+
# @param CmdId: 脚本ID
|
519
|
+
# @type CmdId: String
|
520
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
521
|
+
# @type RequestId: String
|
522
|
+
|
523
|
+
attr_accessor :CmdId, :RequestId
|
524
|
+
|
525
|
+
def initialize(cmdid=nil, requestid=nil)
|
526
|
+
@CmdId = cmdid
|
527
|
+
@RequestId = requestid
|
528
|
+
end
|
529
|
+
|
530
|
+
def deserialize(params)
|
531
|
+
@CmdId = params['CmdId']
|
532
|
+
@RequestId = params['RequestId']
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
# 自定义镜像信息
|
537
|
+
class CustomImage < TencentCloud::Common::AbstractModel
|
538
|
+
# @param ImageId: 镜像ID
|
539
|
+
# @type ImageId: String
|
540
|
+
# @param ImageName: 镜像别名
|
541
|
+
# @type ImageName: String
|
542
|
+
# @param ImageStatus: 镜像状态码
|
543
|
+
# @type ImageStatus: Integer
|
544
|
+
# @param OsClass: 镜像OS名
|
545
|
+
# @type OsClass: String
|
546
|
+
# @param OsVersion: 镜像OS版本
|
547
|
+
# @type OsVersion: String
|
548
|
+
# @param OsBit: OS是64还是32位
|
549
|
+
# @type OsBit: Integer
|
550
|
+
# @param ImageSize: 镜像大小(M)
|
551
|
+
# @type ImageSize: Integer
|
552
|
+
# @param CreateTime: 创建时间
|
553
|
+
# @type CreateTime: String
|
554
|
+
# @param PartitionInfoSet: 分区信息
|
555
|
+
# @type PartitionInfoSet: Array
|
556
|
+
# @param DeviceClassCode: 适用机型
|
557
|
+
# @type DeviceClassCode: String
|
558
|
+
# @param ImageDescription: 备注
|
559
|
+
# @type ImageDescription: String
|
560
|
+
# @param OsTypeId: 原始镜像id
|
561
|
+
# @type OsTypeId: Integer
|
562
|
+
|
563
|
+
attr_accessor :ImageId, :ImageName, :ImageStatus, :OsClass, :OsVersion, :OsBit, :ImageSize, :CreateTime, :PartitionInfoSet, :DeviceClassCode, :ImageDescription, :OsTypeId
|
564
|
+
|
565
|
+
def initialize(imageid=nil, imagename=nil, imagestatus=nil, osclass=nil, osversion=nil, osbit=nil, imagesize=nil, createtime=nil, partitioninfoset=nil, deviceclasscode=nil, imagedescription=nil, ostypeid=nil)
|
566
|
+
@ImageId = imageid
|
567
|
+
@ImageName = imagename
|
568
|
+
@ImageStatus = imagestatus
|
569
|
+
@OsClass = osclass
|
570
|
+
@OsVersion = osversion
|
571
|
+
@OsBit = osbit
|
572
|
+
@ImageSize = imagesize
|
573
|
+
@CreateTime = createtime
|
574
|
+
@PartitionInfoSet = partitioninfoset
|
575
|
+
@DeviceClassCode = deviceclasscode
|
576
|
+
@ImageDescription = imagedescription
|
577
|
+
@OsTypeId = ostypeid
|
578
|
+
end
|
579
|
+
|
580
|
+
def deserialize(params)
|
581
|
+
@ImageId = params['ImageId']
|
582
|
+
@ImageName = params['ImageName']
|
583
|
+
@ImageStatus = params['ImageStatus']
|
584
|
+
@OsClass = params['OsClass']
|
585
|
+
@OsVersion = params['OsVersion']
|
586
|
+
@OsBit = params['OsBit']
|
587
|
+
@ImageSize = params['ImageSize']
|
588
|
+
@CreateTime = params['CreateTime']
|
589
|
+
unless params['PartitionInfoSet'].nil?
|
590
|
+
@PartitionInfoSet = []
|
591
|
+
params['PartitionInfoSet'].each do |i|
|
592
|
+
partitioninfo_tmp = PartitionInfo.new
|
593
|
+
partitioninfo_tmp.deserialize(i)
|
594
|
+
@PartitionInfoSet << partitioninfo_tmp
|
595
|
+
end
|
596
|
+
end
|
597
|
+
@DeviceClassCode = params['DeviceClassCode']
|
598
|
+
@ImageDescription = params['ImageDescription']
|
599
|
+
@OsTypeId = params['OsTypeId']
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
# 镜像制作进度列表
|
604
|
+
class CustomImageProcess < TencentCloud::Common::AbstractModel
|
605
|
+
# @param StepName: 步骤
|
606
|
+
# @type StepName: String
|
607
|
+
# @param StartTime: 此步骤开始时间
|
608
|
+
# @type StartTime: String
|
609
|
+
# @param StepType: 0: 已完成 1: 当前进行 2: 未开始
|
610
|
+
# @type StepType: Integer
|
611
|
+
|
612
|
+
attr_accessor :StepName, :StartTime, :StepType
|
613
|
+
|
614
|
+
def initialize(stepname=nil, starttime=nil, steptype=nil)
|
615
|
+
@StepName = stepname
|
616
|
+
@StartTime = starttime
|
617
|
+
@StepType = steptype
|
618
|
+
end
|
619
|
+
|
620
|
+
def deserialize(params)
|
621
|
+
@StepName = params['StepName']
|
622
|
+
@StartTime = params['StartTime']
|
623
|
+
@StepType = params['StepType']
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
627
|
+
# DeleteCustomImages请求参数结构体
|
628
|
+
class DeleteCustomImagesRequest < TencentCloud::Common::AbstractModel
|
629
|
+
# @param ImageIds: 准备删除的镜像ID列表
|
630
|
+
# @type ImageIds: Array
|
631
|
+
|
632
|
+
attr_accessor :ImageIds
|
633
|
+
|
634
|
+
def initialize(imageids=nil)
|
635
|
+
@ImageIds = imageids
|
636
|
+
end
|
637
|
+
|
638
|
+
def deserialize(params)
|
639
|
+
@ImageIds = params['ImageIds']
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
# DeleteCustomImages返回参数结构体
|
644
|
+
class DeleteCustomImagesResponse < TencentCloud::Common::AbstractModel
|
645
|
+
# @param TaskId: 黑石异步任务ID
|
646
|
+
# @type TaskId: Integer
|
647
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
648
|
+
# @type RequestId: String
|
649
|
+
|
650
|
+
attr_accessor :TaskId, :RequestId
|
651
|
+
|
652
|
+
def initialize(taskid=nil, requestid=nil)
|
653
|
+
@TaskId = taskid
|
654
|
+
@RequestId = requestid
|
655
|
+
end
|
656
|
+
|
657
|
+
def deserialize(params)
|
658
|
+
@TaskId = params['TaskId']
|
659
|
+
@RequestId = params['RequestId']
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
# DeletePsaRegulation请求参数结构体
|
664
|
+
class DeletePsaRegulationRequest < TencentCloud::Common::AbstractModel
|
665
|
+
# @param PsaId: 预授权规则ID
|
666
|
+
# @type PsaId: String
|
667
|
+
|
668
|
+
attr_accessor :PsaId
|
669
|
+
|
670
|
+
def initialize(psaid=nil)
|
671
|
+
@PsaId = psaid
|
672
|
+
end
|
673
|
+
|
674
|
+
def deserialize(params)
|
675
|
+
@PsaId = params['PsaId']
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
# DeletePsaRegulation返回参数结构体
|
680
|
+
class DeletePsaRegulationResponse < TencentCloud::Common::AbstractModel
|
681
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
682
|
+
# @type RequestId: String
|
683
|
+
|
684
|
+
attr_accessor :RequestId
|
685
|
+
|
686
|
+
def initialize(requestid=nil)
|
687
|
+
@RequestId = requestid
|
688
|
+
end
|
689
|
+
|
690
|
+
def deserialize(params)
|
691
|
+
@RequestId = params['RequestId']
|
692
|
+
end
|
693
|
+
end
|
694
|
+
|
695
|
+
# DeleteUserCmds请求参数结构体
|
696
|
+
class DeleteUserCmdsRequest < TencentCloud::Common::AbstractModel
|
697
|
+
# @param CmdIds: 需要删除的脚本ID
|
698
|
+
# @type CmdIds: Array
|
699
|
+
|
700
|
+
attr_accessor :CmdIds
|
701
|
+
|
702
|
+
def initialize(cmdids=nil)
|
703
|
+
@CmdIds = cmdids
|
704
|
+
end
|
705
|
+
|
706
|
+
def deserialize(params)
|
707
|
+
@CmdIds = params['CmdIds']
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
711
|
+
# DeleteUserCmds返回参数结构体
|
712
|
+
class DeleteUserCmdsResponse < TencentCloud::Common::AbstractModel
|
713
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
714
|
+
# @type RequestId: String
|
715
|
+
|
716
|
+
attr_accessor :RequestId
|
717
|
+
|
718
|
+
def initialize(requestid=nil)
|
719
|
+
@RequestId = requestid
|
720
|
+
end
|
721
|
+
|
722
|
+
def deserialize(params)
|
723
|
+
@RequestId = params['RequestId']
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
# DescribeCustomImageProcess请求参数结构体
|
728
|
+
class DescribeCustomImageProcessRequest < TencentCloud::Common::AbstractModel
|
729
|
+
# @param ImageId: 镜像ID
|
730
|
+
# @type ImageId: String
|
731
|
+
|
732
|
+
attr_accessor :ImageId
|
733
|
+
|
734
|
+
def initialize(imageid=nil)
|
735
|
+
@ImageId = imageid
|
736
|
+
end
|
737
|
+
|
738
|
+
def deserialize(params)
|
739
|
+
@ImageId = params['ImageId']
|
740
|
+
end
|
741
|
+
end
|
742
|
+
|
743
|
+
# DescribeCustomImageProcess返回参数结构体
|
744
|
+
class DescribeCustomImageProcessResponse < TencentCloud::Common::AbstractModel
|
745
|
+
# @param CustomImageProcessSet: 镜像制作进度
|
746
|
+
# @type CustomImageProcessSet: Array
|
747
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
748
|
+
# @type RequestId: String
|
749
|
+
|
750
|
+
attr_accessor :CustomImageProcessSet, :RequestId
|
751
|
+
|
752
|
+
def initialize(customimageprocessset=nil, requestid=nil)
|
753
|
+
@CustomImageProcessSet = customimageprocessset
|
754
|
+
@RequestId = requestid
|
755
|
+
end
|
756
|
+
|
757
|
+
def deserialize(params)
|
758
|
+
unless params['CustomImageProcessSet'].nil?
|
759
|
+
@CustomImageProcessSet = []
|
760
|
+
params['CustomImageProcessSet'].each do |i|
|
761
|
+
customimageprocess_tmp = CustomImageProcess.new
|
762
|
+
customimageprocess_tmp.deserialize(i)
|
763
|
+
@CustomImageProcessSet << customimageprocess_tmp
|
764
|
+
end
|
765
|
+
end
|
766
|
+
@RequestId = params['RequestId']
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
# DescribeCustomImages请求参数结构体
|
771
|
+
class DescribeCustomImagesRequest < TencentCloud::Common::AbstractModel
|
772
|
+
# @param Offset: 偏移量
|
773
|
+
# @type Offset: Integer
|
774
|
+
# @param Limit: 数量限制
|
775
|
+
# @type Limit: Integer
|
776
|
+
# @param OrderField: 排序字段,仅支持CreateTime
|
777
|
+
# @type OrderField: String
|
778
|
+
# @param Order: 排序方式 0:递增(默认) 1:递减
|
779
|
+
# @type Order: Integer
|
780
|
+
# @param ImageId: 按ImageId查找指定镜像信息,ImageId字段存在时其他字段失效
|
781
|
+
# @type ImageId: String
|
782
|
+
# @param SearchKey: 模糊查询过滤,可以查询镜像ID或镜像名
|
783
|
+
# @type SearchKey: String
|
784
|
+
# @param ImageStatus: <ul>
|
785
|
+
# 镜像状态过滤列表,有效取值为:
|
786
|
+
# <li>1:制作中</li>
|
787
|
+
# <li>2:制作失败</li>
|
788
|
+
# <li>3:正常</li>
|
789
|
+
# <li>4:删除中</li>
|
790
|
+
# </ul>
|
791
|
+
# @type ImageStatus: Array
|
792
|
+
|
793
|
+
attr_accessor :Offset, :Limit, :OrderField, :Order, :ImageId, :SearchKey, :ImageStatus
|
794
|
+
|
795
|
+
def initialize(offset=nil, limit=nil, orderfield=nil, order=nil, imageid=nil, searchkey=nil, imagestatus=nil)
|
796
|
+
@Offset = offset
|
797
|
+
@Limit = limit
|
798
|
+
@OrderField = orderfield
|
799
|
+
@Order = order
|
800
|
+
@ImageId = imageid
|
801
|
+
@SearchKey = searchkey
|
802
|
+
@ImageStatus = imagestatus
|
803
|
+
end
|
804
|
+
|
805
|
+
def deserialize(params)
|
806
|
+
@Offset = params['Offset']
|
807
|
+
@Limit = params['Limit']
|
808
|
+
@OrderField = params['OrderField']
|
809
|
+
@Order = params['Order']
|
810
|
+
@ImageId = params['ImageId']
|
811
|
+
@SearchKey = params['SearchKey']
|
812
|
+
@ImageStatus = params['ImageStatus']
|
813
|
+
end
|
814
|
+
end
|
815
|
+
|
816
|
+
# DescribeCustomImages返回参数结构体
|
817
|
+
class DescribeCustomImagesResponse < TencentCloud::Common::AbstractModel
|
818
|
+
# @param TotalCount: 返回镜像数量
|
819
|
+
# @type TotalCount: Integer
|
820
|
+
# @param CustomImageSet: 镜像信息列表
|
821
|
+
# @type CustomImageSet: Array
|
822
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
823
|
+
# @type RequestId: String
|
824
|
+
|
825
|
+
attr_accessor :TotalCount, :CustomImageSet, :RequestId
|
826
|
+
|
827
|
+
def initialize(totalcount=nil, customimageset=nil, requestid=nil)
|
828
|
+
@TotalCount = totalcount
|
829
|
+
@CustomImageSet = customimageset
|
830
|
+
@RequestId = requestid
|
831
|
+
end
|
832
|
+
|
833
|
+
def deserialize(params)
|
834
|
+
@TotalCount = params['TotalCount']
|
835
|
+
unless params['CustomImageSet'].nil?
|
836
|
+
@CustomImageSet = []
|
837
|
+
params['CustomImageSet'].each do |i|
|
838
|
+
customimage_tmp = CustomImage.new
|
839
|
+
customimage_tmp.deserialize(i)
|
840
|
+
@CustomImageSet << customimage_tmp
|
841
|
+
end
|
842
|
+
end
|
843
|
+
@RequestId = params['RequestId']
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
847
|
+
# DescribeDeviceClassPartition请求参数结构体
|
848
|
+
class DescribeDeviceClassPartitionRequest < TencentCloud::Common::AbstractModel
|
849
|
+
# @param DeviceClassCode: 设备类型代号。代号通过接口[查询设备型号(DescribeDeviceClass)](https://cloud.tencent.com/document/api/386/32911)查询。标准机型需要传入此参数。虽是可选参数,但DeviceClassCode和InstanceId参数,必须要填写一个。
|
850
|
+
# @type DeviceClassCode: String
|
851
|
+
# @param InstanceId: 需要查询自定义机型RAID信息时,传入自定义机型实例ID。InstanceId存在时其余参数失效。
|
852
|
+
# @type InstanceId: String
|
853
|
+
# @param CpuId: CPU型号ID,查询自定义机型时需要传入
|
854
|
+
# @type CpuId: Integer
|
855
|
+
# @param MemSize: 内存大小,单位为G,查询自定义机型时需要传入
|
856
|
+
# @type MemSize: Integer
|
857
|
+
# @param ContainRaidCard: 是否有RAID卡,取值:1(有) 0(无)。查询自定义机型时需要传入
|
858
|
+
# @type ContainRaidCard: Integer
|
859
|
+
# @param SystemDiskTypeId: 系统盘类型ID,查询自定义机型时需要传入
|
860
|
+
# @type SystemDiskTypeId: Integer
|
861
|
+
# @param SystemDiskCount: 系统盘数量,查询自定义机型时需要传入
|
862
|
+
# @type SystemDiskCount: Integer
|
863
|
+
# @param DataDiskTypeId: 数据盘类型ID,查询自定义机型时可传入
|
864
|
+
# @type DataDiskTypeId: Integer
|
865
|
+
# @param DataDiskCount: 数据盘数量,查询自定义机型时可传入
|
866
|
+
# @type DataDiskCount: Integer
|
867
|
+
|
868
|
+
attr_accessor :DeviceClassCode, :InstanceId, :CpuId, :MemSize, :ContainRaidCard, :SystemDiskTypeId, :SystemDiskCount, :DataDiskTypeId, :DataDiskCount
|
869
|
+
|
870
|
+
def initialize(deviceclasscode=nil, instanceid=nil, cpuid=nil, memsize=nil, containraidcard=nil, systemdisktypeid=nil, systemdiskcount=nil, datadisktypeid=nil, datadiskcount=nil)
|
871
|
+
@DeviceClassCode = deviceclasscode
|
872
|
+
@InstanceId = instanceid
|
873
|
+
@CpuId = cpuid
|
874
|
+
@MemSize = memsize
|
875
|
+
@ContainRaidCard = containraidcard
|
876
|
+
@SystemDiskTypeId = systemdisktypeid
|
877
|
+
@SystemDiskCount = systemdiskcount
|
878
|
+
@DataDiskTypeId = datadisktypeid
|
879
|
+
@DataDiskCount = datadiskcount
|
880
|
+
end
|
881
|
+
|
882
|
+
def deserialize(params)
|
883
|
+
@DeviceClassCode = params['DeviceClassCode']
|
884
|
+
@InstanceId = params['InstanceId']
|
885
|
+
@CpuId = params['CpuId']
|
886
|
+
@MemSize = params['MemSize']
|
887
|
+
@ContainRaidCard = params['ContainRaidCard']
|
888
|
+
@SystemDiskTypeId = params['SystemDiskTypeId']
|
889
|
+
@SystemDiskCount = params['SystemDiskCount']
|
890
|
+
@DataDiskTypeId = params['DataDiskTypeId']
|
891
|
+
@DataDiskCount = params['DataDiskCount']
|
892
|
+
end
|
893
|
+
end
|
894
|
+
|
895
|
+
# DescribeDeviceClassPartition返回参数结构体
|
896
|
+
class DescribeDeviceClassPartitionResponse < TencentCloud::Common::AbstractModel
|
897
|
+
# @param DeviceClassPartitionInfoSet: 支持的RAID格式列表
|
898
|
+
# @type DeviceClassPartitionInfoSet: Array
|
899
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
900
|
+
# @type RequestId: String
|
901
|
+
|
902
|
+
attr_accessor :DeviceClassPartitionInfoSet, :RequestId
|
903
|
+
|
904
|
+
def initialize(deviceclasspartitioninfoset=nil, requestid=nil)
|
905
|
+
@DeviceClassPartitionInfoSet = deviceclasspartitioninfoset
|
906
|
+
@RequestId = requestid
|
907
|
+
end
|
908
|
+
|
909
|
+
def deserialize(params)
|
910
|
+
unless params['DeviceClassPartitionInfoSet'].nil?
|
911
|
+
@DeviceClassPartitionInfoSet = []
|
912
|
+
params['DeviceClassPartitionInfoSet'].each do |i|
|
913
|
+
deviceclasspartitioninfo_tmp = DeviceClassPartitionInfo.new
|
914
|
+
deviceclasspartitioninfo_tmp.deserialize(i)
|
915
|
+
@DeviceClassPartitionInfoSet << deviceclasspartitioninfo_tmp
|
916
|
+
end
|
917
|
+
end
|
918
|
+
@RequestId = params['RequestId']
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
922
|
+
# DescribeDeviceClass请求参数结构体
|
923
|
+
class DescribeDeviceClassRequest < TencentCloud::Common::AbstractModel
|
924
|
+
# @param OnSale: 是否仅查询在售标准机型配置信息。取值0:查询所有机型;1:查询在售机型。默认为1
|
925
|
+
# @type OnSale: Integer
|
926
|
+
# @param NeedPriceInfo: 是否返回价格信息。取值0:不返回价格信息,接口返回速度更快;1:返回价格信息。默认为1
|
927
|
+
# @type NeedPriceInfo: Integer
|
928
|
+
|
929
|
+
attr_accessor :OnSale, :NeedPriceInfo
|
930
|
+
|
931
|
+
def initialize(onsale=nil, needpriceinfo=nil)
|
932
|
+
@OnSale = onsale
|
933
|
+
@NeedPriceInfo = needpriceinfo
|
934
|
+
end
|
935
|
+
|
936
|
+
def deserialize(params)
|
937
|
+
@OnSale = params['OnSale']
|
938
|
+
@NeedPriceInfo = params['NeedPriceInfo']
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
942
|
+
# DescribeDeviceClass返回参数结构体
|
943
|
+
class DescribeDeviceClassResponse < TencentCloud::Common::AbstractModel
|
944
|
+
# @param DeviceClassSet: 物理机设备类型列表
|
945
|
+
# @type DeviceClassSet: Array
|
946
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
947
|
+
# @type RequestId: String
|
948
|
+
|
949
|
+
attr_accessor :DeviceClassSet, :RequestId
|
950
|
+
|
951
|
+
def initialize(deviceclassset=nil, requestid=nil)
|
952
|
+
@DeviceClassSet = deviceclassset
|
953
|
+
@RequestId = requestid
|
954
|
+
end
|
955
|
+
|
956
|
+
def deserialize(params)
|
957
|
+
unless params['DeviceClassSet'].nil?
|
958
|
+
@DeviceClassSet = []
|
959
|
+
params['DeviceClassSet'].each do |i|
|
960
|
+
deviceclass_tmp = DeviceClass.new
|
961
|
+
deviceclass_tmp.deserialize(i)
|
962
|
+
@DeviceClassSet << deviceclass_tmp
|
963
|
+
end
|
964
|
+
end
|
965
|
+
@RequestId = params['RequestId']
|
966
|
+
end
|
967
|
+
end
|
968
|
+
|
969
|
+
# DescribeDeviceHardwareInfo请求参数结构体
|
970
|
+
class DescribeDeviceHardwareInfoRequest < TencentCloud::Common::AbstractModel
|
971
|
+
# @param InstanceIds: 设备 ID 列表
|
972
|
+
# @type InstanceIds: Array
|
973
|
+
|
974
|
+
attr_accessor :InstanceIds
|
975
|
+
|
976
|
+
def initialize(instanceids=nil)
|
977
|
+
@InstanceIds = instanceids
|
978
|
+
end
|
979
|
+
|
980
|
+
def deserialize(params)
|
981
|
+
@InstanceIds = params['InstanceIds']
|
982
|
+
end
|
983
|
+
end
|
984
|
+
|
985
|
+
# DescribeDeviceHardwareInfo返回参数结构体
|
986
|
+
class DescribeDeviceHardwareInfoResponse < TencentCloud::Common::AbstractModel
|
987
|
+
# @param DeviceHardwareInfoSet: 设备硬件配置信息
|
988
|
+
# @type DeviceHardwareInfoSet: Array
|
989
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
990
|
+
# @type RequestId: String
|
991
|
+
|
992
|
+
attr_accessor :DeviceHardwareInfoSet, :RequestId
|
993
|
+
|
994
|
+
def initialize(devicehardwareinfoset=nil, requestid=nil)
|
995
|
+
@DeviceHardwareInfoSet = devicehardwareinfoset
|
996
|
+
@RequestId = requestid
|
997
|
+
end
|
998
|
+
|
999
|
+
def deserialize(params)
|
1000
|
+
unless params['DeviceHardwareInfoSet'].nil?
|
1001
|
+
@DeviceHardwareInfoSet = []
|
1002
|
+
params['DeviceHardwareInfoSet'].each do |i|
|
1003
|
+
devicehardwareinfo_tmp = DeviceHardwareInfo.new
|
1004
|
+
devicehardwareinfo_tmp.deserialize(i)
|
1005
|
+
@DeviceHardwareInfoSet << devicehardwareinfo_tmp
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
@RequestId = params['RequestId']
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
# DescribeDeviceInventory请求参数结构体
|
1013
|
+
class DescribeDeviceInventoryRequest < TencentCloud::Common::AbstractModel
|
1014
|
+
# @param Zone: 可用区
|
1015
|
+
# @type Zone: String
|
1016
|
+
# @param DeviceClassCode: 设备型号
|
1017
|
+
# @type DeviceClassCode: String
|
1018
|
+
# @param VpcId: 私有网络ID
|
1019
|
+
# @type VpcId: String
|
1020
|
+
# @param SubnetId: 子网ID
|
1021
|
+
# @type SubnetId: String
|
1022
|
+
# @param CpuId: CPU型号ID,查询自定义机型时必填
|
1023
|
+
# @type CpuId: Integer
|
1024
|
+
# @param MemSize: 内存大小,单位为G,查询自定义机型时必填
|
1025
|
+
# @type MemSize: Integer
|
1026
|
+
# @param ContainRaidCard: 是否有RAID卡,取值:1(有) 0(无),查询自定义机型时必填
|
1027
|
+
# @type ContainRaidCard: Integer
|
1028
|
+
# @param SystemDiskTypeId: 系统盘类型ID,查询自定义机型时必填
|
1029
|
+
# @type SystemDiskTypeId: Integer
|
1030
|
+
# @param SystemDiskCount: 系统盘数量,查询自定义机型时必填
|
1031
|
+
# @type SystemDiskCount: Integer
|
1032
|
+
# @param DataDiskTypeId: 数据盘类型ID,查询自定义机型时可填
|
1033
|
+
# @type DataDiskTypeId: Integer
|
1034
|
+
# @param DataDiskCount: 数据盘数量,查询自定义机型时可填
|
1035
|
+
# @type DataDiskCount: Integer
|
1036
|
+
|
1037
|
+
attr_accessor :Zone, :DeviceClassCode, :VpcId, :SubnetId, :CpuId, :MemSize, :ContainRaidCard, :SystemDiskTypeId, :SystemDiskCount, :DataDiskTypeId, :DataDiskCount
|
1038
|
+
|
1039
|
+
def initialize(zone=nil, deviceclasscode=nil, vpcid=nil, subnetid=nil, cpuid=nil, memsize=nil, containraidcard=nil, systemdisktypeid=nil, systemdiskcount=nil, datadisktypeid=nil, datadiskcount=nil)
|
1040
|
+
@Zone = zone
|
1041
|
+
@DeviceClassCode = deviceclasscode
|
1042
|
+
@VpcId = vpcid
|
1043
|
+
@SubnetId = subnetid
|
1044
|
+
@CpuId = cpuid
|
1045
|
+
@MemSize = memsize
|
1046
|
+
@ContainRaidCard = containraidcard
|
1047
|
+
@SystemDiskTypeId = systemdisktypeid
|
1048
|
+
@SystemDiskCount = systemdiskcount
|
1049
|
+
@DataDiskTypeId = datadisktypeid
|
1050
|
+
@DataDiskCount = datadiskcount
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
def deserialize(params)
|
1054
|
+
@Zone = params['Zone']
|
1055
|
+
@DeviceClassCode = params['DeviceClassCode']
|
1056
|
+
@VpcId = params['VpcId']
|
1057
|
+
@SubnetId = params['SubnetId']
|
1058
|
+
@CpuId = params['CpuId']
|
1059
|
+
@MemSize = params['MemSize']
|
1060
|
+
@ContainRaidCard = params['ContainRaidCard']
|
1061
|
+
@SystemDiskTypeId = params['SystemDiskTypeId']
|
1062
|
+
@SystemDiskCount = params['SystemDiskCount']
|
1063
|
+
@DataDiskTypeId = params['DataDiskTypeId']
|
1064
|
+
@DataDiskCount = params['DataDiskCount']
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# DescribeDeviceInventory返回参数结构体
|
1069
|
+
class DescribeDeviceInventoryResponse < TencentCloud::Common::AbstractModel
|
1070
|
+
# @param DeviceCount: 库存设备数量
|
1071
|
+
# @type DeviceCount: Integer
|
1072
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1073
|
+
# @type RequestId: String
|
1074
|
+
|
1075
|
+
attr_accessor :DeviceCount, :RequestId
|
1076
|
+
|
1077
|
+
def initialize(devicecount=nil, requestid=nil)
|
1078
|
+
@DeviceCount = devicecount
|
1079
|
+
@RequestId = requestid
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
def deserialize(params)
|
1083
|
+
@DeviceCount = params['DeviceCount']
|
1084
|
+
@RequestId = params['RequestId']
|
1085
|
+
end
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
# DescribeDeviceOperationLog请求参数结构体
|
1089
|
+
class DescribeDeviceOperationLogRequest < TencentCloud::Common::AbstractModel
|
1090
|
+
# @param InstanceId: 设备实例ID
|
1091
|
+
# @type InstanceId: String
|
1092
|
+
# @param StartTime: 查询开始日期
|
1093
|
+
# @type StartTime: String
|
1094
|
+
# @param EndTime: 查询结束日期
|
1095
|
+
# @type EndTime: String
|
1096
|
+
# @param Offset: 偏移量
|
1097
|
+
# @type Offset: Integer
|
1098
|
+
# @param Limit: 返回数量
|
1099
|
+
# @type Limit: Integer
|
1100
|
+
|
1101
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit
|
1102
|
+
|
1103
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil)
|
1104
|
+
@InstanceId = instanceid
|
1105
|
+
@StartTime = starttime
|
1106
|
+
@EndTime = endtime
|
1107
|
+
@Offset = offset
|
1108
|
+
@Limit = limit
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
def deserialize(params)
|
1112
|
+
@InstanceId = params['InstanceId']
|
1113
|
+
@StartTime = params['StartTime']
|
1114
|
+
@EndTime = params['EndTime']
|
1115
|
+
@Offset = params['Offset']
|
1116
|
+
@Limit = params['Limit']
|
1117
|
+
end
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
# DescribeDeviceOperationLog返回参数结构体
|
1121
|
+
class DescribeDeviceOperationLogResponse < TencentCloud::Common::AbstractModel
|
1122
|
+
# @param DeviceOperationLogSet: 操作日志列表
|
1123
|
+
# @type DeviceOperationLogSet: Array
|
1124
|
+
# @param TotalCount: 返回数目
|
1125
|
+
# @type TotalCount: Integer
|
1126
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1127
|
+
# @type RequestId: String
|
1128
|
+
|
1129
|
+
attr_accessor :DeviceOperationLogSet, :TotalCount, :RequestId
|
1130
|
+
|
1131
|
+
def initialize(deviceoperationlogset=nil, totalcount=nil, requestid=nil)
|
1132
|
+
@DeviceOperationLogSet = deviceoperationlogset
|
1133
|
+
@TotalCount = totalcount
|
1134
|
+
@RequestId = requestid
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
def deserialize(params)
|
1138
|
+
unless params['DeviceOperationLogSet'].nil?
|
1139
|
+
@DeviceOperationLogSet = []
|
1140
|
+
params['DeviceOperationLogSet'].each do |i|
|
1141
|
+
deviceoperationlog_tmp = DeviceOperationLog.new
|
1142
|
+
deviceoperationlog_tmp.deserialize(i)
|
1143
|
+
@DeviceOperationLogSet << deviceoperationlog_tmp
|
1144
|
+
end
|
1145
|
+
end
|
1146
|
+
@TotalCount = params['TotalCount']
|
1147
|
+
@RequestId = params['RequestId']
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
# DescribeDevicePartition请求参数结构体
|
1152
|
+
class DescribeDevicePartitionRequest < TencentCloud::Common::AbstractModel
|
1153
|
+
# @param InstanceId: 物理机ID
|
1154
|
+
# @type InstanceId: String
|
1155
|
+
|
1156
|
+
attr_accessor :InstanceId
|
1157
|
+
|
1158
|
+
def initialize(instanceid=nil)
|
1159
|
+
@InstanceId = instanceid
|
1160
|
+
end
|
1161
|
+
|
1162
|
+
def deserialize(params)
|
1163
|
+
@InstanceId = params['InstanceId']
|
1164
|
+
end
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
# DescribeDevicePartition返回参数结构体
|
1168
|
+
class DescribeDevicePartitionResponse < TencentCloud::Common::AbstractModel
|
1169
|
+
# @param DevicePartition: 物理机分区格式
|
1170
|
+
# @type DevicePartition: :class:`Tencentcloud::Bm.v20180423.models.DevicePartition`
|
1171
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1172
|
+
# @type RequestId: String
|
1173
|
+
|
1174
|
+
attr_accessor :DevicePartition, :RequestId
|
1175
|
+
|
1176
|
+
def initialize(devicepartition=nil, requestid=nil)
|
1177
|
+
@DevicePartition = devicepartition
|
1178
|
+
@RequestId = requestid
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
def deserialize(params)
|
1182
|
+
unless params['DevicePartition'].nil?
|
1183
|
+
@DevicePartition = DevicePartition.new
|
1184
|
+
@DevicePartition.deserialize(params['DevicePartition'])
|
1185
|
+
end
|
1186
|
+
@RequestId = params['RequestId']
|
1187
|
+
end
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
# DescribeDevicePosition请求参数结构体
|
1191
|
+
class DescribeDevicePositionRequest < TencentCloud::Common::AbstractModel
|
1192
|
+
# @param Offset: 偏移量
|
1193
|
+
# @type Offset: Integer
|
1194
|
+
# @param Limit: 数量限制
|
1195
|
+
# @type Limit: Integer
|
1196
|
+
# @param VpcId: 私有网络ID
|
1197
|
+
# @type VpcId: String
|
1198
|
+
# @param SubnetId: 子网ID
|
1199
|
+
# @type SubnetId: String
|
1200
|
+
# @param InstanceIds: 实例ID列表
|
1201
|
+
# @type InstanceIds: Array
|
1202
|
+
# @param Alias: 实例别名
|
1203
|
+
# @type Alias: String
|
1204
|
+
|
1205
|
+
attr_accessor :Offset, :Limit, :VpcId, :SubnetId, :InstanceIds, :Alias
|
1206
|
+
|
1207
|
+
def initialize(offset=nil, limit=nil, vpcid=nil, subnetid=nil, instanceids=nil, _alias=nil)
|
1208
|
+
@Offset = offset
|
1209
|
+
@Limit = limit
|
1210
|
+
@VpcId = vpcid
|
1211
|
+
@SubnetId = subnetid
|
1212
|
+
@InstanceIds = instanceids
|
1213
|
+
@Alias = _alias
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
def deserialize(params)
|
1217
|
+
@Offset = params['Offset']
|
1218
|
+
@Limit = params['Limit']
|
1219
|
+
@VpcId = params['VpcId']
|
1220
|
+
@SubnetId = params['SubnetId']
|
1221
|
+
@InstanceIds = params['InstanceIds']
|
1222
|
+
@Alias = params['Alias']
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# DescribeDevicePosition返回参数结构体
|
1227
|
+
class DescribeDevicePositionResponse < TencentCloud::Common::AbstractModel
|
1228
|
+
# @param TotalCount: 返回数量
|
1229
|
+
# @type TotalCount: Integer
|
1230
|
+
# @param DevicePositionInfoSet: 设备所在机架信息
|
1231
|
+
# @type DevicePositionInfoSet: Array
|
1232
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1233
|
+
# @type RequestId: String
|
1234
|
+
|
1235
|
+
attr_accessor :TotalCount, :DevicePositionInfoSet, :RequestId
|
1236
|
+
|
1237
|
+
def initialize(totalcount=nil, devicepositioninfoset=nil, requestid=nil)
|
1238
|
+
@TotalCount = totalcount
|
1239
|
+
@DevicePositionInfoSet = devicepositioninfoset
|
1240
|
+
@RequestId = requestid
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
def deserialize(params)
|
1244
|
+
@TotalCount = params['TotalCount']
|
1245
|
+
unless params['DevicePositionInfoSet'].nil?
|
1246
|
+
@DevicePositionInfoSet = []
|
1247
|
+
params['DevicePositionInfoSet'].each do |i|
|
1248
|
+
devicepositioninfo_tmp = DevicePositionInfo.new
|
1249
|
+
devicepositioninfo_tmp.deserialize(i)
|
1250
|
+
@DevicePositionInfoSet << devicepositioninfo_tmp
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
@RequestId = params['RequestId']
|
1254
|
+
end
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
# DescribeDevicePriceInfo请求参数结构体
|
1258
|
+
class DescribeDevicePriceInfoRequest < TencentCloud::Common::AbstractModel
|
1259
|
+
# @param InstanceIds: 需要查询的实例列表
|
1260
|
+
# @type InstanceIds: Array
|
1261
|
+
# @param TimeUnit: 购买时长单位,当前只支持取值为m
|
1262
|
+
# @type TimeUnit: String
|
1263
|
+
# @param TimeSpan: 购买时长
|
1264
|
+
# @type TimeSpan: Integer
|
1265
|
+
|
1266
|
+
attr_accessor :InstanceIds, :TimeUnit, :TimeSpan
|
1267
|
+
|
1268
|
+
def initialize(instanceids=nil, timeunit=nil, timespan=nil)
|
1269
|
+
@InstanceIds = instanceids
|
1270
|
+
@TimeUnit = timeunit
|
1271
|
+
@TimeSpan = timespan
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
def deserialize(params)
|
1275
|
+
@InstanceIds = params['InstanceIds']
|
1276
|
+
@TimeUnit = params['TimeUnit']
|
1277
|
+
@TimeSpan = params['TimeSpan']
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# DescribeDevicePriceInfo返回参数结构体
|
1282
|
+
class DescribeDevicePriceInfoResponse < TencentCloud::Common::AbstractModel
|
1283
|
+
# @param DevicePriceInfoSet: 服务器价格信息列表
|
1284
|
+
# @type DevicePriceInfoSet: Array
|
1285
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1286
|
+
# @type RequestId: String
|
1287
|
+
|
1288
|
+
attr_accessor :DevicePriceInfoSet, :RequestId
|
1289
|
+
|
1290
|
+
def initialize(devicepriceinfoset=nil, requestid=nil)
|
1291
|
+
@DevicePriceInfoSet = devicepriceinfoset
|
1292
|
+
@RequestId = requestid
|
1293
|
+
end
|
1294
|
+
|
1295
|
+
def deserialize(params)
|
1296
|
+
unless params['DevicePriceInfoSet'].nil?
|
1297
|
+
@DevicePriceInfoSet = []
|
1298
|
+
params['DevicePriceInfoSet'].each do |i|
|
1299
|
+
devicepriceinfo_tmp = DevicePriceInfo.new
|
1300
|
+
devicepriceinfo_tmp.deserialize(i)
|
1301
|
+
@DevicePriceInfoSet << devicepriceinfo_tmp
|
1302
|
+
end
|
1303
|
+
end
|
1304
|
+
@RequestId = params['RequestId']
|
1305
|
+
end
|
1306
|
+
end
|
1307
|
+
|
1308
|
+
# DescribeDevices请求参数结构体
|
1309
|
+
class DescribeDevicesRequest < TencentCloud::Common::AbstractModel
|
1310
|
+
# @param Offset: 偏移量
|
1311
|
+
# @type Offset: Integer
|
1312
|
+
# @param Limit: 返回数量,默认为20,最大值为100。
|
1313
|
+
# @type Limit: Integer
|
1314
|
+
# @param DeviceClassCode: 机型ID,通过接口[查询设备型号(DescribeDeviceClass)](https://cloud.tencent.com/document/api/386/32911)查询
|
1315
|
+
# @type DeviceClassCode: String
|
1316
|
+
# @param InstanceIds: 设备ID数组
|
1317
|
+
# @type InstanceIds: Array
|
1318
|
+
# @param WanIps: 外网IP数组
|
1319
|
+
# @type WanIps: Array
|
1320
|
+
# @param LanIps: 内网IP数组
|
1321
|
+
# @type LanIps: Array
|
1322
|
+
# @param Alias: 设备名称
|
1323
|
+
# @type Alias: String
|
1324
|
+
# @param VagueIp: 模糊IP查询
|
1325
|
+
# @type VagueIp: String
|
1326
|
+
# @param DeadlineStartTime: 设备到期时间查询的起始时间
|
1327
|
+
# @type DeadlineStartTime: String
|
1328
|
+
# @param DeadlineEndTime: 设备到期时间查询的结束时间
|
1329
|
+
# @type DeadlineEndTime: String
|
1330
|
+
# @param AutoRenewFlag: 自动续费标志 0:不自动续费,1:自动续费
|
1331
|
+
# @type AutoRenewFlag: Integer
|
1332
|
+
# @param VpcId: 私有网络唯一ID
|
1333
|
+
# @type VpcId: String
|
1334
|
+
# @param SubnetId: 子网唯一ID
|
1335
|
+
# @type SubnetId: String
|
1336
|
+
# @param Tags: 标签列表
|
1337
|
+
# @type Tags: Array
|
1338
|
+
# @param DeviceType: 设备类型,取值有: compute(计算型), standard(标准型), storage(存储型) 等
|
1339
|
+
# @type DeviceType: String
|
1340
|
+
# @param IsLuckyDevice: 竞价实例机器的过滤。如果未指定此参数,则不做过滤。0: 查询非竞价实例的机器; 1: 查询竞价实例的机器。
|
1341
|
+
# @type IsLuckyDevice: Integer
|
1342
|
+
# @param OrderField: 排序字段
|
1343
|
+
# @type OrderField: String
|
1344
|
+
# @param Order: 排序方式,取值:0:增序(默认),1:降序
|
1345
|
+
# @type Order: Integer
|
1346
|
+
# @param MaintainStatus: 按照维保方式过滤。可取值为 Maintain: 在保; WillExpire: 即将过保; Expire: 已过保
|
1347
|
+
# @type MaintainStatus: String
|
1348
|
+
|
1349
|
+
attr_accessor :Offset, :Limit, :DeviceClassCode, :InstanceIds, :WanIps, :LanIps, :Alias, :VagueIp, :DeadlineStartTime, :DeadlineEndTime, :AutoRenewFlag, :VpcId, :SubnetId, :Tags, :DeviceType, :IsLuckyDevice, :OrderField, :Order, :MaintainStatus
|
1350
|
+
|
1351
|
+
def initialize(offset=nil, limit=nil, deviceclasscode=nil, instanceids=nil, wanips=nil, lanips=nil, _alias=nil, vagueip=nil, deadlinestarttime=nil, deadlineendtime=nil, autorenewflag=nil, vpcid=nil, subnetid=nil, tags=nil, devicetype=nil, isluckydevice=nil, orderfield=nil, order=nil, maintainstatus=nil)
|
1352
|
+
@Offset = offset
|
1353
|
+
@Limit = limit
|
1354
|
+
@DeviceClassCode = deviceclasscode
|
1355
|
+
@InstanceIds = instanceids
|
1356
|
+
@WanIps = wanips
|
1357
|
+
@LanIps = lanips
|
1358
|
+
@Alias = _alias
|
1359
|
+
@VagueIp = vagueip
|
1360
|
+
@DeadlineStartTime = deadlinestarttime
|
1361
|
+
@DeadlineEndTime = deadlineendtime
|
1362
|
+
@AutoRenewFlag = autorenewflag
|
1363
|
+
@VpcId = vpcid
|
1364
|
+
@SubnetId = subnetid
|
1365
|
+
@Tags = tags
|
1366
|
+
@DeviceType = devicetype
|
1367
|
+
@IsLuckyDevice = isluckydevice
|
1368
|
+
@OrderField = orderfield
|
1369
|
+
@Order = order
|
1370
|
+
@MaintainStatus = maintainstatus
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
def deserialize(params)
|
1374
|
+
@Offset = params['Offset']
|
1375
|
+
@Limit = params['Limit']
|
1376
|
+
@DeviceClassCode = params['DeviceClassCode']
|
1377
|
+
@InstanceIds = params['InstanceIds']
|
1378
|
+
@WanIps = params['WanIps']
|
1379
|
+
@LanIps = params['LanIps']
|
1380
|
+
@Alias = params['Alias']
|
1381
|
+
@VagueIp = params['VagueIp']
|
1382
|
+
@DeadlineStartTime = params['DeadlineStartTime']
|
1383
|
+
@DeadlineEndTime = params['DeadlineEndTime']
|
1384
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
1385
|
+
@VpcId = params['VpcId']
|
1386
|
+
@SubnetId = params['SubnetId']
|
1387
|
+
unless params['Tags'].nil?
|
1388
|
+
@Tags = []
|
1389
|
+
params['Tags'].each do |i|
|
1390
|
+
tag_tmp = Tag.new
|
1391
|
+
tag_tmp.deserialize(i)
|
1392
|
+
@Tags << tag_tmp
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
@DeviceType = params['DeviceType']
|
1396
|
+
@IsLuckyDevice = params['IsLuckyDevice']
|
1397
|
+
@OrderField = params['OrderField']
|
1398
|
+
@Order = params['Order']
|
1399
|
+
@MaintainStatus = params['MaintainStatus']
|
1400
|
+
end
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
# DescribeDevices返回参数结构体
|
1404
|
+
class DescribeDevicesResponse < TencentCloud::Common::AbstractModel
|
1405
|
+
# @param TotalCount: 返回数量
|
1406
|
+
# @type TotalCount: Integer
|
1407
|
+
# @param DeviceInfoSet: 物理机信息列表
|
1408
|
+
# @type DeviceInfoSet: Array
|
1409
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1410
|
+
# @type RequestId: String
|
1411
|
+
|
1412
|
+
attr_accessor :TotalCount, :DeviceInfoSet, :RequestId
|
1413
|
+
|
1414
|
+
def initialize(totalcount=nil, deviceinfoset=nil, requestid=nil)
|
1415
|
+
@TotalCount = totalcount
|
1416
|
+
@DeviceInfoSet = deviceinfoset
|
1417
|
+
@RequestId = requestid
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
def deserialize(params)
|
1421
|
+
@TotalCount = params['TotalCount']
|
1422
|
+
unless params['DeviceInfoSet'].nil?
|
1423
|
+
@DeviceInfoSet = []
|
1424
|
+
params['DeviceInfoSet'].each do |i|
|
1425
|
+
deviceinfo_tmp = DeviceInfo.new
|
1426
|
+
deviceinfo_tmp.deserialize(i)
|
1427
|
+
@DeviceInfoSet << deviceinfo_tmp
|
1428
|
+
end
|
1429
|
+
end
|
1430
|
+
@RequestId = params['RequestId']
|
1431
|
+
end
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
# DescribeHardwareSpecification请求参数结构体
|
1435
|
+
class DescribeHardwareSpecificationRequest < TencentCloud::Common::AbstractModel
|
1436
|
+
|
1437
|
+
|
1438
|
+
def initialize()
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
def deserialize(params)
|
1442
|
+
end
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
# DescribeHardwareSpecification返回参数结构体
|
1446
|
+
class DescribeHardwareSpecificationResponse < TencentCloud::Common::AbstractModel
|
1447
|
+
# @param CpuInfoSet: CPU型号列表
|
1448
|
+
# @type CpuInfoSet: Array
|
1449
|
+
# @param MemSet: 内存的取值,单位为G
|
1450
|
+
# @type MemSet: Array
|
1451
|
+
# @param DiskInfoSet: 硬盘型号列表
|
1452
|
+
# @type DiskInfoSet: Array
|
1453
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1454
|
+
# @type RequestId: String
|
1455
|
+
|
1456
|
+
attr_accessor :CpuInfoSet, :MemSet, :DiskInfoSet, :RequestId
|
1457
|
+
|
1458
|
+
def initialize(cpuinfoset=nil, memset=nil, diskinfoset=nil, requestid=nil)
|
1459
|
+
@CpuInfoSet = cpuinfoset
|
1460
|
+
@MemSet = memset
|
1461
|
+
@DiskInfoSet = diskinfoset
|
1462
|
+
@RequestId = requestid
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
def deserialize(params)
|
1466
|
+
unless params['CpuInfoSet'].nil?
|
1467
|
+
@CpuInfoSet = []
|
1468
|
+
params['CpuInfoSet'].each do |i|
|
1469
|
+
cpuinfo_tmp = CpuInfo.new
|
1470
|
+
cpuinfo_tmp.deserialize(i)
|
1471
|
+
@CpuInfoSet << cpuinfo_tmp
|
1472
|
+
end
|
1473
|
+
end
|
1474
|
+
@MemSet = params['MemSet']
|
1475
|
+
unless params['DiskInfoSet'].nil?
|
1476
|
+
@DiskInfoSet = []
|
1477
|
+
params['DiskInfoSet'].each do |i|
|
1478
|
+
diskinfo_tmp = DiskInfo.new
|
1479
|
+
diskinfo_tmp.deserialize(i)
|
1480
|
+
@DiskInfoSet << diskinfo_tmp
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
@RequestId = params['RequestId']
|
1484
|
+
end
|
1485
|
+
end
|
1486
|
+
|
1487
|
+
# DescribeHostedDeviceOutBandInfo请求参数结构体
|
1488
|
+
class DescribeHostedDeviceOutBandInfoRequest < TencentCloud::Common::AbstractModel
|
1489
|
+
# @param InstanceIds: 托管设备的唯一ID数组,数组个数不超过20
|
1490
|
+
# @type InstanceIds: Array
|
1491
|
+
# @param Zone: 可用区ID
|
1492
|
+
# @type Zone: String
|
1493
|
+
|
1494
|
+
attr_accessor :InstanceIds, :Zone
|
1495
|
+
|
1496
|
+
def initialize(instanceids=nil, zone=nil)
|
1497
|
+
@InstanceIds = instanceids
|
1498
|
+
@Zone = zone
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
def deserialize(params)
|
1502
|
+
@InstanceIds = params['InstanceIds']
|
1503
|
+
@Zone = params['Zone']
|
1504
|
+
end
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
# DescribeHostedDeviceOutBandInfo返回参数结构体
|
1508
|
+
class DescribeHostedDeviceOutBandInfoResponse < TencentCloud::Common::AbstractModel
|
1509
|
+
# @param HostedDeviceOutBandInfoSet: 托管设备带外信息
|
1510
|
+
# @type HostedDeviceOutBandInfoSet: Array
|
1511
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1512
|
+
# @type RequestId: String
|
1513
|
+
|
1514
|
+
attr_accessor :HostedDeviceOutBandInfoSet, :RequestId
|
1515
|
+
|
1516
|
+
def initialize(hosteddeviceoutbandinfoset=nil, requestid=nil)
|
1517
|
+
@HostedDeviceOutBandInfoSet = hosteddeviceoutbandinfoset
|
1518
|
+
@RequestId = requestid
|
1519
|
+
end
|
1520
|
+
|
1521
|
+
def deserialize(params)
|
1522
|
+
unless params['HostedDeviceOutBandInfoSet'].nil?
|
1523
|
+
@HostedDeviceOutBandInfoSet = []
|
1524
|
+
params['HostedDeviceOutBandInfoSet'].each do |i|
|
1525
|
+
hosteddeviceoutbandinfo_tmp = HostedDeviceOutBandInfo.new
|
1526
|
+
hosteddeviceoutbandinfo_tmp.deserialize(i)
|
1527
|
+
@HostedDeviceOutBandInfoSet << hosteddeviceoutbandinfo_tmp
|
1528
|
+
end
|
1529
|
+
end
|
1530
|
+
@RequestId = params['RequestId']
|
1531
|
+
end
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
# DescribeOperationResult请求参数结构体
|
1535
|
+
class DescribeOperationResultRequest < TencentCloud::Common::AbstractModel
|
1536
|
+
# @param TaskId: 异步任务ID
|
1537
|
+
# @type TaskId: Integer
|
1538
|
+
|
1539
|
+
attr_accessor :TaskId
|
1540
|
+
|
1541
|
+
def initialize(taskid=nil)
|
1542
|
+
@TaskId = taskid
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
def deserialize(params)
|
1546
|
+
@TaskId = params['TaskId']
|
1547
|
+
end
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
# DescribeOperationResult返回参数结构体
|
1551
|
+
class DescribeOperationResultResponse < TencentCloud::Common::AbstractModel
|
1552
|
+
# @param TaskStatus: 任务的整体状态,取值如下:<br>
|
1553
|
+
# 1:成功<br>
|
1554
|
+
# 2:失败<br>
|
1555
|
+
# 3:部分成功,部分失败<br>
|
1556
|
+
# 4:未完成<br>
|
1557
|
+
# 5:部分成功,部分未完成<br>
|
1558
|
+
# 6:部分未完成,部分失败<br>
|
1559
|
+
# 7:部分未完成,部分失败,部分成功
|
1560
|
+
# @type TaskStatus: Integer
|
1561
|
+
# @param SubtaskStatusSet: 各实例对应任务的状态ID
|
1562
|
+
# @type SubtaskStatusSet: Array
|
1563
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1564
|
+
# @type RequestId: String
|
1565
|
+
|
1566
|
+
attr_accessor :TaskStatus, :SubtaskStatusSet, :RequestId
|
1567
|
+
|
1568
|
+
def initialize(taskstatus=nil, subtaskstatusset=nil, requestid=nil)
|
1569
|
+
@TaskStatus = taskstatus
|
1570
|
+
@SubtaskStatusSet = subtaskstatusset
|
1571
|
+
@RequestId = requestid
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
def deserialize(params)
|
1575
|
+
@TaskStatus = params['TaskStatus']
|
1576
|
+
unless params['SubtaskStatusSet'].nil?
|
1577
|
+
@SubtaskStatusSet = []
|
1578
|
+
params['SubtaskStatusSet'].each do |i|
|
1579
|
+
subtaskstatus_tmp = SubtaskStatus.new
|
1580
|
+
subtaskstatus_tmp.deserialize(i)
|
1581
|
+
@SubtaskStatusSet << subtaskstatus_tmp
|
1582
|
+
end
|
1583
|
+
end
|
1584
|
+
@RequestId = params['RequestId']
|
1585
|
+
end
|
1586
|
+
end
|
1587
|
+
|
1588
|
+
# DescribeOsInfo请求参数结构体
|
1589
|
+
class DescribeOsInfoRequest < TencentCloud::Common::AbstractModel
|
1590
|
+
# @param DeviceClassCode: 设备类型代号。 可以从DescribeDeviceClass查询设备类型列表
|
1591
|
+
# @type DeviceClassCode: String
|
1592
|
+
|
1593
|
+
attr_accessor :DeviceClassCode
|
1594
|
+
|
1595
|
+
def initialize(deviceclasscode=nil)
|
1596
|
+
@DeviceClassCode = deviceclasscode
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
def deserialize(params)
|
1600
|
+
@DeviceClassCode = params['DeviceClassCode']
|
1601
|
+
end
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
# DescribeOsInfo返回参数结构体
|
1605
|
+
class DescribeOsInfoResponse < TencentCloud::Common::AbstractModel
|
1606
|
+
# @param OsInfoSet: 操作系统信息列表
|
1607
|
+
# @type OsInfoSet: Array
|
1608
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1609
|
+
# @type RequestId: String
|
1610
|
+
|
1611
|
+
attr_accessor :OsInfoSet, :RequestId
|
1612
|
+
|
1613
|
+
def initialize(osinfoset=nil, requestid=nil)
|
1614
|
+
@OsInfoSet = osinfoset
|
1615
|
+
@RequestId = requestid
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
def deserialize(params)
|
1619
|
+
unless params['OsInfoSet'].nil?
|
1620
|
+
@OsInfoSet = []
|
1621
|
+
params['OsInfoSet'].each do |i|
|
1622
|
+
osinfo_tmp = OsInfo.new
|
1623
|
+
osinfo_tmp.deserialize(i)
|
1624
|
+
@OsInfoSet << osinfo_tmp
|
1625
|
+
end
|
1626
|
+
end
|
1627
|
+
@RequestId = params['RequestId']
|
1628
|
+
end
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
# DescribePsaRegulations请求参数结构体
|
1632
|
+
class DescribePsaRegulationsRequest < TencentCloud::Common::AbstractModel
|
1633
|
+
# @param Limit: 数量限制
|
1634
|
+
# @type Limit: Integer
|
1635
|
+
# @param Offset: 偏移量
|
1636
|
+
# @type Offset: Integer
|
1637
|
+
# @param PsaIds: 规则ID过滤,支持模糊查询
|
1638
|
+
# @type PsaIds: Array
|
1639
|
+
# @param PsaNames: 规则别名过滤,支持模糊查询
|
1640
|
+
# @type PsaNames: Array
|
1641
|
+
# @param Tags: 标签过滤
|
1642
|
+
# @type Tags: Array
|
1643
|
+
# @param OrderField: 排序字段,取值支持:CreateTime
|
1644
|
+
# @type OrderField: String
|
1645
|
+
# @param Order: 排序方式 0:递增(默认) 1:递减
|
1646
|
+
# @type Order: Integer
|
1647
|
+
|
1648
|
+
attr_accessor :Limit, :Offset, :PsaIds, :PsaNames, :Tags, :OrderField, :Order
|
1649
|
+
|
1650
|
+
def initialize(limit=nil, offset=nil, psaids=nil, psanames=nil, tags=nil, orderfield=nil, order=nil)
|
1651
|
+
@Limit = limit
|
1652
|
+
@Offset = offset
|
1653
|
+
@PsaIds = psaids
|
1654
|
+
@PsaNames = psanames
|
1655
|
+
@Tags = tags
|
1656
|
+
@OrderField = orderfield
|
1657
|
+
@Order = order
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
def deserialize(params)
|
1661
|
+
@Limit = params['Limit']
|
1662
|
+
@Offset = params['Offset']
|
1663
|
+
@PsaIds = params['PsaIds']
|
1664
|
+
@PsaNames = params['PsaNames']
|
1665
|
+
unless params['Tags'].nil?
|
1666
|
+
@Tags = []
|
1667
|
+
params['Tags'].each do |i|
|
1668
|
+
tag_tmp = Tag.new
|
1669
|
+
tag_tmp.deserialize(i)
|
1670
|
+
@Tags << tag_tmp
|
1671
|
+
end
|
1672
|
+
end
|
1673
|
+
@OrderField = params['OrderField']
|
1674
|
+
@Order = params['Order']
|
1675
|
+
end
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
# DescribePsaRegulations返回参数结构体
|
1679
|
+
class DescribePsaRegulationsResponse < TencentCloud::Common::AbstractModel
|
1680
|
+
# @param TotalCount: 返回规则数量
|
1681
|
+
# @type TotalCount: Integer
|
1682
|
+
# @param PsaRegulations: 返回规则列表
|
1683
|
+
# @type PsaRegulations: Array
|
1684
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1685
|
+
# @type RequestId: String
|
1686
|
+
|
1687
|
+
attr_accessor :TotalCount, :PsaRegulations, :RequestId
|
1688
|
+
|
1689
|
+
def initialize(totalcount=nil, psaregulations=nil, requestid=nil)
|
1690
|
+
@TotalCount = totalcount
|
1691
|
+
@PsaRegulations = psaregulations
|
1692
|
+
@RequestId = requestid
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
def deserialize(params)
|
1696
|
+
@TotalCount = params['TotalCount']
|
1697
|
+
unless params['PsaRegulations'].nil?
|
1698
|
+
@PsaRegulations = []
|
1699
|
+
params['PsaRegulations'].each do |i|
|
1700
|
+
psaregulation_tmp = PsaRegulation.new
|
1701
|
+
psaregulation_tmp.deserialize(i)
|
1702
|
+
@PsaRegulations << psaregulation_tmp
|
1703
|
+
end
|
1704
|
+
end
|
1705
|
+
@RequestId = params['RequestId']
|
1706
|
+
end
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
# DescribeRegions请求参数结构体
|
1710
|
+
class DescribeRegionsRequest < TencentCloud::Common::AbstractModel
|
1711
|
+
# @param RegionId: 地域整型ID,目前黑石可用地域包括:8-北京,4-上海,1-广州, 19-重庆
|
1712
|
+
# @type RegionId: Integer
|
1713
|
+
|
1714
|
+
attr_accessor :RegionId
|
1715
|
+
|
1716
|
+
def initialize(regionid=nil)
|
1717
|
+
@RegionId = regionid
|
1718
|
+
end
|
1719
|
+
|
1720
|
+
def deserialize(params)
|
1721
|
+
@RegionId = params['RegionId']
|
1722
|
+
end
|
1723
|
+
end
|
1724
|
+
|
1725
|
+
# DescribeRegions返回参数结构体
|
1726
|
+
class DescribeRegionsResponse < TencentCloud::Common::AbstractModel
|
1727
|
+
# @param RegionInfoSet: 地域信息
|
1728
|
+
# @type RegionInfoSet: Array
|
1729
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1730
|
+
# @type RequestId: String
|
1731
|
+
|
1732
|
+
attr_accessor :RegionInfoSet, :RequestId
|
1733
|
+
|
1734
|
+
def initialize(regioninfoset=nil, requestid=nil)
|
1735
|
+
@RegionInfoSet = regioninfoset
|
1736
|
+
@RequestId = requestid
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
def deserialize(params)
|
1740
|
+
unless params['RegionInfoSet'].nil?
|
1741
|
+
@RegionInfoSet = []
|
1742
|
+
params['RegionInfoSet'].each do |i|
|
1743
|
+
regioninfo_tmp = RegionInfo.new
|
1744
|
+
regioninfo_tmp.deserialize(i)
|
1745
|
+
@RegionInfoSet << regioninfo_tmp
|
1746
|
+
end
|
1747
|
+
end
|
1748
|
+
@RequestId = params['RequestId']
|
1749
|
+
end
|
1750
|
+
end
|
1751
|
+
|
1752
|
+
# DescribeRepairTaskConstant请求参数结构体
|
1753
|
+
class DescribeRepairTaskConstantRequest < TencentCloud::Common::AbstractModel
|
1754
|
+
|
1755
|
+
|
1756
|
+
def initialize()
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
def deserialize(params)
|
1760
|
+
end
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
# DescribeRepairTaskConstant返回参数结构体
|
1764
|
+
class DescribeRepairTaskConstantResponse < TencentCloud::Common::AbstractModel
|
1765
|
+
# @param TaskTypeSet: 故障类型ID与对应中文名列表
|
1766
|
+
# @type TaskTypeSet: Array
|
1767
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1768
|
+
# @type RequestId: String
|
1769
|
+
|
1770
|
+
attr_accessor :TaskTypeSet, :RequestId
|
1771
|
+
|
1772
|
+
def initialize(tasktypeset=nil, requestid=nil)
|
1773
|
+
@TaskTypeSet = tasktypeset
|
1774
|
+
@RequestId = requestid
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
def deserialize(params)
|
1778
|
+
unless params['TaskTypeSet'].nil?
|
1779
|
+
@TaskTypeSet = []
|
1780
|
+
params['TaskTypeSet'].each do |i|
|
1781
|
+
tasktype_tmp = TaskType.new
|
1782
|
+
tasktype_tmp.deserialize(i)
|
1783
|
+
@TaskTypeSet << tasktype_tmp
|
1784
|
+
end
|
1785
|
+
end
|
1786
|
+
@RequestId = params['RequestId']
|
1787
|
+
end
|
1788
|
+
end
|
1789
|
+
|
1790
|
+
# DescribeTaskInfo请求参数结构体
|
1791
|
+
class DescribeTaskInfoRequest < TencentCloud::Common::AbstractModel
|
1792
|
+
# @param Offset: 开始位置
|
1793
|
+
# @type Offset: Integer
|
1794
|
+
# @param Limit: 数据条数
|
1795
|
+
# @type Limit: Integer
|
1796
|
+
# @param StartDate: 时间过滤下限
|
1797
|
+
# @type StartDate: String
|
1798
|
+
# @param EndDate: 时间过滤上限
|
1799
|
+
# @type EndDate: String
|
1800
|
+
# @param TaskStatus: 任务状态ID过滤
|
1801
|
+
# @type TaskStatus: Array
|
1802
|
+
# @param OrderField: 排序字段,目前支持:CreateTime,AuthTime,EndTime
|
1803
|
+
# @type OrderField: String
|
1804
|
+
# @param Order: 排序方式 0:递增(默认) 1:递减
|
1805
|
+
# @type Order: Integer
|
1806
|
+
# @param TaskIds: 任务ID过滤
|
1807
|
+
# @type TaskIds: Array
|
1808
|
+
# @param InstanceIds: 实例ID过滤
|
1809
|
+
# @type InstanceIds: Array
|
1810
|
+
# @param Aliases: 实例别名过滤
|
1811
|
+
# @type Aliases: Array
|
1812
|
+
# @param TaskTypeIds: 故障类型ID过滤
|
1813
|
+
# @type TaskTypeIds: Array
|
1814
|
+
|
1815
|
+
attr_accessor :Offset, :Limit, :StartDate, :EndDate, :TaskStatus, :OrderField, :Order, :TaskIds, :InstanceIds, :Aliases, :TaskTypeIds
|
1816
|
+
|
1817
|
+
def initialize(offset=nil, limit=nil, startdate=nil, enddate=nil, taskstatus=nil, orderfield=nil, order=nil, taskids=nil, instanceids=nil, aliases=nil, tasktypeids=nil)
|
1818
|
+
@Offset = offset
|
1819
|
+
@Limit = limit
|
1820
|
+
@StartDate = startdate
|
1821
|
+
@EndDate = enddate
|
1822
|
+
@TaskStatus = taskstatus
|
1823
|
+
@OrderField = orderfield
|
1824
|
+
@Order = order
|
1825
|
+
@TaskIds = taskids
|
1826
|
+
@InstanceIds = instanceids
|
1827
|
+
@Aliases = aliases
|
1828
|
+
@TaskTypeIds = tasktypeids
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
def deserialize(params)
|
1832
|
+
@Offset = params['Offset']
|
1833
|
+
@Limit = params['Limit']
|
1834
|
+
@StartDate = params['StartDate']
|
1835
|
+
@EndDate = params['EndDate']
|
1836
|
+
@TaskStatus = params['TaskStatus']
|
1837
|
+
@OrderField = params['OrderField']
|
1838
|
+
@Order = params['Order']
|
1839
|
+
@TaskIds = params['TaskIds']
|
1840
|
+
@InstanceIds = params['InstanceIds']
|
1841
|
+
@Aliases = params['Aliases']
|
1842
|
+
@TaskTypeIds = params['TaskTypeIds']
|
1843
|
+
end
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# DescribeTaskInfo返回参数结构体
|
1847
|
+
class DescribeTaskInfoResponse < TencentCloud::Common::AbstractModel
|
1848
|
+
# @param TotalCount: 返回任务总数量
|
1849
|
+
# @type TotalCount: Integer
|
1850
|
+
# @param TaskInfoSet: 任务信息列表
|
1851
|
+
# @type TaskInfoSet: Array
|
1852
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1853
|
+
# @type RequestId: String
|
1854
|
+
|
1855
|
+
attr_accessor :TotalCount, :TaskInfoSet, :RequestId
|
1856
|
+
|
1857
|
+
def initialize(totalcount=nil, taskinfoset=nil, requestid=nil)
|
1858
|
+
@TotalCount = totalcount
|
1859
|
+
@TaskInfoSet = taskinfoset
|
1860
|
+
@RequestId = requestid
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
def deserialize(params)
|
1864
|
+
@TotalCount = params['TotalCount']
|
1865
|
+
unless params['TaskInfoSet'].nil?
|
1866
|
+
@TaskInfoSet = []
|
1867
|
+
params['TaskInfoSet'].each do |i|
|
1868
|
+
taskinfo_tmp = TaskInfo.new
|
1869
|
+
taskinfo_tmp.deserialize(i)
|
1870
|
+
@TaskInfoSet << taskinfo_tmp
|
1871
|
+
end
|
1872
|
+
end
|
1873
|
+
@RequestId = params['RequestId']
|
1874
|
+
end
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
# DescribeTaskOperationLog请求参数结构体
|
1878
|
+
class DescribeTaskOperationLogRequest < TencentCloud::Common::AbstractModel
|
1879
|
+
# @param TaskId: 维修任务ID
|
1880
|
+
# @type TaskId: String
|
1881
|
+
# @param OrderField: 排序字段,目前支持:OperationTime
|
1882
|
+
# @type OrderField: String
|
1883
|
+
# @param Order: 排序方式 0:递增(默认) 1:递减
|
1884
|
+
# @type Order: Integer
|
1885
|
+
|
1886
|
+
attr_accessor :TaskId, :OrderField, :Order
|
1887
|
+
|
1888
|
+
def initialize(taskid=nil, orderfield=nil, order=nil)
|
1889
|
+
@TaskId = taskid
|
1890
|
+
@OrderField = orderfield
|
1891
|
+
@Order = order
|
1892
|
+
end
|
1893
|
+
|
1894
|
+
def deserialize(params)
|
1895
|
+
@TaskId = params['TaskId']
|
1896
|
+
@OrderField = params['OrderField']
|
1897
|
+
@Order = params['Order']
|
1898
|
+
end
|
1899
|
+
end
|
1900
|
+
|
1901
|
+
# DescribeTaskOperationLog返回参数结构体
|
1902
|
+
class DescribeTaskOperationLogResponse < TencentCloud::Common::AbstractModel
|
1903
|
+
# @param TaskOperationLogSet: 操作日志
|
1904
|
+
# @type TaskOperationLogSet: Array
|
1905
|
+
# @param TotalCount: 日志条数
|
1906
|
+
# @type TotalCount: Integer
|
1907
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1908
|
+
# @type RequestId: String
|
1909
|
+
|
1910
|
+
attr_accessor :TaskOperationLogSet, :TotalCount, :RequestId
|
1911
|
+
|
1912
|
+
def initialize(taskoperationlogset=nil, totalcount=nil, requestid=nil)
|
1913
|
+
@TaskOperationLogSet = taskoperationlogset
|
1914
|
+
@TotalCount = totalcount
|
1915
|
+
@RequestId = requestid
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
def deserialize(params)
|
1919
|
+
unless params['TaskOperationLogSet'].nil?
|
1920
|
+
@TaskOperationLogSet = []
|
1921
|
+
params['TaskOperationLogSet'].each do |i|
|
1922
|
+
taskoperationlog_tmp = TaskOperationLog.new
|
1923
|
+
taskoperationlog_tmp.deserialize(i)
|
1924
|
+
@TaskOperationLogSet << taskoperationlog_tmp
|
1925
|
+
end
|
1926
|
+
end
|
1927
|
+
@TotalCount = params['TotalCount']
|
1928
|
+
@RequestId = params['RequestId']
|
1929
|
+
end
|
1930
|
+
end
|
1931
|
+
|
1932
|
+
# DescribeUserCmdTaskInfo请求参数结构体
|
1933
|
+
class DescribeUserCmdTaskInfoRequest < TencentCloud::Common::AbstractModel
|
1934
|
+
# @param TaskId: 任务ID
|
1935
|
+
# @type TaskId: String
|
1936
|
+
# @param Offset: 偏移量
|
1937
|
+
# @type Offset: Integer
|
1938
|
+
# @param Limit: 数量限制
|
1939
|
+
# @type Limit: Integer
|
1940
|
+
# @param OrderField: 排序字段,支持: RunBeginTime,RunEndTime,Status
|
1941
|
+
# @type OrderField: String
|
1942
|
+
# @param Order: 排序方式,取值: 1倒序,0顺序;默认倒序
|
1943
|
+
# @type Order: Integer
|
1944
|
+
# @param SearchKey: 关键字搜索,可搜索ID或别名,支持模糊搜索
|
1945
|
+
# @type SearchKey: String
|
1946
|
+
|
1947
|
+
attr_accessor :TaskId, :Offset, :Limit, :OrderField, :Order, :SearchKey
|
1948
|
+
|
1949
|
+
def initialize(taskid=nil, offset=nil, limit=nil, orderfield=nil, order=nil, searchkey=nil)
|
1950
|
+
@TaskId = taskid
|
1951
|
+
@Offset = offset
|
1952
|
+
@Limit = limit
|
1953
|
+
@OrderField = orderfield
|
1954
|
+
@Order = order
|
1955
|
+
@SearchKey = searchkey
|
1956
|
+
end
|
1957
|
+
|
1958
|
+
def deserialize(params)
|
1959
|
+
@TaskId = params['TaskId']
|
1960
|
+
@Offset = params['Offset']
|
1961
|
+
@Limit = params['Limit']
|
1962
|
+
@OrderField = params['OrderField']
|
1963
|
+
@Order = params['Order']
|
1964
|
+
@SearchKey = params['SearchKey']
|
1965
|
+
end
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# DescribeUserCmdTaskInfo返回参数结构体
|
1969
|
+
class DescribeUserCmdTaskInfoResponse < TencentCloud::Common::AbstractModel
|
1970
|
+
# @param TotalCount: 返回数量
|
1971
|
+
# @type TotalCount: Integer
|
1972
|
+
# @param UserCmdTaskInfoSet: 自定义脚本任务详细信息列表
|
1973
|
+
# @type UserCmdTaskInfoSet: Array
|
1974
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1975
|
+
# @type RequestId: String
|
1976
|
+
|
1977
|
+
attr_accessor :TotalCount, :UserCmdTaskInfoSet, :RequestId
|
1978
|
+
|
1979
|
+
def initialize(totalcount=nil, usercmdtaskinfoset=nil, requestid=nil)
|
1980
|
+
@TotalCount = totalcount
|
1981
|
+
@UserCmdTaskInfoSet = usercmdtaskinfoset
|
1982
|
+
@RequestId = requestid
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
def deserialize(params)
|
1986
|
+
@TotalCount = params['TotalCount']
|
1987
|
+
unless params['UserCmdTaskInfoSet'].nil?
|
1988
|
+
@UserCmdTaskInfoSet = []
|
1989
|
+
params['UserCmdTaskInfoSet'].each do |i|
|
1990
|
+
usercmdtaskinfo_tmp = UserCmdTaskInfo.new
|
1991
|
+
usercmdtaskinfo_tmp.deserialize(i)
|
1992
|
+
@UserCmdTaskInfoSet << usercmdtaskinfo_tmp
|
1993
|
+
end
|
1994
|
+
end
|
1995
|
+
@RequestId = params['RequestId']
|
1996
|
+
end
|
1997
|
+
end
|
1998
|
+
|
1999
|
+
# DescribeUserCmdTasks请求参数结构体
|
2000
|
+
class DescribeUserCmdTasksRequest < TencentCloud::Common::AbstractModel
|
2001
|
+
# @param Offset: 偏移量
|
2002
|
+
# @type Offset: Integer
|
2003
|
+
# @param Limit: 数量限制
|
2004
|
+
# @type Limit: Integer
|
2005
|
+
# @param OrderField: 排序字段,支持: RunBeginTime,RunEndTime,InstanceCount,SuccessCount,FailureCount
|
2006
|
+
# @type OrderField: String
|
2007
|
+
# @param Order: 排序方式,取值: 1倒序,0顺序;默认倒序
|
2008
|
+
# @type Order: Integer
|
2009
|
+
|
2010
|
+
attr_accessor :Offset, :Limit, :OrderField, :Order
|
2011
|
+
|
2012
|
+
def initialize(offset=nil, limit=nil, orderfield=nil, order=nil)
|
2013
|
+
@Offset = offset
|
2014
|
+
@Limit = limit
|
2015
|
+
@OrderField = orderfield
|
2016
|
+
@Order = order
|
2017
|
+
end
|
2018
|
+
|
2019
|
+
def deserialize(params)
|
2020
|
+
@Offset = params['Offset']
|
2021
|
+
@Limit = params['Limit']
|
2022
|
+
@OrderField = params['OrderField']
|
2023
|
+
@Order = params['Order']
|
2024
|
+
end
|
2025
|
+
end
|
2026
|
+
|
2027
|
+
# DescribeUserCmdTasks返回参数结构体
|
2028
|
+
class DescribeUserCmdTasksResponse < TencentCloud::Common::AbstractModel
|
2029
|
+
# @param TotalCount: 脚本任务信息数量
|
2030
|
+
# @type TotalCount: Integer
|
2031
|
+
# @param UserCmdTasks: 脚本任务信息列表
|
2032
|
+
# @type UserCmdTasks: Array
|
2033
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2034
|
+
# @type RequestId: String
|
2035
|
+
|
2036
|
+
attr_accessor :TotalCount, :UserCmdTasks, :RequestId
|
2037
|
+
|
2038
|
+
def initialize(totalcount=nil, usercmdtasks=nil, requestid=nil)
|
2039
|
+
@TotalCount = totalcount
|
2040
|
+
@UserCmdTasks = usercmdtasks
|
2041
|
+
@RequestId = requestid
|
2042
|
+
end
|
2043
|
+
|
2044
|
+
def deserialize(params)
|
2045
|
+
@TotalCount = params['TotalCount']
|
2046
|
+
unless params['UserCmdTasks'].nil?
|
2047
|
+
@UserCmdTasks = []
|
2048
|
+
params['UserCmdTasks'].each do |i|
|
2049
|
+
usercmdtask_tmp = UserCmdTask.new
|
2050
|
+
usercmdtask_tmp.deserialize(i)
|
2051
|
+
@UserCmdTasks << usercmdtask_tmp
|
2052
|
+
end
|
2053
|
+
end
|
2054
|
+
@RequestId = params['RequestId']
|
2055
|
+
end
|
2056
|
+
end
|
2057
|
+
|
2058
|
+
# DescribeUserCmds请求参数结构体
|
2059
|
+
class DescribeUserCmdsRequest < TencentCloud::Common::AbstractModel
|
2060
|
+
# @param Offset: 偏移量
|
2061
|
+
# @type Offset: Integer
|
2062
|
+
# @param Limit: 数量限制
|
2063
|
+
# @type Limit: Integer
|
2064
|
+
# @param OrderField: 排序字段,支持: OsType,CreateTime,ModifyTime
|
2065
|
+
# @type OrderField: String
|
2066
|
+
# @param Order: 排序方式,取值: 1倒序,0顺序;默认倒序
|
2067
|
+
# @type Order: Integer
|
2068
|
+
# @param SearchKey: 关键字搜索,可搜索ID或别名,支持模糊搜索
|
2069
|
+
# @type SearchKey: String
|
2070
|
+
# @param CmdId: 查询的脚本ID
|
2071
|
+
# @type CmdId: String
|
2072
|
+
|
2073
|
+
attr_accessor :Offset, :Limit, :OrderField, :Order, :SearchKey, :CmdId
|
2074
|
+
|
2075
|
+
def initialize(offset=nil, limit=nil, orderfield=nil, order=nil, searchkey=nil, cmdid=nil)
|
2076
|
+
@Offset = offset
|
2077
|
+
@Limit = limit
|
2078
|
+
@OrderField = orderfield
|
2079
|
+
@Order = order
|
2080
|
+
@SearchKey = searchkey
|
2081
|
+
@CmdId = cmdid
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
def deserialize(params)
|
2085
|
+
@Offset = params['Offset']
|
2086
|
+
@Limit = params['Limit']
|
2087
|
+
@OrderField = params['OrderField']
|
2088
|
+
@Order = params['Order']
|
2089
|
+
@SearchKey = params['SearchKey']
|
2090
|
+
@CmdId = params['CmdId']
|
2091
|
+
end
|
2092
|
+
end
|
2093
|
+
|
2094
|
+
# DescribeUserCmds返回参数结构体
|
2095
|
+
class DescribeUserCmdsResponse < TencentCloud::Common::AbstractModel
|
2096
|
+
# @param TotalCount: 返回数量
|
2097
|
+
# @type TotalCount: Integer
|
2098
|
+
# @param UserCmds: 脚本信息列表
|
2099
|
+
# @type UserCmds: Array
|
2100
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2101
|
+
# @type RequestId: String
|
2102
|
+
|
2103
|
+
attr_accessor :TotalCount, :UserCmds, :RequestId
|
2104
|
+
|
2105
|
+
def initialize(totalcount=nil, usercmds=nil, requestid=nil)
|
2106
|
+
@TotalCount = totalcount
|
2107
|
+
@UserCmds = usercmds
|
2108
|
+
@RequestId = requestid
|
2109
|
+
end
|
2110
|
+
|
2111
|
+
def deserialize(params)
|
2112
|
+
@TotalCount = params['TotalCount']
|
2113
|
+
unless params['UserCmds'].nil?
|
2114
|
+
@UserCmds = []
|
2115
|
+
params['UserCmds'].each do |i|
|
2116
|
+
usercmd_tmp = UserCmd.new
|
2117
|
+
usercmd_tmp.deserialize(i)
|
2118
|
+
@UserCmds << usercmd_tmp
|
2119
|
+
end
|
2120
|
+
end
|
2121
|
+
@RequestId = params['RequestId']
|
2122
|
+
end
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
# DetachCamRole请求参数结构体
|
2126
|
+
class DetachCamRoleRequest < TencentCloud::Common::AbstractModel
|
2127
|
+
# @param InstanceId: 服务器ID
|
2128
|
+
# @type InstanceId: String
|
2129
|
+
|
2130
|
+
attr_accessor :InstanceId
|
2131
|
+
|
2132
|
+
def initialize(instanceid=nil)
|
2133
|
+
@InstanceId = instanceid
|
2134
|
+
end
|
2135
|
+
|
2136
|
+
def deserialize(params)
|
2137
|
+
@InstanceId = params['InstanceId']
|
2138
|
+
end
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
# DetachCamRole返回参数结构体
|
2142
|
+
class DetachCamRoleResponse < TencentCloud::Common::AbstractModel
|
2143
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2144
|
+
# @type RequestId: String
|
2145
|
+
|
2146
|
+
attr_accessor :RequestId
|
2147
|
+
|
2148
|
+
def initialize(requestid=nil)
|
2149
|
+
@RequestId = requestid
|
2150
|
+
end
|
2151
|
+
|
2152
|
+
def deserialize(params)
|
2153
|
+
@RequestId = params['RequestId']
|
2154
|
+
end
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
# 设备ID与别名
|
2158
|
+
class DeviceAlias < TencentCloud::Common::AbstractModel
|
2159
|
+
# @param InstanceId: 设备ID
|
2160
|
+
# @type InstanceId: String
|
2161
|
+
# @param Alias: 设备别名
|
2162
|
+
# @type Alias: String
|
2163
|
+
|
2164
|
+
attr_accessor :InstanceId, :Alias
|
2165
|
+
|
2166
|
+
def initialize(instanceid=nil, _alias=nil)
|
2167
|
+
@InstanceId = instanceid
|
2168
|
+
@Alias = _alias
|
2169
|
+
end
|
2170
|
+
|
2171
|
+
def deserialize(params)
|
2172
|
+
@InstanceId = params['InstanceId']
|
2173
|
+
@Alias = params['Alias']
|
2174
|
+
end
|
2175
|
+
end
|
2176
|
+
|
2177
|
+
# 物理机设备类型
|
2178
|
+
class DeviceClass < TencentCloud::Common::AbstractModel
|
2179
|
+
# @param DeviceClassCode: 机型ID
|
2180
|
+
# @type DeviceClassCode: String
|
2181
|
+
# @param CpuDescription: CPU描述
|
2182
|
+
# @type CpuDescription: String
|
2183
|
+
# @param MemDescription: 内存描述
|
2184
|
+
# @type MemDescription: String
|
2185
|
+
# @param DiskDescription: 硬盘描述
|
2186
|
+
# @type DiskDescription: String
|
2187
|
+
# @param HaveRaidCard: 是否支持RAID. 0:不支持; 1:支持
|
2188
|
+
# @type HaveRaidCard: Integer
|
2189
|
+
# @param NicDescription: 网卡描述
|
2190
|
+
# @type NicDescription: String
|
2191
|
+
# @param GpuDescription: GPU描述
|
2192
|
+
# @type GpuDescription: String
|
2193
|
+
# @param Discount: 单价折扣
|
2194
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2195
|
+
# @type Discount: Float
|
2196
|
+
# @param UnitPrice: 用户刊例价格
|
2197
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2198
|
+
# @type UnitPrice: Integer
|
2199
|
+
# @param RealPrice: 实际价格
|
2200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2201
|
+
# @type RealPrice: Integer
|
2202
|
+
# @param NormalPrice: 官网刊例价格
|
2203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2204
|
+
# @type NormalPrice: Integer
|
2205
|
+
# @param DeviceType: 设备使用场景类型
|
2206
|
+
# @type DeviceType: String
|
2207
|
+
# @param Series: 机型系列
|
2208
|
+
# @type Series: Integer
|
2209
|
+
# @param Cpu: cpu的核心数。仅是物理服务器未开启超线程的核心数, 超线程的核心数为Cpu*2
|
2210
|
+
# @type Cpu: Integer
|
2211
|
+
# @param Mem: 内存容量。单位G
|
2212
|
+
# @type Mem: Integer
|
2213
|
+
|
2214
|
+
attr_accessor :DeviceClassCode, :CpuDescription, :MemDescription, :DiskDescription, :HaveRaidCard, :NicDescription, :GpuDescription, :Discount, :UnitPrice, :RealPrice, :NormalPrice, :DeviceType, :Series, :Cpu, :Mem
|
2215
|
+
|
2216
|
+
def initialize(deviceclasscode=nil, cpudescription=nil, memdescription=nil, diskdescription=nil, haveraidcard=nil, nicdescription=nil, gpudescription=nil, discount=nil, unitprice=nil, realprice=nil, normalprice=nil, devicetype=nil, series=nil, cpu=nil, mem=nil)
|
2217
|
+
@DeviceClassCode = deviceclasscode
|
2218
|
+
@CpuDescription = cpudescription
|
2219
|
+
@MemDescription = memdescription
|
2220
|
+
@DiskDescription = diskdescription
|
2221
|
+
@HaveRaidCard = haveraidcard
|
2222
|
+
@NicDescription = nicdescription
|
2223
|
+
@GpuDescription = gpudescription
|
2224
|
+
@Discount = discount
|
2225
|
+
@UnitPrice = unitprice
|
2226
|
+
@RealPrice = realprice
|
2227
|
+
@NormalPrice = normalprice
|
2228
|
+
@DeviceType = devicetype
|
2229
|
+
@Series = series
|
2230
|
+
@Cpu = cpu
|
2231
|
+
@Mem = mem
|
2232
|
+
end
|
2233
|
+
|
2234
|
+
def deserialize(params)
|
2235
|
+
@DeviceClassCode = params['DeviceClassCode']
|
2236
|
+
@CpuDescription = params['CpuDescription']
|
2237
|
+
@MemDescription = params['MemDescription']
|
2238
|
+
@DiskDescription = params['DiskDescription']
|
2239
|
+
@HaveRaidCard = params['HaveRaidCard']
|
2240
|
+
@NicDescription = params['NicDescription']
|
2241
|
+
@GpuDescription = params['GpuDescription']
|
2242
|
+
@Discount = params['Discount']
|
2243
|
+
@UnitPrice = params['UnitPrice']
|
2244
|
+
@RealPrice = params['RealPrice']
|
2245
|
+
@NormalPrice = params['NormalPrice']
|
2246
|
+
@DeviceType = params['DeviceType']
|
2247
|
+
@Series = params['Series']
|
2248
|
+
@Cpu = params['Cpu']
|
2249
|
+
@Mem = params['Mem']
|
2250
|
+
end
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
# RAID和设备分区结构
|
2254
|
+
class DeviceClassPartitionInfo < TencentCloud::Common::AbstractModel
|
2255
|
+
# @param RaidId: RAID类型ID
|
2256
|
+
# @type RaidId: Integer
|
2257
|
+
# @param Raid: RAID名称
|
2258
|
+
# @type Raid: String
|
2259
|
+
# @param RaidDisplay: RAID名称(前台展示用)
|
2260
|
+
# @type RaidDisplay: String
|
2261
|
+
# @param SystemDiskSize: 系统盘总大小(单位GiB)
|
2262
|
+
# @type SystemDiskSize: Integer
|
2263
|
+
# @param SysRootSpace: 系统盘/分区默认大小(单位GiB)
|
2264
|
+
# @type SysRootSpace: Integer
|
2265
|
+
# @param SysSwaporuefiSpace: 系统盘swap分区默认大小(单位GiB)
|
2266
|
+
# @type SysSwaporuefiSpace: Integer
|
2267
|
+
# @param SysUsrlocalSpace: 系统盘/usr/local分区默认大小(单位GiB)
|
2268
|
+
# @type SysUsrlocalSpace: Integer
|
2269
|
+
# @param SysDataSpace: 系统盘/data分区默认大小(单位GiB)
|
2270
|
+
# @type SysDataSpace: Integer
|
2271
|
+
# @param SysIsUefiType: 设备是否是uefi启动方式。0:legacy启动; 1:uefi启动
|
2272
|
+
# @type SysIsUefiType: Integer
|
2273
|
+
# @param DataDiskSize: 数据盘总大小
|
2274
|
+
# @type DataDiskSize: Integer
|
2275
|
+
# @param DeviceDiskSizeInfoSet: 硬盘列表
|
2276
|
+
# @type DeviceDiskSizeInfoSet: Array
|
2277
|
+
|
2278
|
+
attr_accessor :RaidId, :Raid, :RaidDisplay, :SystemDiskSize, :SysRootSpace, :SysSwaporuefiSpace, :SysUsrlocalSpace, :SysDataSpace, :SysIsUefiType, :DataDiskSize, :DeviceDiskSizeInfoSet
|
2279
|
+
|
2280
|
+
def initialize(raidid=nil, raid=nil, raiddisplay=nil, systemdisksize=nil, sysrootspace=nil, sysswaporuefispace=nil, sysusrlocalspace=nil, sysdataspace=nil, sysisuefitype=nil, datadisksize=nil, devicedisksizeinfoset=nil)
|
2281
|
+
@RaidId = raidid
|
2282
|
+
@Raid = raid
|
2283
|
+
@RaidDisplay = raiddisplay
|
2284
|
+
@SystemDiskSize = systemdisksize
|
2285
|
+
@SysRootSpace = sysrootspace
|
2286
|
+
@SysSwaporuefiSpace = sysswaporuefispace
|
2287
|
+
@SysUsrlocalSpace = sysusrlocalspace
|
2288
|
+
@SysDataSpace = sysdataspace
|
2289
|
+
@SysIsUefiType = sysisuefitype
|
2290
|
+
@DataDiskSize = datadisksize
|
2291
|
+
@DeviceDiskSizeInfoSet = devicedisksizeinfoset
|
2292
|
+
end
|
2293
|
+
|
2294
|
+
def deserialize(params)
|
2295
|
+
@RaidId = params['RaidId']
|
2296
|
+
@Raid = params['Raid']
|
2297
|
+
@RaidDisplay = params['RaidDisplay']
|
2298
|
+
@SystemDiskSize = params['SystemDiskSize']
|
2299
|
+
@SysRootSpace = params['SysRootSpace']
|
2300
|
+
@SysSwaporuefiSpace = params['SysSwaporuefiSpace']
|
2301
|
+
@SysUsrlocalSpace = params['SysUsrlocalSpace']
|
2302
|
+
@SysDataSpace = params['SysDataSpace']
|
2303
|
+
@SysIsUefiType = params['SysIsUefiType']
|
2304
|
+
@DataDiskSize = params['DataDiskSize']
|
2305
|
+
unless params['DeviceDiskSizeInfoSet'].nil?
|
2306
|
+
@DeviceDiskSizeInfoSet = []
|
2307
|
+
params['DeviceDiskSizeInfoSet'].each do |i|
|
2308
|
+
devicedisksizeinfo_tmp = DeviceDiskSizeInfo.new
|
2309
|
+
devicedisksizeinfo_tmp.deserialize(i)
|
2310
|
+
@DeviceDiskSizeInfoSet << devicedisksizeinfo_tmp
|
2311
|
+
end
|
2312
|
+
end
|
2313
|
+
end
|
2314
|
+
end
|
2315
|
+
|
2316
|
+
# 硬盘大小的描述
|
2317
|
+
class DeviceDiskSizeInfo < TencentCloud::Common::AbstractModel
|
2318
|
+
# @param DiskName: 硬盘名称
|
2319
|
+
# @type DiskName: String
|
2320
|
+
# @param DiskSize: 硬盘大小(单位GiB)
|
2321
|
+
# @type DiskSize: Integer
|
2322
|
+
|
2323
|
+
attr_accessor :DiskName, :DiskSize
|
2324
|
+
|
2325
|
+
def initialize(diskname=nil, disksize=nil)
|
2326
|
+
@DiskName = diskname
|
2327
|
+
@DiskSize = disksize
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
def deserialize(params)
|
2331
|
+
@DiskName = params['DiskName']
|
2332
|
+
@DiskSize = params['DiskSize']
|
2333
|
+
end
|
2334
|
+
end
|
2335
|
+
|
2336
|
+
# 设备硬件配置信息
|
2337
|
+
class DeviceHardwareInfo < TencentCloud::Common::AbstractModel
|
2338
|
+
# @param InstanceId: 设备实例 ID
|
2339
|
+
# @type InstanceId: String
|
2340
|
+
# @param IsElastic: 是否自定义机型
|
2341
|
+
# @type IsElastic: Integer
|
2342
|
+
# @param CpmPayMode: 机型计费模式,1 为预付费,2 为后付费
|
2343
|
+
# @type CpmPayMode: Integer
|
2344
|
+
# @param CpuId: 自定义机型,CPU 型号 ID(非自定义机型返回0)
|
2345
|
+
# @type CpuId: Integer
|
2346
|
+
# @param Mem: 自定义机型,内存大小, 单位 GB(非自定义机型返回0)
|
2347
|
+
# @type Mem: Integer
|
2348
|
+
# @param ContainRaidCard: 是否有 RAID 卡,0:没有 RAID 卡; 1:有 RAID 卡
|
2349
|
+
# @type ContainRaidCard: Integer
|
2350
|
+
# @param SystemDiskTypeId: 自定义机型系统盘类型ID(若没有则返回0)
|
2351
|
+
# @type SystemDiskTypeId: Integer
|
2352
|
+
# @param SystemDiskCount: 自定义机型系统盘数量(若没有则返回0)
|
2353
|
+
# @type SystemDiskCount: Integer
|
2354
|
+
# @param DataDiskTypeId: 自定义机型数据盘类型 ID(若没有则返回0)
|
2355
|
+
# @type DataDiskTypeId: Integer
|
2356
|
+
# @param DataDiskCount: 自定义机型数据盘数量(若没有则返回0)
|
2357
|
+
# @type DataDiskCount: Integer
|
2358
|
+
# @param CpuDescription: CPU 型号描述
|
2359
|
+
# @type CpuDescription: String
|
2360
|
+
# @param MemDescription: 内存描述
|
2361
|
+
# @type MemDescription: String
|
2362
|
+
# @param DiskDescription: 磁盘描述
|
2363
|
+
# @type DiskDescription: String
|
2364
|
+
# @param NicDescription: 网卡描述
|
2365
|
+
# @type NicDescription: String
|
2366
|
+
# @param RaidDescription: 是否支持 RAID 的描述
|
2367
|
+
# @type RaidDescription: String
|
2368
|
+
# @param Cpu: cpu的核心数。仅是物理服务器未开启超线程的核心数, 超线程的核心数为Cpu*2
|
2369
|
+
# @type Cpu: Integer
|
2370
|
+
# @param DeviceClassCode: 机型外部代号
|
2371
|
+
# @type DeviceClassCode: String
|
2372
|
+
|
2373
|
+
attr_accessor :InstanceId, :IsElastic, :CpmPayMode, :CpuId, :Mem, :ContainRaidCard, :SystemDiskTypeId, :SystemDiskCount, :DataDiskTypeId, :DataDiskCount, :CpuDescription, :MemDescription, :DiskDescription, :NicDescription, :RaidDescription, :Cpu, :DeviceClassCode
|
2374
|
+
|
2375
|
+
def initialize(instanceid=nil, iselastic=nil, cpmpaymode=nil, cpuid=nil, mem=nil, containraidcard=nil, systemdisktypeid=nil, systemdiskcount=nil, datadisktypeid=nil, datadiskcount=nil, cpudescription=nil, memdescription=nil, diskdescription=nil, nicdescription=nil, raiddescription=nil, cpu=nil, deviceclasscode=nil)
|
2376
|
+
@InstanceId = instanceid
|
2377
|
+
@IsElastic = iselastic
|
2378
|
+
@CpmPayMode = cpmpaymode
|
2379
|
+
@CpuId = cpuid
|
2380
|
+
@Mem = mem
|
2381
|
+
@ContainRaidCard = containraidcard
|
2382
|
+
@SystemDiskTypeId = systemdisktypeid
|
2383
|
+
@SystemDiskCount = systemdiskcount
|
2384
|
+
@DataDiskTypeId = datadisktypeid
|
2385
|
+
@DataDiskCount = datadiskcount
|
2386
|
+
@CpuDescription = cpudescription
|
2387
|
+
@MemDescription = memdescription
|
2388
|
+
@DiskDescription = diskdescription
|
2389
|
+
@NicDescription = nicdescription
|
2390
|
+
@RaidDescription = raiddescription
|
2391
|
+
@Cpu = cpu
|
2392
|
+
@DeviceClassCode = deviceclasscode
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
def deserialize(params)
|
2396
|
+
@InstanceId = params['InstanceId']
|
2397
|
+
@IsElastic = params['IsElastic']
|
2398
|
+
@CpmPayMode = params['CpmPayMode']
|
2399
|
+
@CpuId = params['CpuId']
|
2400
|
+
@Mem = params['Mem']
|
2401
|
+
@ContainRaidCard = params['ContainRaidCard']
|
2402
|
+
@SystemDiskTypeId = params['SystemDiskTypeId']
|
2403
|
+
@SystemDiskCount = params['SystemDiskCount']
|
2404
|
+
@DataDiskTypeId = params['DataDiskTypeId']
|
2405
|
+
@DataDiskCount = params['DataDiskCount']
|
2406
|
+
@CpuDescription = params['CpuDescription']
|
2407
|
+
@MemDescription = params['MemDescription']
|
2408
|
+
@DiskDescription = params['DiskDescription']
|
2409
|
+
@NicDescription = params['NicDescription']
|
2410
|
+
@RaidDescription = params['RaidDescription']
|
2411
|
+
@Cpu = params['Cpu']
|
2412
|
+
@DeviceClassCode = params['DeviceClassCode']
|
2413
|
+
end
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
# 物理机信息
|
2417
|
+
class DeviceInfo < TencentCloud::Common::AbstractModel
|
2418
|
+
# @param InstanceId: 设备唯一ID
|
2419
|
+
# @type InstanceId: String
|
2420
|
+
# @param VpcId: 私有网络ID
|
2421
|
+
# @type VpcId: String
|
2422
|
+
# @param SubnetId: 子网ID
|
2423
|
+
# @type SubnetId: String
|
2424
|
+
# @param DeviceStatus: 设备状态ID,取值:<li>1:申领设备中</li><li>2:初始化中</li><li>4:运营中</li><li>7:隔离中</li><li>8:已隔离</li><li>10:解隔离中</li><li>16:故障中</li>
|
2425
|
+
# @type DeviceStatus: Integer
|
2426
|
+
# @param OperateStatus: 设备操作状态ID,取值:
|
2427
|
+
# <li>1:运行中</li><li>2:正在关机</li><li>3:已关机</li><li>5:正在开机</li><li>7:重启中</li><li>9:重装中</li><li>12:绑定EIP</li><li>13:解绑EIP</li><li>14:绑定LB</li><li>15:解绑LB</li><li>19:更换IP中</li><li>20:制作镜像中</li><li>21:制作镜像失败</li><li>23:故障待重装</li><li>24:无备件待退回</li>
|
2428
|
+
# @type OperateStatus: Integer
|
2429
|
+
# @param OsTypeId: 操作系统ID,参考接口[查询操作系统信息(DescribeOsInfo)](https://cloud.tencent.com/document/product/386/32902)
|
2430
|
+
# @type OsTypeId: Integer
|
2431
|
+
# @param RaidId: RAID类型ID,参考接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/product/386/32910)
|
2432
|
+
# @type RaidId: Integer
|
2433
|
+
# @param Alias: 设备别名
|
2434
|
+
# @type Alias: String
|
2435
|
+
# @param AppId: 用户AppId
|
2436
|
+
# @type AppId: Integer
|
2437
|
+
# @param Zone: 可用区
|
2438
|
+
# @type Zone: String
|
2439
|
+
# @param WanIp: 外网IP
|
2440
|
+
# @type WanIp: String
|
2441
|
+
# @param LanIp: 内网IP
|
2442
|
+
# @type LanIp: String
|
2443
|
+
# @param DeliverTime: 设备交付时间
|
2444
|
+
# @type DeliverTime: String
|
2445
|
+
# @param Deadline: 设备到期时间
|
2446
|
+
# @type Deadline: String
|
2447
|
+
# @param AutoRenewFlag: 自动续费标识。0: 不自动续费; 1:自动续费
|
2448
|
+
# @type AutoRenewFlag: Integer
|
2449
|
+
# @param DeviceClassCode: 设备类型
|
2450
|
+
# @type DeviceClassCode: String
|
2451
|
+
# @param Tags: 标签列表
|
2452
|
+
# @type Tags: Array
|
2453
|
+
# @param CpmPayMode: 计费模式。1: 预付费; 2: 后付费; 3:预付费转后付费中
|
2454
|
+
# @type CpmPayMode: Integer
|
2455
|
+
# @param DhcpIp: 带外IP
|
2456
|
+
# @type DhcpIp: String
|
2457
|
+
# @param VpcName: 所在私有网络别名
|
2458
|
+
# @type VpcName: String
|
2459
|
+
# @param SubnetName: 所在子网别名
|
2460
|
+
# @type SubnetName: String
|
2461
|
+
# @param VpcCidrBlock: 所在私有网络CIDR
|
2462
|
+
# @type VpcCidrBlock: String
|
2463
|
+
# @param SubnetCidrBlock: 所在子网CIDR
|
2464
|
+
# @type SubnetCidrBlock: String
|
2465
|
+
# @param IsLuckyDevice: 标识是否是竞价实例。0: 普通设备; 1: 竞价实例设备
|
2466
|
+
# @type IsLuckyDevice: Integer
|
2467
|
+
# @param MaintainStatus: 标识机器维保状态。Maintain: 在保; WillExpire: 即将过保; Expire: 已过保
|
2468
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2469
|
+
# @type MaintainStatus: String
|
2470
|
+
# @param MaintainMessage: 维保信息描述
|
2471
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2472
|
+
# @type MaintainMessage: String
|
2473
|
+
|
2474
|
+
attr_accessor :InstanceId, :VpcId, :SubnetId, :DeviceStatus, :OperateStatus, :OsTypeId, :RaidId, :Alias, :AppId, :Zone, :WanIp, :LanIp, :DeliverTime, :Deadline, :AutoRenewFlag, :DeviceClassCode, :Tags, :CpmPayMode, :DhcpIp, :VpcName, :SubnetName, :VpcCidrBlock, :SubnetCidrBlock, :IsLuckyDevice, :MaintainStatus, :MaintainMessage
|
2475
|
+
|
2476
|
+
def initialize(instanceid=nil, vpcid=nil, subnetid=nil, devicestatus=nil, operatestatus=nil, ostypeid=nil, raidid=nil, _alias=nil, appid=nil, zone=nil, wanip=nil, lanip=nil, delivertime=nil, deadline=nil, autorenewflag=nil, deviceclasscode=nil, tags=nil, cpmpaymode=nil, dhcpip=nil, vpcname=nil, subnetname=nil, vpccidrblock=nil, subnetcidrblock=nil, isluckydevice=nil, maintainstatus=nil, maintainmessage=nil)
|
2477
|
+
@InstanceId = instanceid
|
2478
|
+
@VpcId = vpcid
|
2479
|
+
@SubnetId = subnetid
|
2480
|
+
@DeviceStatus = devicestatus
|
2481
|
+
@OperateStatus = operatestatus
|
2482
|
+
@OsTypeId = ostypeid
|
2483
|
+
@RaidId = raidid
|
2484
|
+
@Alias = _alias
|
2485
|
+
@AppId = appid
|
2486
|
+
@Zone = zone
|
2487
|
+
@WanIp = wanip
|
2488
|
+
@LanIp = lanip
|
2489
|
+
@DeliverTime = delivertime
|
2490
|
+
@Deadline = deadline
|
2491
|
+
@AutoRenewFlag = autorenewflag
|
2492
|
+
@DeviceClassCode = deviceclasscode
|
2493
|
+
@Tags = tags
|
2494
|
+
@CpmPayMode = cpmpaymode
|
2495
|
+
@DhcpIp = dhcpip
|
2496
|
+
@VpcName = vpcname
|
2497
|
+
@SubnetName = subnetname
|
2498
|
+
@VpcCidrBlock = vpccidrblock
|
2499
|
+
@SubnetCidrBlock = subnetcidrblock
|
2500
|
+
@IsLuckyDevice = isluckydevice
|
2501
|
+
@MaintainStatus = maintainstatus
|
2502
|
+
@MaintainMessage = maintainmessage
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
def deserialize(params)
|
2506
|
+
@InstanceId = params['InstanceId']
|
2507
|
+
@VpcId = params['VpcId']
|
2508
|
+
@SubnetId = params['SubnetId']
|
2509
|
+
@DeviceStatus = params['DeviceStatus']
|
2510
|
+
@OperateStatus = params['OperateStatus']
|
2511
|
+
@OsTypeId = params['OsTypeId']
|
2512
|
+
@RaidId = params['RaidId']
|
2513
|
+
@Alias = params['Alias']
|
2514
|
+
@AppId = params['AppId']
|
2515
|
+
@Zone = params['Zone']
|
2516
|
+
@WanIp = params['WanIp']
|
2517
|
+
@LanIp = params['LanIp']
|
2518
|
+
@DeliverTime = params['DeliverTime']
|
2519
|
+
@Deadline = params['Deadline']
|
2520
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
2521
|
+
@DeviceClassCode = params['DeviceClassCode']
|
2522
|
+
unless params['Tags'].nil?
|
2523
|
+
@Tags = []
|
2524
|
+
params['Tags'].each do |i|
|
2525
|
+
tag_tmp = Tag.new
|
2526
|
+
tag_tmp.deserialize(i)
|
2527
|
+
@Tags << tag_tmp
|
2528
|
+
end
|
2529
|
+
end
|
2530
|
+
@CpmPayMode = params['CpmPayMode']
|
2531
|
+
@DhcpIp = params['DhcpIp']
|
2532
|
+
@VpcName = params['VpcName']
|
2533
|
+
@SubnetName = params['SubnetName']
|
2534
|
+
@VpcCidrBlock = params['VpcCidrBlock']
|
2535
|
+
@SubnetCidrBlock = params['SubnetCidrBlock']
|
2536
|
+
@IsLuckyDevice = params['IsLuckyDevice']
|
2537
|
+
@MaintainStatus = params['MaintainStatus']
|
2538
|
+
@MaintainMessage = params['MaintainMessage']
|
2539
|
+
end
|
2540
|
+
end
|
2541
|
+
|
2542
|
+
# 设备操作日志
|
2543
|
+
class DeviceOperationLog < TencentCloud::Common::AbstractModel
|
2544
|
+
# @param Id: 日志的ID
|
2545
|
+
# @type Id: Integer
|
2546
|
+
# @param InstanceId: 设备ID
|
2547
|
+
# @type InstanceId: String
|
2548
|
+
# @param TaskId: 日志对应的操作任务ID
|
2549
|
+
# @type TaskId: Integer
|
2550
|
+
# @param TaskName: 操作任务名称
|
2551
|
+
# @type TaskName: String
|
2552
|
+
# @param TaskDescription: 操作任务中文名称
|
2553
|
+
# @type TaskDescription: String
|
2554
|
+
# @param StartTime: 操作开始时间
|
2555
|
+
# @type StartTime: String
|
2556
|
+
# @param EndTime: 操作结束时间
|
2557
|
+
# @type EndTime: String
|
2558
|
+
# @param Status: 操作状态,0: 正在执行中;1:任务成功; 2: 任务失败。
|
2559
|
+
# @type Status: Integer
|
2560
|
+
# @param OpUin: 操作者
|
2561
|
+
# @type OpUin: String
|
2562
|
+
# @param LogDescription: 操作描述
|
2563
|
+
# @type LogDescription: String
|
2564
|
+
|
2565
|
+
attr_accessor :Id, :InstanceId, :TaskId, :TaskName, :TaskDescription, :StartTime, :EndTime, :Status, :OpUin, :LogDescription
|
2566
|
+
|
2567
|
+
def initialize(id=nil, instanceid=nil, taskid=nil, taskname=nil, taskdescription=nil, starttime=nil, endtime=nil, status=nil, opuin=nil, logdescription=nil)
|
2568
|
+
@Id = id
|
2569
|
+
@InstanceId = instanceid
|
2570
|
+
@TaskId = taskid
|
2571
|
+
@TaskName = taskname
|
2572
|
+
@TaskDescription = taskdescription
|
2573
|
+
@StartTime = starttime
|
2574
|
+
@EndTime = endtime
|
2575
|
+
@Status = status
|
2576
|
+
@OpUin = opuin
|
2577
|
+
@LogDescription = logdescription
|
2578
|
+
end
|
2579
|
+
|
2580
|
+
def deserialize(params)
|
2581
|
+
@Id = params['Id']
|
2582
|
+
@InstanceId = params['InstanceId']
|
2583
|
+
@TaskId = params['TaskId']
|
2584
|
+
@TaskName = params['TaskName']
|
2585
|
+
@TaskDescription = params['TaskDescription']
|
2586
|
+
@StartTime = params['StartTime']
|
2587
|
+
@EndTime = params['EndTime']
|
2588
|
+
@Status = params['Status']
|
2589
|
+
@OpUin = params['OpUin']
|
2590
|
+
@LogDescription = params['LogDescription']
|
2591
|
+
end
|
2592
|
+
end
|
2593
|
+
|
2594
|
+
# 物理机分区格式
|
2595
|
+
class DevicePartition < TencentCloud::Common::AbstractModel
|
2596
|
+
# @param SystemDiskSize: 系统盘大小
|
2597
|
+
# @type SystemDiskSize: Integer
|
2598
|
+
# @param DataDiskSize: 数据盘大小
|
2599
|
+
# @type DataDiskSize: Integer
|
2600
|
+
# @param SysIsUefiType: 是否兼容Uefi
|
2601
|
+
# @type SysIsUefiType: Boolean
|
2602
|
+
# @param SysRootSpace: root分区大小
|
2603
|
+
# @type SysRootSpace: Integer
|
2604
|
+
# @param SysSwaporuefiSpace: Swaporuefi分区大小
|
2605
|
+
# @type SysSwaporuefiSpace: Integer
|
2606
|
+
# @param SysUsrlocalSpace: Usrlocal分区大小
|
2607
|
+
# @type SysUsrlocalSpace: Integer
|
2608
|
+
# @param SysDataSpace: data分区大小
|
2609
|
+
# @type SysDataSpace: Integer
|
2610
|
+
# @param DeviceDiskSizeInfoSet: 硬盘大小详情
|
2611
|
+
# @type DeviceDiskSizeInfoSet: Array
|
2612
|
+
|
2613
|
+
attr_accessor :SystemDiskSize, :DataDiskSize, :SysIsUefiType, :SysRootSpace, :SysSwaporuefiSpace, :SysUsrlocalSpace, :SysDataSpace, :DeviceDiskSizeInfoSet
|
2614
|
+
|
2615
|
+
def initialize(systemdisksize=nil, datadisksize=nil, sysisuefitype=nil, sysrootspace=nil, sysswaporuefispace=nil, sysusrlocalspace=nil, sysdataspace=nil, devicedisksizeinfoset=nil)
|
2616
|
+
@SystemDiskSize = systemdisksize
|
2617
|
+
@DataDiskSize = datadisksize
|
2618
|
+
@SysIsUefiType = sysisuefitype
|
2619
|
+
@SysRootSpace = sysrootspace
|
2620
|
+
@SysSwaporuefiSpace = sysswaporuefispace
|
2621
|
+
@SysUsrlocalSpace = sysusrlocalspace
|
2622
|
+
@SysDataSpace = sysdataspace
|
2623
|
+
@DeviceDiskSizeInfoSet = devicedisksizeinfoset
|
2624
|
+
end
|
2625
|
+
|
2626
|
+
def deserialize(params)
|
2627
|
+
@SystemDiskSize = params['SystemDiskSize']
|
2628
|
+
@DataDiskSize = params['DataDiskSize']
|
2629
|
+
@SysIsUefiType = params['SysIsUefiType']
|
2630
|
+
@SysRootSpace = params['SysRootSpace']
|
2631
|
+
@SysSwaporuefiSpace = params['SysSwaporuefiSpace']
|
2632
|
+
@SysUsrlocalSpace = params['SysUsrlocalSpace']
|
2633
|
+
@SysDataSpace = params['SysDataSpace']
|
2634
|
+
unless params['DeviceDiskSizeInfoSet'].nil?
|
2635
|
+
@DeviceDiskSizeInfoSet = []
|
2636
|
+
params['DeviceDiskSizeInfoSet'].each do |i|
|
2637
|
+
devicedisksizeinfo_tmp = DeviceDiskSizeInfo.new
|
2638
|
+
devicedisksizeinfo_tmp.deserialize(i)
|
2639
|
+
@DeviceDiskSizeInfoSet << devicedisksizeinfo_tmp
|
2640
|
+
end
|
2641
|
+
end
|
2642
|
+
end
|
2643
|
+
end
|
2644
|
+
|
2645
|
+
# 物理机机架信息
|
2646
|
+
class DevicePositionInfo < TencentCloud::Common::AbstractModel
|
2647
|
+
# @param InstanceId: 设备ID
|
2648
|
+
# @type InstanceId: String
|
2649
|
+
# @param Zone: 所在可用区
|
2650
|
+
# @type Zone: String
|
2651
|
+
# @param VpcId: 私有网络ID
|
2652
|
+
# @type VpcId: String
|
2653
|
+
# @param SubnetId: 子网ID
|
2654
|
+
# @type SubnetId: String
|
2655
|
+
# @param LanIp: 业务IP
|
2656
|
+
# @type LanIp: String
|
2657
|
+
# @param Alias: 实例别名
|
2658
|
+
# @type Alias: String
|
2659
|
+
# @param RckName: 机架名称
|
2660
|
+
# @type RckName: String
|
2661
|
+
# @param PosCode: 机位
|
2662
|
+
# @type PosCode: Integer
|
2663
|
+
# @param SwitchName: 交换机名称
|
2664
|
+
# @type SwitchName: String
|
2665
|
+
# @param DeliverTime: 设备交付时间
|
2666
|
+
# @type DeliverTime: String
|
2667
|
+
# @param Deadline: 过期时间
|
2668
|
+
# @type Deadline: String
|
2669
|
+
|
2670
|
+
attr_accessor :InstanceId, :Zone, :VpcId, :SubnetId, :LanIp, :Alias, :RckName, :PosCode, :SwitchName, :DeliverTime, :Deadline
|
2671
|
+
|
2672
|
+
def initialize(instanceid=nil, zone=nil, vpcid=nil, subnetid=nil, lanip=nil, _alias=nil, rckname=nil, poscode=nil, switchname=nil, delivertime=nil, deadline=nil)
|
2673
|
+
@InstanceId = instanceid
|
2674
|
+
@Zone = zone
|
2675
|
+
@VpcId = vpcid
|
2676
|
+
@SubnetId = subnetid
|
2677
|
+
@LanIp = lanip
|
2678
|
+
@Alias = _alias
|
2679
|
+
@RckName = rckname
|
2680
|
+
@PosCode = poscode
|
2681
|
+
@SwitchName = switchname
|
2682
|
+
@DeliverTime = delivertime
|
2683
|
+
@Deadline = deadline
|
2684
|
+
end
|
2685
|
+
|
2686
|
+
def deserialize(params)
|
2687
|
+
@InstanceId = params['InstanceId']
|
2688
|
+
@Zone = params['Zone']
|
2689
|
+
@VpcId = params['VpcId']
|
2690
|
+
@SubnetId = params['SubnetId']
|
2691
|
+
@LanIp = params['LanIp']
|
2692
|
+
@Alias = params['Alias']
|
2693
|
+
@RckName = params['RckName']
|
2694
|
+
@PosCode = params['PosCode']
|
2695
|
+
@SwitchName = params['SwitchName']
|
2696
|
+
@DeliverTime = params['DeliverTime']
|
2697
|
+
@Deadline = params['Deadline']
|
2698
|
+
end
|
2699
|
+
end
|
2700
|
+
|
2701
|
+
# 服务器价格信息
|
2702
|
+
class DevicePriceInfo < TencentCloud::Common::AbstractModel
|
2703
|
+
# @param InstanceId: 物理机ID
|
2704
|
+
# @type InstanceId: String
|
2705
|
+
# @param DeviceClassCode: 设备型号
|
2706
|
+
# @type DeviceClassCode: String
|
2707
|
+
# @param IsElastic: 是否是弹性机型,1:是,0:否
|
2708
|
+
# @type IsElastic: Integer
|
2709
|
+
# @param CpmPayMode: 付费模式ID, 1:预付费; 2:后付费; 3:预付费转后付费中
|
2710
|
+
# @type CpmPayMode: Integer
|
2711
|
+
# @param CpuDescription: Cpu信息描述
|
2712
|
+
# @type CpuDescription: String
|
2713
|
+
# @param MemDescription: 内存信息描述
|
2714
|
+
# @type MemDescription: String
|
2715
|
+
# @param DiskDescription: 硬盘信息描述
|
2716
|
+
# @type DiskDescription: String
|
2717
|
+
# @param NicDescription: 网卡信息描述
|
2718
|
+
# @type NicDescription: String
|
2719
|
+
# @param GpuDescription: Gpu信息描述
|
2720
|
+
# @type GpuDescription: String
|
2721
|
+
# @param RaidDescription: Raid信息描述
|
2722
|
+
# @type RaidDescription: String
|
2723
|
+
# @param Price: 客户的单价
|
2724
|
+
# @type Price: Integer
|
2725
|
+
# @param NormalPrice: 刊例单价
|
2726
|
+
# @type NormalPrice: Integer
|
2727
|
+
# @param TotalCost: 原价
|
2728
|
+
# @type TotalCost: Integer
|
2729
|
+
# @param RealTotalCost: 折扣价
|
2730
|
+
# @type RealTotalCost: Integer
|
2731
|
+
# @param TimeSpan: 计费时长
|
2732
|
+
# @type TimeSpan: Integer
|
2733
|
+
# @param TimeUnit: 计费时长单位, M:按月计费; D:按天计费
|
2734
|
+
# @type TimeUnit: String
|
2735
|
+
# @param GoodsCount: 商品数量
|
2736
|
+
# @type GoodsCount: Integer
|
2737
|
+
|
2738
|
+
attr_accessor :InstanceId, :DeviceClassCode, :IsElastic, :CpmPayMode, :CpuDescription, :MemDescription, :DiskDescription, :NicDescription, :GpuDescription, :RaidDescription, :Price, :NormalPrice, :TotalCost, :RealTotalCost, :TimeSpan, :TimeUnit, :GoodsCount
|
2739
|
+
|
2740
|
+
def initialize(instanceid=nil, deviceclasscode=nil, iselastic=nil, cpmpaymode=nil, cpudescription=nil, memdescription=nil, diskdescription=nil, nicdescription=nil, gpudescription=nil, raiddescription=nil, price=nil, normalprice=nil, totalcost=nil, realtotalcost=nil, timespan=nil, timeunit=nil, goodscount=nil)
|
2741
|
+
@InstanceId = instanceid
|
2742
|
+
@DeviceClassCode = deviceclasscode
|
2743
|
+
@IsElastic = iselastic
|
2744
|
+
@CpmPayMode = cpmpaymode
|
2745
|
+
@CpuDescription = cpudescription
|
2746
|
+
@MemDescription = memdescription
|
2747
|
+
@DiskDescription = diskdescription
|
2748
|
+
@NicDescription = nicdescription
|
2749
|
+
@GpuDescription = gpudescription
|
2750
|
+
@RaidDescription = raiddescription
|
2751
|
+
@Price = price
|
2752
|
+
@NormalPrice = normalprice
|
2753
|
+
@TotalCost = totalcost
|
2754
|
+
@RealTotalCost = realtotalcost
|
2755
|
+
@TimeSpan = timespan
|
2756
|
+
@TimeUnit = timeunit
|
2757
|
+
@GoodsCount = goodscount
|
2758
|
+
end
|
2759
|
+
|
2760
|
+
def deserialize(params)
|
2761
|
+
@InstanceId = params['InstanceId']
|
2762
|
+
@DeviceClassCode = params['DeviceClassCode']
|
2763
|
+
@IsElastic = params['IsElastic']
|
2764
|
+
@CpmPayMode = params['CpmPayMode']
|
2765
|
+
@CpuDescription = params['CpuDescription']
|
2766
|
+
@MemDescription = params['MemDescription']
|
2767
|
+
@DiskDescription = params['DiskDescription']
|
2768
|
+
@NicDescription = params['NicDescription']
|
2769
|
+
@GpuDescription = params['GpuDescription']
|
2770
|
+
@RaidDescription = params['RaidDescription']
|
2771
|
+
@Price = params['Price']
|
2772
|
+
@NormalPrice = params['NormalPrice']
|
2773
|
+
@TotalCost = params['TotalCost']
|
2774
|
+
@RealTotalCost = params['RealTotalCost']
|
2775
|
+
@TimeSpan = params['TimeSpan']
|
2776
|
+
@TimeUnit = params['TimeUnit']
|
2777
|
+
@GoodsCount = params['GoodsCount']
|
2778
|
+
end
|
2779
|
+
end
|
2780
|
+
|
2781
|
+
# 自定义机型磁盘的描述
|
2782
|
+
class DiskInfo < TencentCloud::Common::AbstractModel
|
2783
|
+
# @param DiskTypeId: 磁盘ID
|
2784
|
+
# @type DiskTypeId: Integer
|
2785
|
+
# @param Size: 磁盘的容量,单位为G
|
2786
|
+
# @type Size: Integer
|
2787
|
+
# @param DiskDescription: 磁盘信息描述
|
2788
|
+
# @type DiskDescription: String
|
2789
|
+
|
2790
|
+
attr_accessor :DiskTypeId, :Size, :DiskDescription
|
2791
|
+
|
2792
|
+
def initialize(disktypeid=nil, size=nil, diskdescription=nil)
|
2793
|
+
@DiskTypeId = disktypeid
|
2794
|
+
@Size = size
|
2795
|
+
@DiskDescription = diskdescription
|
2796
|
+
end
|
2797
|
+
|
2798
|
+
def deserialize(params)
|
2799
|
+
@DiskTypeId = params['DiskTypeId']
|
2800
|
+
@Size = params['Size']
|
2801
|
+
@DiskDescription = params['DiskDescription']
|
2802
|
+
end
|
2803
|
+
end
|
2804
|
+
|
2805
|
+
# 运行失败的自定义脚本信息
|
2806
|
+
class FailedTaskInfo < TencentCloud::Common::AbstractModel
|
2807
|
+
# @param InstanceId: 运行脚本的设备ID
|
2808
|
+
# @type InstanceId: String
|
2809
|
+
# @param ErrorMsg: 失败原因
|
2810
|
+
# @type ErrorMsg: String
|
2811
|
+
|
2812
|
+
attr_accessor :InstanceId, :ErrorMsg
|
2813
|
+
|
2814
|
+
def initialize(instanceid=nil, errormsg=nil)
|
2815
|
+
@InstanceId = instanceid
|
2816
|
+
@ErrorMsg = errormsg
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
def deserialize(params)
|
2820
|
+
@InstanceId = params['InstanceId']
|
2821
|
+
@ErrorMsg = params['ErrorMsg']
|
2822
|
+
end
|
2823
|
+
end
|
2824
|
+
|
2825
|
+
# 托管设备带外信息
|
2826
|
+
class HostedDeviceOutBandInfo < TencentCloud::Common::AbstractModel
|
2827
|
+
# @param InstanceId: 物理机ID
|
2828
|
+
# @type InstanceId: String
|
2829
|
+
# @param OutBandIp: 带外IP
|
2830
|
+
# @type OutBandIp: String
|
2831
|
+
# @param VpnIp: VPN的IP
|
2832
|
+
# @type VpnIp: String
|
2833
|
+
# @param VpnPort: VPN的端口
|
2834
|
+
# @type VpnPort: Integer
|
2835
|
+
|
2836
|
+
attr_accessor :InstanceId, :OutBandIp, :VpnIp, :VpnPort
|
2837
|
+
|
2838
|
+
def initialize(instanceid=nil, outbandip=nil, vpnip=nil, vpnport=nil)
|
2839
|
+
@InstanceId = instanceid
|
2840
|
+
@OutBandIp = outbandip
|
2841
|
+
@VpnIp = vpnip
|
2842
|
+
@VpnPort = vpnport
|
2843
|
+
end
|
2844
|
+
|
2845
|
+
def deserialize(params)
|
2846
|
+
@InstanceId = params['InstanceId']
|
2847
|
+
@OutBandIp = params['OutBandIp']
|
2848
|
+
@VpnIp = params['VpnIp']
|
2849
|
+
@VpnPort = params['VpnPort']
|
2850
|
+
end
|
2851
|
+
end
|
2852
|
+
|
2853
|
+
# ModifyCustomImageAttribute请求参数结构体
|
2854
|
+
class ModifyCustomImageAttributeRequest < TencentCloud::Common::AbstractModel
|
2855
|
+
# @param ImageId: 镜像ID
|
2856
|
+
# @type ImageId: String
|
2857
|
+
# @param ImageName: 设置新的镜像名
|
2858
|
+
# @type ImageName: String
|
2859
|
+
# @param ImageDescription: 设置新的镜像描述
|
2860
|
+
# @type ImageDescription: String
|
2861
|
+
|
2862
|
+
attr_accessor :ImageId, :ImageName, :ImageDescription
|
2863
|
+
|
2864
|
+
def initialize(imageid=nil, imagename=nil, imagedescription=nil)
|
2865
|
+
@ImageId = imageid
|
2866
|
+
@ImageName = imagename
|
2867
|
+
@ImageDescription = imagedescription
|
2868
|
+
end
|
2869
|
+
|
2870
|
+
def deserialize(params)
|
2871
|
+
@ImageId = params['ImageId']
|
2872
|
+
@ImageName = params['ImageName']
|
2873
|
+
@ImageDescription = params['ImageDescription']
|
2874
|
+
end
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
# ModifyCustomImageAttribute返回参数结构体
|
2878
|
+
class ModifyCustomImageAttributeResponse < TencentCloud::Common::AbstractModel
|
2879
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2880
|
+
# @type RequestId: String
|
2881
|
+
|
2882
|
+
attr_accessor :RequestId
|
2883
|
+
|
2884
|
+
def initialize(requestid=nil)
|
2885
|
+
@RequestId = requestid
|
2886
|
+
end
|
2887
|
+
|
2888
|
+
def deserialize(params)
|
2889
|
+
@RequestId = params['RequestId']
|
2890
|
+
end
|
2891
|
+
end
|
2892
|
+
|
2893
|
+
# ModifyDeviceAliases请求参数结构体
|
2894
|
+
class ModifyDeviceAliasesRequest < TencentCloud::Common::AbstractModel
|
2895
|
+
# @param DeviceAliases: 需要改名的设备与别名列表
|
2896
|
+
# @type DeviceAliases: Array
|
2897
|
+
|
2898
|
+
attr_accessor :DeviceAliases
|
2899
|
+
|
2900
|
+
def initialize(devicealiases=nil)
|
2901
|
+
@DeviceAliases = devicealiases
|
2902
|
+
end
|
2903
|
+
|
2904
|
+
def deserialize(params)
|
2905
|
+
unless params['DeviceAliases'].nil?
|
2906
|
+
@DeviceAliases = []
|
2907
|
+
params['DeviceAliases'].each do |i|
|
2908
|
+
devicealias_tmp = DeviceAlias.new
|
2909
|
+
devicealias_tmp.deserialize(i)
|
2910
|
+
@DeviceAliases << devicealias_tmp
|
2911
|
+
end
|
2912
|
+
end
|
2913
|
+
end
|
2914
|
+
end
|
2915
|
+
|
2916
|
+
# ModifyDeviceAliases返回参数结构体
|
2917
|
+
class ModifyDeviceAliasesResponse < TencentCloud::Common::AbstractModel
|
2918
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2919
|
+
# @type RequestId: String
|
2920
|
+
|
2921
|
+
attr_accessor :RequestId
|
2922
|
+
|
2923
|
+
def initialize(requestid=nil)
|
2924
|
+
@RequestId = requestid
|
2925
|
+
end
|
2926
|
+
|
2927
|
+
def deserialize(params)
|
2928
|
+
@RequestId = params['RequestId']
|
2929
|
+
end
|
2930
|
+
end
|
2931
|
+
|
2932
|
+
# ModifyDeviceAutoRenewFlag请求参数结构体
|
2933
|
+
class ModifyDeviceAutoRenewFlagRequest < TencentCloud::Common::AbstractModel
|
2934
|
+
# @param AutoRenewFlag: 自动续费标志位。0: 不自动续费; 1: 自动续费
|
2935
|
+
# @type AutoRenewFlag: Integer
|
2936
|
+
# @param InstanceIds: 需要修改的设备ID列表
|
2937
|
+
# @type InstanceIds: Array
|
2938
|
+
|
2939
|
+
attr_accessor :AutoRenewFlag, :InstanceIds
|
2940
|
+
|
2941
|
+
def initialize(autorenewflag=nil, instanceids=nil)
|
2942
|
+
@AutoRenewFlag = autorenewflag
|
2943
|
+
@InstanceIds = instanceids
|
2944
|
+
end
|
2945
|
+
|
2946
|
+
def deserialize(params)
|
2947
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
2948
|
+
@InstanceIds = params['InstanceIds']
|
2949
|
+
end
|
2950
|
+
end
|
2951
|
+
|
2952
|
+
# ModifyDeviceAutoRenewFlag返回参数结构体
|
2953
|
+
class ModifyDeviceAutoRenewFlagResponse < TencentCloud::Common::AbstractModel
|
2954
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2955
|
+
# @type RequestId: String
|
2956
|
+
|
2957
|
+
attr_accessor :RequestId
|
2958
|
+
|
2959
|
+
def initialize(requestid=nil)
|
2960
|
+
@RequestId = requestid
|
2961
|
+
end
|
2962
|
+
|
2963
|
+
def deserialize(params)
|
2964
|
+
@RequestId = params['RequestId']
|
2965
|
+
end
|
2966
|
+
end
|
2967
|
+
|
2968
|
+
# ModifyLanIp请求参数结构体
|
2969
|
+
class ModifyLanIpRequest < TencentCloud::Common::AbstractModel
|
2970
|
+
# @param InstanceId: 物理机ID
|
2971
|
+
# @type InstanceId: String
|
2972
|
+
# @param VpcId: 指定新VPC
|
2973
|
+
# @type VpcId: String
|
2974
|
+
# @param SubnetId: 指定新子网
|
2975
|
+
# @type SubnetId: String
|
2976
|
+
# @param LanIp: 指定新内网IP
|
2977
|
+
# @type LanIp: String
|
2978
|
+
# @param RebootDevice: 是否需要重启机器,取值 1(需要) 0(不需要),默认取值0
|
2979
|
+
# @type RebootDevice: Integer
|
2980
|
+
|
2981
|
+
attr_accessor :InstanceId, :VpcId, :SubnetId, :LanIp, :RebootDevice
|
2982
|
+
|
2983
|
+
def initialize(instanceid=nil, vpcid=nil, subnetid=nil, lanip=nil, rebootdevice=nil)
|
2984
|
+
@InstanceId = instanceid
|
2985
|
+
@VpcId = vpcid
|
2986
|
+
@SubnetId = subnetid
|
2987
|
+
@LanIp = lanip
|
2988
|
+
@RebootDevice = rebootdevice
|
2989
|
+
end
|
2990
|
+
|
2991
|
+
def deserialize(params)
|
2992
|
+
@InstanceId = params['InstanceId']
|
2993
|
+
@VpcId = params['VpcId']
|
2994
|
+
@SubnetId = params['SubnetId']
|
2995
|
+
@LanIp = params['LanIp']
|
2996
|
+
@RebootDevice = params['RebootDevice']
|
2997
|
+
end
|
2998
|
+
end
|
2999
|
+
|
3000
|
+
# ModifyLanIp返回参数结构体
|
3001
|
+
class ModifyLanIpResponse < TencentCloud::Common::AbstractModel
|
3002
|
+
# @param TaskId: 黑石异步任务ID
|
3003
|
+
# @type TaskId: Integer
|
3004
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3005
|
+
# @type RequestId: String
|
3006
|
+
|
3007
|
+
attr_accessor :TaskId, :RequestId
|
3008
|
+
|
3009
|
+
def initialize(taskid=nil, requestid=nil)
|
3010
|
+
@TaskId = taskid
|
3011
|
+
@RequestId = requestid
|
3012
|
+
end
|
3013
|
+
|
3014
|
+
def deserialize(params)
|
3015
|
+
@TaskId = params['TaskId']
|
3016
|
+
@RequestId = params['RequestId']
|
3017
|
+
end
|
3018
|
+
end
|
3019
|
+
|
3020
|
+
# ModifyPayModePre2Post请求参数结构体
|
3021
|
+
class ModifyPayModePre2PostRequest < TencentCloud::Common::AbstractModel
|
3022
|
+
# @param InstanceIds: 需要修改的设备ID列表
|
3023
|
+
# @type InstanceIds: Array
|
3024
|
+
|
3025
|
+
attr_accessor :InstanceIds
|
3026
|
+
|
3027
|
+
def initialize(instanceids=nil)
|
3028
|
+
@InstanceIds = instanceids
|
3029
|
+
end
|
3030
|
+
|
3031
|
+
def deserialize(params)
|
3032
|
+
@InstanceIds = params['InstanceIds']
|
3033
|
+
end
|
3034
|
+
end
|
3035
|
+
|
3036
|
+
# ModifyPayModePre2Post返回参数结构体
|
3037
|
+
class ModifyPayModePre2PostResponse < TencentCloud::Common::AbstractModel
|
3038
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3039
|
+
# @type RequestId: String
|
3040
|
+
|
3041
|
+
attr_accessor :RequestId
|
3042
|
+
|
3043
|
+
def initialize(requestid=nil)
|
3044
|
+
@RequestId = requestid
|
3045
|
+
end
|
3046
|
+
|
3047
|
+
def deserialize(params)
|
3048
|
+
@RequestId = params['RequestId']
|
3049
|
+
end
|
3050
|
+
end
|
3051
|
+
|
3052
|
+
# ModifyPsaRegulation请求参数结构体
|
3053
|
+
class ModifyPsaRegulationRequest < TencentCloud::Common::AbstractModel
|
3054
|
+
# @param PsaId: 预授权规则ID
|
3055
|
+
# @type PsaId: String
|
3056
|
+
# @param PsaName: 预授权规则别名
|
3057
|
+
# @type PsaName: String
|
3058
|
+
# @param RepairLimit: 维修中的实例上限
|
3059
|
+
# @type RepairLimit: Integer
|
3060
|
+
# @param PsaDescription: 预授权规则备注
|
3061
|
+
# @type PsaDescription: String
|
3062
|
+
# @param TaskTypeIds: 预授权规则关联故障类型ID列表
|
3063
|
+
# @type TaskTypeIds: Array
|
3064
|
+
|
3065
|
+
attr_accessor :PsaId, :PsaName, :RepairLimit, :PsaDescription, :TaskTypeIds
|
3066
|
+
|
3067
|
+
def initialize(psaid=nil, psaname=nil, repairlimit=nil, psadescription=nil, tasktypeids=nil)
|
3068
|
+
@PsaId = psaid
|
3069
|
+
@PsaName = psaname
|
3070
|
+
@RepairLimit = repairlimit
|
3071
|
+
@PsaDescription = psadescription
|
3072
|
+
@TaskTypeIds = tasktypeids
|
3073
|
+
end
|
3074
|
+
|
3075
|
+
def deserialize(params)
|
3076
|
+
@PsaId = params['PsaId']
|
3077
|
+
@PsaName = params['PsaName']
|
3078
|
+
@RepairLimit = params['RepairLimit']
|
3079
|
+
@PsaDescription = params['PsaDescription']
|
3080
|
+
@TaskTypeIds = params['TaskTypeIds']
|
3081
|
+
end
|
3082
|
+
end
|
3083
|
+
|
3084
|
+
# ModifyPsaRegulation返回参数结构体
|
3085
|
+
class ModifyPsaRegulationResponse < TencentCloud::Common::AbstractModel
|
3086
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3087
|
+
# @type RequestId: String
|
3088
|
+
|
3089
|
+
attr_accessor :RequestId
|
3090
|
+
|
3091
|
+
def initialize(requestid=nil)
|
3092
|
+
@RequestId = requestid
|
3093
|
+
end
|
3094
|
+
|
3095
|
+
def deserialize(params)
|
3096
|
+
@RequestId = params['RequestId']
|
3097
|
+
end
|
3098
|
+
end
|
3099
|
+
|
3100
|
+
# ModifyUserCmd请求参数结构体
|
3101
|
+
class ModifyUserCmdRequest < TencentCloud::Common::AbstractModel
|
3102
|
+
# @param CmdId: 待修改的脚本ID
|
3103
|
+
# @type CmdId: String
|
3104
|
+
# @param Alias: 待修改的脚本名称
|
3105
|
+
# @type Alias: String
|
3106
|
+
# @param OsType: 脚本适用的操作系统类型
|
3107
|
+
# @type OsType: String
|
3108
|
+
# @param Content: 待修改的脚本内容,必须经过base64编码
|
3109
|
+
# @type Content: String
|
3110
|
+
|
3111
|
+
attr_accessor :CmdId, :Alias, :OsType, :Content
|
3112
|
+
|
3113
|
+
def initialize(cmdid=nil, _alias=nil, ostype=nil, content=nil)
|
3114
|
+
@CmdId = cmdid
|
3115
|
+
@Alias = _alias
|
3116
|
+
@OsType = ostype
|
3117
|
+
@Content = content
|
3118
|
+
end
|
3119
|
+
|
3120
|
+
def deserialize(params)
|
3121
|
+
@CmdId = params['CmdId']
|
3122
|
+
@Alias = params['Alias']
|
3123
|
+
@OsType = params['OsType']
|
3124
|
+
@Content = params['Content']
|
3125
|
+
end
|
3126
|
+
end
|
3127
|
+
|
3128
|
+
# ModifyUserCmd返回参数结构体
|
3129
|
+
class ModifyUserCmdResponse < TencentCloud::Common::AbstractModel
|
3130
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3131
|
+
# @type RequestId: String
|
3132
|
+
|
3133
|
+
attr_accessor :RequestId
|
3134
|
+
|
3135
|
+
def initialize(requestid=nil)
|
3136
|
+
@RequestId = requestid
|
3137
|
+
end
|
3138
|
+
|
3139
|
+
def deserialize(params)
|
3140
|
+
@RequestId = params['RequestId']
|
3141
|
+
end
|
3142
|
+
end
|
3143
|
+
|
3144
|
+
# OfflineDevices请求参数结构体
|
3145
|
+
class OfflineDevicesRequest < TencentCloud::Common::AbstractModel
|
3146
|
+
# @param InstanceIds: 需要退还的物理机ID列表
|
3147
|
+
# @type InstanceIds: Array
|
3148
|
+
|
3149
|
+
attr_accessor :InstanceIds
|
3150
|
+
|
3151
|
+
def initialize(instanceids=nil)
|
3152
|
+
@InstanceIds = instanceids
|
3153
|
+
end
|
3154
|
+
|
3155
|
+
def deserialize(params)
|
3156
|
+
@InstanceIds = params['InstanceIds']
|
3157
|
+
end
|
3158
|
+
end
|
3159
|
+
|
3160
|
+
# OfflineDevices返回参数结构体
|
3161
|
+
class OfflineDevicesResponse < TencentCloud::Common::AbstractModel
|
3162
|
+
# @param TaskId: 黑石异步任务ID
|
3163
|
+
# @type TaskId: Integer
|
3164
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3165
|
+
# @type RequestId: String
|
3166
|
+
|
3167
|
+
attr_accessor :TaskId, :RequestId
|
3168
|
+
|
3169
|
+
def initialize(taskid=nil, requestid=nil)
|
3170
|
+
@TaskId = taskid
|
3171
|
+
@RequestId = requestid
|
3172
|
+
end
|
3173
|
+
|
3174
|
+
def deserialize(params)
|
3175
|
+
@TaskId = params['TaskId']
|
3176
|
+
@RequestId = params['RequestId']
|
3177
|
+
end
|
3178
|
+
end
|
3179
|
+
|
3180
|
+
# 操作系统类型
|
3181
|
+
class OsInfo < TencentCloud::Common::AbstractModel
|
3182
|
+
# @param OsTypeId: 操作系统ID
|
3183
|
+
# @type OsTypeId: Integer
|
3184
|
+
# @param OsName: 操作系统名称
|
3185
|
+
# @type OsName: String
|
3186
|
+
# @param OsDescription: 操作系统名称描述
|
3187
|
+
# @type OsDescription: String
|
3188
|
+
# @param OsEnglishDescription: 操作系统英文名称
|
3189
|
+
# @type OsEnglishDescription: String
|
3190
|
+
# @param OsClass: 操作系统的分类,如CentOs Debian
|
3191
|
+
# @type OsClass: String
|
3192
|
+
# @param ImageTag: 标识镜像分类。public:公共镜像; private: 专属镜像
|
3193
|
+
# @type ImageTag: String
|
3194
|
+
# @param MaxPartitionSize: 操作系统,ext4文件下所支持的最大的磁盘大小。单位为T
|
3195
|
+
# @type MaxPartitionSize: Integer
|
3196
|
+
# @param OsMinorVersion: 黑石版本号
|
3197
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3198
|
+
# @type OsMinorVersion: String
|
3199
|
+
# @param OsMinorClass: 黑石版本
|
3200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3201
|
+
# @type OsMinorClass: String
|
3202
|
+
|
3203
|
+
attr_accessor :OsTypeId, :OsName, :OsDescription, :OsEnglishDescription, :OsClass, :ImageTag, :MaxPartitionSize, :OsMinorVersion, :OsMinorClass
|
3204
|
+
|
3205
|
+
def initialize(ostypeid=nil, osname=nil, osdescription=nil, osenglishdescription=nil, osclass=nil, imagetag=nil, maxpartitionsize=nil, osminorversion=nil, osminorclass=nil)
|
3206
|
+
@OsTypeId = ostypeid
|
3207
|
+
@OsName = osname
|
3208
|
+
@OsDescription = osdescription
|
3209
|
+
@OsEnglishDescription = osenglishdescription
|
3210
|
+
@OsClass = osclass
|
3211
|
+
@ImageTag = imagetag
|
3212
|
+
@MaxPartitionSize = maxpartitionsize
|
3213
|
+
@OsMinorVersion = osminorversion
|
3214
|
+
@OsMinorClass = osminorclass
|
3215
|
+
end
|
3216
|
+
|
3217
|
+
def deserialize(params)
|
3218
|
+
@OsTypeId = params['OsTypeId']
|
3219
|
+
@OsName = params['OsName']
|
3220
|
+
@OsDescription = params['OsDescription']
|
3221
|
+
@OsEnglishDescription = params['OsEnglishDescription']
|
3222
|
+
@OsClass = params['OsClass']
|
3223
|
+
@ImageTag = params['ImageTag']
|
3224
|
+
@MaxPartitionSize = params['MaxPartitionSize']
|
3225
|
+
@OsMinorVersion = params['OsMinorVersion']
|
3226
|
+
@OsMinorClass = params['OsMinorClass']
|
3227
|
+
end
|
3228
|
+
end
|
3229
|
+
|
3230
|
+
# 描述设备分区信息
|
3231
|
+
class PartitionInfo < TencentCloud::Common::AbstractModel
|
3232
|
+
# @param Name: 分区名称
|
3233
|
+
# @type Name: String
|
3234
|
+
# @param Size: 分区大小
|
3235
|
+
# @type Size: Integer
|
3236
|
+
|
3237
|
+
attr_accessor :Name, :Size
|
3238
|
+
|
3239
|
+
def initialize(name=nil, size=nil)
|
3240
|
+
@Name = name
|
3241
|
+
@Size = size
|
3242
|
+
end
|
3243
|
+
|
3244
|
+
def deserialize(params)
|
3245
|
+
@Name = params['Name']
|
3246
|
+
@Size = params['Size']
|
3247
|
+
end
|
3248
|
+
end
|
3249
|
+
|
3250
|
+
# 一条预授权规则
|
3251
|
+
class PsaRegulation < TencentCloud::Common::AbstractModel
|
3252
|
+
# @param PsaId: 规则ID
|
3253
|
+
# @type PsaId: String
|
3254
|
+
# @param PsaName: 规则别名
|
3255
|
+
# @type PsaName: String
|
3256
|
+
# @param TagCount: 关联标签数量
|
3257
|
+
# @type TagCount: Integer
|
3258
|
+
# @param InstanceCount: 关联实例数量
|
3259
|
+
# @type InstanceCount: Integer
|
3260
|
+
# @param RepairCount: 故障实例数量
|
3261
|
+
# @type RepairCount: Integer
|
3262
|
+
# @param RepairLimit: 故障实例上限
|
3263
|
+
# @type RepairLimit: Integer
|
3264
|
+
# @param CreateTime: 创建时间
|
3265
|
+
# @type CreateTime: String
|
3266
|
+
# @param PsaDescription: 规则备注
|
3267
|
+
# @type PsaDescription: String
|
3268
|
+
# @param Tags: 关联标签
|
3269
|
+
# @type Tags: Array
|
3270
|
+
# @param TaskTypeIds: 关联故障类型id
|
3271
|
+
# @type TaskTypeIds: Array
|
3272
|
+
|
3273
|
+
attr_accessor :PsaId, :PsaName, :TagCount, :InstanceCount, :RepairCount, :RepairLimit, :CreateTime, :PsaDescription, :Tags, :TaskTypeIds
|
3274
|
+
|
3275
|
+
def initialize(psaid=nil, psaname=nil, tagcount=nil, instancecount=nil, repaircount=nil, repairlimit=nil, createtime=nil, psadescription=nil, tags=nil, tasktypeids=nil)
|
3276
|
+
@PsaId = psaid
|
3277
|
+
@PsaName = psaname
|
3278
|
+
@TagCount = tagcount
|
3279
|
+
@InstanceCount = instancecount
|
3280
|
+
@RepairCount = repaircount
|
3281
|
+
@RepairLimit = repairlimit
|
3282
|
+
@CreateTime = createtime
|
3283
|
+
@PsaDescription = psadescription
|
3284
|
+
@Tags = tags
|
3285
|
+
@TaskTypeIds = tasktypeids
|
3286
|
+
end
|
3287
|
+
|
3288
|
+
def deserialize(params)
|
3289
|
+
@PsaId = params['PsaId']
|
3290
|
+
@PsaName = params['PsaName']
|
3291
|
+
@TagCount = params['TagCount']
|
3292
|
+
@InstanceCount = params['InstanceCount']
|
3293
|
+
@RepairCount = params['RepairCount']
|
3294
|
+
@RepairLimit = params['RepairLimit']
|
3295
|
+
@CreateTime = params['CreateTime']
|
3296
|
+
@PsaDescription = params['PsaDescription']
|
3297
|
+
unless params['Tags'].nil?
|
3298
|
+
@Tags = []
|
3299
|
+
params['Tags'].each do |i|
|
3300
|
+
tag_tmp = Tag.new
|
3301
|
+
tag_tmp.deserialize(i)
|
3302
|
+
@Tags << tag_tmp
|
3303
|
+
end
|
3304
|
+
end
|
3305
|
+
@TaskTypeIds = params['TaskTypeIds']
|
3306
|
+
end
|
3307
|
+
end
|
3308
|
+
|
3309
|
+
# RebootDevices请求参数结构体
|
3310
|
+
class RebootDevicesRequest < TencentCloud::Common::AbstractModel
|
3311
|
+
# @param InstanceIds: 需要重启的设备ID列表
|
3312
|
+
# @type InstanceIds: Array
|
3313
|
+
|
3314
|
+
attr_accessor :InstanceIds
|
3315
|
+
|
3316
|
+
def initialize(instanceids=nil)
|
3317
|
+
@InstanceIds = instanceids
|
3318
|
+
end
|
3319
|
+
|
3320
|
+
def deserialize(params)
|
3321
|
+
@InstanceIds = params['InstanceIds']
|
3322
|
+
end
|
3323
|
+
end
|
3324
|
+
|
3325
|
+
# RebootDevices返回参数结构体
|
3326
|
+
class RebootDevicesResponse < TencentCloud::Common::AbstractModel
|
3327
|
+
# @param TaskId: 异步任务ID
|
3328
|
+
# @type TaskId: Integer
|
3329
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3330
|
+
# @type RequestId: String
|
3331
|
+
|
3332
|
+
attr_accessor :TaskId, :RequestId
|
3333
|
+
|
3334
|
+
def initialize(taskid=nil, requestid=nil)
|
3335
|
+
@TaskId = taskid
|
3336
|
+
@RequestId = requestid
|
3337
|
+
end
|
3338
|
+
|
3339
|
+
def deserialize(params)
|
3340
|
+
@TaskId = params['TaskId']
|
3341
|
+
@RequestId = params['RequestId']
|
3342
|
+
end
|
3343
|
+
end
|
3344
|
+
|
3345
|
+
# RecoverDevices请求参数结构体
|
3346
|
+
class RecoverDevicesRequest < TencentCloud::Common::AbstractModel
|
3347
|
+
# @param InstanceIds: 需要恢复的物理机ID列表
|
3348
|
+
# @type InstanceIds: Array
|
3349
|
+
|
3350
|
+
attr_accessor :InstanceIds
|
3351
|
+
|
3352
|
+
def initialize(instanceids=nil)
|
3353
|
+
@InstanceIds = instanceids
|
3354
|
+
end
|
3355
|
+
|
3356
|
+
def deserialize(params)
|
3357
|
+
@InstanceIds = params['InstanceIds']
|
3358
|
+
end
|
3359
|
+
end
|
3360
|
+
|
3361
|
+
# RecoverDevices返回参数结构体
|
3362
|
+
class RecoverDevicesResponse < TencentCloud::Common::AbstractModel
|
3363
|
+
# @param TaskId: 黑石异步任务ID
|
3364
|
+
# @type TaskId: Integer
|
3365
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3366
|
+
# @type RequestId: String
|
3367
|
+
|
3368
|
+
attr_accessor :TaskId, :RequestId
|
3369
|
+
|
3370
|
+
def initialize(taskid=nil, requestid=nil)
|
3371
|
+
@TaskId = taskid
|
3372
|
+
@RequestId = requestid
|
3373
|
+
end
|
3374
|
+
|
3375
|
+
def deserialize(params)
|
3376
|
+
@TaskId = params['TaskId']
|
3377
|
+
@RequestId = params['RequestId']
|
3378
|
+
end
|
3379
|
+
end
|
3380
|
+
|
3381
|
+
# 地域信息
|
3382
|
+
class RegionInfo < TencentCloud::Common::AbstractModel
|
3383
|
+
# @param Region: 地域ID
|
3384
|
+
# @type Region: String
|
3385
|
+
# @param RegionId: 地域整型ID
|
3386
|
+
# @type RegionId: Integer
|
3387
|
+
# @param RegionDescription: 地域描述
|
3388
|
+
# @type RegionDescription: String
|
3389
|
+
# @param ZoneInfoSet: 该地域下的可用区信息
|
3390
|
+
# @type ZoneInfoSet: Array
|
3391
|
+
|
3392
|
+
attr_accessor :Region, :RegionId, :RegionDescription, :ZoneInfoSet
|
3393
|
+
|
3394
|
+
def initialize(region=nil, regionid=nil, regiondescription=nil, zoneinfoset=nil)
|
3395
|
+
@Region = region
|
3396
|
+
@RegionId = regionid
|
3397
|
+
@RegionDescription = regiondescription
|
3398
|
+
@ZoneInfoSet = zoneinfoset
|
3399
|
+
end
|
3400
|
+
|
3401
|
+
def deserialize(params)
|
3402
|
+
@Region = params['Region']
|
3403
|
+
@RegionId = params['RegionId']
|
3404
|
+
@RegionDescription = params['RegionDescription']
|
3405
|
+
unless params['ZoneInfoSet'].nil?
|
3406
|
+
@ZoneInfoSet = []
|
3407
|
+
params['ZoneInfoSet'].each do |i|
|
3408
|
+
zoneinfo_tmp = ZoneInfo.new
|
3409
|
+
zoneinfo_tmp.deserialize(i)
|
3410
|
+
@ZoneInfoSet << zoneinfo_tmp
|
3411
|
+
end
|
3412
|
+
end
|
3413
|
+
end
|
3414
|
+
end
|
3415
|
+
|
3416
|
+
# ReloadDeviceOs请求参数结构体
|
3417
|
+
class ReloadDeviceOsRequest < TencentCloud::Common::AbstractModel
|
3418
|
+
# @param InstanceId: 设备的唯一ID
|
3419
|
+
# @type InstanceId: String
|
3420
|
+
# @param Password: 密码。 用户设置的linux root或Windows Administrator密码。密码校验规则: <li> Windows机器密码需12到16位,至少包括三项 `[a-z]`,`[A-Z]`,`[0-9]`和`[()`'`~!@#$%^&*-+=_`|`{}[]:;'<>,.?/]`的特殊符号, 密码不能包含Administrator(不区分大小写); <li> Linux机器密码需8到16位,至少包括两项`[a-z,A-Z]`,`[0-9]`和`[()`'`~!@#$%^&*-+=_`|`{}[]:;'<>,.?/]`的特殊符号
|
3421
|
+
# @type Password: String
|
3422
|
+
# @param OsTypeId: 操作系统类型ID。通过接口[查询操作系统信息(DescribeOsInfo)](https://cloud.tencent.com/document/api/386/32902)获取操作系统信息
|
3423
|
+
# @type OsTypeId: Integer
|
3424
|
+
# @param RaidId: RAID类型ID。通过接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/api/386/32910)获取RAID信息
|
3425
|
+
# @type RaidId: Integer
|
3426
|
+
# @param IsZoning: 是否格式化数据盘。0: 不格式化(默认值);1:格式化
|
3427
|
+
# @type IsZoning: Integer
|
3428
|
+
# @param SysRootSpace: 系统盘根分区大小,默认是10G。系统盘的大小参考接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/api/386/32910)
|
3429
|
+
# @type SysRootSpace: Integer
|
3430
|
+
# @param SysSwaporuefiSpace: 系统盘swap分区或/boot/efi分区的大小。若是uefi启动的机器,分区为/boot/efi ,且此值是默认是2G。普通机器为swap分区,可以不指定此分区。机型是否是uefi启动,参考接口[查询设备型号(DescribeDeviceClass)](https://cloud.tencent.com/document/api/386/32911)
|
3431
|
+
# @type SysSwaporuefiSpace: Integer
|
3432
|
+
# @param SysUsrlocalSpace: /usr/local分区大小
|
3433
|
+
# @type SysUsrlocalSpace: Integer
|
3434
|
+
# @param VpcId: 重装到新的私有网络的ID。如果改变VPC子网,则要求与SubnetId同时传参,否则可不填
|
3435
|
+
# @type VpcId: String
|
3436
|
+
# @param SubnetId: 重装到新的子网的ID。如果改变VPC子网,则要求与VpcId同时传参,否则可不填
|
3437
|
+
# @type SubnetId: String
|
3438
|
+
# @param LanIp: 重装指定IP地址
|
3439
|
+
# @type LanIp: String
|
3440
|
+
# @param HyperThreading: 指定是否开启超线程。 0:关闭超线程;1:开启超线程(默认值)
|
3441
|
+
# @type HyperThreading: Integer
|
3442
|
+
# @param ImageId: 自定义镜像ID。传此字段则用自定义镜像重装
|
3443
|
+
# @type ImageId: String
|
3444
|
+
# @param FileSystem: 指定数据盘的文件系统格式,当前支持 EXT4和XFS选项, 默认为EXT4。 参数适用于数据盘和Linux, 且在IsZoning为1时生效
|
3445
|
+
# @type FileSystem: String
|
3446
|
+
# @param NeedSecurityAgent: 是否安装安全Agent,取值:1(安装) 0(不安装),默认取值0
|
3447
|
+
# @type NeedSecurityAgent: Integer
|
3448
|
+
# @param NeedMonitorAgent: 是否安装监控Agent,取值:1(安装) 0(不安装),默认取值0
|
3449
|
+
# @type NeedMonitorAgent: Integer
|
3450
|
+
# @param NeedEMRAgent: 是否安装EMR Agent,取值:1(安装) 0(不安装),默认取值0
|
3451
|
+
# @type NeedEMRAgent: Integer
|
3452
|
+
# @param NeedEMRSoftware: 是否安装EMR软件包,取值:1(安装) 0(不安装),默认取值0
|
3453
|
+
# @type NeedEMRSoftware: Integer
|
3454
|
+
# @param ReserveSgConfig: 是否保留安全组配置,取值:1(保留) 0(不保留),默认取值0
|
3455
|
+
# @type ReserveSgConfig: Integer
|
3456
|
+
# @param SysDataSpace: /data分区大小,可不填。除root、swap、usr/local的剩余空间会自动分配到data分区
|
3457
|
+
# @type SysDataSpace: Integer
|
3458
|
+
|
3459
|
+
attr_accessor :InstanceId, :Password, :OsTypeId, :RaidId, :IsZoning, :SysRootSpace, :SysSwaporuefiSpace, :SysUsrlocalSpace, :VpcId, :SubnetId, :LanIp, :HyperThreading, :ImageId, :FileSystem, :NeedSecurityAgent, :NeedMonitorAgent, :NeedEMRAgent, :NeedEMRSoftware, :ReserveSgConfig, :SysDataSpace
|
3460
|
+
|
3461
|
+
def initialize(instanceid=nil, password=nil, ostypeid=nil, raidid=nil, iszoning=nil, sysrootspace=nil, sysswaporuefispace=nil, sysusrlocalspace=nil, vpcid=nil, subnetid=nil, lanip=nil, hyperthreading=nil, imageid=nil, filesystem=nil, needsecurityagent=nil, needmonitoragent=nil, needemragent=nil, needemrsoftware=nil, reservesgconfig=nil, sysdataspace=nil)
|
3462
|
+
@InstanceId = instanceid
|
3463
|
+
@Password = password
|
3464
|
+
@OsTypeId = ostypeid
|
3465
|
+
@RaidId = raidid
|
3466
|
+
@IsZoning = iszoning
|
3467
|
+
@SysRootSpace = sysrootspace
|
3468
|
+
@SysSwaporuefiSpace = sysswaporuefispace
|
3469
|
+
@SysUsrlocalSpace = sysusrlocalspace
|
3470
|
+
@VpcId = vpcid
|
3471
|
+
@SubnetId = subnetid
|
3472
|
+
@LanIp = lanip
|
3473
|
+
@HyperThreading = hyperthreading
|
3474
|
+
@ImageId = imageid
|
3475
|
+
@FileSystem = filesystem
|
3476
|
+
@NeedSecurityAgent = needsecurityagent
|
3477
|
+
@NeedMonitorAgent = needmonitoragent
|
3478
|
+
@NeedEMRAgent = needemragent
|
3479
|
+
@NeedEMRSoftware = needemrsoftware
|
3480
|
+
@ReserveSgConfig = reservesgconfig
|
3481
|
+
@SysDataSpace = sysdataspace
|
3482
|
+
end
|
3483
|
+
|
3484
|
+
def deserialize(params)
|
3485
|
+
@InstanceId = params['InstanceId']
|
3486
|
+
@Password = params['Password']
|
3487
|
+
@OsTypeId = params['OsTypeId']
|
3488
|
+
@RaidId = params['RaidId']
|
3489
|
+
@IsZoning = params['IsZoning']
|
3490
|
+
@SysRootSpace = params['SysRootSpace']
|
3491
|
+
@SysSwaporuefiSpace = params['SysSwaporuefiSpace']
|
3492
|
+
@SysUsrlocalSpace = params['SysUsrlocalSpace']
|
3493
|
+
@VpcId = params['VpcId']
|
3494
|
+
@SubnetId = params['SubnetId']
|
3495
|
+
@LanIp = params['LanIp']
|
3496
|
+
@HyperThreading = params['HyperThreading']
|
3497
|
+
@ImageId = params['ImageId']
|
3498
|
+
@FileSystem = params['FileSystem']
|
3499
|
+
@NeedSecurityAgent = params['NeedSecurityAgent']
|
3500
|
+
@NeedMonitorAgent = params['NeedMonitorAgent']
|
3501
|
+
@NeedEMRAgent = params['NeedEMRAgent']
|
3502
|
+
@NeedEMRSoftware = params['NeedEMRSoftware']
|
3503
|
+
@ReserveSgConfig = params['ReserveSgConfig']
|
3504
|
+
@SysDataSpace = params['SysDataSpace']
|
3505
|
+
end
|
3506
|
+
end
|
3507
|
+
|
3508
|
+
# ReloadDeviceOs返回参数结构体
|
3509
|
+
class ReloadDeviceOsResponse < TencentCloud::Common::AbstractModel
|
3510
|
+
# @param TaskId: 黑石异步任务ID
|
3511
|
+
# @type TaskId: Integer
|
3512
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3513
|
+
# @type RequestId: String
|
3514
|
+
|
3515
|
+
attr_accessor :TaskId, :RequestId
|
3516
|
+
|
3517
|
+
def initialize(taskid=nil, requestid=nil)
|
3518
|
+
@TaskId = taskid
|
3519
|
+
@RequestId = requestid
|
3520
|
+
end
|
3521
|
+
|
3522
|
+
def deserialize(params)
|
3523
|
+
@TaskId = params['TaskId']
|
3524
|
+
@RequestId = params['RequestId']
|
3525
|
+
end
|
3526
|
+
end
|
3527
|
+
|
3528
|
+
# RepairTaskControl请求参数结构体
|
3529
|
+
class RepairTaskControlRequest < TencentCloud::Common::AbstractModel
|
3530
|
+
# @param TaskId: 维修任务ID
|
3531
|
+
# @type TaskId: String
|
3532
|
+
# @param Operate: 操作
|
3533
|
+
# @type Operate: String
|
3534
|
+
# @param OperateRemark: 需要重新维修操作的备注信息,可提供返场维修原因,以便驻场快速针对问题定位解决。
|
3535
|
+
# @type OperateRemark: String
|
3536
|
+
|
3537
|
+
attr_accessor :TaskId, :Operate, :OperateRemark
|
3538
|
+
|
3539
|
+
def initialize(taskid=nil, operate=nil, operateremark=nil)
|
3540
|
+
@TaskId = taskid
|
3541
|
+
@Operate = operate
|
3542
|
+
@OperateRemark = operateremark
|
3543
|
+
end
|
3544
|
+
|
3545
|
+
def deserialize(params)
|
3546
|
+
@TaskId = params['TaskId']
|
3547
|
+
@Operate = params['Operate']
|
3548
|
+
@OperateRemark = params['OperateRemark']
|
3549
|
+
end
|
3550
|
+
end
|
3551
|
+
|
3552
|
+
# RepairTaskControl返回参数结构体
|
3553
|
+
class RepairTaskControlResponse < TencentCloud::Common::AbstractModel
|
3554
|
+
# @param TaskId: 出参TaskId是黑石异步任务ID,不同于入参TaskId字段。
|
3555
|
+
# 此字段可作为DescriptionOperationResult查询异步任务状态接口的入参,查询异步任务执行结果。
|
3556
|
+
# @type TaskId: Integer
|
3557
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3558
|
+
# @type RequestId: String
|
3559
|
+
|
3560
|
+
attr_accessor :TaskId, :RequestId
|
3561
|
+
|
3562
|
+
def initialize(taskid=nil, requestid=nil)
|
3563
|
+
@TaskId = taskid
|
3564
|
+
@RequestId = requestid
|
3565
|
+
end
|
3566
|
+
|
3567
|
+
def deserialize(params)
|
3568
|
+
@TaskId = params['TaskId']
|
3569
|
+
@RequestId = params['RequestId']
|
3570
|
+
end
|
3571
|
+
end
|
3572
|
+
|
3573
|
+
# ResetDevicePassword请求参数结构体
|
3574
|
+
class ResetDevicePasswordRequest < TencentCloud::Common::AbstractModel
|
3575
|
+
# @param InstanceIds: 需要重置密码的服务器ID列表
|
3576
|
+
# @type InstanceIds: Array
|
3577
|
+
# @param Password: 新密码
|
3578
|
+
# @type Password: String
|
3579
|
+
|
3580
|
+
attr_accessor :InstanceIds, :Password
|
3581
|
+
|
3582
|
+
def initialize(instanceids=nil, password=nil)
|
3583
|
+
@InstanceIds = instanceids
|
3584
|
+
@Password = password
|
3585
|
+
end
|
3586
|
+
|
3587
|
+
def deserialize(params)
|
3588
|
+
@InstanceIds = params['InstanceIds']
|
3589
|
+
@Password = params['Password']
|
3590
|
+
end
|
3591
|
+
end
|
3592
|
+
|
3593
|
+
# ResetDevicePassword返回参数结构体
|
3594
|
+
class ResetDevicePasswordResponse < TencentCloud::Common::AbstractModel
|
3595
|
+
# @param TaskId: 黑石异步任务ID
|
3596
|
+
# @type TaskId: Integer
|
3597
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3598
|
+
# @type RequestId: String
|
3599
|
+
|
3600
|
+
attr_accessor :TaskId, :RequestId
|
3601
|
+
|
3602
|
+
def initialize(taskid=nil, requestid=nil)
|
3603
|
+
@TaskId = taskid
|
3604
|
+
@RequestId = requestid
|
3605
|
+
end
|
3606
|
+
|
3607
|
+
def deserialize(params)
|
3608
|
+
@TaskId = params['TaskId']
|
3609
|
+
@RequestId = params['RequestId']
|
3610
|
+
end
|
3611
|
+
end
|
3612
|
+
|
3613
|
+
# ReturnDevices请求参数结构体
|
3614
|
+
class ReturnDevicesRequest < TencentCloud::Common::AbstractModel
|
3615
|
+
# @param InstanceIds: 需要退还的物理机ID列表
|
3616
|
+
# @type InstanceIds: Array
|
3617
|
+
|
3618
|
+
attr_accessor :InstanceIds
|
3619
|
+
|
3620
|
+
def initialize(instanceids=nil)
|
3621
|
+
@InstanceIds = instanceids
|
3622
|
+
end
|
3623
|
+
|
3624
|
+
def deserialize(params)
|
3625
|
+
@InstanceIds = params['InstanceIds']
|
3626
|
+
end
|
3627
|
+
end
|
3628
|
+
|
3629
|
+
# ReturnDevices返回参数结构体
|
3630
|
+
class ReturnDevicesResponse < TencentCloud::Common::AbstractModel
|
3631
|
+
# @param TaskId: 黑石异步任务ID
|
3632
|
+
# @type TaskId: Integer
|
3633
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3634
|
+
# @type RequestId: String
|
3635
|
+
|
3636
|
+
attr_accessor :TaskId, :RequestId
|
3637
|
+
|
3638
|
+
def initialize(taskid=nil, requestid=nil)
|
3639
|
+
@TaskId = taskid
|
3640
|
+
@RequestId = requestid
|
3641
|
+
end
|
3642
|
+
|
3643
|
+
def deserialize(params)
|
3644
|
+
@TaskId = params['TaskId']
|
3645
|
+
@RequestId = params['RequestId']
|
3646
|
+
end
|
3647
|
+
end
|
3648
|
+
|
3649
|
+
# RunUserCmd请求参数结构体
|
3650
|
+
class RunUserCmdRequest < TencentCloud::Common::AbstractModel
|
3651
|
+
# @param CmdId: 自定义脚本ID
|
3652
|
+
# @type CmdId: String
|
3653
|
+
# @param UserName: 执行脚本机器的用户名
|
3654
|
+
# @type UserName: String
|
3655
|
+
# @param Password: 执行脚本机器的用户名的密码
|
3656
|
+
# @type Password: String
|
3657
|
+
# @param InstanceIds: 执行脚本的服务器实例
|
3658
|
+
# @type InstanceIds: Array
|
3659
|
+
# @param CmdParam: 执行脚本的参数,必须经过base64编码
|
3660
|
+
# @type CmdParam: String
|
3661
|
+
|
3662
|
+
attr_accessor :CmdId, :UserName, :Password, :InstanceIds, :CmdParam
|
3663
|
+
|
3664
|
+
def initialize(cmdid=nil, username=nil, password=nil, instanceids=nil, cmdparam=nil)
|
3665
|
+
@CmdId = cmdid
|
3666
|
+
@UserName = username
|
3667
|
+
@Password = password
|
3668
|
+
@InstanceIds = instanceids
|
3669
|
+
@CmdParam = cmdparam
|
3670
|
+
end
|
3671
|
+
|
3672
|
+
def deserialize(params)
|
3673
|
+
@CmdId = params['CmdId']
|
3674
|
+
@UserName = params['UserName']
|
3675
|
+
@Password = params['Password']
|
3676
|
+
@InstanceIds = params['InstanceIds']
|
3677
|
+
@CmdParam = params['CmdParam']
|
3678
|
+
end
|
3679
|
+
end
|
3680
|
+
|
3681
|
+
# RunUserCmd返回参数结构体
|
3682
|
+
class RunUserCmdResponse < TencentCloud::Common::AbstractModel
|
3683
|
+
# @param SuccessTaskInfoSet: 运行成功的任务信息列表
|
3684
|
+
# @type SuccessTaskInfoSet: Array
|
3685
|
+
# @param FailedTaskInfoSet: 运行失败的任务信息列表
|
3686
|
+
# @type FailedTaskInfoSet: Array
|
3687
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3688
|
+
# @type RequestId: String
|
3689
|
+
|
3690
|
+
attr_accessor :SuccessTaskInfoSet, :FailedTaskInfoSet, :RequestId
|
3691
|
+
|
3692
|
+
def initialize(successtaskinfoset=nil, failedtaskinfoset=nil, requestid=nil)
|
3693
|
+
@SuccessTaskInfoSet = successtaskinfoset
|
3694
|
+
@FailedTaskInfoSet = failedtaskinfoset
|
3695
|
+
@RequestId = requestid
|
3696
|
+
end
|
3697
|
+
|
3698
|
+
def deserialize(params)
|
3699
|
+
unless params['SuccessTaskInfoSet'].nil?
|
3700
|
+
@SuccessTaskInfoSet = []
|
3701
|
+
params['SuccessTaskInfoSet'].each do |i|
|
3702
|
+
successtaskinfo_tmp = SuccessTaskInfo.new
|
3703
|
+
successtaskinfo_tmp.deserialize(i)
|
3704
|
+
@SuccessTaskInfoSet << successtaskinfo_tmp
|
3705
|
+
end
|
3706
|
+
end
|
3707
|
+
unless params['FailedTaskInfoSet'].nil?
|
3708
|
+
@FailedTaskInfoSet = []
|
3709
|
+
params['FailedTaskInfoSet'].each do |i|
|
3710
|
+
failedtaskinfo_tmp = FailedTaskInfo.new
|
3711
|
+
failedtaskinfo_tmp.deserialize(i)
|
3712
|
+
@FailedTaskInfoSet << failedtaskinfo_tmp
|
3713
|
+
end
|
3714
|
+
end
|
3715
|
+
@RequestId = params['RequestId']
|
3716
|
+
end
|
3717
|
+
end
|
3718
|
+
|
3719
|
+
# SetOutBandVpnAuthPassword请求参数结构体
|
3720
|
+
class SetOutBandVpnAuthPasswordRequest < TencentCloud::Common::AbstractModel
|
3721
|
+
# @param Password: 设置的Vpn认证密码
|
3722
|
+
# @type Password: String
|
3723
|
+
# @param Operate: 操作字段,取值为:Create(创建)或Update(修改)
|
3724
|
+
# @type Operate: String
|
3725
|
+
|
3726
|
+
attr_accessor :Password, :Operate
|
3727
|
+
|
3728
|
+
def initialize(password=nil, operate=nil)
|
3729
|
+
@Password = password
|
3730
|
+
@Operate = operate
|
3731
|
+
end
|
3732
|
+
|
3733
|
+
def deserialize(params)
|
3734
|
+
@Password = params['Password']
|
3735
|
+
@Operate = params['Operate']
|
3736
|
+
end
|
3737
|
+
end
|
3738
|
+
|
3739
|
+
# SetOutBandVpnAuthPassword返回参数结构体
|
3740
|
+
class SetOutBandVpnAuthPasswordResponse < TencentCloud::Common::AbstractModel
|
3741
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3742
|
+
# @type RequestId: String
|
3743
|
+
|
3744
|
+
attr_accessor :RequestId
|
3745
|
+
|
3746
|
+
def initialize(requestid=nil)
|
3747
|
+
@RequestId = requestid
|
3748
|
+
end
|
3749
|
+
|
3750
|
+
def deserialize(params)
|
3751
|
+
@RequestId = params['RequestId']
|
3752
|
+
end
|
3753
|
+
end
|
3754
|
+
|
3755
|
+
# ShutdownDevices请求参数结构体
|
3756
|
+
class ShutdownDevicesRequest < TencentCloud::Common::AbstractModel
|
3757
|
+
# @param InstanceIds: 需要关闭的设备ID列表
|
3758
|
+
# @type InstanceIds: Array
|
3759
|
+
|
3760
|
+
attr_accessor :InstanceIds
|
3761
|
+
|
3762
|
+
def initialize(instanceids=nil)
|
3763
|
+
@InstanceIds = instanceids
|
3764
|
+
end
|
3765
|
+
|
3766
|
+
def deserialize(params)
|
3767
|
+
@InstanceIds = params['InstanceIds']
|
3768
|
+
end
|
3769
|
+
end
|
3770
|
+
|
3771
|
+
# ShutdownDevices返回参数结构体
|
3772
|
+
class ShutdownDevicesResponse < TencentCloud::Common::AbstractModel
|
3773
|
+
# @param TaskId: 异步任务ID
|
3774
|
+
# @type TaskId: Integer
|
3775
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3776
|
+
# @type RequestId: String
|
3777
|
+
|
3778
|
+
attr_accessor :TaskId, :RequestId
|
3779
|
+
|
3780
|
+
def initialize(taskid=nil, requestid=nil)
|
3781
|
+
@TaskId = taskid
|
3782
|
+
@RequestId = requestid
|
3783
|
+
end
|
3784
|
+
|
3785
|
+
def deserialize(params)
|
3786
|
+
@TaskId = params['TaskId']
|
3787
|
+
@RequestId = params['RequestId']
|
3788
|
+
end
|
3789
|
+
end
|
3790
|
+
|
3791
|
+
# StartDevices请求参数结构体
|
3792
|
+
class StartDevicesRequest < TencentCloud::Common::AbstractModel
|
3793
|
+
# @param InstanceIds: 需要开机的设备ID列表
|
3794
|
+
# @type InstanceIds: Array
|
3795
|
+
|
3796
|
+
attr_accessor :InstanceIds
|
3797
|
+
|
3798
|
+
def initialize(instanceids=nil)
|
3799
|
+
@InstanceIds = instanceids
|
3800
|
+
end
|
3801
|
+
|
3802
|
+
def deserialize(params)
|
3803
|
+
@InstanceIds = params['InstanceIds']
|
3804
|
+
end
|
3805
|
+
end
|
3806
|
+
|
3807
|
+
# StartDevices返回参数结构体
|
3808
|
+
class StartDevicesResponse < TencentCloud::Common::AbstractModel
|
3809
|
+
# @param TaskId: 异步任务ID
|
3810
|
+
# @type TaskId: Integer
|
3811
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3812
|
+
# @type RequestId: String
|
3813
|
+
|
3814
|
+
attr_accessor :TaskId, :RequestId
|
3815
|
+
|
3816
|
+
def initialize(taskid=nil, requestid=nil)
|
3817
|
+
@TaskId = taskid
|
3818
|
+
@RequestId = requestid
|
3819
|
+
end
|
3820
|
+
|
3821
|
+
def deserialize(params)
|
3822
|
+
@TaskId = params['TaskId']
|
3823
|
+
@RequestId = params['RequestId']
|
3824
|
+
end
|
3825
|
+
end
|
3826
|
+
|
3827
|
+
# 各实例对应的异步任务执行结果
|
3828
|
+
class SubtaskStatus < TencentCloud::Common::AbstractModel
|
3829
|
+
# @param InstanceId: 实例ID
|
3830
|
+
# @type InstanceId: String
|
3831
|
+
# @param TaskStatus: 实例ID对应任务的状态,取值如下:<br>
|
3832
|
+
# 1:成功<br>
|
3833
|
+
# 2:失败<br>
|
3834
|
+
# 3:部分成功,部分失败<br>
|
3835
|
+
# 4:未完成<br>
|
3836
|
+
# 5:部分成功,部分未完成<br>
|
3837
|
+
# 6:部分未完成,部分失败<br>
|
3838
|
+
# 7:部分未完成,部分失败,部分成功
|
3839
|
+
# @type TaskStatus: Integer
|
3840
|
+
|
3841
|
+
attr_accessor :InstanceId, :TaskStatus
|
3842
|
+
|
3843
|
+
def initialize(instanceid=nil, taskstatus=nil)
|
3844
|
+
@InstanceId = instanceid
|
3845
|
+
@TaskStatus = taskstatus
|
3846
|
+
end
|
3847
|
+
|
3848
|
+
def deserialize(params)
|
3849
|
+
@InstanceId = params['InstanceId']
|
3850
|
+
@TaskStatus = params['TaskStatus']
|
3851
|
+
end
|
3852
|
+
end
|
3853
|
+
|
3854
|
+
# 成功运行的自定义脚本信息
|
3855
|
+
class SuccessTaskInfo < TencentCloud::Common::AbstractModel
|
3856
|
+
# @param InstanceId: 运行脚本的设备ID
|
3857
|
+
# @type InstanceId: String
|
3858
|
+
# @param TaskId: 黑石异步任务ID
|
3859
|
+
# @type TaskId: Integer
|
3860
|
+
# @param CmdTaskId: 黑石自定义脚本运行任务ID
|
3861
|
+
# @type CmdTaskId: String
|
3862
|
+
|
3863
|
+
attr_accessor :InstanceId, :TaskId, :CmdTaskId
|
3864
|
+
|
3865
|
+
def initialize(instanceid=nil, taskid=nil, cmdtaskid=nil)
|
3866
|
+
@InstanceId = instanceid
|
3867
|
+
@TaskId = taskid
|
3868
|
+
@CmdTaskId = cmdtaskid
|
3869
|
+
end
|
3870
|
+
|
3871
|
+
def deserialize(params)
|
3872
|
+
@InstanceId = params['InstanceId']
|
3873
|
+
@TaskId = params['TaskId']
|
3874
|
+
@CmdTaskId = params['CmdTaskId']
|
3875
|
+
end
|
3876
|
+
end
|
3877
|
+
|
3878
|
+
# 标签键与值
|
3879
|
+
class Tag < TencentCloud::Common::AbstractModel
|
3880
|
+
# @param TagKey: 标签键
|
3881
|
+
# @type TagKey: String
|
3882
|
+
# @param TagValues: 标签键对应的值
|
3883
|
+
# @type TagValues: Array
|
3884
|
+
|
3885
|
+
attr_accessor :TagKey, :TagValues
|
3886
|
+
|
3887
|
+
def initialize(tagkey=nil, tagvalues=nil)
|
3888
|
+
@TagKey = tagkey
|
3889
|
+
@TagValues = tagvalues
|
3890
|
+
end
|
3891
|
+
|
3892
|
+
def deserialize(params)
|
3893
|
+
@TagKey = params['TagKey']
|
3894
|
+
@TagValues = params['TagValues']
|
3895
|
+
end
|
3896
|
+
end
|
3897
|
+
|
3898
|
+
# 维护平台维修任务信息
|
3899
|
+
class TaskInfo < TencentCloud::Common::AbstractModel
|
3900
|
+
# @param TaskId: 任务id
|
3901
|
+
# @type TaskId: String
|
3902
|
+
# @param InstanceId: 主机id
|
3903
|
+
# @type InstanceId: String
|
3904
|
+
# @param Alias: 主机别名
|
3905
|
+
# @type Alias: String
|
3906
|
+
# @param TaskTypeId: 故障类型id
|
3907
|
+
# @type TaskTypeId: Integer
|
3908
|
+
# @param TaskStatus: 任务状态id
|
3909
|
+
# @type TaskStatus: Integer
|
3910
|
+
# @param CreateTime: 创建时间
|
3911
|
+
# @type CreateTime: String
|
3912
|
+
# @param AuthTime: 授权时间
|
3913
|
+
# @type AuthTime: String
|
3914
|
+
# @param EndTime: 结束时间
|
3915
|
+
# @type EndTime: String
|
3916
|
+
# @param TaskDetail: 任务详情
|
3917
|
+
# @type TaskDetail: String
|
3918
|
+
# @param DeviceStatus: 设备状态
|
3919
|
+
# @type DeviceStatus: Integer
|
3920
|
+
# @param OperateStatus: 设备操作状态
|
3921
|
+
# @type OperateStatus: Integer
|
3922
|
+
# @param Zone: 可用区
|
3923
|
+
# @type Zone: String
|
3924
|
+
# @param Region: 地域
|
3925
|
+
# @type Region: String
|
3926
|
+
# @param VpcId: 所属网络
|
3927
|
+
# @type VpcId: String
|
3928
|
+
# @param SubnetId: 所在子网
|
3929
|
+
# @type SubnetId: String
|
3930
|
+
# @param SubnetName: 子网名
|
3931
|
+
# @type SubnetName: String
|
3932
|
+
# @param VpcName: VPC名
|
3933
|
+
# @type VpcName: String
|
3934
|
+
# @param VpcCidrBlock: VpcCidrBlock
|
3935
|
+
# @type VpcCidrBlock: String
|
3936
|
+
# @param SubnetCidrBlock: SubnetCidrBlock
|
3937
|
+
# @type SubnetCidrBlock: String
|
3938
|
+
# @param WanIp: 公网ip
|
3939
|
+
# @type WanIp: String
|
3940
|
+
# @param LanIp: 内网IP
|
3941
|
+
# @type LanIp: String
|
3942
|
+
# @param MgtIp: 管理IP
|
3943
|
+
# @type MgtIp: String
|
3944
|
+
# @param TaskTypeName: 故障类中文名
|
3945
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3946
|
+
# @type TaskTypeName: String
|
3947
|
+
# @param TaskSubType: 故障类型,取值:unconfirmed (不明确故障);redundancy (有冗余故障);nonredundancy (无冗余故障)
|
3948
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3949
|
+
# @type TaskSubType: String
|
3950
|
+
|
3951
|
+
attr_accessor :TaskId, :InstanceId, :Alias, :TaskTypeId, :TaskStatus, :CreateTime, :AuthTime, :EndTime, :TaskDetail, :DeviceStatus, :OperateStatus, :Zone, :Region, :VpcId, :SubnetId, :SubnetName, :VpcName, :VpcCidrBlock, :SubnetCidrBlock, :WanIp, :LanIp, :MgtIp, :TaskTypeName, :TaskSubType
|
3952
|
+
|
3953
|
+
def initialize(taskid=nil, instanceid=nil, _alias=nil, tasktypeid=nil, taskstatus=nil, createtime=nil, authtime=nil, endtime=nil, taskdetail=nil, devicestatus=nil, operatestatus=nil, zone=nil, region=nil, vpcid=nil, subnetid=nil, subnetname=nil, vpcname=nil, vpccidrblock=nil, subnetcidrblock=nil, wanip=nil, lanip=nil, mgtip=nil, tasktypename=nil, tasksubtype=nil)
|
3954
|
+
@TaskId = taskid
|
3955
|
+
@InstanceId = instanceid
|
3956
|
+
@Alias = _alias
|
3957
|
+
@TaskTypeId = tasktypeid
|
3958
|
+
@TaskStatus = taskstatus
|
3959
|
+
@CreateTime = createtime
|
3960
|
+
@AuthTime = authtime
|
3961
|
+
@EndTime = endtime
|
3962
|
+
@TaskDetail = taskdetail
|
3963
|
+
@DeviceStatus = devicestatus
|
3964
|
+
@OperateStatus = operatestatus
|
3965
|
+
@Zone = zone
|
3966
|
+
@Region = region
|
3967
|
+
@VpcId = vpcid
|
3968
|
+
@SubnetId = subnetid
|
3969
|
+
@SubnetName = subnetname
|
3970
|
+
@VpcName = vpcname
|
3971
|
+
@VpcCidrBlock = vpccidrblock
|
3972
|
+
@SubnetCidrBlock = subnetcidrblock
|
3973
|
+
@WanIp = wanip
|
3974
|
+
@LanIp = lanip
|
3975
|
+
@MgtIp = mgtip
|
3976
|
+
@TaskTypeName = tasktypename
|
3977
|
+
@TaskSubType = tasksubtype
|
3978
|
+
end
|
3979
|
+
|
3980
|
+
def deserialize(params)
|
3981
|
+
@TaskId = params['TaskId']
|
3982
|
+
@InstanceId = params['InstanceId']
|
3983
|
+
@Alias = params['Alias']
|
3984
|
+
@TaskTypeId = params['TaskTypeId']
|
3985
|
+
@TaskStatus = params['TaskStatus']
|
3986
|
+
@CreateTime = params['CreateTime']
|
3987
|
+
@AuthTime = params['AuthTime']
|
3988
|
+
@EndTime = params['EndTime']
|
3989
|
+
@TaskDetail = params['TaskDetail']
|
3990
|
+
@DeviceStatus = params['DeviceStatus']
|
3991
|
+
@OperateStatus = params['OperateStatus']
|
3992
|
+
@Zone = params['Zone']
|
3993
|
+
@Region = params['Region']
|
3994
|
+
@VpcId = params['VpcId']
|
3995
|
+
@SubnetId = params['SubnetId']
|
3996
|
+
@SubnetName = params['SubnetName']
|
3997
|
+
@VpcName = params['VpcName']
|
3998
|
+
@VpcCidrBlock = params['VpcCidrBlock']
|
3999
|
+
@SubnetCidrBlock = params['SubnetCidrBlock']
|
4000
|
+
@WanIp = params['WanIp']
|
4001
|
+
@LanIp = params['LanIp']
|
4002
|
+
@MgtIp = params['MgtIp']
|
4003
|
+
@TaskTypeName = params['TaskTypeName']
|
4004
|
+
@TaskSubType = params['TaskSubType']
|
4005
|
+
end
|
4006
|
+
end
|
4007
|
+
|
4008
|
+
# 维修任务操作日志
|
4009
|
+
class TaskOperationLog < TencentCloud::Common::AbstractModel
|
4010
|
+
# @param TaskStep: 操作步骤
|
4011
|
+
# @type TaskStep: String
|
4012
|
+
# @param Operator: 操作人
|
4013
|
+
# @type Operator: String
|
4014
|
+
# @param OperationDetail: 操作描述
|
4015
|
+
# @type OperationDetail: String
|
4016
|
+
# @param OperationTime: 操作时间
|
4017
|
+
# @type OperationTime: String
|
4018
|
+
|
4019
|
+
attr_accessor :TaskStep, :Operator, :OperationDetail, :OperationTime
|
4020
|
+
|
4021
|
+
def initialize(taskstep=nil, operator=nil, operationdetail=nil, operationtime=nil)
|
4022
|
+
@TaskStep = taskstep
|
4023
|
+
@Operator = operator
|
4024
|
+
@OperationDetail = operationdetail
|
4025
|
+
@OperationTime = operationtime
|
4026
|
+
end
|
4027
|
+
|
4028
|
+
def deserialize(params)
|
4029
|
+
@TaskStep = params['TaskStep']
|
4030
|
+
@Operator = params['Operator']
|
4031
|
+
@OperationDetail = params['OperationDetail']
|
4032
|
+
@OperationTime = params['OperationTime']
|
4033
|
+
end
|
4034
|
+
end
|
4035
|
+
|
4036
|
+
# 故障id对应故障名列表
|
4037
|
+
class TaskType < TencentCloud::Common::AbstractModel
|
4038
|
+
# @param TypeId: 故障类ID
|
4039
|
+
# @type TypeId: Integer
|
4040
|
+
# @param TypeName: 故障类中文名
|
4041
|
+
# @type TypeName: String
|
4042
|
+
# @param TaskSubType: 故障类型父类
|
4043
|
+
# @type TaskSubType: String
|
4044
|
+
|
4045
|
+
attr_accessor :TypeId, :TypeName, :TaskSubType
|
4046
|
+
|
4047
|
+
def initialize(typeid=nil, typename=nil, tasksubtype=nil)
|
4048
|
+
@TypeId = typeid
|
4049
|
+
@TypeName = typename
|
4050
|
+
@TaskSubType = tasksubtype
|
4051
|
+
end
|
4052
|
+
|
4053
|
+
def deserialize(params)
|
4054
|
+
@TypeId = params['TypeId']
|
4055
|
+
@TypeName = params['TypeName']
|
4056
|
+
@TaskSubType = params['TaskSubType']
|
4057
|
+
end
|
4058
|
+
end
|
4059
|
+
|
4060
|
+
# UnbindPsaTag请求参数结构体
|
4061
|
+
class UnbindPsaTagRequest < TencentCloud::Common::AbstractModel
|
4062
|
+
# @param PsaId: 预授权规则ID
|
4063
|
+
# @type PsaId: String
|
4064
|
+
# @param TagKey: 需要解绑的标签key
|
4065
|
+
# @type TagKey: String
|
4066
|
+
# @param TagValue: 需要解绑的标签value
|
4067
|
+
# @type TagValue: String
|
4068
|
+
|
4069
|
+
attr_accessor :PsaId, :TagKey, :TagValue
|
4070
|
+
|
4071
|
+
def initialize(psaid=nil, tagkey=nil, tagvalue=nil)
|
4072
|
+
@PsaId = psaid
|
4073
|
+
@TagKey = tagkey
|
4074
|
+
@TagValue = tagvalue
|
4075
|
+
end
|
4076
|
+
|
4077
|
+
def deserialize(params)
|
4078
|
+
@PsaId = params['PsaId']
|
4079
|
+
@TagKey = params['TagKey']
|
4080
|
+
@TagValue = params['TagValue']
|
4081
|
+
end
|
4082
|
+
end
|
4083
|
+
|
4084
|
+
# UnbindPsaTag返回参数结构体
|
4085
|
+
class UnbindPsaTagResponse < TencentCloud::Common::AbstractModel
|
4086
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4087
|
+
# @type RequestId: String
|
4088
|
+
|
4089
|
+
attr_accessor :RequestId
|
4090
|
+
|
4091
|
+
def initialize(requestid=nil)
|
4092
|
+
@RequestId = requestid
|
4093
|
+
end
|
4094
|
+
|
4095
|
+
def deserialize(params)
|
4096
|
+
@RequestId = params['RequestId']
|
4097
|
+
end
|
4098
|
+
end
|
4099
|
+
|
4100
|
+
# 脚本信息
|
4101
|
+
class UserCmd < TencentCloud::Common::AbstractModel
|
4102
|
+
# @param Alias: 用户自定义脚本名
|
4103
|
+
# @type Alias: String
|
4104
|
+
# @param AppId: AppId
|
4105
|
+
# @type AppId: Integer
|
4106
|
+
# @param AutoId: 脚本自增ID
|
4107
|
+
# @type AutoId: Integer
|
4108
|
+
# @param CmdId: 脚本ID
|
4109
|
+
# @type CmdId: String
|
4110
|
+
# @param Content: 脚本内容
|
4111
|
+
# @type Content: String
|
4112
|
+
# @param CreateTime: 创建时间
|
4113
|
+
# @type CreateTime: String
|
4114
|
+
# @param ModifyTime: 修改时间
|
4115
|
+
# @type ModifyTime: String
|
4116
|
+
# @param OsType: 命令适用的操作系统类型
|
4117
|
+
# @type OsType: String
|
4118
|
+
|
4119
|
+
attr_accessor :Alias, :AppId, :AutoId, :CmdId, :Content, :CreateTime, :ModifyTime, :OsType
|
4120
|
+
|
4121
|
+
def initialize(_alias=nil, appid=nil, autoid=nil, cmdid=nil, content=nil, createtime=nil, modifytime=nil, ostype=nil)
|
4122
|
+
@Alias = _alias
|
4123
|
+
@AppId = appid
|
4124
|
+
@AutoId = autoid
|
4125
|
+
@CmdId = cmdid
|
4126
|
+
@Content = content
|
4127
|
+
@CreateTime = createtime
|
4128
|
+
@ModifyTime = modifytime
|
4129
|
+
@OsType = ostype
|
4130
|
+
end
|
4131
|
+
|
4132
|
+
def deserialize(params)
|
4133
|
+
@Alias = params['Alias']
|
4134
|
+
@AppId = params['AppId']
|
4135
|
+
@AutoId = params['AutoId']
|
4136
|
+
@CmdId = params['CmdId']
|
4137
|
+
@Content = params['Content']
|
4138
|
+
@CreateTime = params['CreateTime']
|
4139
|
+
@ModifyTime = params['ModifyTime']
|
4140
|
+
@OsType = params['OsType']
|
4141
|
+
end
|
4142
|
+
end
|
4143
|
+
|
4144
|
+
# 自定义脚本任务信息
|
4145
|
+
class UserCmdTask < TencentCloud::Common::AbstractModel
|
4146
|
+
# @param TaskId: 任务ID
|
4147
|
+
# @type TaskId: String
|
4148
|
+
# @param Status: 任务状态ID,取值: -1(进行中) 0(结束)
|
4149
|
+
# @type Status: Integer
|
4150
|
+
# @param Alias: 脚本名称
|
4151
|
+
# @type Alias: String
|
4152
|
+
# @param CmdId: 脚本ID
|
4153
|
+
# @type CmdId: String
|
4154
|
+
# @param InstanceCount: 运行实例数量
|
4155
|
+
# @type InstanceCount: Integer
|
4156
|
+
# @param SuccessCount: 运行成功数量
|
4157
|
+
# @type SuccessCount: Integer
|
4158
|
+
# @param FailureCount: 运行失败数量
|
4159
|
+
# @type FailureCount: Integer
|
4160
|
+
# @param RunBeginTime: 执行开始时间
|
4161
|
+
# @type RunBeginTime: String
|
4162
|
+
# @param RunEndTime: 执行结束时间
|
4163
|
+
# @type RunEndTime: String
|
4164
|
+
|
4165
|
+
attr_accessor :TaskId, :Status, :Alias, :CmdId, :InstanceCount, :SuccessCount, :FailureCount, :RunBeginTime, :RunEndTime
|
4166
|
+
|
4167
|
+
def initialize(taskid=nil, status=nil, _alias=nil, cmdid=nil, instancecount=nil, successcount=nil, failurecount=nil, runbegintime=nil, runendtime=nil)
|
4168
|
+
@TaskId = taskid
|
4169
|
+
@Status = status
|
4170
|
+
@Alias = _alias
|
4171
|
+
@CmdId = cmdid
|
4172
|
+
@InstanceCount = instancecount
|
4173
|
+
@SuccessCount = successcount
|
4174
|
+
@FailureCount = failurecount
|
4175
|
+
@RunBeginTime = runbegintime
|
4176
|
+
@RunEndTime = runendtime
|
4177
|
+
end
|
4178
|
+
|
4179
|
+
def deserialize(params)
|
4180
|
+
@TaskId = params['TaskId']
|
4181
|
+
@Status = params['Status']
|
4182
|
+
@Alias = params['Alias']
|
4183
|
+
@CmdId = params['CmdId']
|
4184
|
+
@InstanceCount = params['InstanceCount']
|
4185
|
+
@SuccessCount = params['SuccessCount']
|
4186
|
+
@FailureCount = params['FailureCount']
|
4187
|
+
@RunBeginTime = params['RunBeginTime']
|
4188
|
+
@RunEndTime = params['RunEndTime']
|
4189
|
+
end
|
4190
|
+
end
|
4191
|
+
|
4192
|
+
# 自定义脚本任务详细信息
|
4193
|
+
class UserCmdTaskInfo < TencentCloud::Common::AbstractModel
|
4194
|
+
# @param AutoId: 自动编号,可忽略
|
4195
|
+
# @type AutoId: Integer
|
4196
|
+
# @param TaskId: 任务ID
|
4197
|
+
# @type TaskId: String
|
4198
|
+
# @param RunBeginTime: 任务开始时间
|
4199
|
+
# @type RunBeginTime: String
|
4200
|
+
# @param RunEndTime: 任务结束时间
|
4201
|
+
# @type RunEndTime: String
|
4202
|
+
# @param Status: 任务状态ID,取值为 -1:进行中;0:成功;>0:失败错误码
|
4203
|
+
# @type Status: Integer
|
4204
|
+
# @param InstanceName: 设备别名
|
4205
|
+
# @type InstanceName: String
|
4206
|
+
# @param InstanceId: 设备ID
|
4207
|
+
# @type InstanceId: String
|
4208
|
+
# @param VpcName: 私有网络名
|
4209
|
+
# @type VpcName: String
|
4210
|
+
# @param VpcId: 私有网络整型ID
|
4211
|
+
# @type VpcId: String
|
4212
|
+
# @param VpcCidrBlock: 私有网络Cidr
|
4213
|
+
# @type VpcCidrBlock: String
|
4214
|
+
# @param SubnetName: 子网名
|
4215
|
+
# @type SubnetName: String
|
4216
|
+
# @param SubnetId: 子网ID
|
4217
|
+
# @type SubnetId: String
|
4218
|
+
# @param SubnetCidrBlock: 子网Cidr
|
4219
|
+
# @type SubnetCidrBlock: String
|
4220
|
+
# @param LanIp: 内网IP
|
4221
|
+
# @type LanIp: String
|
4222
|
+
# @param CmdContent: 脚本内容,base64编码后的值
|
4223
|
+
# @type CmdContent: String
|
4224
|
+
# @param CmdParam: 脚本参数,base64编码后的值
|
4225
|
+
# @type CmdParam: String
|
4226
|
+
# @param CmdResult: 脚本执行结果,base64编码后的值
|
4227
|
+
# @type CmdResult: String
|
4228
|
+
# @param AppId: 用户AppId
|
4229
|
+
# @type AppId: Integer
|
4230
|
+
# @param LastShellExit: 用户执行脚本结束退出的返回值,没有返回值为-1
|
4231
|
+
# @type LastShellExit: Integer
|
4232
|
+
|
4233
|
+
attr_accessor :AutoId, :TaskId, :RunBeginTime, :RunEndTime, :Status, :InstanceName, :InstanceId, :VpcName, :VpcId, :VpcCidrBlock, :SubnetName, :SubnetId, :SubnetCidrBlock, :LanIp, :CmdContent, :CmdParam, :CmdResult, :AppId, :LastShellExit
|
4234
|
+
|
4235
|
+
def initialize(autoid=nil, taskid=nil, runbegintime=nil, runendtime=nil, status=nil, instancename=nil, instanceid=nil, vpcname=nil, vpcid=nil, vpccidrblock=nil, subnetname=nil, subnetid=nil, subnetcidrblock=nil, lanip=nil, cmdcontent=nil, cmdparam=nil, cmdresult=nil, appid=nil, lastshellexit=nil)
|
4236
|
+
@AutoId = autoid
|
4237
|
+
@TaskId = taskid
|
4238
|
+
@RunBeginTime = runbegintime
|
4239
|
+
@RunEndTime = runendtime
|
4240
|
+
@Status = status
|
4241
|
+
@InstanceName = instancename
|
4242
|
+
@InstanceId = instanceid
|
4243
|
+
@VpcName = vpcname
|
4244
|
+
@VpcId = vpcid
|
4245
|
+
@VpcCidrBlock = vpccidrblock
|
4246
|
+
@SubnetName = subnetname
|
4247
|
+
@SubnetId = subnetid
|
4248
|
+
@SubnetCidrBlock = subnetcidrblock
|
4249
|
+
@LanIp = lanip
|
4250
|
+
@CmdContent = cmdcontent
|
4251
|
+
@CmdParam = cmdparam
|
4252
|
+
@CmdResult = cmdresult
|
4253
|
+
@AppId = appid
|
4254
|
+
@LastShellExit = lastshellexit
|
4255
|
+
end
|
4256
|
+
|
4257
|
+
def deserialize(params)
|
4258
|
+
@AutoId = params['AutoId']
|
4259
|
+
@TaskId = params['TaskId']
|
4260
|
+
@RunBeginTime = params['RunBeginTime']
|
4261
|
+
@RunEndTime = params['RunEndTime']
|
4262
|
+
@Status = params['Status']
|
4263
|
+
@InstanceName = params['InstanceName']
|
4264
|
+
@InstanceId = params['InstanceId']
|
4265
|
+
@VpcName = params['VpcName']
|
4266
|
+
@VpcId = params['VpcId']
|
4267
|
+
@VpcCidrBlock = params['VpcCidrBlock']
|
4268
|
+
@SubnetName = params['SubnetName']
|
4269
|
+
@SubnetId = params['SubnetId']
|
4270
|
+
@SubnetCidrBlock = params['SubnetCidrBlock']
|
4271
|
+
@LanIp = params['LanIp']
|
4272
|
+
@CmdContent = params['CmdContent']
|
4273
|
+
@CmdParam = params['CmdParam']
|
4274
|
+
@CmdResult = params['CmdResult']
|
4275
|
+
@AppId = params['AppId']
|
4276
|
+
@LastShellExit = params['LastShellExit']
|
4277
|
+
end
|
4278
|
+
end
|
4279
|
+
|
4280
|
+
# 可用区信息
|
4281
|
+
class ZoneInfo < TencentCloud::Common::AbstractModel
|
4282
|
+
# @param Zone: 可用区ID
|
4283
|
+
# @type Zone: String
|
4284
|
+
# @param ZoneId: 可用区整型ID
|
4285
|
+
# @type ZoneId: Integer
|
4286
|
+
# @param ZoneDescription: 可用区描述
|
4287
|
+
# @type ZoneDescription: String
|
4288
|
+
|
4289
|
+
attr_accessor :Zone, :ZoneId, :ZoneDescription
|
4290
|
+
|
4291
|
+
def initialize(zone=nil, zoneid=nil, zonedescription=nil)
|
4292
|
+
@Zone = zone
|
4293
|
+
@ZoneId = zoneid
|
4294
|
+
@ZoneDescription = zonedescription
|
4295
|
+
end
|
4296
|
+
|
4297
|
+
def deserialize(params)
|
4298
|
+
@Zone = params['Zone']
|
4299
|
+
@ZoneId = params['ZoneId']
|
4300
|
+
@ZoneDescription = params['ZoneDescription']
|
4301
|
+
end
|
4302
|
+
end
|
4303
|
+
|
4304
|
+
end
|
4305
|
+
end
|
4306
|
+
end
|
4307
|
+
|