public class AssetCluster extends AbstractModel
header, skipSign
Constructor and Description |
---|
AssetCluster() |
AssetCluster(AssetCluster source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAppId()
Get 租户id
|
String |
getAssetId()
Get 集群id
|
String |
getAssetName()
Get 集群名称
|
String |
getAssetType()
Get 集群类型
|
Long |
getCFGRisk()
Get 配置风险
|
Long |
getCheckCount()
Get 体检数
|
String |
getCheckTime()
Get 体检时间
|
Long |
getCloudType()
Get 云资产类型:0:腾讯云,1:aws,2:azure
|
String |
getComponent()
Get 运行时组件
|
String |
getComponentStatus()
Get 组件状态
|
String |
getComponentVersion()
Get 运行时组件版本
|
String |
getInstanceCreateTime()
Get 集群创建时间
|
Long |
getIsCore()
Get 是否核心:1:核心,2:非核心
|
Long |
getIsNewAsset()
Get 是否新资产 1新
|
String |
getKubernetesVersion()
Get kubernetes版本
|
Long |
getMachineCount()
Get 关联主机数
|
String |
getNick()
Get 租户昵称
|
Long |
getPodCount()
Get 关联pod数
|
String |
getProtectInfo()
Get 接入信息,不为空表示有接入异常信息
|
Long |
getProtectStatus()
Get 集群防护状态,左边枚举,右边为显示
集群防护状态
0:未接入
1:未防护
2:部分防护
3:防护中
4:接入异常
5:接入中
6:卸载中
7:卸载异常
|
String |
getRegion()
Get 地域
|
Long |
getServiceCount()
Get 关联service数
|
String |
getStatus()
Get 状态
|
String |
getUin()
Get 租户uin
|
String |
getVpcId()
Get 私有网络id
|
String |
getVpcName()
Get 私有网络名称
|
Long |
getVulRisk()
Get 漏洞风险
|
void |
setAppId(Long AppId)
Set 租户id
|
void |
setAssetId(String AssetId)
Set 集群id
|
void |
setAssetName(String AssetName)
Set 集群名称
|
void |
setAssetType(String AssetType)
Set 集群类型
|
void |
setCFGRisk(Long CFGRisk)
Set 配置风险
|
void |
setCheckCount(Long CheckCount)
Set 体检数
|
void |
setCheckTime(String CheckTime)
Set 体检时间
|
void |
setCloudType(Long CloudType)
Set 云资产类型:0:腾讯云,1:aws,2:azure
|
void |
setComponent(String Component)
Set 运行时组件
|
void |
setComponentStatus(String ComponentStatus)
Set 组件状态
|
void |
setComponentVersion(String ComponentVersion)
Set 运行时组件版本
|
void |
setInstanceCreateTime(String InstanceCreateTime)
Set 集群创建时间
|
void |
setIsCore(Long IsCore)
Set 是否核心:1:核心,2:非核心
|
void |
setIsNewAsset(Long IsNewAsset)
Set 是否新资产 1新
|
void |
setKubernetesVersion(String KubernetesVersion)
Set kubernetes版本
|
void |
setMachineCount(Long MachineCount)
Set 关联主机数
|
void |
setNick(String Nick)
Set 租户昵称
|
void |
setPodCount(Long PodCount)
Set 关联pod数
|
void |
setProtectInfo(String ProtectInfo)
Set 接入信息,不为空表示有接入异常信息
|
void |
setProtectStatus(Long ProtectStatus)
Set 集群防护状态,左边枚举,右边为显示
集群防护状态
0:未接入
1:未防护
2:部分防护
3:防护中
4:接入异常
5:接入中
6:卸载中
7:卸载异常
|
void |
setRegion(String Region)
Set 地域
|
void |
setServiceCount(Long ServiceCount)
Set 关联service数
|
void |
setStatus(String Status)
Set 状态
|
void |
setUin(String Uin)
Set 租户uin
|
void |
setVpcId(String VpcId)
Set 私有网络id
|
void |
setVpcName(String VpcName)
Set 私有网络名称
|
void |
setVulRisk(Long VulRisk)
Set 漏洞风险
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AssetCluster()
public AssetCluster(AssetCluster source)
public Long getAppId()
public void setAppId(Long AppId)
AppId
- 租户idpublic String getUin()
public void setUin(String Uin)
Uin
- 租户uinpublic String getNick()
public void setNick(String Nick)
Nick
- 租户昵称public String getRegion()
public void setRegion(String Region)
Region
- 地域public String getAssetId()
public void setAssetId(String AssetId)
AssetId
- 集群idpublic String getAssetName()
public void setAssetName(String AssetName)
AssetName
- 集群名称public String getAssetType()
public void setAssetType(String AssetType)
AssetType
- 集群类型public String getInstanceCreateTime()
public void setInstanceCreateTime(String InstanceCreateTime)
InstanceCreateTime
- 集群创建时间public String getStatus()
public void setStatus(String Status)
Status
- 状态public Long getProtectStatus()
public void setProtectStatus(Long ProtectStatus)
ProtectStatus
- 集群防护状态,左边枚举,右边为显示
集群防护状态
0:未接入
1:未防护
2:部分防护
3:防护中
4:接入异常
5:接入中
6:卸载中
7:卸载异常public String getProtectInfo()
public void setProtectInfo(String ProtectInfo)
ProtectInfo
- 接入信息,不为空表示有接入异常信息public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- 私有网络idpublic String getVpcName()
public void setVpcName(String VpcName)
VpcName
- 私有网络名称public String getKubernetesVersion()
public void setKubernetesVersion(String KubernetesVersion)
KubernetesVersion
- kubernetes版本public String getComponent()
public void setComponent(String Component)
Component
- 运行时组件public String getComponentVersion()
public void setComponentVersion(String ComponentVersion)
ComponentVersion
- 运行时组件版本public String getComponentStatus()
public void setComponentStatus(String ComponentStatus)
ComponentStatus
- 组件状态public String getCheckTime()
public void setCheckTime(String CheckTime)
CheckTime
- 体检时间public Long getMachineCount()
public void setMachineCount(Long MachineCount)
MachineCount
- 关联主机数public Long getPodCount()
public void setPodCount(Long PodCount)
PodCount
- 关联pod数public Long getServiceCount()
public void setServiceCount(Long ServiceCount)
ServiceCount
- 关联service数public Long getVulRisk()
public void setVulRisk(Long VulRisk)
VulRisk
- 漏洞风险public Long getCFGRisk()
public void setCFGRisk(Long CFGRisk)
CFGRisk
- 配置风险public Long getCheckCount()
public void setCheckCount(Long CheckCount)
CheckCount
- 体检数public Long getIsCore()
public void setIsCore(Long IsCore)
IsCore
- 是否核心:1:核心,2:非核心public Long getIsNewAsset()
public void setIsNewAsset(Long IsNewAsset)
IsNewAsset
- 是否新资产 1新public Long getCloudType()
public void setCloudType(Long CloudType)
CloudType
- 云资产类型:0:腾讯云,1:aws,2:azureCopyright © 2025. All rights reserved.