Consulta detalhes de uma tarefa de monitoramento de aplicações.
Sintaxe
{
"Type": "DATASOURCE::ARMS::XTraceApp",
"Properties": {
"Pid": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
Pid |
String |
Sim |
Sim |
ID da aplicação. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos de source durante a atualização da stack. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
ResourceGroupId: ID do grupo de recursos.
CreateTime: timestamp de criação da tarefa.
Pid: ID da aplicação.
Tags: tags da aplicação.
XTraceAppName: nome da aplicação.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Pid:
Type: String
Description:
en: The process identifier (PID) of the application.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::ARMS::XTraceApp
Properties:
Pid:
Ref: Pid
Outputs:
ResourceGroupId:
Description: The ID of the resource group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
CreateTime:
Description: The timestamp generated when the task was created.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
Pid:
Description: The process identifier (PID) of the application.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Pid
Tags:
Description: The tags of the application.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
XTraceAppName:
Description: The name of the application.
Value:
Fn::GetAtt:
- ExtensionDataSource
- XTraceAppName
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Pid": {
"Type": "String",
"Description": {
"en": "The process identifier (PID) of the application."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ARMS::XTraceApp",
"Properties": {
"Pid": {
"Ref": "Pid"
}
}
}
},
"Outputs": {
"ResourceGroupId": {
"Description": "The ID of the resource group.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"CreateTime": {
"Description": "The timestamp generated when the task was created.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"Pid": {
"Description": "The process identifier (PID) of the application.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Pid"
]
}
},
"Tags": {
"Description": "The tags of the application.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
},
"XTraceAppName": {
"Description": "The name of the application.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"XTraceAppName"
]
}
}
}
}