Consulta a lista de plug-ins.
Sintaxe
{
"Type": "DATASOURCE::APIG::Plugins",
"Properties": {
"GatewayId": String,
"PluginClassId": String,
"PluginClassName": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
GatewayId |
String |
Não |
Sim |
ID da instância do Cloud-native API Gateway. |
Nenhuma. |
|
PluginClassId |
String |
Não |
Sim |
ID da classe do plug-in. |
Nenhuma. |
|
PluginClassName |
String |
Não |
Sim |
Nome do plug-in. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da fonte de dados ao atualizar a pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
PluginIds: IDs dos plug-ins.
Plugins: detalhes dos plug-ins.
|
Propriedade |
Tipo |
Descrição |
Restrição |
|
PluginIds |
List |
IDs dos plug-ins. |
Nenhuma. |
|
Plugins |
List |
Detalhes dos plug-ins. |
Nenhuma. |
|
GatewayId |
String |
ID da instância do Cloud-native API Gateway. |
Nenhuma. |
|
PluginId |
String |
ID do plug-in. |
Nenhuma. |
|
GatewayName |
String |
Nome da instância do Cloud-native API Gateway. |
Nenhuma. |
|
PluginClassId |
String |
ID da classe do plug-in. |
Nenhuma. |
|
PluginClassName |
String |
Nome da classe do plug-in. |
Nenhuma. |
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
PluginClassId:
Type: String
Description:
en: The ID of the plugin class.
Required: false
Resources:
ExtensionDataSource:
Type: DATASOURCE::APIG::Plugins
Properties:
PluginClassId:
Ref: PluginClassId
Outputs:
PluginIds:
Description: The list of plugin IDs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PluginIds
Plugins:
Description: The list of plugins.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Plugins
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"PluginClassId": {
"Type": "String",
"Description": {
"en": "The ID of the plugin class."
},
"Required": false
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::APIG::Plugins",
"Properties": {
"PluginClassId": {
"Ref": "PluginClassId"
}
}
}
},
"Outputs": {
"PluginIds": {
"Description": "The list of plugin IDs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PluginIds"
]
}
},
"Plugins": {
"Description": "The list of plugins.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Plugins"
]
}
}
}
}