public class CreateEdgeCVMInstancesRequest extends AbstractModel
Constructor and Description |
---|
CreateEdgeCVMInstancesRequest() |
CreateEdgeCVMInstancesRequest(CreateEdgeCVMInstancesRequest 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 |
getClusterID()
Get Cluster ID
|
Long |
getCvmCount()
Get Quantity of CVM instances to create
|
String |
getCvmRegion()
Get Region of the CVM instances to create
|
Boolean |
getEnableEni()
Get Whether to enable ENI
|
String |
getExternal()
Get Instance extension information
|
String |
getRunInstancePara()
Get Pass-through parameter for CVM creation in the format of a JSON string.
|
String |
getUserScript()
Get Custom script
|
void |
setClusterID(String ClusterID)
Set Cluster ID
|
void |
setCvmCount(Long CvmCount)
Set Quantity of CVM instances to create
|
void |
setCvmRegion(String CvmRegion)
Set Region of the CVM instances to create
|
void |
setEnableEni(Boolean EnableEni)
Set Whether to enable ENI
|
void |
setExternal(String External)
Set Instance extension information
|
void |
setRunInstancePara(String RunInstancePara)
Set Pass-through parameter for CVM creation in the format of a JSON string.
|
void |
setUserScript(String UserScript)
Set Custom script
|
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 CreateEdgeCVMInstancesRequest()
public CreateEdgeCVMInstancesRequest(CreateEdgeCVMInstancesRequest source)
public String getClusterID()
public void setClusterID(String ClusterID)
ClusterID
- Cluster IDpublic String getRunInstancePara()
public void setRunInstancePara(String RunInstancePara)
RunInstancePara
- Pass-through parameter for CVM creation in the format of a JSON string. To ensure the idempotency of requests for adding cluster nodes, you need to add the `ClientToken` field in this parameter. For more information, see the documentation for [RunInstances](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API.public String getCvmRegion()
public void setCvmRegion(String CvmRegion)
CvmRegion
- Region of the CVM instances to createpublic Long getCvmCount()
public void setCvmCount(Long CvmCount)
CvmCount
- Quantity of CVM instances to createpublic String getExternal()
public void setExternal(String External)
External
- Instance extension informationpublic String getUserScript()
public void setUserScript(String UserScript)
UserScript
- Custom scriptpublic Boolean getEnableEni()
public void setEnableEni(Boolean EnableEni)
EnableEni
- Whether to enable ENICopyright © 2023. All rights reserved.