All Products
Search
Document Center

Cloud Phone:CheckResourceStock

Last Updated:Aug 21, 2026

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.perf.large :

    enhanced.

  • acp.basic.small :

    lightweight.

  • acp.std.small :

    general-purpose.

  • acp.std.large :

    standard.

  • acp.perf.small :

    enhanced.

acp.basic.small

GpuAcceleration

boolean

No

Specifies whether to enable GPU acceleration.

Valid values:

  • true :

    Enabled.

  • false :

    Not enabled. [Default value]

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:

  • SoldOut :

    The resource is sold out.

  • Available :

    The inventory is sufficient.

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.