Checks the inventory status of cloud phone resources. Before creating an instance, you can use this operation to check whether the inventory in the target region is sufficient, and then proceed with creation after confirmation.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BizRegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ZoneId |
string |
No |
The zone to which the resource belongs. |
cn-hangzhou-i |
| AcpSpecId |
string |
No |
The specification ID. Valid values:
|
acp.basic.small |
| GpuAcceleration |
boolean |
No |
Specifies whether to enable GPU acceleration. Valid values:
|
false |
| Amount |
integer |
No |
The number of cloud phone instances. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
805D8FB6-512A-531C-9E4D-2A807D3C**** |
| ResourceStockModels |
array<object> |
The resource inventory details. |
|
|
object |
|||
| RegionId |
string |
The region ID. |
cn-shanghai |
| ZoneId |
string |
The zone ID. |
cn-shanghai-b |
| StockStatus |
string |
The inventory status of the instance group. Valid values:
|
Available |
Examples
Success response
JSON format
{
"RequestId": "805D8FB6-512A-531C-9E4D-2A807D3C****",
"ResourceStockModels": [
{
"RegionId": "cn-shanghai",
"ZoneId": "cn-shanghai-b",
"StockStatus": "Available"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.