Consulta detalhes de uma aplicação do Cloud Architect Design Tools (CADT).
Sintaxe
{
"Type": "DATASOURCE::BPStudio::Application",
"Properties": {
"ApplicationId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
ApplicationId |
String |
Sim |
Sim |
ID da aplicação. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos de source ao atualizar a pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
Status: status da aplicação.
ApplicationName: nome da aplicação.
ResourceGroupId: ID do grupo de recursos.
ImageUrl: URL da imagem da aplicação armazenada no OSS.
ApplicationId: ID da aplicação.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ApplicationId:
Type: String
Description:
en: The first ID of the resource.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::BPStudio::Application
Properties:
ApplicationId:
Ref: ApplicationId
Outputs:
Status:
Description: The status of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Status
ApplicationName:
Description: Application name.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ApplicationName
ResourceGroupId:
Description: The ID of the resource group to which the resource belongs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
ImageUrl:
Description: The Picture in the OSS Storage Address.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ImageUrl
ApplicationId:
Description: The first ID of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ApplicationId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ApplicationId": {
"Type": "String",
"Description": {
"en": "The first ID of the resource."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::BPStudio::Application",
"Properties": {
"ApplicationId": {
"Ref": "ApplicationId"
}
}
}
},
"Outputs": {
"Status": {
"Description": "The status of the resource.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Status"
]
}
},
"ApplicationName": {
"Description": "Application name.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ApplicationName"
]
}
},
"ResourceGroupId": {
"Description": "The ID of the resource group to which the resource belongs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"ImageUrl": {
"Description": "The Picture in the OSS Storage Address.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ImageUrl"
]
}
},
"ApplicationId": {
"Description": "The first ID of the resource.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ApplicationId"
]
}
}
}
}