public class CreateServerlessappserviceRequest extends cn.com.antcloud.api.antcloud.provider.AntCloudProviderRequest<CreateServerlessappserviceResponse>
| 构造器和说明 |
|---|
CreateServerlessappserviceRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAppName()
应用的名称,租户唯一
|
CheckService |
getCheckService()
健康检查
|
String |
getCluster()
cluster
|
String |
getCreatorId()
应用实例的创建人ID(用户ID)
|
String |
getCustomLogProject()
自定义log project
|
String |
getCustomLogStore()
自定义log仓库
|
String |
getCustomLogTenant()
日志租户
|
String |
getDescription()
应用实例的描述
|
List<String> |
getExternalDomains()
参考 ServerlessAppService 定义
|
List<String> |
getInternalDomains()
example.com
|
LogConfig |
getLogConfig()
日志采集配置
|
LogIndex |
getLogIndex()
日志索引配置
|
String |
getMaxAverageCpuUtilizationPercent()
实际为Double类型。
|
String |
getMaxAverageMemUtilizationPercent()
实际为Double类型。
|
Long |
getMaxComputeInstance()
每个租户实际同时运行的计算实例数不能超过500
默认为500
|
Long |
getMaxResponseTimeInMs()
单位毫秒。
|
String |
getMinAverageCpuUtilizationPercent()
实际为Double类型。
|
String |
getMinAverageMemUtilizationPercent()
实际为Double类型。
|
Long |
getMinResponseTimeInMs()
单位毫秒。
|
String |
getName()
生成的应用实例的名称
|
Long |
getReservedComputeInstance()
设置保留计算实例可以确保所有应用业务量较大时,始终保障当前应用服务实例可以使用特定数量的计算实例
默认为0
|
Boolean |
getShared()
是否是共享集群
如果是共享集群, 则需要填写cluster
默认为true
|
String |
getWorkspace()
环境标识
|
void |
setAppName(String appName)
应用的名称,租户唯一
|
void |
setCheckService(CheckService checkService)
健康检查
|
void |
setCluster(String cluster)
cluster
|
void |
setCreatorId(String creatorId)
应用实例的创建人ID(用户ID)
|
void |
setCustomLogProject(String customLogProject)
自定义log project
|
void |
setCustomLogStore(String customLogStore)
自定义log仓库
|
void |
setCustomLogTenant(String customLogTenant)
日志租户
|
void |
setDescription(String description)
应用实例的描述
|
void |
setExternalDomains(List<String> externalDomains)
参考 ServerlessAppService 定义
|
void |
setInternalDomains(List<String> internalDomains)
example.com
|
void |
setLogConfig(LogConfig logConfig)
日志采集配置
|
void |
setLogIndex(LogIndex logIndex)
日志索引配置
|
void |
setMaxAverageCpuUtilizationPercent(String maxAverageCpuUtilizationPercent)
实际为Double类型。
|
void |
setMaxAverageMemUtilizationPercent(String maxAverageMemUtilizationPercent)
实际为Double类型。
|
void |
setMaxComputeInstance(Long maxComputeInstance)
每个租户实际同时运行的计算实例数不能超过500
默认为500
|
void |
setMaxResponseTimeInMs(Long maxResponseTimeInMs)
单位毫秒。
|
void |
setMinAverageCpuUtilizationPercent(String minAverageCpuUtilizationPercent)
实际为Double类型。
|
void |
setMinAverageMemUtilizationPercent(String minAverageMemUtilizationPercent)
实际为Double类型。
|
void |
setMinResponseTimeInMs(Long minResponseTimeInMs)
单位毫秒。
|
void |
setName(String name)
生成的应用实例的名称
|
void |
setReservedComputeInstance(Long reservedComputeInstance)
设置保留计算实例可以确保所有应用业务量较大时,始终保障当前应用服务实例可以使用特定数量的计算实例
默认为0
|
void |
setShared(Boolean shared)
是否是共享集群
如果是共享集群, 则需要填写cluster
默认为true
|
void |
setWorkspace(String workspace)
环境标识
|
public String getAppName()
public void setAppName(String appName)
public CheckService getCheckService()
public void setCheckService(CheckService checkService)
public String getCluster()
public void setCluster(String cluster)
public String getCreatorId()
public void setCreatorId(String creatorId)
public String getCustomLogProject()
public void setCustomLogProject(String customLogProject)
public String getCustomLogStore()
public void setCustomLogStore(String customLogStore)
public String getCustomLogTenant()
public void setCustomLogTenant(String customLogTenant)
public String getDescription()
public void setDescription(String description)
public void setExternalDomains(List<String> externalDomains)
public LogConfig getLogConfig()
public void setLogConfig(LogConfig logConfig)
public LogIndex getLogIndex()
public void setLogIndex(LogIndex logIndex)
public String getMaxAverageCpuUtilizationPercent()
public void setMaxAverageCpuUtilizationPercent(String maxAverageCpuUtilizationPercent)
public String getMaxAverageMemUtilizationPercent()
public void setMaxAverageMemUtilizationPercent(String maxAverageMemUtilizationPercent)
public Long getMaxComputeInstance()
public void setMaxComputeInstance(Long maxComputeInstance)
public Long getMaxResponseTimeInMs()
public void setMaxResponseTimeInMs(Long maxResponseTimeInMs)
public String getMinAverageCpuUtilizationPercent()
public void setMinAverageCpuUtilizationPercent(String minAverageCpuUtilizationPercent)
public String getMinAverageMemUtilizationPercent()
public void setMinAverageMemUtilizationPercent(String minAverageMemUtilizationPercent)
public Long getMinResponseTimeInMs()
public void setMinResponseTimeInMs(Long minResponseTimeInMs)
public String getName()
public void setName(String name)
public Long getReservedComputeInstance()
public void setReservedComputeInstance(Long reservedComputeInstance)
public Boolean getShared()
public void setShared(Boolean shared)
public String getWorkspace()
public void setWorkspace(String workspace)
Copyright © 2019. All Rights Reserved.