Consulta tarefas agendadas de monitoramento sintético.
Sintaxe
{
"Type": "DATASOURCE::ARMS::SyntheticTasks",
"Properties": {
"ResourceGroupId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
ResourceGroupId |
String |
Não |
Sim |
ID do grupo de recursos. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da source de dados ao atualizar a pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
-
TaskIds:
os IDs das tarefas?
" commentTypeId="40" timestamp="2024-12-18T13:38:58+08:00" authorId="22754" uuid="2859c47a-16e7-425f-a511-9a8ffa0bada5">IDs das tarefas.
-
SyntheticTasks:
os detalhes das tarefas?
" commentTypeId="40" timestamp="2024-12-18T13:39:56+08:00" authorId="22754" uuid="7bc7d856-d14a-4962-bef9-d59a1a85b3d9">detalhes das tarefas.
|
Propriedade |
Tipo |
Descrição |
Restrição |
|
TaskIds |
List |
Os IDs das tarefas? " commentTypeId="40" timestamp="2024-12-18T13:40:21+08:00" authorId="22754" uuid="5219fcf4-0ef5-43b2-acb9-9ee2d9469dfd">IDs das tarefas. |
Nenhuma. |
|
SyntheticTasks |
List |
Os detalhes das tarefas? " commentTypeId="40" timestamp="2024-12-18T13:40:36+08:00" authorId="22754" uuid="ee5c7a02-ab62-4668-85a7-e9958a31cffc">Detalhes das tarefas. |
Nenhuma. |
|
MonitorCategory |
String |
Tipo do ponto de detecção. |
Nenhuma. |
|
Tags |
Map |
Tags da tarefa. |
Nenhuma. |
|
SyntheticTaskName |
String |
Nome da tarefa. |
Nenhuma. |
|
ResourceGroupId |
String |
ID do grupo de recursos. |
Nenhuma. |
|
Frequency |
String |
Frequência do monitoramento sintético. |
Nenhuma. |
|
TaskId |
String |
ID da tarefa. |
Nenhuma. |
|
TaskType |
String |
Tipo da tarefa. |
Nenhuma. |
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ResourceGroupId:
AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
Type: String
Description:
en: The ID of the resource group.
Required: false
Resources:
ExtensionDataSource:
Type: DATASOURCE::ARMS::SyntheticTasks
Properties:
ResourceGroupId:
Ref: ResourceGroupId
Outputs:
TaskIds:
Description: The list of task IDs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TaskIds
SyntheticTasks:
Description: The list of synthetic tasks.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SyntheticTasks
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ResourceGroupId": {
"AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId",
"Type": "String",
"Description": {
"en": "The ID of the resource group."
},
"Required": false
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ARMS::SyntheticTasks",
"Properties": {
"ResourceGroupId": {
"Ref": "ResourceGroupId"
}
}
}
},
"Outputs": {
"TaskIds": {
"Description": "The list of task IDs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TaskIds"
]
}
},
"SyntheticTasks": {
"Description": "The list of synthetic tasks.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SyntheticTasks"
]
}
}
}
}