This operation queries the applications of all PolarDB instances in a specified region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeApplications |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| ApplicationIds |
string |
No |
The IDs of the applications. If you specify this parameter, the operation returns information only about the specified applications. |
pa-************** |
| PageSize |
integer |
No |
The number of entries to return on each page. Valid values:
The default value is 30. |
30 |
| PageNumber |
integer |
No |
The page number to return. The default value is 1. |
1 |
| DBClusterId |
string |
No |
The ID of the PolarDB cluster. If you specify this parameter, the operation returns information only about the applications that are associated with the specified PolarDB cluster. |
pc-************** |
| ApplicationTypes |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| TotalRecordCount |
integer |
The total number of records. |
1 |
| PageRecordCount |
integer |
The number of records on the current page. |
1 |
| PageNumber |
integer |
The current page number. |
1 |
| Items |
object |
||
| Applications |
array<object> |
The list of applications. |
|
|
array<object> |
Application information. |
||
| Status |
string |
The status of the application. Valid values:
|
Activated |
| Description |
string |
The description or remarks of the application. |
myapp |
| EngineVersion |
string |
The database engine version. |
1.0.0 |
| ZoneId |
string |
The zone. |
cn-hangzhou-b |
| Expired |
string |
Indicates whether the application has expired. |
false |
| PayType |
string |
The billing method. This parameter is empty if the application is not billed. |
Postpaid |
| PolarFSInstanceId |
string |
The ID of the PolarFileSystem (PolarFS) instance that is associated with the application. |
pcs-************** |
| Endpoints |
object |
||
| endpoint |
array<object> |
The list of application endpoints. |
|
|
object |
The application endpoint. |
||
| IP |
string |
The IP address. |
192.168.0.3 |
| Port |
string |
The port. |
8080 |
| NetType |
string |
The type of the endpoint. Valid values:
|
Public |
| ApplicationType |
string |
The application type. |
supabase |
| CreationTime |
string |
The creation time. |
2025-03-25T09:37:10Z |
| RegionId |
string |
The region. |
cn-hangzhou |
| ApplicationId |
string |
The application ID. |
pa-************** |
| ExpireTime |
string |
The expiration time. |
2025-06-25T09:37:10Z |
| DBClusterId |
string |
pc-xxxxxx |
|
| Tags |
object |
||
| Tag |
array<object> |
||
|
object |
|||
| Key |
string |
testKey |
|
| Value |
string |
testValue |
Examples
Success response
JSON format
{
"RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF",
"TotalRecordCount": 1,
"PageRecordCount": 1,
"PageNumber": 1,
"Items": {
"Applications": [
{
"Status": "Activated",
"Description": "myapp",
"EngineVersion": "1.0.0",
"ZoneId": "cn-hangzhou-b",
"Expired": "false",
"PayType": "Postpaid",
"PolarFSInstanceId": "pcs-**************\n",
"Endpoints": {
"endpoint": [
{
"IP": "192.168.0.3",
"Port": "8080",
"NetType": "Public"
}
]
},
"ApplicationType": "supabase",
"CreationTime": "2025-03-25T09:37:10Z",
"RegionId": "cn-hangzhou",
"ApplicationId": "pa-**************",
"ExpireTime": "2025-06-25T09:37:10Z",
"DBClusterId": "pc-xxxxxx",
"Tags": {
"Tag": [
{
"Key": "testKey",
"Value": "testValue"
}
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.