| Parameter Name |
Required |
Type |
Description |
| Action |
Yes |
String |
Common Params. The value used for this API: AllocateHosts. |
| Version |
Yes |
String |
Common Params. The value used for this API: 2017-03-12. |
| Region |
Yes |
String |
Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-bangkok, ap-beijing, ap-chengdu, ap-chongqing, ap-guangzhou, ap-hongkong, ap-jakarta, ap-nanjing, ap-seoul, ap-shanghai, ap-shanghai-fsi, ap-shenzhen-fsi, ap-singapore, ap-tokyo, eu-frankfurt, na-ashburn, na-siliconvalley, sa-saopaulo. |
| Placement |
Yes |
Placement |
Instance location. This parameter is used to specify the attributes of an instance, such as its availability zone and project. |
| ClientToken |
No |
String |
A string used to ensure the idempotency of the request. |
| HostChargePrepaid |
No |
ChargePrepaid |
Not supported. Configuration of prepaid instances. You can use the parameter to specify the attributes of prepaid instances, such as the subscription period and the auto-renewal plan. This parameter is required for prepaid instances. |
| HostChargeType |
No |
String |
Instance billing type.
POSTPAID_BY_HOUR: Hourly-based pay-as-you-go |
| HostType |
No |
String |
CDH instance model. Default value: HS1. |
| HostCount |
No |
Integer |
Quantity of CDH instances purchased. Default value: 1. |
| TagSpecification.N |
No |
Array of TagSpecification |
Tag description. You can specify the parameter to associate a tag with an instance. |