Checks the inventory of Cloud Phone resources. Before you create an instance, call this operation to check whether resources are available in the target region. Create the instance only after you confirm that resources are available.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
BizRegionId | string | Yes | The ID of the region. | cn-hangzhou |
ZoneId | string | No | The zone where the resource resides. | cn-hangzhou-i |
AcpSpecId | string | No | The ID of the instance type. 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 elements. | ||
RequestId | string | The ID of the request. | 805D8FB6-512A-531C-9E4D-2A807D3C**** |
| ResourceStockModels | array<object> | The resource inventory details. | |
object | |||
RegionId | string | The ID of the region. | cn-shanghai |
ZoneId | string | The ID of the zone. | 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.