Obtém os parâmetros atuais e as informações de modelo de uma aplicação especificada e de seus componentes.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
polardb:DescribeApplicationParameters |
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 |
| ApplicationId |
string |
Sim |
O ID da aplicação. |
pa-************** |
| ComponentIdList |
array |
Não |
Uma lista de IDs de subcomponentes. Se você especificar este parâmetro, a operação retornará os parâmetros e os modelos de parâmetros apenas para esses componentes. |
|
|
string |
Não |
O ID do subcomponente. |
pac-************** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
O objeto de resposta. |
||
| RequestId |
string |
O ID da solicitação. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| Parameters |
object |
Os detalhes dos parâmetros. |
|
| ComponentParameters |
array<object> |
Uma lista de subcomponentes que contêm listas de detalhes de parâmetros. |
|
|
array<object> |
Um subcomponente que contém uma lista de detalhes de parâmetros. |
||
| ComponentType |
string |
The type of the subcomponent. |
supabase |
| Parameters |
array<object> |
A list of parameter details. |
|
|
object |
The parameter details. |
||
| Status |
string |
The status. |
Applied |
| ReadOnly |
boolean |
Indicates whether the parameter is read-only. |
false |
| Pattern |
string |
The regular expression for the parameter. |
^[a-zA-Z0-9]{1,20}$ |
| Type |
string |
The parameter type. |
string |
| Description |
string |
The parameter description. |
The name of the parameter |
| Value |
string |
The current value of the parameter. |
value |
| NeedRestart |
boolean |
Indicates whether the application needs to be restarted after you modify the parameter. |
false |
| Default |
string |
The default value of the parameter. |
default value |
| Name |
string |
The parameter name. |
name |
| ComponentId |
string |
The subcomponent ID or application ID. |
pac-************** |
| ParameterTemplates |
object |
Os detalhes do modelo de parâmetro. |
|
| ComponentParameterTemplates |
array<object> |
Uma lista de subcomponentes que contêm listas de detalhes de modelos de parâmetros. |
|
|
array<object> |
|||
| ComponentType |
string |
The type of the subcomponent. |
supabase |
| Parameters |
array<object> |
A list of parameter template details. |
|
|
object |
The details of the parameter template. |
||
| Pattern |
string |
The regular expression for the parameter. |
^[a-zA-Z0-9]{1,20}$ |
| Type |
string |
The parameter type. |
string |
| Description |
string |
The parameter description. |
The name of the parameter |
| ReadOnly |
boolean |
Indicates whether the parameter is read-only. |
false |
| Default |
string |
The default value of the parameter. |
default |
| Name |
string |
The parameter name. |
name |
| NeedRestart |
boolean |
Indicates whether the application needs to be restarted after you modify the parameter. |
false |
| ComponentId |
string |
The subcomponent ID or application ID. |
pac-************** |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF",
"Parameters": {
"ComponentParameters": [
{
"ComponentType": "supabase",
"Parameters": [
{
"Status": "Applied",
"ReadOnly": false,
"Pattern": "^[a-zA-Z0-9]{1,20}$",
"Type": "string",
"Description": "The name of the parameter",
"Value": "value",
"NeedRestart": false,
"Default": "default value",
"Name": "name"
}
],
"ComponentId": "pac-**************"
}
]
},
"ParameterTemplates": {
"ComponentParameterTemplates": [
{
"ComponentType": "supabase",
"Parameters": [
{
"Pattern": "^[a-zA-Z0-9]{1,20}$",
"Type": "string",
"Description": "The name of the parameter",
"ReadOnly": false,
"Default": "default",
"Name": "name",
"NeedRestart": false
}
],
"ComponentId": "pac-**************"
}
]
}
}
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.