public class CreateInstanceRequest extends AbstractModel
Constructor and Description |
---|
CreateInstanceRequest() |
CreateInstanceRequest(CreateInstanceRequest 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 |
---|---|
Long |
getAutoVoucher()
Get Whether to automatically use vouchers 0: No 1: Yes Default value: 0
|
Long |
getBasicSecurityType()
Get Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) 1: disabled 2: enabled
|
Long |
getChargePeriod()
Get This parameter is not used on the global website
|
String |
getChargeType()
Get Billing mode POSTPAID_BY_HOUR: Pay-as-you-go hourly Default value: POSTPAID_BY_HOUR
|
String |
getClusterNameInConf()
Get ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customized
|
Long |
getDeployMode()
Get Cluster deployment mode 0: single-AZ deployment 1: multi-AZ deployment Default value: 0
|
Long |
getDiskEnhance()
Get Whether to enable enhanced SSD
|
Long |
getDiskSize()
Get This parameter has been disused.
|
String |
getDiskType()
Get This parameter has been disused.
|
Boolean |
getEnableDedicatedMaster()
Get This parameter has been disused.
|
Boolean |
getEnableDiagnose()
Get Whether to enable smart inspection.
|
Boolean |
getEnableHybridStorage()
Get Whether to enable the storage-computing separation feature.
|
String |
getEsVersion()
Get Instance version.
|
String |
getInstanceName()
Get Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
|
String |
getLicenseType()
Get License type oss: Open Source Edition basic: Basic Edition platinum: Platinum Edition Default value: Platinum
|
Long |
getMasterNodeDiskSize()
Get This parameter has been disused.
|
Long |
getMasterNodeNum()
Get This parameter has been disused.
|
String |
getMasterNodeType()
Get This parameter has been disused.
|
ZoneDetail[] |
getMultiZoneInfo()
Get Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1)
|
NodeInfo[] |
getNodeInfoList()
Get Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size
|
Long |
getNodeNum()
Get This parameter has been disused.
|
String |
getNodeType()
Get This parameter has been disused.
|
OperationDuration |
getOperationDuration()
Get The maintenance time slot
|
String |
getPassword()
Get Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
|
String |
getProtocol()
Get Valid values: `https`, `http` (default)
|
String |
getRenewFlag()
Get This parameter is not used on the global website
|
Long |
getSceneType()
Get Scenario template type.
|
String |
getSubnetId()
Get Subnet ID
|
TagInfo[] |
getTagList()
Get Node tag information list
|
String |
getTimeUnit()
Get This parameter is not used on the global website
|
String[] |
getVoucherIds()
Get List of voucher IDs (only one voucher can be specified at a time currently)
|
String |
getVpcId()
Get VPC ID
|
WebNodeTypeInfo |
getWebNodeTypeInfo()
Get Visual node configuration
|
String |
getZone()
Get Availability Zone
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically use vouchers 0: No 1: Yes Default value: 0
|
void |
setBasicSecurityType(Long BasicSecurityType)
Set Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) 1: disabled 2: enabled
|
void |
setChargePeriod(Long ChargePeriod)
Set This parameter is not used on the global website
|
void |
setChargeType(String ChargeType)
Set Billing mode POSTPAID_BY_HOUR: Pay-as-you-go hourly Default value: POSTPAID_BY_HOUR
|
void |
setClusterNameInConf(String ClusterNameInConf)
Set ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customized
|
void |
setDeployMode(Long DeployMode)
Set Cluster deployment mode 0: single-AZ deployment 1: multi-AZ deployment Default value: 0
|
void |
setDiskEnhance(Long DiskEnhance)
Set Whether to enable enhanced SSD
|
void |
setDiskSize(Long DiskSize)
Set This parameter has been disused.
|
void |
setDiskType(String DiskType)
Set This parameter has been disused.
|
void |
setEnableDedicatedMaster(Boolean EnableDedicatedMaster)
Set This parameter has been disused.
|
void |
setEnableDiagnose(Boolean EnableDiagnose)
Set Whether to enable smart inspection.
|
void |
setEnableHybridStorage(Boolean EnableHybridStorage)
Set Whether to enable the storage-computing separation feature.
|
void |
setEsVersion(String EsVersion)
Set Instance version.
|
void |
setInstanceName(String InstanceName)
Set Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
|
void |
setLicenseType(String LicenseType)
Set License type oss: Open Source Edition basic: Basic Edition platinum: Platinum Edition Default value: Platinum
|
void |
setMasterNodeDiskSize(Long MasterNodeDiskSize)
Set This parameter has been disused.
|
void |
setMasterNodeNum(Long MasterNodeNum)
Set This parameter has been disused.
|
void |
setMasterNodeType(String MasterNodeType)
Set This parameter has been disused.
|
void |
setMultiZoneInfo(ZoneDetail[] MultiZoneInfo)
Set Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1)
|
void |
setNodeInfoList(NodeInfo[] NodeInfoList)
Set Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size
|
void |
setNodeNum(Long NodeNum)
Set This parameter has been disused.
|
void |
setNodeType(String NodeType)
Set This parameter has been disused.
|
void |
setOperationDuration(OperationDuration OperationDuration)
Set The maintenance time slot
|
void |
setPassword(String Password)
Set Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
|
void |
setProtocol(String Protocol)
Set Valid values: `https`, `http` (default)
|
void |
setRenewFlag(String RenewFlag)
Set This parameter is not used on the global website
|
void |
setSceneType(Long SceneType)
Set Scenario template type.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
|
void |
setTagList(TagInfo[] TagList)
Set Node tag information list
|
void |
setTimeUnit(String TimeUnit)
Set This parameter is not used on the global website
|
void |
setVoucherIds(String[] VoucherIds)
Set List of voucher IDs (only one voucher can be specified at a time currently)
|
void |
setVpcId(String VpcId)
Set VPC ID
|
void |
setWebNodeTypeInfo(WebNodeTypeInfo WebNodeTypeInfo)
Set Visual node configuration
|
void |
setZone(String Zone)
Set Availability Zone
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateInstanceRequest()
public CreateInstanceRequest(CreateInstanceRequest source)
public String getZone()
public void setZone(String Zone)
Zone
- Availability Zonepublic String getEsVersion()
public void setEsVersion(String EsVersion)
EsVersion
- Instance version. Valid values: `5.6.4`, `6.4.3`, `6.8.2`, `7.5.1`, `7.10.1`public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet IDpublic String getPassword()
public void setPassword(String Password)
Password
- Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)public Long getNodeNum()
public void setNodeNum(Long NodeNum)
NodeNum
- This parameter has been disused. Please use `NodeInfoList`
Number of nodes (2-50)public String getChargeType()
public void setChargeType(String ChargeType)
ChargeType
- Billing mode public Long getChargePeriod()
public void setChargePeriod(Long ChargePeriod)
ChargePeriod
- This parameter is not used on the global websitepublic String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- This parameter is not used on the global websitepublic String getNodeType()
public void setNodeType(String NodeType)
NodeType
- This parameter has been disused. Please use `NodeInfoList`
Node specification public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- This parameter has been disused. Please use `NodeInfoList`
Node storage type public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- This parameter has been disused. Please use `NodeInfoList`
Node disk size in GBpublic String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- This parameter is not used on the global websitepublic Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher
- Whether to automatically use vouchers public String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds
- List of voucher IDs (only one voucher can be specified at a time currently)public Boolean getEnableDedicatedMaster()
public void setEnableDedicatedMaster(Boolean EnableDedicatedMaster)
EnableDedicatedMaster
- This parameter has been disused. Please use `NodeInfoList`
Whether to create a dedicated primary node public Long getMasterNodeNum()
public void setMasterNodeNum(Long MasterNodeNum)
MasterNodeNum
- This parameter has been disused. Please use `NodeInfoList`
Number of dedicated primary nodes (only 3 and 5 are supported. This value must be passed in if `EnableDedicatedMaster` is `true`)public String getMasterNodeType()
public void setMasterNodeType(String MasterNodeType)
MasterNodeType
- This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node type, which must be passed in if `EnableDedicatedMaster` is `true` public Long getMasterNodeDiskSize()
public void setMasterNodeDiskSize(Long MasterNodeDiskSize)
MasterNodeDiskSize
- This parameter has been disused. Please use `NodeInfoList`
Dedicated primary node disk size in GB, which is optional. If passed in, it can only be 50 and cannot be customized currentlypublic String getClusterNameInConf()
public void setClusterNameInConf(String ClusterNameInConf)
ClusterNameInConf
- ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customizedpublic Long getDeployMode()
public void setDeployMode(Long DeployMode)
DeployMode
- Cluster deployment mode public ZoneDetail[] getMultiZoneInfo()
public void setMultiZoneInfo(ZoneDetail[] MultiZoneInfo)
MultiZoneInfo
- Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1)public String getLicenseType()
public void setLicenseType(String LicenseType)
LicenseType
- License type public NodeInfo[] getNodeInfoList()
public void setNodeInfoList(NodeInfo[] NodeInfoList)
NodeInfoList
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk sizepublic TagInfo[] getTagList()
public void setTagList(TagInfo[] TagList)
TagList
- Node tag information listpublic Long getBasicSecurityType()
public void setBasicSecurityType(Long BasicSecurityType)
BasicSecurityType
- Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) public Long getSceneType()
public void setSceneType(Long SceneType)
SceneType
- Scenario template type. 0: not enabled; 1: general; 2: log; 3: searchpublic WebNodeTypeInfo getWebNodeTypeInfo()
public void setWebNodeTypeInfo(WebNodeTypeInfo WebNodeTypeInfo)
WebNodeTypeInfo
- Visual node configurationpublic String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Valid values: `https`, `http` (default)public OperationDuration getOperationDuration()
public void setOperationDuration(OperationDuration OperationDuration)
OperationDuration
- The maintenance time slotpublic Boolean getEnableHybridStorage()
public void setEnableHybridStorage(Boolean EnableHybridStorage)
EnableHybridStorage
- Whether to enable the storage-computing separation feature.public Long getDiskEnhance()
public void setDiskEnhance(Long DiskEnhance)
DiskEnhance
- Whether to enable enhanced SSDpublic Boolean getEnableDiagnose()
public void setEnableDiagnose(Boolean EnableDiagnose)
EnableDiagnose
- Whether to enable smart inspection.Copyright © 2023. All rights reserved.