Retrieves the details of a specified application for a PolarDB instance.
Operation description
This API operation queries all information about a specific PolarDB application, including component details and endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeApplicationAttribute |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
pa-************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
The request ID. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| ApplicationId |
string |
The application ID. |
pa-************** |
| DBClusterId |
string |
The ID of the PolarDB cluster that the application depends on. |
pc-************** |
| Architecture |
string |
The CPU architecture. Valid value:
|
x86 |
| Description |
string |
The application description. |
myapp |
| SecurityGroups |
array<object> |
The application-level security groups. |
|
|
object |
An application-level security group. |
||
| SecurityGroupName |
string |
The security group name. |
MyGroupName |
| SecurityGroupId |
string |
The security group ID. |
sg-************** |
| RegionId |
string |
The region ID. |
cn-beijing |
| NetType |
string |
The network type. Valid value:
|
vpc |
| SecurityIPArrays |
array<object> |
The application-level IP address whitelists. |
|
|
object |
An application-level IP address whitelist. |
||
| SecurityIPArrayTag |
string |
The tag of the IP address group. |
mytag |
| SecurityIPType |
string |
The type of the IP address. |
ipv4 |
| SecurityIPList |
string |
The IP addresses in the whitelist. Use commas to separate multiple IP addresses. |
127.0.0.1 |
| SecurityIPArrayName |
string |
The name of the IP address group. The default value is |
default |
| SecurityIPNetType |
string |
The network type of the IP addresses in the whitelist. The default value is |
mix |
| Status |
string |
The application status. Valid values:
|
Activated |
| LockMode |
string |
The lock mode. Valid values:
|
Unlock |
| ApplicationType |
string |
The application type. |
supabase |
| Version |
string |
The application version. |
1.0.0 |
| UpgradeAvailable |
string |
Indicates whether an upgrade is available. |
false |
| MaintainStartTime |
string |
The start time of the maintenance window. |
18:00Z |
| MaintainEndTime |
string |
The end time of the maintenance window. |
19:00Z |
| PayType |
string |
The billing method. |
Postpaid |
| Expired |
boolean |
Indicates whether the application has expired. |
false |
| VPCId |
string |
The VPC ID. |
vpc-******************* |
| VSwitchId |
string |
The vSwitch ID. |
vsw-******************* |
| Components |
array<object> |
The subcomponents. |
|
|
array<object> |
The subcomponent information. |
||
| Status |
string |
The component status. The valid values are the same as the application status. |
Activated |
| SecurityGroups |
array<object> |
The component-level security groups. This parameter is not returned if the component-level security groups are the same as the application-level security groups. |
|
|
object |
A component-level security group. |
||
| SecurityGroupName |
string |
The security group name. |
MyGroupName |
| SecurityGroupId |
string |
The security group ID. |
sg-******************* |
| RegionId |
string |
The region ID. |
cn-beijing |
| NetType |
string |
The network type. Valid value:
|
vpc |
| ComponentType |
string |
The type of the subcomponent. |
gateway |
| Topology |
object |
The topology of the subcomponent. |
|
| Parents |
array |
The parent node IDs or parent subcomponent types in the topology. |
|
|
string |
A parent node ID or parent subcomponent type. |
pac-************** |
|
| Children |
array |
The child node IDs or child subcomponent types in the topology. |
|
|
string |
A child node ID or child subcomponent type. |
pac-************** |
|
| Layer |
string |
The topology layer of the subcomponent. |
0 |
| SecurityIPArrays |
array<object> |
The component-level IP address whitelists. This parameter is not returned if the component-level whitelists are the same as the application-level whitelists. |
|
|
object |
A component-level IP address whitelist. |
||
| SecurityIPArrayTag |
string |
The tag of the IP address group. |
mytag |
| SecurityIPType |
string |
The type of the IP address. |
ipv4 |
| SecurityIPList |
string |
The IP addresses in the whitelist. Use commas to separate multiple IP addresses. |
127.0.0.1 |
| SecurityIPArrayName |
string |
The name of the IP address group. The default value is |
default |
| SecurityIPNetType |
string |
The network type of the IP addresses in the whitelist. The default value is |
mix |
| ComponentClassDescription |
string |
The specification description of the subcomponent. |
2C4GB |
| ComponentId |
string |
The subcomponent ID. |
pac-******************* |
| ComponentClass |
string |
The specifications of the subcomponent. |
polar.app.g2.medium |
| ComponentReplica |
integer |
The number of replicas for the subcomponent. |
1 |
| ComponentMaxReplica |
integer |
The maximum number of replicas for the subcomponent. |
1 |
| ComponentReplicaGroupName |
string |
The replica group name of the subcomponent. |
default |
| Endpoints |
array<object> |
The application endpoints. |
|
|
object |
An application endpoint. |
||
| Description |
string |
The description of the endpoint. |
myendpoint |
| PortDescription |
string |
The port description. |
kong_http |
| EndpointId |
string |
The endpoint ID. |
pa-************** |
| IP |
string |
The IP address. |
172.31.95.252 |
| Port |
string |
The port. |
8080 |
| NetType |
string |
The endpoint type.
|
Private |
| CreationTime |
string |
The creation time. |
2025-03-25T09:37:10Z |
| ExpireTime |
string |
The expiration time. This parameter is not returned for pay-as-you-go applications. |
2025-06-25T09:37:10Z |
| RegionId |
string |
The region. |
cn-beijing |
| ZoneId |
string |
The zone. |
cn-beijing-l |
| PolarFSInstanceId |
string |
The ID of the PolarFileSystem (PolarFS) Cold Storage or High-Performance instance. |
pfs-************** |
| ServerlessType |
string |
The Serverless type.
|
2 |
| MemApplicationAttribute |
object |
||
| LlmModelName |
string |
||
| EmbedderModelName |
string |
||
| RerankerModelName |
string |
||
| ProjectName |
string |
||
| DbName |
string |
||
| UserName |
string |
Examples
Success response
JSON format
{
"RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF",
"ApplicationId": "pa-**************",
"DBClusterId": "pc-**************",
"Architecture": "x86",
"Description": "myapp",
"SecurityGroups": [
{
"SecurityGroupName": "MyGroupName",
"SecurityGroupId": "sg-**************",
"RegionId": "cn-beijing",
"NetType": "vpc"
}
],
"SecurityIPArrays": [
{
"SecurityIPArrayTag": "mytag",
"SecurityIPType": "ipv4",
"SecurityIPList": "127.0.0.1",
"SecurityIPArrayName": "default",
"SecurityIPNetType": "mix"
}
],
"Status": "Activated",
"LockMode": "Unlock",
"ApplicationType": "supabase",
"Version": "1.0.0",
"UpgradeAvailable": "false",
"MaintainStartTime": "18:00Z",
"MaintainEndTime": "19:00Z",
"PayType": "Postpaid",
"Expired": false,
"VPCId": "vpc-*******************",
"VSwitchId": "vsw-*******************",
"Components": [
{
"Status": "Activated",
"SecurityGroups": [
{
"SecurityGroupName": "MyGroupName",
"SecurityGroupId": "sg-*******************\n",
"RegionId": "cn-beijing",
"NetType": "vpc"
}
],
"ComponentType": "gateway",
"Topology": {
"Parents": [
"pac-**************"
],
"Children": [
"pac-**************"
],
"Layer": "0"
},
"SecurityIPArrays": [
{
"SecurityIPArrayTag": "mytag",
"SecurityIPType": "ipv4",
"SecurityIPList": "127.0.0.1",
"SecurityIPArrayName": "default",
"SecurityIPNetType": "mix"
}
],
"ComponentClassDescription": "2C4GB",
"ComponentId": "pac-*******************",
"ComponentClass": "polar.app.g2.medium",
"ComponentReplica": 1,
"ComponentMaxReplica": 1,
"ComponentReplicaGroupName": "default"
}
],
"Endpoints": [
{
"Description": "myendpoint",
"PortDescription": "kong_http",
"EndpointId": "pa-**************",
"IP": "172.31.95.252",
"Port": "8080",
"NetType": "Private"
}
],
"CreationTime": "2025-03-25T09:37:10Z",
"ExpireTime": "2025-06-25T09:37:10Z",
"RegionId": "cn-beijing",
"ZoneId": "cn-beijing-l",
"PolarFSInstanceId": "pfs-**************",
"ServerlessType": "2",
"MemApplicationAttribute": {
"LlmModelName": "",
"EmbedderModelName": "",
"RerankerModelName": "",
"ProjectName": "",
"DbName": "",
"UserName": ""
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.