public class ServerBaseConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
ServerBaseConfig() |
ServerBaseConfig(ServerBaseConfig 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 |
getBuildDir()
Get 构建目录
|
Float |
getCpu()
Get Cpu 规格
|
String |
getCreateTime()
Get 创建时间
|
String |
getCustomLogs()
Get 日志采集路径
|
String |
getDockerfile()
Get Dockerfile 文件名
|
String |
getEnvId()
Get 环境 Id
|
String |
getEnvParams()
Get 环境变量
|
Boolean |
getHasDockerfile()
Get 是否有Dockerfile
|
Long |
getInitialDelaySeconds()
Get 延迟检测时间
|
String |
getLogParseType()
Get 解析类型:json | line
|
String |
getLogSetId()
Get cls setId
|
String |
getLogTopicId()
Get cls 主题id
|
String |
getLogType()
Get 日志类型: none | default | custom
|
Long |
getMaxNum()
Get 最大副本数
|
Float |
getMem()
Get Mem 规格
|
Long |
getMinNum()
Get 最小副本数
|
String[] |
getOpenAccessTypes()
Get 是否开启公网访问
|
HpaPolicy[] |
getPolicyDetails()
Get 扩缩容配置
|
Long |
getPort()
Get 服务端口
|
String |
getServerName()
Get 服务名
|
String |
getTag()
Get 服务标签, function: 函数托管
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setBuildDir(String BuildDir)
Set 构建目录
|
void |
setCpu(Float Cpu)
Set Cpu 规格
|
void |
setCreateTime(String CreateTime)
Set 创建时间
|
void |
setCustomLogs(String CustomLogs)
Set 日志采集路径
|
void |
setDockerfile(String Dockerfile)
Set Dockerfile 文件名
|
void |
setEnvId(String EnvId)
Set 环境 Id
|
void |
setEnvParams(String EnvParams)
Set 环境变量
|
void |
setHasDockerfile(Boolean HasDockerfile)
Set 是否有Dockerfile
|
void |
setInitialDelaySeconds(Long InitialDelaySeconds)
Set 延迟检测时间
|
void |
setLogParseType(String LogParseType)
Set 解析类型:json | line
|
void |
setLogSetId(String LogSetId)
Set cls setId
|
void |
setLogTopicId(String LogTopicId)
Set cls 主题id
|
void |
setLogType(String LogType)
Set 日志类型: none | default | custom
|
void |
setMaxNum(Long MaxNum)
Set 最大副本数
|
void |
setMem(Float Mem)
Set Mem 规格
|
void |
setMinNum(Long MinNum)
Set 最小副本数
|
void |
setOpenAccessTypes(String[] OpenAccessTypes)
Set 是否开启公网访问
|
void |
setPolicyDetails(HpaPolicy[] PolicyDetails)
Set 扩缩容配置
|
void |
setPort(Long Port)
Set 服务端口
|
void |
setServerName(String ServerName)
Set 服务名
|
void |
setTag(String Tag)
Set 服务标签, function: 函数托管
注意:此字段可能返回 null,表示取不到有效值。
|
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 ServerBaseConfig()
public ServerBaseConfig(ServerBaseConfig source)
public String getEnvId()
public void setEnvId(String EnvId)
EnvId
- 环境 Idpublic String getServerName()
public void setServerName(String ServerName)
ServerName
- 服务名public String[] getOpenAccessTypes()
public void setOpenAccessTypes(String[] OpenAccessTypes)
OpenAccessTypes
- 是否开启公网访问public Float getCpu()
public void setCpu(Float Cpu)
Cpu
- Cpu 规格public Float getMem()
public void setMem(Float Mem)
Mem
- Mem 规格public Long getMinNum()
public void setMinNum(Long MinNum)
MinNum
- 最小副本数public Long getMaxNum()
public void setMaxNum(Long MaxNum)
MaxNum
- 最大副本数public HpaPolicy[] getPolicyDetails()
public void setPolicyDetails(HpaPolicy[] PolicyDetails)
PolicyDetails
- 扩缩容配置public String getCustomLogs()
public void setCustomLogs(String CustomLogs)
CustomLogs
- 日志采集路径public String getEnvParams()
public void setEnvParams(String EnvParams)
EnvParams
- 环境变量public Long getInitialDelaySeconds()
public void setInitialDelaySeconds(Long InitialDelaySeconds)
InitialDelaySeconds
- 延迟检测时间public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- 创建时间public Long getPort()
public void setPort(Long Port)
Port
- 服务端口public Boolean getHasDockerfile()
public void setHasDockerfile(Boolean HasDockerfile)
HasDockerfile
- 是否有Dockerfilepublic String getDockerfile()
public void setDockerfile(String Dockerfile)
Dockerfile
- Dockerfile 文件名public String getBuildDir()
public void setBuildDir(String BuildDir)
BuildDir
- 构建目录public String getLogType()
public void setLogType(String LogType)
LogType
- 日志类型: none | default | custompublic String getLogSetId()
public void setLogSetId(String LogSetId)
LogSetId
- cls setIdpublic String getLogTopicId()
public void setLogTopicId(String LogTopicId)
LogTopicId
- cls 主题idpublic String getLogParseType()
public void setLogParseType(String LogParseType)
LogParseType
- 解析类型:json | linepublic String getTag()
public void setTag(String Tag)
Tag
- 服务标签, function: 函数托管
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.