public class CreateDataEngineRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateDataEngineRequest() |
CreateDataEngineRequest(CreateDataEngineRequest 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 |
---|---|
Boolean |
getAutoAuthorization()
Get 自动授权
|
Long |
getAutoRenew()
Get 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0
|
Boolean |
getAutoResume()
Get 是否自动启动集群
|
Boolean |
getAutoSuspend()
Get 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
|
Long |
getAutoSuspendTime()
Get 集群自动挂起时间,默认10分钟
|
String |
getCidrBlock()
Get VPC网段
|
String |
getClusterType()
Get 集群类型 spark_private/presto_private/presto_cu/spark_cu
|
Long |
getCrontabResumeSuspend()
Get 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
|
CrontabResumeSuspendStrategy |
getCrontabResumeSuspendStrategy()
Get 定时启停策略,复杂类型:包含启停时间、挂起集群策略
|
DataEngineConfigPair[] |
getDataEngineConfigPairs()
Get 集群高级配置
|
String |
getDataEngineName()
Get 虚拟集群名称
|
Boolean |
getDefaultDataEngine()
Deprecated.
|
Long |
getElasticLimit()
Get spark jar 包年包月集群弹性上限
|
Boolean |
getElasticSwitch()
Get spark jar 包年包月集群是否开启弹性
|
String |
getEngineExecType()
Get 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL
|
String |
getEngineGeneration()
Get 引擎世代,SuperSQL:代表supersql引擎,Native:代表标准引擎。默认值为SuperSQL
|
String |
getEngineNetworkId()
Get 引擎网络ID
|
String |
getEngineType()
Get 引擎类型spark/presto
|
String |
getImageVersionName()
Get 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群
|
String |
getMainClusterName()
Get 主集群名称,创建容灾集群时指定
|
Long |
getMaxClusters()
Get 最大资源
|
Long |
getMaxConcurrency()
Get 单个集群最大并发任务数,默认5
|
String |
getMessage()
Get 描述信息
|
Long |
getMinClusters()
Get 最小资源
|
Long |
getMode()
Get 计费模式 0=共享模式 1=按量计费 2=包年包月
|
Long |
getPayMode()
Get 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。
|
String |
getResourceType()
Get 资源类型。Standard_CU:标准型;Memory_CU:内存型
|
SessionResourceTemplate |
getSessionResourceTemplate()
Get spark作业集群session资源配置模板
|
Long |
getSize()
Get 集群规模
|
TagInfo[] |
getTags()
Get 创建资源的时候需要绑定的标签信息
|
Long |
getTimeSpan()
Get 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认1
|
String |
getTimeUnit()
Get 资源使用时长的单位,后付费:s,预付费:m。默认为s
|
Long |
getTolerableQueueTime()
Get 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。
|
void |
setAutoAuthorization(Boolean AutoAuthorization)
Set 自动授权
|
void |
setAutoRenew(Long AutoRenew)
Set 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0
|
void |
setAutoResume(Boolean AutoResume)
Set 是否自动启动集群
|
void |
setAutoSuspend(Boolean AutoSuspend)
Set 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
|
void |
setAutoSuspendTime(Long AutoSuspendTime)
Set 集群自动挂起时间,默认10分钟
|
void |
setCidrBlock(String CidrBlock)
Set VPC网段
|
void |
setClusterType(String ClusterType)
Set 集群类型 spark_private/presto_private/presto_cu/spark_cu
|
void |
setCrontabResumeSuspend(Long CrontabResumeSuspend)
Set 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
|
void |
setCrontabResumeSuspendStrategy(CrontabResumeSuspendStrategy CrontabResumeSuspendStrategy)
Set 定时启停策略,复杂类型:包含启停时间、挂起集群策略
|
void |
setDataEngineConfigPairs(DataEngineConfigPair[] DataEngineConfigPairs)
Set 集群高级配置
|
void |
setDataEngineName(String DataEngineName)
Set 虚拟集群名称
|
void |
setDefaultDataEngine(Boolean DefaultDataEngine)
Deprecated.
|
void |
setElasticLimit(Long ElasticLimit)
Set spark jar 包年包月集群弹性上限
|
void |
setElasticSwitch(Boolean ElasticSwitch)
Set spark jar 包年包月集群是否开启弹性
|
void |
setEngineExecType(String EngineExecType)
Set 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL
|
void |
setEngineGeneration(String EngineGeneration)
Set 引擎世代,SuperSQL:代表supersql引擎,Native:代表标准引擎。默认值为SuperSQL
|
void |
setEngineNetworkId(String EngineNetworkId)
Set 引擎网络ID
|
void |
setEngineType(String EngineType)
Set 引擎类型spark/presto
|
void |
setImageVersionName(String ImageVersionName)
Set 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群
|
void |
setMainClusterName(String MainClusterName)
Set 主集群名称,创建容灾集群时指定
|
void |
setMaxClusters(Long MaxClusters)
Set 最大资源
|
void |
setMaxConcurrency(Long MaxConcurrency)
Set 单个集群最大并发任务数,默认5
|
void |
setMessage(String Message)
Set 描述信息
|
void |
setMinClusters(Long MinClusters)
Set 最小资源
|
void |
setMode(Long Mode)
Set 计费模式 0=共享模式 1=按量计费 2=包年包月
|
void |
setPayMode(Long PayMode)
Set 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。
|
void |
setResourceType(String ResourceType)
Set 资源类型。Standard_CU:标准型;Memory_CU:内存型
|
void |
setSessionResourceTemplate(SessionResourceTemplate SessionResourceTemplate)
Set spark作业集群session资源配置模板
|
void |
setSize(Long Size)
Set 集群规模
|
void |
setTags(TagInfo[] Tags)
Set 创建资源的时候需要绑定的标签信息
|
void |
setTimeSpan(Long TimeSpan)
Set 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认1
|
void |
setTimeUnit(String TimeUnit)
Set 资源使用时长的单位,后付费:s,预付费:m。默认为s
|
void |
setTolerableQueueTime(Long TolerableQueueTime)
Set 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。
|
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 CreateDataEngineRequest()
public CreateDataEngineRequest(CreateDataEngineRequest source)
public String getEngineType()
public void setEngineType(String EngineType)
EngineType
- 引擎类型spark/prestopublic String getDataEngineName()
public void setDataEngineName(String DataEngineName)
DataEngineName
- 虚拟集群名称public String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- 集群类型 spark_private/presto_private/presto_cu/spark_cupublic Long getMode()
public void setMode(Long Mode)
Mode
- 计费模式 0=共享模式 1=按量计费 2=包年包月public Boolean getAutoResume()
public void setAutoResume(Boolean AutoResume)
AutoResume
- 是否自动启动集群public Long getMinClusters()
public void setMinClusters(Long MinClusters)
MinClusters
- 最小资源public Long getMaxClusters()
public void setMaxClusters(Long MaxClusters)
MaxClusters
- 最大资源@Deprecated public Boolean getDefaultDataEngine()
@Deprecated public void setDefaultDataEngine(Boolean DefaultDataEngine)
DefaultDataEngine
- 是否为默认虚拟集群public String getCidrBlock()
public void setCidrBlock(String CidrBlock)
CidrBlock
- VPC网段public String getMessage()
public void setMessage(String Message)
Message
- 描述信息public Long getSize()
public void setSize(Long Size)
Size
- 集群规模public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认1public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- 资源使用时长的单位,后付费:s,预付费:m。默认为spublic Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0public TagInfo[] getTags()
public void setTags(TagInfo[] Tags)
Tags
- 创建资源的时候需要绑定的标签信息public Boolean getAutoSuspend()
public void setAutoSuspend(Boolean AutoSuspend)
AutoSuspend
- 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起public Long getCrontabResumeSuspend()
public void setCrontabResumeSuspend(Long CrontabResumeSuspend)
CrontabResumeSuspend
- 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)public CrontabResumeSuspendStrategy getCrontabResumeSuspendStrategy()
public void setCrontabResumeSuspendStrategy(CrontabResumeSuspendStrategy CrontabResumeSuspendStrategy)
CrontabResumeSuspendStrategy
- 定时启停策略,复杂类型:包含启停时间、挂起集群策略public String getEngineExecType()
public void setEngineExecType(String EngineExecType)
EngineExecType
- 引擎执行任务类型,有效值:SQL/BATCH,默认为SQLpublic Long getMaxConcurrency()
public void setMaxConcurrency(Long MaxConcurrency)
MaxConcurrency
- 单个集群最大并发任务数,默认5public Long getTolerableQueueTime()
public void setTolerableQueueTime(Long TolerableQueueTime)
TolerableQueueTime
- 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。public Long getAutoSuspendTime()
public void setAutoSuspendTime(Long AutoSuspendTime)
AutoSuspendTime
- 集群自动挂起时间,默认10分钟public String getResourceType()
public void setResourceType(String ResourceType)
ResourceType
- 资源类型。Standard_CU:标准型;Memory_CU:内存型public DataEngineConfigPair[] getDataEngineConfigPairs()
public void setDataEngineConfigPairs(DataEngineConfigPair[] DataEngineConfigPairs)
DataEngineConfigPairs
- 集群高级配置public String getImageVersionName()
public void setImageVersionName(String ImageVersionName)
ImageVersionName
- 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群public String getMainClusterName()
public void setMainClusterName(String MainClusterName)
MainClusterName
- 主集群名称,创建容灾集群时指定public Boolean getElasticSwitch()
public void setElasticSwitch(Boolean ElasticSwitch)
ElasticSwitch
- spark jar 包年包月集群是否开启弹性public Long getElasticLimit()
public void setElasticLimit(Long ElasticLimit)
ElasticLimit
- spark jar 包年包月集群弹性上限public SessionResourceTemplate getSessionResourceTemplate()
public void setSessionResourceTemplate(SessionResourceTemplate SessionResourceTemplate)
SessionResourceTemplate
- spark作业集群session资源配置模板public Boolean getAutoAuthorization()
public void setAutoAuthorization(Boolean AutoAuthorization)
AutoAuthorization
- 自动授权public String getEngineNetworkId()
public void setEngineNetworkId(String EngineNetworkId)
EngineNetworkId
- 引擎网络IDpublic String getEngineGeneration()
public void setEngineGeneration(String EngineGeneration)
EngineGeneration
- 引擎世代,SuperSQL:代表supersql引擎,Native:代表标准引擎。默认值为SuperSQLCopyright © 2024. All rights reserved.