Class: TencentCloud::Csip::V20221121::AssetCluster

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20221121/models.rb

Overview

集群防护状态,左边枚举,右边为显示集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(appid = nil, uin = nil, nick = nil, region = nil, assetid = nil, assetname = nil, assettype = nil, instancecreatetime = nil, status = nil, protectstatus = nil, protectinfo = nil, vpcid = nil, vpcname = nil, kubernetesversion = nil, component = nil, componentversion = nil, componentstatus = nil, checktime = nil, machinecount = nil, podcount = nil, servicecount = nil, vulrisk = nil, cfgrisk = nil, checkcount = nil, iscore = nil, isnewasset = nil, cloudtype = nil) ⇒ AssetCluster



1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
# File 'lib/v20221121/models.rb', line 1305

def initialize(appid=nil, uin=nil, nick=nil, region=nil, assetid=nil, assetname=nil, assettype=nil, instancecreatetime=nil, status=nil, protectstatus=nil, protectinfo=nil, vpcid=nil, vpcname=nil, kubernetesversion=nil, component=nil, componentversion=nil, componentstatus=nil, checktime=nil, machinecount=nil, podcount=nil, servicecount=nil, vulrisk=nil, cfgrisk=nil, checkcount=nil, iscore=nil, isnewasset=nil, cloudtype=nil)
  @AppId = appid
  @Uin = uin
  @Nick = nick
  @Region = region
  @AssetId = assetid
  @AssetName = assetname
  @AssetType = assettype
  @InstanceCreateTime = instancecreatetime
  @Status = status
  @ProtectStatus = protectstatus
  @ProtectInfo = protectinfo
  @VpcId = vpcid
  @VpcName = vpcname
  @KubernetesVersion = kubernetesversion
  @Component = component
  @ComponentVersion = componentversion
  @ComponentStatus = componentstatus
  @CheckTime = checktime
  @MachineCount = machinecount
  @PodCount = podcount
  @ServiceCount = servicecount
  @VulRisk = vulrisk
  @CFGRisk = cfgrisk
  @CheckCount = checkcount
  @IsCore = iscore
  @IsNewAsset = isnewasset
  @CloudType = cloudtype
end

Instance Attribute Details

#AppIdObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def AppId
  @AppId
end

#AssetIdObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def AssetId
  @AssetId
end

#AssetNameObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def AssetName
  @AssetName
end

#AssetTypeObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def AssetType
  @AssetType
end

#CFGRiskObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def CFGRisk
  @CFGRisk
end

#CheckCountObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def CheckCount
  @CheckCount
end

#CheckTimeObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def CheckTime
  @CheckTime
end

#CloudTypeObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def CloudType
  @CloudType
end

#ComponentObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def Component
  @Component
end

#ComponentStatusObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def ComponentStatus
  @ComponentStatus
end

#ComponentVersionObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def ComponentVersion
  @ComponentVersion
end

#InstanceCreateTimeObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def InstanceCreateTime
  @InstanceCreateTime
end

#IsCoreObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def IsCore
  @IsCore
end

#IsNewAssetObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def IsNewAsset
  @IsNewAsset
end

#KubernetesVersionObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def KubernetesVersion
  @KubernetesVersion
end

#MachineCountObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def MachineCount
  @MachineCount
end

#NickObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def Nick
  @Nick
end

#PodCountObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def PodCount
  @PodCount
end

#ProtectInfoObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def ProtectInfo
  @ProtectInfo
end

#ProtectStatusObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def ProtectStatus
  @ProtectStatus
end

#RegionObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def Region
  @Region
end

#ServiceCountObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def ServiceCount
  @ServiceCount
end

#StatusObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def Status
  @Status
end

#UinObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def Uin
  @Uin
end

#VpcIdObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def VpcId
  @VpcId
end

#VpcNameObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def VpcName
  @VpcName
end

#VulRiskObject

集群防护状态0:未接入1:未防护2:部分防护3:防护中4:接入异常5:接入中6:卸载中7:卸载异常



1303
1304
1305
# File 'lib/v20221121/models.rb', line 1303

def VulRisk
  @VulRisk
end

Instance Method Details

#deserialize(params) ⇒ Object



1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
# File 'lib/v20221121/models.rb', line 1335

def deserialize(params)
  @AppId = params['AppId']
  @Uin = params['Uin']
  @Nick = params['Nick']
  @Region = params['Region']
  @AssetId = params['AssetId']
  @AssetName = params['AssetName']
  @AssetType = params['AssetType']
  @InstanceCreateTime = params['InstanceCreateTime']
  @Status = params['Status']
  @ProtectStatus = params['ProtectStatus']
  @ProtectInfo = params['ProtectInfo']
  @VpcId = params['VpcId']
  @VpcName = params['VpcName']
  @KubernetesVersion = params['KubernetesVersion']
  @Component = params['Component']
  @ComponentVersion = params['ComponentVersion']
  @ComponentStatus = params['ComponentStatus']
  @CheckTime = params['CheckTime']
  @MachineCount = params['MachineCount']
  @PodCount = params['PodCount']
  @ServiceCount = params['ServiceCount']
  @VulRisk = params['VulRisk']
  @CFGRisk = params['CFGRisk']
  @CheckCount = params['CheckCount']
  @IsCore = params['IsCore']
  @IsNewAsset = params['IsNewAsset']
  @CloudType = params['CloudType']
end