public class Device extends AbstractModel
header, skipSign
Constructor and Description |
---|
Device() |
Device(Device 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 |
getAccountCount()
Get 资产绑定的账号数
|
String |
getApCode()
Get 地域编码
|
Department |
getDepartment()
Get 资产所属部门
|
String |
getDomainId()
Get 网络域Id
|
String |
getDomainName()
Get 网络域名称
|
Long |
getEnableSSL()
Get 是否启用SSL,仅支持Redis资产。0:禁用 1:启用
|
Group[] |
getGroupSet()
Get 所属资产组列表
|
Long |
getId()
Get 资产ID
|
String |
getInstanceId()
Get 实例ID,对应CVM、CDB等实例ID
|
Long |
getIOAId()
Get IOA侧的资源ID
|
String[] |
getIpPortSet()
Get 数据库资产的多节点
|
Long |
getKind()
Get 资产类型 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
|
Long |
getManageAccountId()
Get K8S集群托管账号id
|
Long |
getManageDimension()
Get K8S集群托管维度。1-集群,2-命名空间,3-工作负载
|
String |
getName()
Get 资产名
|
String |
getNamespace()
Get K8S集群命名空间
|
String |
getOsName()
Get 操作系统名称
|
Long |
getPort()
Get 管理端口
|
String |
getPrivateIp()
Get 内网IP
|
String |
getPublicIp()
Get 公网IP
|
Resource |
getResource()
Get 堡垒机服务信息,注意没有绑定服务时为null
|
String |
getSSLCertName()
Get 已上传的SSL证书名称
|
String |
getSubnetId()
Get 子网ID
|
Long |
getSyncPodCount()
Get K8S集群pod已同步数量
|
Long |
getTotalPodCount()
Get K8S集群pod总数量
|
String |
getVpcId()
Get VPC ID
|
String |
getWorkload()
Get K8S集群工作负载
|
void |
setAccountCount(Long AccountCount)
Set 资产绑定的账号数
|
void |
setApCode(String ApCode)
Set 地域编码
|
void |
setDepartment(Department Department)
Set 资产所属部门
|
void |
setDomainId(String DomainId)
Set 网络域Id
|
void |
setDomainName(String DomainName)
Set 网络域名称
|
void |
setEnableSSL(Long EnableSSL)
Set 是否启用SSL,仅支持Redis资产。0:禁用 1:启用
|
void |
setGroupSet(Group[] GroupSet)
Set 所属资产组列表
|
void |
setId(Long Id)
Set 资产ID
|
void |
setInstanceId(String InstanceId)
Set 实例ID,对应CVM、CDB等实例ID
|
void |
setIOAId(Long IOAId)
Set IOA侧的资源ID
|
void |
setIpPortSet(String[] IpPortSet)
Set 数据库资产的多节点
|
void |
setKind(Long Kind)
Set 资产类型 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
|
void |
setManageAccountId(Long ManageAccountId)
Set K8S集群托管账号id
|
void |
setManageDimension(Long ManageDimension)
Set K8S集群托管维度。1-集群,2-命名空间,3-工作负载
|
void |
setName(String Name)
Set 资产名
|
void |
setNamespace(String Namespace)
Set K8S集群命名空间
|
void |
setOsName(String OsName)
Set 操作系统名称
|
void |
setPort(Long Port)
Set 管理端口
|
void |
setPrivateIp(String PrivateIp)
Set 内网IP
|
void |
setPublicIp(String PublicIp)
Set 公网IP
|
void |
setResource(Resource Resource)
Set 堡垒机服务信息,注意没有绑定服务时为null
|
void |
setSSLCertName(String SSLCertName)
Set 已上传的SSL证书名称
|
void |
setSubnetId(String SubnetId)
Set 子网ID
|
void |
setSyncPodCount(Long SyncPodCount)
Set K8S集群pod已同步数量
|
void |
setTotalPodCount(Long TotalPodCount)
Set K8S集群pod总数量
|
void |
setVpcId(String VpcId)
Set VPC ID
|
void |
setWorkload(String Workload)
Set K8S集群工作负载
|
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 Device()
public Device(Device source)
public Long getId()
public void setId(Long Id)
Id
- 资产IDpublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例ID,对应CVM、CDB等实例IDpublic String getName()
public void setName(String Name)
Name
- 资产名public String getPublicIp()
public void setPublicIp(String PublicIp)
PublicIp
- 公网IPpublic String getPrivateIp()
public void setPrivateIp(String PrivateIp)
PrivateIp
- 内网IPpublic String getApCode()
public void setApCode(String ApCode)
ApCode
- 地域编码public String getOsName()
public void setOsName(String OsName)
OsName
- 操作系统名称public Long getKind()
public void setKind(Long Kind)
Kind
- 资产类型 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServerpublic Long getPort()
public void setPort(Long Port)
Port
- 管理端口public Group[] getGroupSet()
public void setGroupSet(Group[] GroupSet)
GroupSet
- 所属资产组列表public Long getAccountCount()
public void setAccountCount(Long AccountCount)
AccountCount
- 资产绑定的账号数public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- 子网IDpublic Resource getResource()
public void setResource(Resource Resource)
Resource
- 堡垒机服务信息,注意没有绑定服务时为nullpublic Department getDepartment()
public void setDepartment(Department Department)
Department
- 资产所属部门public String[] getIpPortSet()
public void setIpPortSet(String[] IpPortSet)
IpPortSet
- 数据库资产的多节点public String getDomainId()
public void setDomainId(String DomainId)
DomainId
- 网络域Idpublic String getDomainName()
public void setDomainName(String DomainName)
DomainName
- 网络域名称public Long getEnableSSL()
public void setEnableSSL(Long EnableSSL)
EnableSSL
- 是否启用SSL,仅支持Redis资产。0:禁用 1:启用public String getSSLCertName()
public void setSSLCertName(String SSLCertName)
SSLCertName
- 已上传的SSL证书名称public Long getIOAId()
public void setIOAId(Long IOAId)
IOAId
- IOA侧的资源IDpublic Long getManageDimension()
public void setManageDimension(Long ManageDimension)
ManageDimension
- K8S集群托管维度。1-集群,2-命名空间,3-工作负载public Long getManageAccountId()
public void setManageAccountId(Long ManageAccountId)
ManageAccountId
- K8S集群托管账号idpublic String getNamespace()
public void setNamespace(String Namespace)
Namespace
- K8S集群命名空间public String getWorkload()
public void setWorkload(String Workload)
Workload
- K8S集群工作负载public Long getSyncPodCount()
public void setSyncPodCount(Long SyncPodCount)
SyncPodCount
- K8S集群pod已同步数量public Long getTotalPodCount()
public void setTotalPodCount(Long TotalPodCount)
TotalPodCount
- K8S集群pod总数量Copyright © 2025. All rights reserved.