All Products
Search
Document Center

PolarDB:DescribeStoragePlan

Last Updated:Nov 04, 2026

Queries the list of storage plans.

Operation description

Note

This operation is only supported in regions where the endpoint is polardb.aliyuncs.com.

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

ResourceGroupId

string

No

The resource group ID.

rg-************

PageSize

integer

No

The number of entries per page. Valid values:

  • 30

  • 50

  • 100

30

PageNumber

integer

No

The page number. The value must be a positive integer that does not exceed the maximum value of the Integer data type.

1

Response elements

Element

Type

Description

Example

object

Schema of Response

Items

array<object>

The list of storage plans.

object

AliUid

string

The Alibaba Cloud account ID.

18170112322*****

CommodityCode

string

The commodity code.

polardb_package

EndTimes

string

The expiration time of the storage plan.

2021-10-23 00:00:00

InitCapaCityViewUnit

string

The capacity unit of the storage plan.

GB

InitCapacityViewValue

string

The total capacity of the storage plan.

500.000

InstanceId

string

The resource instance ID.

500072****

PeriodCapaCityViewUnit

string

The period capacity unit of the storage plan.

GB

PeriodCapacityViewValue

string

The period capacity of the storage plan. The period capacity gradually decreases as the storage plan is used.

400.000

PeriodTime

string

The period duration. This indicates that the capacity of the storage plan is measured and consumed by the hour.

hour

ProdCode

string

The product name.

polardb

PurchaseTimes

string

The purchase time of the storage plan.

2021-09-22 12:03:27

StartTimes

string

The effective period of the storage plan.

2021-09-22 12:03:25

Status

string

The status of the storage plan. Valid values:

  • Valid: Valid.

  • Invalid: Invalid.

Valid

StorageType

string

The type of the storage plan. Valid values:

  • Overseas: Hong Kong (China) and regions outside China

  • Mainland: the Chinese mainland

  • Financial: Finance Cloud

Overseas

TemplateName

string

The type of the resource plan. Valid values:

  • FPT_polardb_package_absolute_1540888383: the Chinese mainland

  • FPT_polardb_package_absolute_1540890081: Hong Kong (China) and regions outside China

  • FPT_polardb_package_absolute_1567151499: Finance Cloud

FPT_polardb_package_absolute_1540890081

PageNumber

integer

The page number. The value must be a positive integer that does not exceed the maximum value of the Integer data type.

10

PageSize

integer

The number of entries per page. Valid values:

  • 30

  • 50

  • 100

30

RequestId

string

The request ID.

D9384D30-5C9A-11EA-BFC0-F754D2Bxxxx

TotalRecordCount

integer

The total number of entries.

10

Examples

Success response

JSON format

{
  "Items": [
    {
      "AliUid": "18170112322*****",
      "CommodityCode": "polardb_package",
      "EndTimes": "2021-10-23 00:00:00",
      "InitCapaCityViewUnit": "GB",
      "InitCapacityViewValue": "500.000",
      "InstanceId": "500072****",
      "PeriodCapaCityViewUnit": "GB",
      "PeriodCapacityViewValue": "400.000",
      "PeriodTime": "hour",
      "ProdCode": "polardb",
      "PurchaseTimes": "2021-09-22 12:03:27",
      "StartTimes": "2021-09-22 12:03:25",
      "Status": "Valid",
      "StorageType": "Overseas",
      "TemplateName": "FPT_polardb_package_absolute_1540890081"
    }
  ],
  "PageNumber": 10,
  "PageSize": 30,
  "RequestId": "D9384D30-5C9A-11EA-BFC0-F754D2Bxxxx",
  "TotalRecordCount": 10
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidPageParam.Format Page param should be a positive integer. The page value must be a positive integer. Check and modify the value.
400 RequiredParam.NotFound Required input param is not found. The specified parameter does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.