DescribeApplicationAttribute

更新时间:
复制 MD 格式

Retrieves the details of a specific application in a PolarDB instance.

Operation description

Retrieves all information about a specific PolarDB application, such as component details and endpoints.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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

The 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 instance that the application depends on.

pc-**************

Architecture

string

The CPU architecture. The value is:

  • x86

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. The value is:

  • vpc

vpc

SecurityIPArrays

array<object>

The application-level whitelists.

object

An application-level whitelist.

SecurityIPArrayTag

string

The tag of the IP address group.

mytag

SecurityIPType

string

The IP address type.

ipv4

SecurityIPList

string

The whitelisted IP addresses, separated by commas.

127.0.0.1

SecurityIPArrayName

string

The name of the IP address group. The default value is default.

default

SecurityIPNetType

string

The network type of the whitelisted IP addresses. The default value is mix.

mix

Status

string

The application status. Valid values:

  • Creating: The application is being created.

  • Activated: The application is running.

  • Maintaining: The application is being maintained.

  • ClassChanging: The application configuration is being changed.

  • Transing: The application is being migrated.

  • MinorVersionUpgrading: The minor version of the application is being upgraded.

  • NetCreating: The endpoint is being created.

  • NetDeleting: The endpoint is being deleted.

  • NetModifying: The endpoint is being modified.

  • Restarting: The application is restarting.

  • Locking: The application is being locked.

  • Locked: The application is locked.

  • Unlocking: The application is being unlocked.

  • Deleting: The application is being deleted.

Activated

LockMode

string

The lock mode. Valid values:

  • Unlock: The application is not locked.

  • Lock: The application is locked.

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 maintenance start time.

18:00Z

MaintainEndTime

string

The maintenance end time.

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 child components.

array<object>

Information about a child component.

Status

string

The component status. The valid values are the same as those for 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. The value is:

  • vpc

vpc

ComponentType

string

The type of the child component.

gateway

Topology

object

The topology of the child component.

Parents

array

The IDs or component types of the parent nodes for this child component.

string

The ID or component type of a parent node for this child component.

pac-**************

Children

array

The IDs or component types of the child nodes for this child component.

string

The ID or component type of a child node for this child component.

pac-**************

Layer

string

The topology layer of the child component.

0

SecurityIPArrays

array<object>

The component-level whitelists.

This parameter is not returned if the component-level whitelists are the same as the application-level whitelists.

object

A component-level whitelist.

SecurityIPArrayTag

string

The tag of the IP address group.

mytag

SecurityIPType

string

The IP address type.

ipv4

SecurityIPList

string

The whitelisted IP addresses, separated by commas.

127.0.0.1

SecurityIPArrayName

string

The name of the IP address group. The default value is default.

default

SecurityIPNetType

string

The network type of the whitelisted IP addresses. The default value is mix.

mix

ComponentClassDescription

string

The description of the child component's class.

2C4GB

ComponentId

string

The child component ID.

pac-*******************

ComponentClass

string

The class of the child component.

polar.app.g2.medium

ComponentReplica

integer

The number of replicas of the child component.

1

ComponentMaxReplica

integer

The maximum number of replicas for the child component.

1

ComponentReplicaGroupName

string

The group name of the child component replicas.

default

Endpoints

array<object>

The application endpoints.

object

An application endpoint.

Description

string

The endpoint description.

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. Valid values:

  • Private: a VPC endpoint

  • Public: a public endpoint

Private

Storages

array<object>

The details of the storage resources.

object

A storage resource.

StoragePerformanceLevel

string

The storage performance level.

PL0

StorageInstanceId

string

The storage instance ID.

pa-**************

StorageType

string

The storage type.

essd

StorageCapacity

string

The storage capacity.

20Gi

CreationTime

string

The creation time.

2025-03-25T09:37:10Z

ExpireTime

string

The expiration time.

This parameter is not returned for Postpaid instances.

2025-06-25T09:37:10Z

RegionId

string

The region ID.

cn-beijing

ZoneId

string

The zone ID.

cn-beijing-l

PolarFSInstanceId

string

The ID of the PolarFS Cold Storage or PolarFS High-performance instance.

pfs-**************

ServerlessType

string

The Serverless type. Valid values:

  • 2: Agile

  • 3: Stable

2

MemApplicationAttribute

object

The attributes of the Mem0 application.

GraphLlmModelName

string

The name of the graph LLM model.

qwen3-max

LlmModelName

string

The name of the LLM model.

qwen3-max

EmbedderModelName

string

The name of the embedder model.

text-embedding-v4

RerankerModelName

string

The name of the reranker model.

qwen3-rerank

ProjectName

string

The project name. It corresponds to the database schema where project data is stored.

test-project-name

DbName

string

The database name.

test-database-name

UserName

string

The username.

test-user

PolarClawSaaSApplicationAttribute

object

The attributes of the PolarClaw SaaS application.

AuthCallbackURL

string

The authentication callback URL.

http://8.xxx.xxx.xxx.xxx/xxx

SupabaseClusterId

string

The Supabase cluster ID.

pa-**************

AuthProviders

array

The enabled authentication providers.

string

An authentication provider.

MinorVersion

string

The minor version number.

v2026.3.13-1#20260320

LatestVersion

string

The latest version number.

v2026.3.13-1#20260320

IsLatestVersion

boolean

Indicates whether the application is the latest version.

true

NatGatewayId

string

The ID of the NAT Gateway.

pc-xxx

SnatStatus

string

The SNAT status.

off

CanDisableSnat

boolean

Indicates whether SNAT can be disabled.

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"
    }
  ],
  "Storages": [
    {
      "StoragePerformanceLevel": "PL0",
      "StorageInstanceId": "pa-**************",
      "StorageType": "essd",
      "StorageCapacity": "20Gi"
    }
  ],
  "CreationTime": "2025-03-25T09:37:10Z",
  "ExpireTime": "2025-06-25T09:37:10Z",
  "RegionId": "cn-beijing",
  "ZoneId": "cn-beijing-l",
  "PolarFSInstanceId": "pfs-**************",
  "ServerlessType": "2",
  "MemApplicationAttribute": {
    "GraphLlmModelName": "qwen3-max",
    "LlmModelName": "qwen3-max\n",
    "EmbedderModelName": "text-embedding-v4\n",
    "RerankerModelName": "qwen3-rerank\n",
    "ProjectName": " test-project-name\n",
    "DbName": "test-database-name\n",
    "UserName": "test-user\n"
  },
  "PolarClawSaaSApplicationAttribute": {
    "AuthCallbackURL": "http://8.xxx.xxx.xxx.xxx/xxx",
    "SupabaseClusterId": "pa-**************",
    "AuthProviders": [
      ""
    ]
  },
  "MinorVersion": "v2026.3.13-1#20260320",
  "LatestVersion": "v2026.3.13-1#20260320",
  "IsLatestVersion": true,
  "NatGatewayId": "pc-xxx",
  "SnatStatus": "off",
  "CanDisableSnat": false
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.