public class RespInstanceBase extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RespInstanceBase.ChargingModeEnum
实例计费方式: - 0:按需计费 - 1:包周期计费
|
static class |
RespInstanceBase.InstanceStatusEnum
实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时
|
static class |
RespInstanceBase.SpecEnum
实例规格: - ROMA_BASIC:基础版实例 - ROMA_PROFESSIONAL:专业版实例 - ROMA_ENTERPRISE:企业版实例 - ROMA_PLATINUM:铂金版实例 [- ROMA_BASIC_IPV6:基础版IPV6实例](tag:hcs) [- ROMA_PROFESSIONAL_IPV6:专业版IPV6实例](tag:hcs) [- ROMA_ENTERPRISE_IPV6:企业版IPV6实例](tag:hcs) [- ROMA_PLATINUM_IPV6:铂金版IPV6实例](tag:hcs)
|
static class |
RespInstanceBase.StatusEnum
实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时
|
| Constructor and Description |
|---|
RespInstanceBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCbcMetadata()
包周期计费订单编号
|
RespInstanceBase.ChargingModeEnum |
getChargingMode()
实例计费方式: - 0:按需计费 - 1:包周期计费
|
Long |
getCreateTime()
实例创建时间。unix时间戳格式。
|
String |
getEipAddress()
实例绑定的弹性IP地址
|
String |
getEnterpriseProjectId()
企业项目ID,企业帐号必填
|
String |
getId()
实例编号
|
String |
getInstanceName()
实例名称
|
RespInstanceBase.InstanceStatusEnum |
getInstanceStatus()
实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时
|
String |
getProjectId()
实例所属项目编号
|
RespInstanceBase.SpecEnum |
getSpec()
实例规格: - ROMA_BASIC:基础版实例 - ROMA_PROFESSIONAL:专业版实例 - ROMA_ENTERPRISE:企业版实例 - ROMA_PLATINUM:铂金版实例 [- ROMA_BASIC_IPV6:基础版IPV6实例](tag:hcs) [- ROMA_PROFESSIONAL_IPV6:专业版IPV6实例](tag:hcs) [- ROMA_ENTERPRISE_IPV6:企业版IPV6实例](tag:hcs) [- ROMA_PLATINUM_IPV6:铂金版IPV6实例](tag:hcs)
|
RespInstanceBase.StatusEnum |
getStatus()
实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时
|
String |
getType()
实例类型 暂不支持
|
int |
hashCode() |
void |
setCbcMetadata(String cbcMetadata) |
void |
setChargingMode(RespInstanceBase.ChargingModeEnum chargingMode) |
void |
setCreateTime(Long createTime) |
void |
setEipAddress(String eipAddress) |
void |
setEnterpriseProjectId(String enterpriseProjectId) |
void |
setId(String id) |
void |
setInstanceName(String instanceName) |
void |
setInstanceStatus(RespInstanceBase.InstanceStatusEnum instanceStatus) |
void |
setProjectId(String projectId) |
void |
setSpec(RespInstanceBase.SpecEnum spec) |
void |
setStatus(RespInstanceBase.StatusEnum status) |
void |
setType(String type) |
String |
toString() |
RespInstanceBase |
withCbcMetadata(String cbcMetadata) |
RespInstanceBase |
withChargingMode(RespInstanceBase.ChargingModeEnum chargingMode) |
RespInstanceBase |
withCreateTime(Long createTime) |
RespInstanceBase |
withEipAddress(String eipAddress) |
RespInstanceBase |
withEnterpriseProjectId(String enterpriseProjectId) |
RespInstanceBase |
withId(String id) |
RespInstanceBase |
withInstanceName(String instanceName) |
RespInstanceBase |
withInstanceStatus(RespInstanceBase.InstanceStatusEnum instanceStatus) |
RespInstanceBase |
withProjectId(String projectId) |
RespInstanceBase |
withSpec(RespInstanceBase.SpecEnum spec) |
RespInstanceBase |
withStatus(RespInstanceBase.StatusEnum status) |
RespInstanceBase |
withType(String type) |
public RespInstanceBase withId(String id)
public String getId()
public void setId(String id)
public RespInstanceBase withProjectId(String projectId)
public String getProjectId()
public void setProjectId(String projectId)
public RespInstanceBase withInstanceName(String instanceName)
public String getInstanceName()
public void setInstanceName(String instanceName)
public RespInstanceBase withStatus(RespInstanceBase.StatusEnum status)
public RespInstanceBase.StatusEnum getStatus()
public void setStatus(RespInstanceBase.StatusEnum status)
public RespInstanceBase withInstanceStatus(RespInstanceBase.InstanceStatusEnum instanceStatus)
public RespInstanceBase.InstanceStatusEnum getInstanceStatus()
public void setInstanceStatus(RespInstanceBase.InstanceStatusEnum instanceStatus)
public RespInstanceBase withType(String type)
public String getType()
public void setType(String type)
public RespInstanceBase withSpec(RespInstanceBase.SpecEnum spec)
public RespInstanceBase.SpecEnum getSpec()
public void setSpec(RespInstanceBase.SpecEnum spec)
public RespInstanceBase withCreateTime(Long createTime)
public Long getCreateTime()
public void setCreateTime(Long createTime)
public RespInstanceBase withEnterpriseProjectId(String enterpriseProjectId)
public String getEnterpriseProjectId()
public void setEnterpriseProjectId(String enterpriseProjectId)
public RespInstanceBase withEipAddress(String eipAddress)
public String getEipAddress()
public void setEipAddress(String eipAddress)
public RespInstanceBase withChargingMode(RespInstanceBase.ChargingModeEnum chargingMode)
public RespInstanceBase.ChargingModeEnum getChargingMode()
public void setChargingMode(RespInstanceBase.ChargingModeEnum chargingMode)
public RespInstanceBase withCbcMetadata(String cbcMetadata)
public String getCbcMetadata()
public void setCbcMetadata(String cbcMetadata)
Copyright © 2022. All rights reserved.