tencentcloud-sdk-csip 3.0.565
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-csip.rb +11 -0
- data/lib/v20221121/client.rb +228 -0
- data/lib/v20221121/models.rb +1590 -0
- metadata +66 -0
@@ -0,0 +1,1590 @@
|
|
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 Csip
|
19
|
+
module V20221121
|
20
|
+
# AddNewBindRoleUser请求参数结构体
|
21
|
+
class AddNewBindRoleUserRequest < TencentCloud::Common::AbstractModel
|
22
|
+
|
23
|
+
|
24
|
+
def initialize()
|
25
|
+
end
|
26
|
+
|
27
|
+
def deserialize(params)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# AddNewBindRoleUser返回参数结构体
|
32
|
+
class AddNewBindRoleUserResponse < TencentCloud::Common::AbstractModel
|
33
|
+
# @param Status: 0成功,其他失败
|
34
|
+
# @type Status: Integer
|
35
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
36
|
+
# @type RequestId: String
|
37
|
+
|
38
|
+
attr_accessor :Status, :RequestId
|
39
|
+
|
40
|
+
def initialize(status=nil, requestid=nil)
|
41
|
+
@Status = status
|
42
|
+
@RequestId = requestid
|
43
|
+
end
|
44
|
+
|
45
|
+
def deserialize(params)
|
46
|
+
@Status = params['Status']
|
47
|
+
@RequestId = params['RequestId']
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
# 主机资产详情
|
52
|
+
class AssetBaseInfoResponse < TencentCloud::Common::AbstractModel
|
53
|
+
# @param VpcId: vpc-id
|
54
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
55
|
+
# @type VpcId: String
|
56
|
+
# @param VpcName: vpc-name
|
57
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
58
|
+
# @type VpcName: String
|
59
|
+
# @param AssetName: 资产名
|
60
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
61
|
+
# @type AssetName: String
|
62
|
+
# @param Os: 操作系统
|
63
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
64
|
+
# @type Os: String
|
65
|
+
# @param PublicIp: 公网ip
|
66
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
67
|
+
# @type PublicIp: String
|
68
|
+
# @param PrivateIp: 内网ip
|
69
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
70
|
+
# @type PrivateIp: String
|
71
|
+
# @param Region: 地域
|
72
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
73
|
+
# @type Region: String
|
74
|
+
# @param AssetType: 资产类型
|
75
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
76
|
+
# @type AssetType: String
|
77
|
+
# @param AssetId: 资产id
|
78
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
79
|
+
# @type AssetId: String
|
80
|
+
# @param AccountNum: 账号数量
|
81
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
82
|
+
# @type AccountNum: Integer
|
83
|
+
# @param PortNum: 端口数量
|
84
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
85
|
+
# @type PortNum: Integer
|
86
|
+
# @param ProcessNum: 进程数量
|
87
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
88
|
+
# @type ProcessNum: Integer
|
89
|
+
# @param SoftApplicationNum: 软件应用数量
|
90
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
91
|
+
# @type SoftApplicationNum: Integer
|
92
|
+
# @param DatabaseNum: 数据库数量
|
93
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
94
|
+
# @type DatabaseNum: Integer
|
95
|
+
# @param WebApplicationNum: Web应用数量
|
96
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
97
|
+
# @type WebApplicationNum: Integer
|
98
|
+
# @param ServiceNum: 服务数量
|
99
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
100
|
+
# @type ServiceNum: Integer
|
101
|
+
# @param WebFrameworkNum: web框架数量
|
102
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
103
|
+
# @type WebFrameworkNum: Integer
|
104
|
+
# @param WebSiteNum: Web站点数量
|
105
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
106
|
+
# @type WebSiteNum: Integer
|
107
|
+
# @param JarPackageNum: Jar包数量
|
108
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
109
|
+
# @type JarPackageNum: Integer
|
110
|
+
# @param StartServiceNum: 启动服务数量
|
111
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
112
|
+
# @type StartServiceNum: Integer
|
113
|
+
# @param ScheduledTaskNum: 计划任务数量
|
114
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
115
|
+
# @type ScheduledTaskNum: Integer
|
116
|
+
# @param EnvironmentVariableNum: 环境变量数量
|
117
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
118
|
+
# @type EnvironmentVariableNum: Integer
|
119
|
+
# @param KernelModuleNum: 内核模块数量
|
120
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
121
|
+
# @type KernelModuleNum: Integer
|
122
|
+
# @param SystemInstallationPackageNum: 系统安装包数量
|
123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
124
|
+
# @type SystemInstallationPackageNum: Integer
|
125
|
+
# @param SurplusProtectDay: 剩余防护时长
|
126
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
127
|
+
# @type SurplusProtectDay: Integer
|
128
|
+
# @param CWPStatus: 客户端是否安装 1 已安装 0 未安装
|
129
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
130
|
+
# @type CWPStatus: Integer
|
131
|
+
# @param Tag: 标签
|
132
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
133
|
+
# @type Tag: Array
|
134
|
+
# @param ProtectLevel: 防护等级
|
135
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
136
|
+
# @type ProtectLevel: String
|
137
|
+
# @param ProtectedDay: 防护时长
|
138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
139
|
+
# @type ProtectedDay: Integer
|
140
|
+
|
141
|
+
attr_accessor :VpcId, :VpcName, :AssetName, :Os, :PublicIp, :PrivateIp, :Region, :AssetType, :AssetId, :AccountNum, :PortNum, :ProcessNum, :SoftApplicationNum, :DatabaseNum, :WebApplicationNum, :ServiceNum, :WebFrameworkNum, :WebSiteNum, :JarPackageNum, :StartServiceNum, :ScheduledTaskNum, :EnvironmentVariableNum, :KernelModuleNum, :SystemInstallationPackageNum, :SurplusProtectDay, :CWPStatus, :Tag, :ProtectLevel, :ProtectedDay
|
142
|
+
|
143
|
+
def initialize(vpcid=nil, vpcname=nil, assetname=nil, os=nil, publicip=nil, privateip=nil, region=nil, assettype=nil, assetid=nil, accountnum=nil, portnum=nil, processnum=nil, softapplicationnum=nil, databasenum=nil, webapplicationnum=nil, servicenum=nil, webframeworknum=nil, websitenum=nil, jarpackagenum=nil, startservicenum=nil, scheduledtasknum=nil, environmentvariablenum=nil, kernelmodulenum=nil, systeminstallationpackagenum=nil, surplusprotectday=nil, cwpstatus=nil, tag=nil, protectlevel=nil, protectedday=nil)
|
144
|
+
@VpcId = vpcid
|
145
|
+
@VpcName = vpcname
|
146
|
+
@AssetName = assetname
|
147
|
+
@Os = os
|
148
|
+
@PublicIp = publicip
|
149
|
+
@PrivateIp = privateip
|
150
|
+
@Region = region
|
151
|
+
@AssetType = assettype
|
152
|
+
@AssetId = assetid
|
153
|
+
@AccountNum = accountnum
|
154
|
+
@PortNum = portnum
|
155
|
+
@ProcessNum = processnum
|
156
|
+
@SoftApplicationNum = softapplicationnum
|
157
|
+
@DatabaseNum = databasenum
|
158
|
+
@WebApplicationNum = webapplicationnum
|
159
|
+
@ServiceNum = servicenum
|
160
|
+
@WebFrameworkNum = webframeworknum
|
161
|
+
@WebSiteNum = websitenum
|
162
|
+
@JarPackageNum = jarpackagenum
|
163
|
+
@StartServiceNum = startservicenum
|
164
|
+
@ScheduledTaskNum = scheduledtasknum
|
165
|
+
@EnvironmentVariableNum = environmentvariablenum
|
166
|
+
@KernelModuleNum = kernelmodulenum
|
167
|
+
@SystemInstallationPackageNum = systeminstallationpackagenum
|
168
|
+
@SurplusProtectDay = surplusprotectday
|
169
|
+
@CWPStatus = cwpstatus
|
170
|
+
@Tag = tag
|
171
|
+
@ProtectLevel = protectlevel
|
172
|
+
@ProtectedDay = protectedday
|
173
|
+
end
|
174
|
+
|
175
|
+
def deserialize(params)
|
176
|
+
@VpcId = params['VpcId']
|
177
|
+
@VpcName = params['VpcName']
|
178
|
+
@AssetName = params['AssetName']
|
179
|
+
@Os = params['Os']
|
180
|
+
@PublicIp = params['PublicIp']
|
181
|
+
@PrivateIp = params['PrivateIp']
|
182
|
+
@Region = params['Region']
|
183
|
+
@AssetType = params['AssetType']
|
184
|
+
@AssetId = params['AssetId']
|
185
|
+
@AccountNum = params['AccountNum']
|
186
|
+
@PortNum = params['PortNum']
|
187
|
+
@ProcessNum = params['ProcessNum']
|
188
|
+
@SoftApplicationNum = params['SoftApplicationNum']
|
189
|
+
@DatabaseNum = params['DatabaseNum']
|
190
|
+
@WebApplicationNum = params['WebApplicationNum']
|
191
|
+
@ServiceNum = params['ServiceNum']
|
192
|
+
@WebFrameworkNum = params['WebFrameworkNum']
|
193
|
+
@WebSiteNum = params['WebSiteNum']
|
194
|
+
@JarPackageNum = params['JarPackageNum']
|
195
|
+
@StartServiceNum = params['StartServiceNum']
|
196
|
+
@ScheduledTaskNum = params['ScheduledTaskNum']
|
197
|
+
@EnvironmentVariableNum = params['EnvironmentVariableNum']
|
198
|
+
@KernelModuleNum = params['KernelModuleNum']
|
199
|
+
@SystemInstallationPackageNum = params['SystemInstallationPackageNum']
|
200
|
+
@SurplusProtectDay = params['SurplusProtectDay']
|
201
|
+
@CWPStatus = params['CWPStatus']
|
202
|
+
unless params['Tag'].nil?
|
203
|
+
@Tag = []
|
204
|
+
params['Tag'].each do |i|
|
205
|
+
tag_tmp = Tag.new
|
206
|
+
tag_tmp.deserialize(i)
|
207
|
+
@Tag << tag_tmp
|
208
|
+
end
|
209
|
+
end
|
210
|
+
@ProtectLevel = params['ProtectLevel']
|
211
|
+
@ProtectedDay = params['ProtectedDay']
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
# 主机资产信息
|
216
|
+
class CVMAssetVO < TencentCloud::Common::AbstractModel
|
217
|
+
# @param AssetId: 资产id
|
218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
219
|
+
# @type AssetId: String
|
220
|
+
# @param AssetName: 资产名
|
221
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
222
|
+
# @type AssetName: String
|
223
|
+
# @param AssetType: 资产类型
|
224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
225
|
+
# @type AssetType: String
|
226
|
+
# @param Region: 地域
|
227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
228
|
+
# @type Region: String
|
229
|
+
# @param CWPStatus: 防护状态
|
230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
231
|
+
# @type CWPStatus: Integer
|
232
|
+
# @param AssetCreateTime: 资产创建时间
|
233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
234
|
+
# @type AssetCreateTime: String
|
235
|
+
# @param PublicIp: 公网ip
|
236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
237
|
+
# @type PublicIp: String
|
238
|
+
# @param PrivateIp: 私网ip
|
239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
240
|
+
# @type PrivateIp: String
|
241
|
+
# @param VpcId: vpc id
|
242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
243
|
+
# @type VpcId: String
|
244
|
+
# @param VpcName: vpc 名
|
245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
246
|
+
# @type VpcName: String
|
247
|
+
# @param AppId: appid信息
|
248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
249
|
+
# @type AppId: Integer
|
250
|
+
# @param Uin: 用户uin
|
251
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
252
|
+
# @type Uin: String
|
253
|
+
# @param NickName: 昵称
|
254
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
255
|
+
# @type NickName: String
|
256
|
+
# @param AvailableArea: 可用区
|
257
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
258
|
+
# @type AvailableArea: String
|
259
|
+
# @param IsCore: 是否核心
|
260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
261
|
+
# @type IsCore: Integer
|
262
|
+
# @param SubnetId: 子网id
|
263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
264
|
+
# @type SubnetId: String
|
265
|
+
# @param SubnetName: 子网名
|
266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
267
|
+
# @type SubnetName: String
|
268
|
+
# @param InstanceUuid: uuid
|
269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
270
|
+
# @type InstanceUuid: String
|
271
|
+
# @param InstanceQUuid: qquid
|
272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
273
|
+
# @type InstanceQUuid: String
|
274
|
+
# @param OsName: os名
|
275
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
276
|
+
# @type OsName: String
|
277
|
+
# @param PartitionCount: 分区
|
278
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
279
|
+
# @type PartitionCount: Integer
|
280
|
+
# @param CPUInfo: cpu信息
|
281
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
282
|
+
# @type CPUInfo: String
|
283
|
+
# @param CPUSize: cpu大小
|
284
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
285
|
+
# @type CPUSize: Integer
|
286
|
+
# @param CPULoad: cpu负载
|
287
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
288
|
+
# @type CPULoad: String
|
289
|
+
# @param MemorySize: 内存大小
|
290
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
291
|
+
# @type MemorySize: String
|
292
|
+
# @param MemoryLoad: 内存负载
|
293
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
294
|
+
# @type MemoryLoad: String
|
295
|
+
# @param DiskSize: 硬盘大小
|
296
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
297
|
+
# @type DiskSize: String
|
298
|
+
# @param DiskLoad: 硬盘负载
|
299
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
300
|
+
# @type DiskLoad: String
|
301
|
+
# @param AccountCount: 账号数
|
302
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
303
|
+
# @type AccountCount: String
|
304
|
+
# @param ProcessCount: 进程数
|
305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
306
|
+
# @type ProcessCount: String
|
307
|
+
# @param AppCount: 软件应用
|
308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
309
|
+
# @type AppCount: String
|
310
|
+
# @param PortCount: 监听端口
|
311
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
312
|
+
# @type PortCount: Integer
|
313
|
+
# @param Attack: 网络攻击
|
314
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
315
|
+
# @type Attack: Integer
|
316
|
+
# @param Access: 网络访问
|
317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
318
|
+
# @type Access: Integer
|
319
|
+
# @param Intercept: 网络拦截
|
320
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
321
|
+
# @type Intercept: Integer
|
322
|
+
# @param InBandwidth: 入向峰值带宽
|
323
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
324
|
+
# @type InBandwidth: String
|
325
|
+
# @param OutBandwidth: 出向峰值带宽
|
326
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
327
|
+
# @type OutBandwidth: String
|
328
|
+
# @param InFlow: 入向累计流量
|
329
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
330
|
+
# @type InFlow: String
|
331
|
+
# @param OutFlow: 出向累计流量
|
332
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
333
|
+
# @type OutFlow: String
|
334
|
+
# @param LastScanTime: 最近扫描时间
|
335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
336
|
+
# @type LastScanTime: String
|
337
|
+
# @param NetWorkOut: 恶意主动外联
|
338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
339
|
+
# @type NetWorkOut: Integer
|
340
|
+
# @param PortRisk: 端口风险
|
341
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
342
|
+
# @type PortRisk: Integer
|
343
|
+
# @param VulnerabilityRisk: 漏洞风险
|
344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
345
|
+
# @type VulnerabilityRisk: Integer
|
346
|
+
# @param ConfigurationRisk: 配置风险
|
347
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
348
|
+
# @type ConfigurationRisk: Integer
|
349
|
+
# @param ScanTask: 扫描任务数
|
350
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
351
|
+
# @type ScanTask: Integer
|
352
|
+
# @param Tag: 标签
|
353
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
354
|
+
# @type Tag: Array
|
355
|
+
# @param MemberId: memberId
|
356
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
357
|
+
# @type MemberId: String
|
358
|
+
# @param Os: os全称
|
359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
360
|
+
# @type Os: String
|
361
|
+
|
362
|
+
attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CWPStatus, :AssetCreateTime, :PublicIp, :PrivateIp, :VpcId, :VpcName, :AppId, :Uin, :NickName, :AvailableArea, :IsCore, :SubnetId, :SubnetName, :InstanceUuid, :InstanceQUuid, :OsName, :PartitionCount, :CPUInfo, :CPUSize, :CPULoad, :MemorySize, :MemoryLoad, :DiskSize, :DiskLoad, :AccountCount, :ProcessCount, :AppCount, :PortCount, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :NetWorkOut, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :Tag, :MemberId, :Os
|
363
|
+
|
364
|
+
def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cwpstatus=nil, assetcreatetime=nil, publicip=nil, privateip=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, availablearea=nil, iscore=nil, subnetid=nil, subnetname=nil, instanceuuid=nil, instancequuid=nil, osname=nil, partitioncount=nil, cpuinfo=nil, cpusize=nil, cpuload=nil, memorysize=nil, memoryload=nil, disksize=nil, diskload=nil, accountcount=nil, processcount=nil, appcount=nil, portcount=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, networkout=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, tag=nil, memberid=nil, os=nil)
|
365
|
+
@AssetId = assetid
|
366
|
+
@AssetName = assetname
|
367
|
+
@AssetType = assettype
|
368
|
+
@Region = region
|
369
|
+
@CWPStatus = cwpstatus
|
370
|
+
@AssetCreateTime = assetcreatetime
|
371
|
+
@PublicIp = publicip
|
372
|
+
@PrivateIp = privateip
|
373
|
+
@VpcId = vpcid
|
374
|
+
@VpcName = vpcname
|
375
|
+
@AppId = appid
|
376
|
+
@Uin = uin
|
377
|
+
@NickName = nickname
|
378
|
+
@AvailableArea = availablearea
|
379
|
+
@IsCore = iscore
|
380
|
+
@SubnetId = subnetid
|
381
|
+
@SubnetName = subnetname
|
382
|
+
@InstanceUuid = instanceuuid
|
383
|
+
@InstanceQUuid = instancequuid
|
384
|
+
@OsName = osname
|
385
|
+
@PartitionCount = partitioncount
|
386
|
+
@CPUInfo = cpuinfo
|
387
|
+
@CPUSize = cpusize
|
388
|
+
@CPULoad = cpuload
|
389
|
+
@MemorySize = memorysize
|
390
|
+
@MemoryLoad = memoryload
|
391
|
+
@DiskSize = disksize
|
392
|
+
@DiskLoad = diskload
|
393
|
+
@AccountCount = accountcount
|
394
|
+
@ProcessCount = processcount
|
395
|
+
@AppCount = appcount
|
396
|
+
@PortCount = portcount
|
397
|
+
@Attack = attack
|
398
|
+
@Access = access
|
399
|
+
@Intercept = intercept
|
400
|
+
@InBandwidth = inbandwidth
|
401
|
+
@OutBandwidth = outbandwidth
|
402
|
+
@InFlow = inflow
|
403
|
+
@OutFlow = outflow
|
404
|
+
@LastScanTime = lastscantime
|
405
|
+
@NetWorkOut = networkout
|
406
|
+
@PortRisk = portrisk
|
407
|
+
@VulnerabilityRisk = vulnerabilityrisk
|
408
|
+
@ConfigurationRisk = configurationrisk
|
409
|
+
@ScanTask = scantask
|
410
|
+
@Tag = tag
|
411
|
+
@MemberId = memberid
|
412
|
+
@Os = os
|
413
|
+
end
|
414
|
+
|
415
|
+
def deserialize(params)
|
416
|
+
@AssetId = params['AssetId']
|
417
|
+
@AssetName = params['AssetName']
|
418
|
+
@AssetType = params['AssetType']
|
419
|
+
@Region = params['Region']
|
420
|
+
@CWPStatus = params['CWPStatus']
|
421
|
+
@AssetCreateTime = params['AssetCreateTime']
|
422
|
+
@PublicIp = params['PublicIp']
|
423
|
+
@PrivateIp = params['PrivateIp']
|
424
|
+
@VpcId = params['VpcId']
|
425
|
+
@VpcName = params['VpcName']
|
426
|
+
@AppId = params['AppId']
|
427
|
+
@Uin = params['Uin']
|
428
|
+
@NickName = params['NickName']
|
429
|
+
@AvailableArea = params['AvailableArea']
|
430
|
+
@IsCore = params['IsCore']
|
431
|
+
@SubnetId = params['SubnetId']
|
432
|
+
@SubnetName = params['SubnetName']
|
433
|
+
@InstanceUuid = params['InstanceUuid']
|
434
|
+
@InstanceQUuid = params['InstanceQUuid']
|
435
|
+
@OsName = params['OsName']
|
436
|
+
@PartitionCount = params['PartitionCount']
|
437
|
+
@CPUInfo = params['CPUInfo']
|
438
|
+
@CPUSize = params['CPUSize']
|
439
|
+
@CPULoad = params['CPULoad']
|
440
|
+
@MemorySize = params['MemorySize']
|
441
|
+
@MemoryLoad = params['MemoryLoad']
|
442
|
+
@DiskSize = params['DiskSize']
|
443
|
+
@DiskLoad = params['DiskLoad']
|
444
|
+
@AccountCount = params['AccountCount']
|
445
|
+
@ProcessCount = params['ProcessCount']
|
446
|
+
@AppCount = params['AppCount']
|
447
|
+
@PortCount = params['PortCount']
|
448
|
+
@Attack = params['Attack']
|
449
|
+
@Access = params['Access']
|
450
|
+
@Intercept = params['Intercept']
|
451
|
+
@InBandwidth = params['InBandwidth']
|
452
|
+
@OutBandwidth = params['OutBandwidth']
|
453
|
+
@InFlow = params['InFlow']
|
454
|
+
@OutFlow = params['OutFlow']
|
455
|
+
@LastScanTime = params['LastScanTime']
|
456
|
+
@NetWorkOut = params['NetWorkOut']
|
457
|
+
@PortRisk = params['PortRisk']
|
458
|
+
@VulnerabilityRisk = params['VulnerabilityRisk']
|
459
|
+
@ConfigurationRisk = params['ConfigurationRisk']
|
460
|
+
@ScanTask = params['ScanTask']
|
461
|
+
unless params['Tag'].nil?
|
462
|
+
@Tag = []
|
463
|
+
params['Tag'].each do |i|
|
464
|
+
tag_tmp = Tag.new
|
465
|
+
tag_tmp.deserialize(i)
|
466
|
+
@Tag << tag_tmp
|
467
|
+
end
|
468
|
+
end
|
469
|
+
@MemberId = params['MemberId']
|
470
|
+
@Os = params['Os']
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
# db资产输出字段
|
475
|
+
class DBAssetVO < TencentCloud::Common::AbstractModel
|
476
|
+
# @param AssetId: 资产id
|
477
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
478
|
+
# @type AssetId: String
|
479
|
+
# @param AssetName: 资产名
|
480
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
481
|
+
# @type AssetName: String
|
482
|
+
# @param AssetType: 资产类型
|
483
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
484
|
+
# @type AssetType: String
|
485
|
+
# @param VpcId: vpcid
|
486
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
487
|
+
# @type VpcId: String
|
488
|
+
# @param VpcName: vpc标签
|
489
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
490
|
+
# @type VpcName: String
|
491
|
+
# @param Region: 地域
|
492
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
493
|
+
# @type Region: String
|
494
|
+
# @param Domain: 域名
|
495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
496
|
+
# @type Domain: String
|
497
|
+
# @param AssetCreateTime: 资产创建时间
|
498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
499
|
+
# @type AssetCreateTime: String
|
500
|
+
# @param LastScanTime: 最近扫描时间
|
501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
502
|
+
# @type LastScanTime: String
|
503
|
+
# @param ConfigurationRisk: 配置风险
|
504
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
505
|
+
# @type ConfigurationRisk: Integer
|
506
|
+
# @param Attack: 网络攻击
|
507
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
508
|
+
# @type Attack: Integer
|
509
|
+
# @param Access: 网络访问
|
510
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
511
|
+
# @type Access: Integer
|
512
|
+
# @param ScanTask: 扫描任务
|
513
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
514
|
+
# @type ScanTask: Integer
|
515
|
+
# @param AppId: 用户appid
|
516
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
517
|
+
# @type AppId: Integer
|
518
|
+
# @param Uin: 用户uin
|
519
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
520
|
+
# @type Uin: String
|
521
|
+
# @param NickName: 昵称别名
|
522
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
523
|
+
# @type NickName: String
|
524
|
+
# @param Port: 端口
|
525
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
526
|
+
# @type Port: Integer
|
527
|
+
# @param Tag: 标签
|
528
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
529
|
+
# @type Tag: Array
|
530
|
+
# @param PrivateIp: 内网ip
|
531
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
532
|
+
# @type PrivateIp: String
|
533
|
+
# @param PublicIp: 公网ip
|
534
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
535
|
+
# @type PublicIp: String
|
536
|
+
# @param Status: 状态
|
537
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
538
|
+
# @type Status: Integer
|
539
|
+
# @param IsCore: 是否核心
|
540
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
541
|
+
# @type IsCore: Integer
|
542
|
+
|
543
|
+
attr_accessor :AssetId, :AssetName, :AssetType, :VpcId, :VpcName, :Region, :Domain, :AssetCreateTime, :LastScanTime, :ConfigurationRisk, :Attack, :Access, :ScanTask, :AppId, :Uin, :NickName, :Port, :Tag, :PrivateIp, :PublicIp, :Status, :IsCore
|
544
|
+
|
545
|
+
def initialize(assetid=nil, assetname=nil, assettype=nil, vpcid=nil, vpcname=nil, region=nil, domain=nil, assetcreatetime=nil, lastscantime=nil, configurationrisk=nil, attack=nil, access=nil, scantask=nil, appid=nil, uin=nil, nickname=nil, port=nil, tag=nil, privateip=nil, publicip=nil, status=nil, iscore=nil)
|
546
|
+
@AssetId = assetid
|
547
|
+
@AssetName = assetname
|
548
|
+
@AssetType = assettype
|
549
|
+
@VpcId = vpcid
|
550
|
+
@VpcName = vpcname
|
551
|
+
@Region = region
|
552
|
+
@Domain = domain
|
553
|
+
@AssetCreateTime = assetcreatetime
|
554
|
+
@LastScanTime = lastscantime
|
555
|
+
@ConfigurationRisk = configurationrisk
|
556
|
+
@Attack = attack
|
557
|
+
@Access = access
|
558
|
+
@ScanTask = scantask
|
559
|
+
@AppId = appid
|
560
|
+
@Uin = uin
|
561
|
+
@NickName = nickname
|
562
|
+
@Port = port
|
563
|
+
@Tag = tag
|
564
|
+
@PrivateIp = privateip
|
565
|
+
@PublicIp = publicip
|
566
|
+
@Status = status
|
567
|
+
@IsCore = iscore
|
568
|
+
end
|
569
|
+
|
570
|
+
def deserialize(params)
|
571
|
+
@AssetId = params['AssetId']
|
572
|
+
@AssetName = params['AssetName']
|
573
|
+
@AssetType = params['AssetType']
|
574
|
+
@VpcId = params['VpcId']
|
575
|
+
@VpcName = params['VpcName']
|
576
|
+
@Region = params['Region']
|
577
|
+
@Domain = params['Domain']
|
578
|
+
@AssetCreateTime = params['AssetCreateTime']
|
579
|
+
@LastScanTime = params['LastScanTime']
|
580
|
+
@ConfigurationRisk = params['ConfigurationRisk']
|
581
|
+
@Attack = params['Attack']
|
582
|
+
@Access = params['Access']
|
583
|
+
@ScanTask = params['ScanTask']
|
584
|
+
@AppId = params['AppId']
|
585
|
+
@Uin = params['Uin']
|
586
|
+
@NickName = params['NickName']
|
587
|
+
@Port = params['Port']
|
588
|
+
unless params['Tag'].nil?
|
589
|
+
@Tag = []
|
590
|
+
params['Tag'].each do |i|
|
591
|
+
tag_tmp = Tag.new
|
592
|
+
tag_tmp.deserialize(i)
|
593
|
+
@Tag << tag_tmp
|
594
|
+
end
|
595
|
+
end
|
596
|
+
@PrivateIp = params['PrivateIp']
|
597
|
+
@PublicIp = params['PublicIp']
|
598
|
+
@Status = params['Status']
|
599
|
+
@IsCore = params['IsCore']
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
# db资产详情
|
604
|
+
class DbAssetInfo < TencentCloud::Common::AbstractModel
|
605
|
+
# @param CFWStatus: 云防状态
|
606
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
607
|
+
# @type CFWStatus: Integer
|
608
|
+
# @param AssetId: 资产id
|
609
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
610
|
+
# @type AssetId: String
|
611
|
+
# @param VpcName: vpc信息
|
612
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
613
|
+
# @type VpcName: String
|
614
|
+
# @param AssetType: 资产类型
|
615
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
616
|
+
# @type AssetType: String
|
617
|
+
# @param PublicIp: 公网ip
|
618
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
619
|
+
# @type PublicIp: String
|
620
|
+
# @param PrivateIp: 私网ip
|
621
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
622
|
+
# @type PrivateIp: String
|
623
|
+
# @param Region: 地域
|
624
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
625
|
+
# @type Region: String
|
626
|
+
# @param VpcId: vpc信息
|
627
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
628
|
+
# @type VpcId: String
|
629
|
+
# @param AssetName: 资产名
|
630
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
631
|
+
# @type AssetName: String
|
632
|
+
# @param CFWProtectLevel: 云防保护版本
|
633
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
634
|
+
# @type CFWProtectLevel: Integer
|
635
|
+
# @param Tag: tag信息
|
636
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
637
|
+
# @type Tag: Array
|
638
|
+
|
639
|
+
attr_accessor :CFWStatus, :AssetId, :VpcName, :AssetType, :PublicIp, :PrivateIp, :Region, :VpcId, :AssetName, :CFWProtectLevel, :Tag
|
640
|
+
|
641
|
+
def initialize(cfwstatus=nil, assetid=nil, vpcname=nil, assettype=nil, publicip=nil, privateip=nil, region=nil, vpcid=nil, assetname=nil, cfwprotectlevel=nil, tag=nil)
|
642
|
+
@CFWStatus = cfwstatus
|
643
|
+
@AssetId = assetid
|
644
|
+
@VpcName = vpcname
|
645
|
+
@AssetType = assettype
|
646
|
+
@PublicIp = publicip
|
647
|
+
@PrivateIp = privateip
|
648
|
+
@Region = region
|
649
|
+
@VpcId = vpcid
|
650
|
+
@AssetName = assetname
|
651
|
+
@CFWProtectLevel = cfwprotectlevel
|
652
|
+
@Tag = tag
|
653
|
+
end
|
654
|
+
|
655
|
+
def deserialize(params)
|
656
|
+
@CFWStatus = params['CFWStatus']
|
657
|
+
@AssetId = params['AssetId']
|
658
|
+
@VpcName = params['VpcName']
|
659
|
+
@AssetType = params['AssetType']
|
660
|
+
@PublicIp = params['PublicIp']
|
661
|
+
@PrivateIp = params['PrivateIp']
|
662
|
+
@Region = params['Region']
|
663
|
+
@VpcId = params['VpcId']
|
664
|
+
@AssetName = params['AssetName']
|
665
|
+
@CFWProtectLevel = params['CFWProtectLevel']
|
666
|
+
unless params['Tag'].nil?
|
667
|
+
@Tag = []
|
668
|
+
params['Tag'].each do |i|
|
669
|
+
tag_tmp = Tag.new
|
670
|
+
tag_tmp.deserialize(i)
|
671
|
+
@Tag << tag_tmp
|
672
|
+
end
|
673
|
+
end
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
677
|
+
# DescribeCVMAssetInfo请求参数结构体
|
678
|
+
class DescribeCVMAssetInfoRequest < TencentCloud::Common::AbstractModel
|
679
|
+
# @param AssetId: -
|
680
|
+
# @type AssetId: String
|
681
|
+
|
682
|
+
attr_accessor :AssetId
|
683
|
+
|
684
|
+
def initialize(assetid=nil)
|
685
|
+
@AssetId = assetid
|
686
|
+
end
|
687
|
+
|
688
|
+
def deserialize(params)
|
689
|
+
@AssetId = params['AssetId']
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
# DescribeCVMAssetInfo返回参数结构体
|
694
|
+
class DescribeCVMAssetInfoResponse < TencentCloud::Common::AbstractModel
|
695
|
+
# @param Data: -
|
696
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
697
|
+
# @type Data: :class:`Tencentcloud::Csip.v20221121.models.AssetBaseInfoResponse`
|
698
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
699
|
+
# @type RequestId: String
|
700
|
+
|
701
|
+
attr_accessor :Data, :RequestId
|
702
|
+
|
703
|
+
def initialize(data=nil, requestid=nil)
|
704
|
+
@Data = data
|
705
|
+
@RequestId = requestid
|
706
|
+
end
|
707
|
+
|
708
|
+
def deserialize(params)
|
709
|
+
unless params['Data'].nil?
|
710
|
+
@Data = AssetBaseInfoResponse.new
|
711
|
+
@Data.deserialize(params['Data'])
|
712
|
+
end
|
713
|
+
@RequestId = params['RequestId']
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
717
|
+
# DescribeCVMAssets请求参数结构体
|
718
|
+
class DescribeCVMAssetsRequest < TencentCloud::Common::AbstractModel
|
719
|
+
# @param Filter: -
|
720
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
721
|
+
|
722
|
+
attr_accessor :Filter
|
723
|
+
|
724
|
+
def initialize(filter=nil)
|
725
|
+
@Filter = filter
|
726
|
+
end
|
727
|
+
|
728
|
+
def deserialize(params)
|
729
|
+
unless params['Filter'].nil?
|
730
|
+
@Filter = Filter.new
|
731
|
+
@Filter.deserialize(params['Filter'])
|
732
|
+
end
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
# DescribeCVMAssets返回参数结构体
|
737
|
+
class DescribeCVMAssetsResponse < TencentCloud::Common::AbstractModel
|
738
|
+
# @param Total: -
|
739
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
740
|
+
# @type Total: Integer
|
741
|
+
# @param Data: -
|
742
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
743
|
+
# @type Data: Array
|
744
|
+
# @param RegionList: 地域列表
|
745
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
746
|
+
# @type RegionList: Array
|
747
|
+
# @param DefenseStatusList: 防护状态
|
748
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
749
|
+
# @type DefenseStatusList: Array
|
750
|
+
# @param VpcList: vpc枚举
|
751
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
752
|
+
# @type VpcList: Array
|
753
|
+
# @param AssetTypeList: 资产类型枚举
|
754
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
755
|
+
# @type AssetTypeList: Array
|
756
|
+
# @param SystemTypeList: 操作系统枚举
|
757
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
758
|
+
# @type SystemTypeList: Array
|
759
|
+
# @param IpTypeList: ip列表
|
760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
761
|
+
# @type IpTypeList: Array
|
762
|
+
# @param AppIdList: appid列表
|
763
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
764
|
+
# @type AppIdList: Array
|
765
|
+
# @param ZoneList: 可用区列表
|
766
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
767
|
+
# @type ZoneList: Array
|
768
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
769
|
+
# @type RequestId: String
|
770
|
+
|
771
|
+
attr_accessor :Total, :Data, :RegionList, :DefenseStatusList, :VpcList, :AssetTypeList, :SystemTypeList, :IpTypeList, :AppIdList, :ZoneList, :RequestId
|
772
|
+
|
773
|
+
def initialize(total=nil, data=nil, regionlist=nil, defensestatuslist=nil, vpclist=nil, assettypelist=nil, systemtypelist=nil, iptypelist=nil, appidlist=nil, zonelist=nil, requestid=nil)
|
774
|
+
@Total = total
|
775
|
+
@Data = data
|
776
|
+
@RegionList = regionlist
|
777
|
+
@DefenseStatusList = defensestatuslist
|
778
|
+
@VpcList = vpclist
|
779
|
+
@AssetTypeList = assettypelist
|
780
|
+
@SystemTypeList = systemtypelist
|
781
|
+
@IpTypeList = iptypelist
|
782
|
+
@AppIdList = appidlist
|
783
|
+
@ZoneList = zonelist
|
784
|
+
@RequestId = requestid
|
785
|
+
end
|
786
|
+
|
787
|
+
def deserialize(params)
|
788
|
+
@Total = params['Total']
|
789
|
+
unless params['Data'].nil?
|
790
|
+
@Data = []
|
791
|
+
params['Data'].each do |i|
|
792
|
+
cvmassetvo_tmp = CVMAssetVO.new
|
793
|
+
cvmassetvo_tmp.deserialize(i)
|
794
|
+
@Data << cvmassetvo_tmp
|
795
|
+
end
|
796
|
+
end
|
797
|
+
unless params['RegionList'].nil?
|
798
|
+
@RegionList = []
|
799
|
+
params['RegionList'].each do |i|
|
800
|
+
filterdataobject_tmp = FilterDataObject.new
|
801
|
+
filterdataobject_tmp.deserialize(i)
|
802
|
+
@RegionList << filterdataobject_tmp
|
803
|
+
end
|
804
|
+
end
|
805
|
+
unless params['DefenseStatusList'].nil?
|
806
|
+
@DefenseStatusList = []
|
807
|
+
params['DefenseStatusList'].each do |i|
|
808
|
+
filterdataobject_tmp = FilterDataObject.new
|
809
|
+
filterdataobject_tmp.deserialize(i)
|
810
|
+
@DefenseStatusList << filterdataobject_tmp
|
811
|
+
end
|
812
|
+
end
|
813
|
+
unless params['VpcList'].nil?
|
814
|
+
@VpcList = []
|
815
|
+
params['VpcList'].each do |i|
|
816
|
+
filterdataobject_tmp = FilterDataObject.new
|
817
|
+
filterdataobject_tmp.deserialize(i)
|
818
|
+
@VpcList << filterdataobject_tmp
|
819
|
+
end
|
820
|
+
end
|
821
|
+
unless params['AssetTypeList'].nil?
|
822
|
+
@AssetTypeList = []
|
823
|
+
params['AssetTypeList'].each do |i|
|
824
|
+
filterdataobject_tmp = FilterDataObject.new
|
825
|
+
filterdataobject_tmp.deserialize(i)
|
826
|
+
@AssetTypeList << filterdataobject_tmp
|
827
|
+
end
|
828
|
+
end
|
829
|
+
unless params['SystemTypeList'].nil?
|
830
|
+
@SystemTypeList = []
|
831
|
+
params['SystemTypeList'].each do |i|
|
832
|
+
filterdataobject_tmp = FilterDataObject.new
|
833
|
+
filterdataobject_tmp.deserialize(i)
|
834
|
+
@SystemTypeList << filterdataobject_tmp
|
835
|
+
end
|
836
|
+
end
|
837
|
+
unless params['IpTypeList'].nil?
|
838
|
+
@IpTypeList = []
|
839
|
+
params['IpTypeList'].each do |i|
|
840
|
+
filterdataobject_tmp = FilterDataObject.new
|
841
|
+
filterdataobject_tmp.deserialize(i)
|
842
|
+
@IpTypeList << filterdataobject_tmp
|
843
|
+
end
|
844
|
+
end
|
845
|
+
unless params['AppIdList'].nil?
|
846
|
+
@AppIdList = []
|
847
|
+
params['AppIdList'].each do |i|
|
848
|
+
filterdataobject_tmp = FilterDataObject.new
|
849
|
+
filterdataobject_tmp.deserialize(i)
|
850
|
+
@AppIdList << filterdataobject_tmp
|
851
|
+
end
|
852
|
+
end
|
853
|
+
unless params['ZoneList'].nil?
|
854
|
+
@ZoneList = []
|
855
|
+
params['ZoneList'].each do |i|
|
856
|
+
filterdataobject_tmp = FilterDataObject.new
|
857
|
+
filterdataobject_tmp.deserialize(i)
|
858
|
+
@ZoneList << filterdataobject_tmp
|
859
|
+
end
|
860
|
+
end
|
861
|
+
@RequestId = params['RequestId']
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
# DescribeDbAssetInfo请求参数结构体
|
866
|
+
class DescribeDbAssetInfoRequest < TencentCloud::Common::AbstractModel
|
867
|
+
# @param AssetId: 资产id
|
868
|
+
# @type AssetId: String
|
869
|
+
|
870
|
+
attr_accessor :AssetId
|
871
|
+
|
872
|
+
def initialize(assetid=nil)
|
873
|
+
@AssetId = assetid
|
874
|
+
end
|
875
|
+
|
876
|
+
def deserialize(params)
|
877
|
+
@AssetId = params['AssetId']
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
881
|
+
# DescribeDbAssetInfo返回参数结构体
|
882
|
+
class DescribeDbAssetInfoResponse < TencentCloud::Common::AbstractModel
|
883
|
+
# @param Data: db资产详情
|
884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
885
|
+
# @type Data: :class:`Tencentcloud::Csip.v20221121.models.DbAssetInfo`
|
886
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
887
|
+
# @type RequestId: String
|
888
|
+
|
889
|
+
attr_accessor :Data, :RequestId
|
890
|
+
|
891
|
+
def initialize(data=nil, requestid=nil)
|
892
|
+
@Data = data
|
893
|
+
@RequestId = requestid
|
894
|
+
end
|
895
|
+
|
896
|
+
def deserialize(params)
|
897
|
+
unless params['Data'].nil?
|
898
|
+
@Data = DbAssetInfo.new
|
899
|
+
@Data.deserialize(params['Data'])
|
900
|
+
end
|
901
|
+
@RequestId = params['RequestId']
|
902
|
+
end
|
903
|
+
end
|
904
|
+
|
905
|
+
# DescribeDbAssets请求参数结构体
|
906
|
+
class DescribeDbAssetsRequest < TencentCloud::Common::AbstractModel
|
907
|
+
# @param Filter: -
|
908
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
909
|
+
|
910
|
+
attr_accessor :Filter
|
911
|
+
|
912
|
+
def initialize(filter=nil)
|
913
|
+
@Filter = filter
|
914
|
+
end
|
915
|
+
|
916
|
+
def deserialize(params)
|
917
|
+
unless params['Filter'].nil?
|
918
|
+
@Filter = Filter.new
|
919
|
+
@Filter.deserialize(params['Filter'])
|
920
|
+
end
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
924
|
+
# DescribeDbAssets返回参数结构体
|
925
|
+
class DescribeDbAssetsResponse < TencentCloud::Common::AbstractModel
|
926
|
+
# @param Total: 总数
|
927
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
928
|
+
# @type Total: Integer
|
929
|
+
# @param Data: 资产总数
|
930
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
931
|
+
# @type Data: Array
|
932
|
+
# @param RegionList: 地域枚举
|
933
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
934
|
+
# @type RegionList: Array
|
935
|
+
# @param AssetTypeList: 资产类型枚举
|
936
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
937
|
+
# @type AssetTypeList: Array
|
938
|
+
# @param VpcList: Vpc枚举
|
939
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
940
|
+
# @type VpcList: Array
|
941
|
+
# @param AppIdList: Appid枚举
|
942
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
943
|
+
# @type AppIdList: Array
|
944
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
945
|
+
# @type RequestId: String
|
946
|
+
|
947
|
+
attr_accessor :Total, :Data, :RegionList, :AssetTypeList, :VpcList, :AppIdList, :RequestId
|
948
|
+
|
949
|
+
def initialize(total=nil, data=nil, regionlist=nil, assettypelist=nil, vpclist=nil, appidlist=nil, requestid=nil)
|
950
|
+
@Total = total
|
951
|
+
@Data = data
|
952
|
+
@RegionList = regionlist
|
953
|
+
@AssetTypeList = assettypelist
|
954
|
+
@VpcList = vpclist
|
955
|
+
@AppIdList = appidlist
|
956
|
+
@RequestId = requestid
|
957
|
+
end
|
958
|
+
|
959
|
+
def deserialize(params)
|
960
|
+
@Total = params['Total']
|
961
|
+
unless params['Data'].nil?
|
962
|
+
@Data = []
|
963
|
+
params['Data'].each do |i|
|
964
|
+
dbassetvo_tmp = DBAssetVO.new
|
965
|
+
dbassetvo_tmp.deserialize(i)
|
966
|
+
@Data << dbassetvo_tmp
|
967
|
+
end
|
968
|
+
end
|
969
|
+
unless params['RegionList'].nil?
|
970
|
+
@RegionList = []
|
971
|
+
params['RegionList'].each do |i|
|
972
|
+
filterdataobject_tmp = FilterDataObject.new
|
973
|
+
filterdataobject_tmp.deserialize(i)
|
974
|
+
@RegionList << filterdataobject_tmp
|
975
|
+
end
|
976
|
+
end
|
977
|
+
unless params['AssetTypeList'].nil?
|
978
|
+
@AssetTypeList = []
|
979
|
+
params['AssetTypeList'].each do |i|
|
980
|
+
filterdataobject_tmp = FilterDataObject.new
|
981
|
+
filterdataobject_tmp.deserialize(i)
|
982
|
+
@AssetTypeList << filterdataobject_tmp
|
983
|
+
end
|
984
|
+
end
|
985
|
+
unless params['VpcList'].nil?
|
986
|
+
@VpcList = []
|
987
|
+
params['VpcList'].each do |i|
|
988
|
+
filterdataobject_tmp = FilterDataObject.new
|
989
|
+
filterdataobject_tmp.deserialize(i)
|
990
|
+
@VpcList << filterdataobject_tmp
|
991
|
+
end
|
992
|
+
end
|
993
|
+
unless params['AppIdList'].nil?
|
994
|
+
@AppIdList = []
|
995
|
+
params['AppIdList'].each do |i|
|
996
|
+
filterdataobject_tmp = FilterDataObject.new
|
997
|
+
filterdataobject_tmp.deserialize(i)
|
998
|
+
@AppIdList << filterdataobject_tmp
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
@RequestId = params['RequestId']
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# DescribeScanReportList请求参数结构体
|
1006
|
+
class DescribeScanReportListRequest < TencentCloud::Common::AbstractModel
|
1007
|
+
# @param Filter: 列表过滤条件
|
1008
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
1009
|
+
|
1010
|
+
attr_accessor :Filter
|
1011
|
+
|
1012
|
+
def initialize(filter=nil)
|
1013
|
+
@Filter = filter
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
def deserialize(params)
|
1017
|
+
unless params['Filter'].nil?
|
1018
|
+
@Filter = Filter.new
|
1019
|
+
@Filter.deserialize(params['Filter'])
|
1020
|
+
end
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# DescribeScanReportList返回参数结构体
|
1025
|
+
class DescribeScanReportListResponse < TencentCloud::Common::AbstractModel
|
1026
|
+
# @param TotalCount: 总条数
|
1027
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1028
|
+
# @type TotalCount: Integer
|
1029
|
+
# @param Data: 任务日志列表
|
1030
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1031
|
+
# @type Data: Array
|
1032
|
+
# @param UINList: 主账户ID列表
|
1033
|
+
# @type UINList: Array
|
1034
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1035
|
+
# @type RequestId: String
|
1036
|
+
|
1037
|
+
attr_accessor :TotalCount, :Data, :UINList, :RequestId
|
1038
|
+
|
1039
|
+
def initialize(totalcount=nil, data=nil, uinlist=nil, requestid=nil)
|
1040
|
+
@TotalCount = totalcount
|
1041
|
+
@Data = data
|
1042
|
+
@UINList = uinlist
|
1043
|
+
@RequestId = requestid
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
def deserialize(params)
|
1047
|
+
@TotalCount = params['TotalCount']
|
1048
|
+
unless params['Data'].nil?
|
1049
|
+
@Data = []
|
1050
|
+
params['Data'].each do |i|
|
1051
|
+
scantaskinfo_tmp = ScanTaskInfo.new
|
1052
|
+
scantaskinfo_tmp.deserialize(i)
|
1053
|
+
@Data << scantaskinfo_tmp
|
1054
|
+
end
|
1055
|
+
end
|
1056
|
+
@UINList = params['UINList']
|
1057
|
+
@RequestId = params['RequestId']
|
1058
|
+
end
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
# DescribeSubnetAssets请求参数结构体
|
1062
|
+
class DescribeSubnetAssetsRequest < TencentCloud::Common::AbstractModel
|
1063
|
+
# @param Filter: 过滤参数
|
1064
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
1065
|
+
|
1066
|
+
attr_accessor :Filter
|
1067
|
+
|
1068
|
+
def initialize(filter=nil)
|
1069
|
+
@Filter = filter
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
def deserialize(params)
|
1073
|
+
unless params['Filter'].nil?
|
1074
|
+
@Filter = Filter.new
|
1075
|
+
@Filter.deserialize(params['Filter'])
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
# DescribeSubnetAssets返回参数结构体
|
1081
|
+
class DescribeSubnetAssetsResponse < TencentCloud::Common::AbstractModel
|
1082
|
+
# @param Data: 列表
|
1083
|
+
# @type Data: Array
|
1084
|
+
# @param TotalCount: 总数
|
1085
|
+
# @type TotalCount: Integer
|
1086
|
+
# @param RegionList: 地域列表
|
1087
|
+
# @type RegionList: Array
|
1088
|
+
# @param VpcList: vpc列表
|
1089
|
+
# @type VpcList: Array
|
1090
|
+
# @param AppIdList: appid列表
|
1091
|
+
# @type AppIdList: Array
|
1092
|
+
# @param ZoneList: 可用区列表
|
1093
|
+
# @type ZoneList: Array
|
1094
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1095
|
+
# @type RequestId: String
|
1096
|
+
|
1097
|
+
attr_accessor :Data, :TotalCount, :RegionList, :VpcList, :AppIdList, :ZoneList, :RequestId
|
1098
|
+
|
1099
|
+
def initialize(data=nil, totalcount=nil, regionlist=nil, vpclist=nil, appidlist=nil, zonelist=nil, requestid=nil)
|
1100
|
+
@Data = data
|
1101
|
+
@TotalCount = totalcount
|
1102
|
+
@RegionList = regionlist
|
1103
|
+
@VpcList = vpclist
|
1104
|
+
@AppIdList = appidlist
|
1105
|
+
@ZoneList = zonelist
|
1106
|
+
@RequestId = requestid
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
def deserialize(params)
|
1110
|
+
unless params['Data'].nil?
|
1111
|
+
@Data = []
|
1112
|
+
params['Data'].each do |i|
|
1113
|
+
subnetasset_tmp = SubnetAsset.new
|
1114
|
+
subnetasset_tmp.deserialize(i)
|
1115
|
+
@Data << subnetasset_tmp
|
1116
|
+
end
|
1117
|
+
end
|
1118
|
+
@TotalCount = params['TotalCount']
|
1119
|
+
unless params['RegionList'].nil?
|
1120
|
+
@RegionList = []
|
1121
|
+
params['RegionList'].each do |i|
|
1122
|
+
filterdataobject_tmp = FilterDataObject.new
|
1123
|
+
filterdataobject_tmp.deserialize(i)
|
1124
|
+
@RegionList << filterdataobject_tmp
|
1125
|
+
end
|
1126
|
+
end
|
1127
|
+
unless params['VpcList'].nil?
|
1128
|
+
@VpcList = []
|
1129
|
+
params['VpcList'].each do |i|
|
1130
|
+
filterdataobject_tmp = FilterDataObject.new
|
1131
|
+
filterdataobject_tmp.deserialize(i)
|
1132
|
+
@VpcList << filterdataobject_tmp
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
unless params['AppIdList'].nil?
|
1136
|
+
@AppIdList = []
|
1137
|
+
params['AppIdList'].each do |i|
|
1138
|
+
filterdataobject_tmp = FilterDataObject.new
|
1139
|
+
filterdataobject_tmp.deserialize(i)
|
1140
|
+
@AppIdList << filterdataobject_tmp
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
unless params['ZoneList'].nil?
|
1144
|
+
@ZoneList = []
|
1145
|
+
params['ZoneList'].each do |i|
|
1146
|
+
filterdataobject_tmp = FilterDataObject.new
|
1147
|
+
filterdataobject_tmp.deserialize(i)
|
1148
|
+
@ZoneList << filterdataobject_tmp
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
@RequestId = params['RequestId']
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
# DescribeVpcAssets请求参数结构体
|
1156
|
+
class DescribeVpcAssetsRequest < TencentCloud::Common::AbstractModel
|
1157
|
+
# @param Filter: 过滤参数
|
1158
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
1159
|
+
|
1160
|
+
attr_accessor :Filter
|
1161
|
+
|
1162
|
+
def initialize(filter=nil)
|
1163
|
+
@Filter = filter
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
def deserialize(params)
|
1167
|
+
unless params['Filter'].nil?
|
1168
|
+
@Filter = Filter.new
|
1169
|
+
@Filter.deserialize(params['Filter'])
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
# DescribeVpcAssets返回参数结构体
|
1175
|
+
class DescribeVpcAssetsResponse < TencentCloud::Common::AbstractModel
|
1176
|
+
# @param Data: 列表
|
1177
|
+
# @type Data: Array
|
1178
|
+
# @param TotalCount: 总数
|
1179
|
+
# @type TotalCount: Integer
|
1180
|
+
# @param VpcList: vpc列表
|
1181
|
+
# @type VpcList: Array
|
1182
|
+
# @param RegionList: 地域列表
|
1183
|
+
# @type RegionList: Array
|
1184
|
+
# @param AppIdList: appid列表
|
1185
|
+
# @type AppIdList: Array
|
1186
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1187
|
+
# @type RequestId: String
|
1188
|
+
|
1189
|
+
attr_accessor :Data, :TotalCount, :VpcList, :RegionList, :AppIdList, :RequestId
|
1190
|
+
|
1191
|
+
def initialize(data=nil, totalcount=nil, vpclist=nil, regionlist=nil, appidlist=nil, requestid=nil)
|
1192
|
+
@Data = data
|
1193
|
+
@TotalCount = totalcount
|
1194
|
+
@VpcList = vpclist
|
1195
|
+
@RegionList = regionlist
|
1196
|
+
@AppIdList = appidlist
|
1197
|
+
@RequestId = requestid
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
def deserialize(params)
|
1201
|
+
unless params['Data'].nil?
|
1202
|
+
@Data = []
|
1203
|
+
params['Data'].each do |i|
|
1204
|
+
vpc_tmp = Vpc.new
|
1205
|
+
vpc_tmp.deserialize(i)
|
1206
|
+
@Data << vpc_tmp
|
1207
|
+
end
|
1208
|
+
end
|
1209
|
+
@TotalCount = params['TotalCount']
|
1210
|
+
unless params['VpcList'].nil?
|
1211
|
+
@VpcList = []
|
1212
|
+
params['VpcList'].each do |i|
|
1213
|
+
filterdataobject_tmp = FilterDataObject.new
|
1214
|
+
filterdataobject_tmp.deserialize(i)
|
1215
|
+
@VpcList << filterdataobject_tmp
|
1216
|
+
end
|
1217
|
+
end
|
1218
|
+
unless params['RegionList'].nil?
|
1219
|
+
@RegionList = []
|
1220
|
+
params['RegionList'].each do |i|
|
1221
|
+
filterdataobject_tmp = FilterDataObject.new
|
1222
|
+
filterdataobject_tmp.deserialize(i)
|
1223
|
+
@RegionList << filterdataobject_tmp
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
unless params['AppIdList'].nil?
|
1227
|
+
@AppIdList = []
|
1228
|
+
params['AppIdList'].each do |i|
|
1229
|
+
filterdataobject_tmp = FilterDataObject.new
|
1230
|
+
filterdataobject_tmp.deserialize(i)
|
1231
|
+
@AppIdList << filterdataobject_tmp
|
1232
|
+
end
|
1233
|
+
end
|
1234
|
+
@RequestId = params['RequestId']
|
1235
|
+
end
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# 列表查询接口采用新filter 接口,直接传给后台供后台查询过滤
|
1239
|
+
class Filter < TencentCloud::Common::AbstractModel
|
1240
|
+
# @param Limit: 查询数量限制
|
1241
|
+
# @type Limit: Integer
|
1242
|
+
# @param Offset: 查询偏移位置
|
1243
|
+
# @type Offset: Integer
|
1244
|
+
# @param Order: 需排序的字段
|
1245
|
+
# @type Order: String
|
1246
|
+
# @param By: 排序采用升序还是降序 升:asc 降 desc
|
1247
|
+
# @type By: String
|
1248
|
+
# @param Filters: 过滤的列及内容
|
1249
|
+
# @type Filters: Array
|
1250
|
+
# @param StartTime: 可填无, 日志使用查询时间
|
1251
|
+
# @type StartTime: String
|
1252
|
+
# @param EndTime: 可填无, 日志使用查询时间
|
1253
|
+
# @type EndTime: String
|
1254
|
+
|
1255
|
+
attr_accessor :Limit, :Offset, :Order, :By, :Filters, :StartTime, :EndTime
|
1256
|
+
|
1257
|
+
def initialize(limit=nil, offset=nil, order=nil, by=nil, filters=nil, starttime=nil, endtime=nil)
|
1258
|
+
@Limit = limit
|
1259
|
+
@Offset = offset
|
1260
|
+
@Order = order
|
1261
|
+
@By = by
|
1262
|
+
@Filters = filters
|
1263
|
+
@StartTime = starttime
|
1264
|
+
@EndTime = endtime
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
def deserialize(params)
|
1268
|
+
@Limit = params['Limit']
|
1269
|
+
@Offset = params['Offset']
|
1270
|
+
@Order = params['Order']
|
1271
|
+
@By = params['By']
|
1272
|
+
unless params['Filters'].nil?
|
1273
|
+
@Filters = []
|
1274
|
+
params['Filters'].each do |i|
|
1275
|
+
wherefilter_tmp = WhereFilter.new
|
1276
|
+
wherefilter_tmp.deserialize(i)
|
1277
|
+
@Filters << wherefilter_tmp
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
@StartTime = params['StartTime']
|
1281
|
+
@EndTime = params['EndTime']
|
1282
|
+
end
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
# 过滤数据对象
|
1286
|
+
class FilterDataObject < TencentCloud::Common::AbstractModel
|
1287
|
+
# @param Value: 英文翻译
|
1288
|
+
# @type Value: String
|
1289
|
+
# @param Text: 中文翻译
|
1290
|
+
# @type Text: String
|
1291
|
+
|
1292
|
+
attr_accessor :Value, :Text
|
1293
|
+
|
1294
|
+
def initialize(value=nil, text=nil)
|
1295
|
+
@Value = value
|
1296
|
+
@Text = text
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
def deserialize(params)
|
1300
|
+
@Value = params['Value']
|
1301
|
+
@Text = params['Text']
|
1302
|
+
end
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# 扫描任务详情
|
1306
|
+
class ScanTaskInfo < TencentCloud::Common::AbstractModel
|
1307
|
+
# @param TaskId: 任务日志Id
|
1308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1309
|
+
# @type TaskId: String
|
1310
|
+
# @param TaskName: 任务日志名称
|
1311
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1312
|
+
# @type TaskName: String
|
1313
|
+
# @param Status: 任务状态码:1等待开始 2正在扫描 3扫描出错 4扫描完成
|
1314
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1315
|
+
# @type Status: Integer
|
1316
|
+
# @param Progress: 任务进度
|
1317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1318
|
+
# @type Progress: Integer
|
1319
|
+
# @param TaskTime: 对应的展示时间
|
1320
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1321
|
+
# @type TaskTime: String
|
1322
|
+
# @param ReportId: 报表id
|
1323
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1324
|
+
# @type ReportId: String
|
1325
|
+
# @param ReportName: 报表名称
|
1326
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1327
|
+
# @type ReportName: String
|
1328
|
+
# @param ScanPlan: 扫描计划,0-周期任务,1-立即扫描,2-定时扫描,3-自定义
|
1329
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1330
|
+
# @type ScanPlan: Integer
|
1331
|
+
# @param AssetCount: 关联的资产数
|
1332
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1333
|
+
# @type AssetCount: Integer
|
1334
|
+
# @param AppId: APP ID
|
1335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1336
|
+
# @type AppId: String
|
1337
|
+
# @param UIN: 用户主账户ID
|
1338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1339
|
+
# @type UIN: String
|
1340
|
+
# @param UserName: 用户名称
|
1341
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1342
|
+
# @type UserName: String
|
1343
|
+
|
1344
|
+
attr_accessor :TaskId, :TaskName, :Status, :Progress, :TaskTime, :ReportId, :ReportName, :ScanPlan, :AssetCount, :AppId, :UIN, :UserName
|
1345
|
+
|
1346
|
+
def initialize(taskid=nil, taskname=nil, status=nil, progress=nil, tasktime=nil, reportid=nil, reportname=nil, scanplan=nil, assetcount=nil, appid=nil, uin=nil, username=nil)
|
1347
|
+
@TaskId = taskid
|
1348
|
+
@TaskName = taskname
|
1349
|
+
@Status = status
|
1350
|
+
@Progress = progress
|
1351
|
+
@TaskTime = tasktime
|
1352
|
+
@ReportId = reportid
|
1353
|
+
@ReportName = reportname
|
1354
|
+
@ScanPlan = scanplan
|
1355
|
+
@AssetCount = assetcount
|
1356
|
+
@AppId = appid
|
1357
|
+
@UIN = uin
|
1358
|
+
@UserName = username
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
def deserialize(params)
|
1362
|
+
@TaskId = params['TaskId']
|
1363
|
+
@TaskName = params['TaskName']
|
1364
|
+
@Status = params['Status']
|
1365
|
+
@Progress = params['Progress']
|
1366
|
+
@TaskTime = params['TaskTime']
|
1367
|
+
@ReportId = params['ReportId']
|
1368
|
+
@ReportName = params['ReportName']
|
1369
|
+
@ScanPlan = params['ScanPlan']
|
1370
|
+
@AssetCount = params['AssetCount']
|
1371
|
+
@AppId = params['AppId']
|
1372
|
+
@UIN = params['UIN']
|
1373
|
+
@UserName = params['UserName']
|
1374
|
+
end
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
# 子网资产
|
1378
|
+
class SubnetAsset < TencentCloud::Common::AbstractModel
|
1379
|
+
# @param AppId: appid
|
1380
|
+
# @type AppId: String
|
1381
|
+
# @param Uin: uin
|
1382
|
+
# @type Uin: String
|
1383
|
+
# @param AssetId: 资产ID
|
1384
|
+
# @type AssetId: String
|
1385
|
+
# @param AssetName: 资产名
|
1386
|
+
# @type AssetName: String
|
1387
|
+
# @param Region: 区域
|
1388
|
+
# @type Region: String
|
1389
|
+
# @param VpcId: 私有网络id
|
1390
|
+
# @type VpcId: String
|
1391
|
+
# @param VpcName: 私有网络名
|
1392
|
+
# @type VpcName: String
|
1393
|
+
# @param Tag: 标签
|
1394
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1395
|
+
# @type Tag: Array
|
1396
|
+
# @param Nick: 昵称
|
1397
|
+
# @type Nick: String
|
1398
|
+
# @param CIDR: cidr
|
1399
|
+
# @type CIDR: String
|
1400
|
+
# @param Zone: 可用区
|
1401
|
+
# @type Zone: String
|
1402
|
+
# @param CVM: cvm数
|
1403
|
+
# @type CVM: Integer
|
1404
|
+
# @param AvailableIp: 可用ip数
|
1405
|
+
# @type AvailableIp: Integer
|
1406
|
+
# @param CreateTime: 创建时间
|
1407
|
+
# @type CreateTime: String
|
1408
|
+
# @param ConfigureRisk: 配置风险
|
1409
|
+
# @type ConfigureRisk: Integer
|
1410
|
+
# @param ScanTask: 任务数
|
1411
|
+
# @type ScanTask: Integer
|
1412
|
+
# @param LastScanTime: 最后扫描时间
|
1413
|
+
# @type LastScanTime: String
|
1414
|
+
# @param IsCore: 是否核心
|
1415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1416
|
+
# @type IsCore: Integer
|
1417
|
+
|
1418
|
+
attr_accessor :AppId, :Uin, :AssetId, :AssetName, :Region, :VpcId, :VpcName, :Tag, :Nick, :CIDR, :Zone, :CVM, :AvailableIp, :CreateTime, :ConfigureRisk, :ScanTask, :LastScanTime, :IsCore
|
1419
|
+
|
1420
|
+
def initialize(appid=nil, uin=nil, assetid=nil, assetname=nil, region=nil, vpcid=nil, vpcname=nil, tag=nil, nick=nil, cidr=nil, zone=nil, cvm=nil, availableip=nil, createtime=nil, configurerisk=nil, scantask=nil, lastscantime=nil, iscore=nil)
|
1421
|
+
@AppId = appid
|
1422
|
+
@Uin = uin
|
1423
|
+
@AssetId = assetid
|
1424
|
+
@AssetName = assetname
|
1425
|
+
@Region = region
|
1426
|
+
@VpcId = vpcid
|
1427
|
+
@VpcName = vpcname
|
1428
|
+
@Tag = tag
|
1429
|
+
@Nick = nick
|
1430
|
+
@CIDR = cidr
|
1431
|
+
@Zone = zone
|
1432
|
+
@CVM = cvm
|
1433
|
+
@AvailableIp = availableip
|
1434
|
+
@CreateTime = createtime
|
1435
|
+
@ConfigureRisk = configurerisk
|
1436
|
+
@ScanTask = scantask
|
1437
|
+
@LastScanTime = lastscantime
|
1438
|
+
@IsCore = iscore
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
def deserialize(params)
|
1442
|
+
@AppId = params['AppId']
|
1443
|
+
@Uin = params['Uin']
|
1444
|
+
@AssetId = params['AssetId']
|
1445
|
+
@AssetName = params['AssetName']
|
1446
|
+
@Region = params['Region']
|
1447
|
+
@VpcId = params['VpcId']
|
1448
|
+
@VpcName = params['VpcName']
|
1449
|
+
unless params['Tag'].nil?
|
1450
|
+
@Tag = []
|
1451
|
+
params['Tag'].each do |i|
|
1452
|
+
tag_tmp = Tag.new
|
1453
|
+
tag_tmp.deserialize(i)
|
1454
|
+
@Tag << tag_tmp
|
1455
|
+
end
|
1456
|
+
end
|
1457
|
+
@Nick = params['Nick']
|
1458
|
+
@CIDR = params['CIDR']
|
1459
|
+
@Zone = params['Zone']
|
1460
|
+
@CVM = params['CVM']
|
1461
|
+
@AvailableIp = params['AvailableIp']
|
1462
|
+
@CreateTime = params['CreateTime']
|
1463
|
+
@ConfigureRisk = params['ConfigureRisk']
|
1464
|
+
@ScanTask = params['ScanTask']
|
1465
|
+
@LastScanTime = params['LastScanTime']
|
1466
|
+
@IsCore = params['IsCore']
|
1467
|
+
end
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
# 标签
|
1471
|
+
class Tag < TencentCloud::Common::AbstractModel
|
1472
|
+
# @param Name: 标签名称
|
1473
|
+
# @type Name: String
|
1474
|
+
# @param Value: 标签内容
|
1475
|
+
# @type Value: String
|
1476
|
+
|
1477
|
+
attr_accessor :Name, :Value
|
1478
|
+
|
1479
|
+
def initialize(name=nil, value=nil)
|
1480
|
+
@Name = name
|
1481
|
+
@Value = value
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
def deserialize(params)
|
1485
|
+
@Name = params['Name']
|
1486
|
+
@Value = params['Value']
|
1487
|
+
end
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
# vpc列表数据
|
1491
|
+
class Vpc < TencentCloud::Common::AbstractModel
|
1492
|
+
# @param Subnet: 子网(只支持32位)
|
1493
|
+
# @type Subnet: Integer
|
1494
|
+
# @param ConnectedVpc: 互通vpc(只支持32位)
|
1495
|
+
# @type ConnectedVpc: Integer
|
1496
|
+
# @param AssetId: 资产id
|
1497
|
+
# @type AssetId: String
|
1498
|
+
# @param Region: region区域
|
1499
|
+
# @type Region: String
|
1500
|
+
# @param CVM: 云服务器(只支持32位)
|
1501
|
+
# @type CVM: Integer
|
1502
|
+
# @param Tag: 标签
|
1503
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1504
|
+
# @type Tag: Array
|
1505
|
+
# @param DNS: dns域名
|
1506
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1507
|
+
# @type DNS: Array
|
1508
|
+
# @param AssetName: 资产名称
|
1509
|
+
# @type AssetName: String
|
1510
|
+
# @param CIDR: cidr网段
|
1511
|
+
# @type CIDR: String
|
1512
|
+
# @param CreateTime: 资产创建时间
|
1513
|
+
# @type CreateTime: String
|
1514
|
+
# @param AppId: appid
|
1515
|
+
# @type AppId: String
|
1516
|
+
# @param Uin: uin
|
1517
|
+
# @type Uin: String
|
1518
|
+
# @param Nick: 昵称
|
1519
|
+
# @type Nick: String
|
1520
|
+
|
1521
|
+
attr_accessor :Subnet, :ConnectedVpc, :AssetId, :Region, :CVM, :Tag, :DNS, :AssetName, :CIDR, :CreateTime, :AppId, :Uin, :Nick
|
1522
|
+
|
1523
|
+
def initialize(subnet=nil, connectedvpc=nil, assetid=nil, region=nil, cvm=nil, tag=nil, dns=nil, assetname=nil, cidr=nil, createtime=nil, appid=nil, uin=nil, nick=nil)
|
1524
|
+
@Subnet = subnet
|
1525
|
+
@ConnectedVpc = connectedvpc
|
1526
|
+
@AssetId = assetid
|
1527
|
+
@Region = region
|
1528
|
+
@CVM = cvm
|
1529
|
+
@Tag = tag
|
1530
|
+
@DNS = dns
|
1531
|
+
@AssetName = assetname
|
1532
|
+
@CIDR = cidr
|
1533
|
+
@CreateTime = createtime
|
1534
|
+
@AppId = appid
|
1535
|
+
@Uin = uin
|
1536
|
+
@Nick = nick
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
def deserialize(params)
|
1540
|
+
@Subnet = params['Subnet']
|
1541
|
+
@ConnectedVpc = params['ConnectedVpc']
|
1542
|
+
@AssetId = params['AssetId']
|
1543
|
+
@Region = params['Region']
|
1544
|
+
@CVM = params['CVM']
|
1545
|
+
unless params['Tag'].nil?
|
1546
|
+
@Tag = []
|
1547
|
+
params['Tag'].each do |i|
|
1548
|
+
tag_tmp = Tag.new
|
1549
|
+
tag_tmp.deserialize(i)
|
1550
|
+
@Tag << tag_tmp
|
1551
|
+
end
|
1552
|
+
end
|
1553
|
+
@DNS = params['DNS']
|
1554
|
+
@AssetName = params['AssetName']
|
1555
|
+
@CIDR = params['CIDR']
|
1556
|
+
@CreateTime = params['CreateTime']
|
1557
|
+
@AppId = params['AppId']
|
1558
|
+
@Uin = params['Uin']
|
1559
|
+
@Nick = params['Nick']
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
# 过滤条件
|
1564
|
+
class WhereFilter < TencentCloud::Common::AbstractModel
|
1565
|
+
# @param Name: 过滤的项
|
1566
|
+
# @type Name: String
|
1567
|
+
# @param Values: 过滤的值
|
1568
|
+
# @type Values: Array
|
1569
|
+
# @param OperatorType: 精确匹配填 7 模糊匹配填9 , 兼容 中台定的结构
|
1570
|
+
# @type OperatorType: Integer
|
1571
|
+
|
1572
|
+
attr_accessor :Name, :Values, :OperatorType
|
1573
|
+
|
1574
|
+
def initialize(name=nil, values=nil, operatortype=nil)
|
1575
|
+
@Name = name
|
1576
|
+
@Values = values
|
1577
|
+
@OperatorType = operatortype
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
def deserialize(params)
|
1581
|
+
@Name = params['Name']
|
1582
|
+
@Values = params['Values']
|
1583
|
+
@OperatorType = params['OperatorType']
|
1584
|
+
end
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
end
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
|