public class EnvDataCpm extends AbstractModel
Constructor and Description |
---|
EnvDataCpm() |
Modifier and Type | Method and Description |
---|---|
String[] |
getComputeTypes()
获取黑石计算单元类型列表。如v3.c2.medium,更详细的ComputeType参考[黑石竞价实例产品文档](https://cloud.tencent.com/document/product/386/30256)。目前仅支持一个计算单元类型。
|
String |
getDeployType()
获取DeployType参数值为fast时,将选取黑石预部署机器发货,发货快。如果无此参数,则选取黑石常规机器发货。
|
Integer |
getOsTypeId()
获取黑石操作系统类型ID。
|
String |
getPasswd()
获取设置黑石竞价实例密码。若不指定会生成随机密码,可到站内信中查看。
|
String |
getSpotStrategy()
获取出价策略。默认取值为SpotAsPriceGo,表示出价方式为随市场价的策略。目前只可取值SpotAsPriceGo。
|
CpmVirtualPrivateCloud[] |
getVirtualPrivateClouds()
获取黑石VPC列表,目前仅支持一个VPC。
|
String[] |
getZones()
获取黑石可用区列表。可通过黑石[DescribeRegions](https://cloud.tencent.com/document/api/386/33564)接口查询。目前仅支持一个可用区。
|
void |
setComputeTypes(String[] ComputeTypes)
设置黑石计算单元类型列表。如v3.c2.medium,更详细的ComputeType参考[黑石竞价实例产品文档](https://cloud.tencent.com/document/product/386/30256)。目前仅支持一个计算单元类型。
|
void |
setDeployType(String DeployType)
设置DeployType参数值为fast时,将选取黑石预部署机器发货,发货快。如果无此参数,则选取黑石常规机器发货。
|
void |
setOsTypeId(Integer OsTypeId)
设置黑石操作系统类型ID。
|
void |
setPasswd(String Passwd)
设置设置黑石竞价实例密码。若不指定会生成随机密码,可到站内信中查看。
|
void |
setSpotStrategy(String SpotStrategy)
设置出价策略。默认取值为SpotAsPriceGo,表示出价方式为随市场价的策略。目前只可取值SpotAsPriceGo。
|
void |
setVirtualPrivateClouds(CpmVirtualPrivateCloud[] VirtualPrivateClouds)
设置黑石VPC列表,目前仅支持一个VPC。
|
void |
setZones(String[] Zones)
设置黑石可用区列表。可通过黑石[DescribeRegions](https://cloud.tencent.com/document/api/386/33564)接口查询。目前仅支持一个可用区。
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String[] getZones()
public void setZones(String[] Zones)
Zones
- 黑石可用区列表。可通过黑石[DescribeRegions](https://cloud.tencent.com/document/api/386/33564)接口查询。目前仅支持一个可用区。public String[] getComputeTypes()
public void setComputeTypes(String[] ComputeTypes)
ComputeTypes
- 黑石计算单元类型列表。如v3.c2.medium,更详细的ComputeType参考[黑石竞价实例产品文档](https://cloud.tencent.com/document/product/386/30256)。目前仅支持一个计算单元类型。public Integer getOsTypeId()
public void setOsTypeId(Integer OsTypeId)
OsTypeId
- 黑石操作系统类型ID。public CpmVirtualPrivateCloud[] getVirtualPrivateClouds()
public void setVirtualPrivateClouds(CpmVirtualPrivateCloud[] VirtualPrivateClouds)
VirtualPrivateClouds
- 黑石VPC列表,目前仅支持一个VPC。public String getDeployType()
public void setDeployType(String DeployType)
DeployType
- DeployType参数值为fast时,将选取黑石预部署机器发货,发货快。如果无此参数,则选取黑石常规机器发货。public String getSpotStrategy()
public void setSpotStrategy(String SpotStrategy)
SpotStrategy
- 出价策略。默认取值为SpotAsPriceGo,表示出价方式为随市场价的策略。目前只可取值SpotAsPriceGo。public String getPasswd()
public void setPasswd(String Passwd)
Passwd
- 设置黑石竞价实例密码。若不指定会生成随机密码,可到站内信中查看。Copyright © 2019. All rights reserved.