public class ChcHost extends AbstractModel
header, skipSign
Constructor and Description |
---|
ChcHost() |
ChcHost(ChcHost 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 |
---|---|
String |
getBmcIp()
Get Out-of-band network IP
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getBmcMAC()
Get MAC address assigned under the out-of-band network
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String[] |
getBmcSecurityGroupIds()
Get Out-of-band network security group ID
Note: This field may return `null`, indicating that no valid values can be obtained.
|
VirtualPrivateCloud |
getBmcVirtualPrivateCloud()
Get Out-of-band network
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getChcId()
Get CHC host ID
|
Long |
getCPU()
Get CPU cores of the CHC host
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getCreatedTime()
Get Server creation time
|
String |
getCvmInstanceId()
Get ID of the associated CVM
Note: This field may return `null`, indicating that no valid values can be obtained.
|
ChcDeployExtraConfig |
getDeployExtraConfig()
Get CHC DHCP option, which is used for MiniOS debugging.
|
String |
getDeployIp()
Get Deployment network IP
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getDeployMAC()
Get MAC address assigned under the deployment network
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String[] |
getDeploySecurityGroupIds()
Get Deployment network security group ID
Note: This field may return `null`, indicating that no valid values can be obtained.
|
VirtualPrivateCloud |
getDeployVirtualPrivateCloud()
Get Deployment network
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getDeviceType()
Get Device type
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getDisk()
Get Disk capacity of the CHC host
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getHardwareDescription()
Get Instance hardware description, including CPU cores, memory capacity and disk capacity.
|
String |
getInstanceName()
Get Instance name
|
String |
getInstanceState()
Get CHC host status
REGISTERED: The CHC host is registered, but the out-of-band network and deployment network are not configured. VPC_READY: The out-of-band network and deployment network are configured. PREPARED: It’s ready and can be associated with a CVM. ONLINE: It’s already associated with a CVM. |
Long |
getMemory()
Get Memory capacity of the CHC host (unit: GB)
Note: This field may return `null`, indicating that no valid values can be obtained.
|
Placement |
getPlacement()
Get Availability zone
|
String |
getSerialNumber()
Get Server serial number
|
String |
getTenantType()
Get Management type
HOSTING: Hosting
TENANT: Leasing
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setBmcIp(String BmcIp)
Set Out-of-band network IP
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setBmcMAC(String BmcMAC)
Set MAC address assigned under the out-of-band network
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setBmcSecurityGroupIds(String[] BmcSecurityGroupIds)
Set Out-of-band network security group ID
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setBmcVirtualPrivateCloud(VirtualPrivateCloud BmcVirtualPrivateCloud)
Set Out-of-band network
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setChcId(String ChcId)
Set CHC host ID
|
void |
setCPU(Long CPU)
Set CPU cores of the CHC host
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setCreatedTime(String CreatedTime)
Set Server creation time
|
void |
setCvmInstanceId(String CvmInstanceId)
Set ID of the associated CVM
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setDeployExtraConfig(ChcDeployExtraConfig DeployExtraConfig)
Set CHC DHCP option, which is used for MiniOS debugging.
|
void |
setDeployIp(String DeployIp)
Set Deployment network IP
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setDeployMAC(String DeployMAC)
Set MAC address assigned under the deployment network
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setDeploySecurityGroupIds(String[] DeploySecurityGroupIds)
Set Deployment network security group ID
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setDeployVirtualPrivateCloud(VirtualPrivateCloud DeployVirtualPrivateCloud)
Set Deployment network
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setDeviceType(String DeviceType)
Set Device type
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setDisk(String Disk)
Set Disk capacity of the CHC host
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setHardwareDescription(String HardwareDescription)
Set Instance hardware description, including CPU cores, memory capacity and disk capacity.
|
void |
setInstanceName(String InstanceName)
Set Instance name
|
void |
setInstanceState(String InstanceState)
Set CHC host status
REGISTERED: The CHC host is registered, but the out-of-band network and deployment network are not configured. VPC_READY: The out-of-band network and deployment network are configured. PREPARED: It’s ready and can be associated with a CVM. ONLINE: It’s already associated with a CVM. |
void |
setMemory(Long Memory)
Set Memory capacity of the CHC host (unit: GB)
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setPlacement(Placement Placement)
Set Availability zone
|
void |
setSerialNumber(String SerialNumber)
Set Server serial number
|
void |
setTenantType(String TenantType)
Set Management type
HOSTING: Hosting
TENANT: Leasing
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ChcHost()
public ChcHost(ChcHost source)
public String getChcId()
public void setChcId(String ChcId)
ChcId
- CHC host IDpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance namepublic String getSerialNumber()
public void setSerialNumber(String SerialNumber)
SerialNumber
- Server serial numberpublic String getInstanceState()
public void setInstanceState(String InstanceState)
InstanceState
- CHC host statuspublic String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType
- Device type
Note: This field may return `null`, indicating that no valid values can be obtained.public Placement getPlacement()
public void setPlacement(Placement Placement)
Placement
- Availability zonepublic VirtualPrivateCloud getBmcVirtualPrivateCloud()
public void setBmcVirtualPrivateCloud(VirtualPrivateCloud BmcVirtualPrivateCloud)
BmcVirtualPrivateCloud
- Out-of-band network
Note: This field may return `null`, indicating that no valid values can be obtained.public String getBmcIp()
public void setBmcIp(String BmcIp)
BmcIp
- Out-of-band network IP
Note: This field may return `null`, indicating that no valid values can be obtained.public String[] getBmcSecurityGroupIds()
public void setBmcSecurityGroupIds(String[] BmcSecurityGroupIds)
BmcSecurityGroupIds
- Out-of-band network security group ID
Note: This field may return `null`, indicating that no valid values can be obtained.public VirtualPrivateCloud getDeployVirtualPrivateCloud()
public void setDeployVirtualPrivateCloud(VirtualPrivateCloud DeployVirtualPrivateCloud)
DeployVirtualPrivateCloud
- Deployment network
Note: This field may return `null`, indicating that no valid values can be obtained.public String getDeployIp()
public void setDeployIp(String DeployIp)
DeployIp
- Deployment network IP
Note: This field may return `null`, indicating that no valid values can be obtained.public String[] getDeploySecurityGroupIds()
public void setDeploySecurityGroupIds(String[] DeploySecurityGroupIds)
DeploySecurityGroupIds
- Deployment network security group ID
Note: This field may return `null`, indicating that no valid values can be obtained.public String getCvmInstanceId()
public void setCvmInstanceId(String CvmInstanceId)
CvmInstanceId
- ID of the associated CVM
Note: This field may return `null`, indicating that no valid values can be obtained.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Server creation timepublic String getHardwareDescription()
public void setHardwareDescription(String HardwareDescription)
HardwareDescription
- Instance hardware description, including CPU cores, memory capacity and disk capacity.
Note: This field may return `null`, indicating that no valid values can be obtained.public Long getCPU()
public void setCPU(Long CPU)
CPU
- CPU cores of the CHC host
Note: This field may return `null`, indicating that no valid values can be obtained.public Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory capacity of the CHC host (unit: GB)
Note: This field may return `null`, indicating that no valid values can be obtained.public String getDisk()
public void setDisk(String Disk)
Disk
- Disk capacity of the CHC host
Note: This field may return `null`, indicating that no valid values can be obtained.public String getBmcMAC()
public void setBmcMAC(String BmcMAC)
BmcMAC
- MAC address assigned under the out-of-band network
Note: This field may return `null`, indicating that no valid values can be obtained.public String getDeployMAC()
public void setDeployMAC(String DeployMAC)
DeployMAC
- MAC address assigned under the deployment network
Note: This field may return `null`, indicating that no valid values can be obtained.public String getTenantType()
public void setTenantType(String TenantType)
TenantType
- Management type
HOSTING: Hosting
TENANT: Leasing
Note: This field may return `null`, indicating that no valid values can be obtained.public ChcDeployExtraConfig getDeployExtraConfig()
public void setDeployExtraConfig(ChcDeployExtraConfig DeployExtraConfig)
DeployExtraConfig
- CHC DHCP option, which is used for MiniOS debugging.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.