Creates pay-as-you-go or subscription cloud phone instance groups. An instance group can manage multiple instances. You can organize instances with the same functional purpose into the same instance group for unified management.
Operation description
When you create a cloud phone instance group, note that creating an instance group incurs resource charges. Familiarize yourself with the billable methods of cloud phone instance groups in advance.
-
If the billing method of the instance group is subscription (PrePaid), the default value of AutoPay is false. After you invoke this operation, go to Expenses and Costs to manually pay for the order.
-
If you want to enable automatic payment, set AutoPay to true.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BizRegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the list of regions where cloud phone instances can be purchased. Valid values:
|
cn-hangzhou |
| InstanceGroupName |
string |
No |
The instance group name. Note
The instance group name cannot exceed 30 characters in length. It must start with an uppercase letter, lowercase letter, or Chinese character. It cannot start with |
Cloud phoneA |
| NumberOfInstances |
integer |
No |
The number of instances in the instance group. Maximum value: 100. |
1 |
| ChargeType |
string |
No |
The billing type. Valid values:
|
PostPaid |
| Period |
integer |
No |
The subscription duration of the resource. The unit is specified by PeriodUnit. |
1 |
| PeriodUnit |
string |
No |
The unit of the subscription duration. Valid values:
|
Month |
| InstanceGroupSpec |
string |
Yes |
The instance group specification. You can call DescribeSpec to query the specifications available for cloud phone instances. Valid values:
|
acp.basic.small |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. Default value: false. Valid values:
|
false |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal. Default value: false. Valid values:
|
false |
| OfficeSiteId |
string |
No |
The network ID.
|
cn-hangzhou+dir-745976**** |
| VSwitchId |
string |
No |
The vSwitch ID. You can call DescribeVSwitches to query the list of vSwitches.
|
vsw-uf61uvzhz8ejaw776**** |
| PolicyGroupId |
string |
No |
The policy ID. You can call ListPolicyGroups to query the list of policies. |
pg-b7bxrrwxkijjh**** |
| ImageId |
string |
Yes |
The image ID. You can call DescribeImageList to query the list of cloud phone images. |
imgc-06zyt9m93zwax**** |
| Amount |
integer |
No |
The number of instance groups. Default value: 1. Maximum value: 100. |
8 |
| GpuAcceleration |
boolean |
No |
Specifies whether to enable GPU acceleration. Valid values:
|
false |
| KeyPairId |
string |
No |
The key pair ID. If you specify a valid key pair ID when creating an instance group, the key pair is bound to all instances that are successfully created, without the need to call the bindng operation again. Note
Binding a key pair during scale-out is not supported. |
kp-7o9xywwfutc1l**** |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request and prevent repeated submissions. The value cannot exceed 100 characters in length. |
asadbuvwiabdbvchj**** |
| EnableIpv6 |
boolean |
No |
Note
This parameter is not publicly available. |
null |
| Ipv6Bandwidth |
integer |
No |
Note
This parameter is not publicly available. |
null |
| Tag |
array<object> |
No |
The tags of the resource. |
|
|
object |
No |
The tags of the resource. |
||
| Value |
string |
No |
The tag value. |
value |
| Key |
string |
No |
The tag key. |
key |
| NetworkInfo |
object |
No |
||
| BandwidthPackageName |
string |
No |
||
| CidrBlock |
string |
No |
||
| LimitedBandwidth |
integer |
No |
||
| InternetChargeType |
string |
No |
||
| IpRatio |
integer |
No |
||
| Isp |
string |
No |
||
| PayType |
string |
No |
||
| Period |
integer |
No |
||
| PeriodUnit |
string |
No |
||
| AutoPay |
boolean |
No |
||
| AutoRenew |
boolean |
No |
||
| VisibleType |
string |
No |
||
| PromotionId |
string |
No |
||
| PaidCallbackUrl |
string |
No |
||
| BandwidthPackageType |
string |
No |
||
| BandwidthPackageId |
string |
No |
||
| NetworkType |
string |
No |
||
| PromotionId |
string |
No |
||
| StreamMode |
integer |
No |
||
| PaidCallBackUrl |
string |
No |
wya.wuying.aliyun.com/instanceGroup |
|
| SaleMode |
string |
No |
||
| InstanceVersion |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
1A923337-44D9-5CAD-9A53-95084BD4**** |
| InstanceGroupInfos |
array<object> |
The instance group information. |
|
|
object |
|||
| InstanceGroupId |
string |
The instance group ID. |
ag-cuv4scs4obxch**** |
| InstanceIds |
array |
The list of instance IDs. |
|
|
string |
The instance ID. |
acp-g40b9at5nhjo9**** |
|
| OrderId |
string |
The order ID. |
22365781890**** |
| InstanceGroupIds |
array |
The list of instance group IDs. |
|
|
string |
The instance group ID. |
ag-cuv4scs4obxch**** |
|
| NetworkPackageOrderModel |
object |
||
| BandwidthPackageOrderId |
string |
||
| BandwidthPackageId |
string |
Examples
Success response
JSON format
{
"RequestId": "1A923337-44D9-5CAD-9A53-95084BD4****",
"InstanceGroupInfos": [
{
"InstanceGroupId": "ag-cuv4scs4obxch****",
"InstanceIds": [
"acp-g40b9at5nhjo9****"
]
}
],
"OrderId": "22365781890****",
"InstanceGroupIds": [
"ag-cuv4scs4obxch****"
],
"NetworkPackageOrderModel": {
"BandwidthPackageOrderId": "",
"BandwidthPackageId": ""
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.