Obtém a lista de aplicações para todas as instâncias do PolarDB em uma região especificada.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
polardb:DescribeApplications |
get |
*All Resource
|
Nenhuma | Nenhuma |
Sintaxe da solicitação
POST HTTP/1.1
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Sim |
O ID da região. |
cn-beijing |
| ApplicationIds |
string |
Não |
Uma lista de IDs de aplicações. Se especificados, esta operação retorna informações apenas sobre as aplicações especificadas. |
pa-************** |
| PageSize |
integer |
Não |
O número de entradas a serem retornadas em cada página. Valores válidos:
Valor padrão: 30. |
30 |
| PageNumber |
integer |
Não |
O número da página. Valor padrão: 1. |
1 |
| DBClusterId |
string |
Não |
O ID da instância do PolarDB. Se especificado, esta operação retorna informações apenas sobre as aplicações associadas a esta instância. |
pc-************** |
| ApplicationTypes |
string |
Não |
||
| Tag |
array<object> |
Não |
A list of tags. A tag is a key-value pair. |
|
|
object |
Não |
|||
| Key |
string |
Não |
The key of the tag. |
testKey |
| Value |
string |
Não |
The value of the tag. |
testValue |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
O corpo da resposta. |
||
| RequestId |
string |
O ID da solicitação. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| TotalRecordCount |
integer |
O número total de registros. |
1 |
| PageRecordCount |
integer |
O número de registros na página atual. |
1 |
| PageNumber |
integer |
O número da página. |
1 |
| Items |
object |
Contém as aplicações retornadas. |
|
| Applications |
array<object> |
Uma lista de aplicações. |
|
|
array<object> |
Detalhes de uma aplicação. |
||
| Status |
string |
The application status. Valid values:
|
Activated |
| Description |
string |
The application description. |
myapp |
| EngineVersion |
string |
The engine version. |
1.0.0 |
| ZoneId |
string |
The ID of the availability 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 free of charge. |
Postpaid |
| PolarFSInstanceId |
string |
The ID of the associated PolarFS instance. |
pcs-************** |
| Endpoints |
object |
Contains the application's endpoints. |
|
| endpoint |
array<object> |
A list of application endpoints. |
|
|
object |
The details of an application endpoint. |
||
| IP |
string |
The IP address. |
192.168.0.3 |
| Port |
string |
The port. |
8080 |
| NetType |
string |
The network type. Valid values:
|
Public |
| ApplicationType |
string |
The application type. |
supabase |
| CreationTime |
string |
The creation time. |
2025-03-25T09:37:10Z |
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
| ApplicationId |
string |
The application ID. |
pa-************** |
| ExpireTime |
string |
The expiration time. |
2025-06-25T09:37:10Z |
| DBClusterId |
string |
The cluster ID. |
pc-xxxxxx |
| Tags |
object |
The application tags. |
|
| Tag |
array<object> |
A list of tags. |
|
|
object |
The details of a tag, which is a key-value pair. |
||
| Key |
string |
The tag key. |
testKey |
| Value |
string |
The tag value. |
testValue |
Exemplos
Resposta de sucesso
JSON formato
{
"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"
}
]
}
}
]
}
}
Códigos de erro
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.