Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::ARMS::DeliverTask

Última atualização: Jun 27, 2026

Cria uma tarefa de entrega no Application Real-Time Monitoring Service (ARMS).

Sintaxe

{
  "Type": "ALIYUN::ARMS::DeliverTask",
  "Properties": {
    "TargetList": List,
    "TaskName": String,
    "DataSourceName": String,
    "DataSourceId": String,
    "ExternalLabel": String,
    "FilterType": Boolean,
    "FilterList": String,
    "TaskDescription": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

TargetList

List

Sim

Sim

Lista de destinos.

Para mais informações, consulte Propriedades de TargetList.

TaskName

String

Sim

Não

Nome da tarefa de entrega.

Nenhuma.

DataSourceName

String

Não

Sim

Nome da fonte de dados.

Nenhuma.

DataSourceId

String

Não

Sim

ID da fonte de dados.

Nenhuma.

ExternalLabel

String

Não

Sim

Rótulo externo da tarefa de entrega.

Nenhuma.

FilterType

Boolean

Não

Não

Define se uma lista de permissões filtra os dados.

O valor padrão é true.

FilterList

String

Não

Sim

Métricas para filtragem de dados.

Suporta expressões regulares, múltiplas quebras de linha e várias condições para filtragem precisa de entrega.

TaskDescription

String

Não

Não

Descrição da tarefa de entrega.

Nenhuma.

Sintaxe de TargetList

"TargetList": [
  {
    "TargetParam": String,
    "TargetType": String,
    "FaultTolerantPolicy": String,
    "TargetName": String,
    "RetryPolicy": String
  }
]

Propriedades de TargetList

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

TargetType

String

Sim

Sim

Tipo do destino.

Nenhuma.

FaultTolerantPolicy

String

Não

Sim

Política de tolerância a falhas do destino.

Valores válidos:

  • ALL (padrão): Tolerância a falhas habilitada. A execução continua mesmo se ocorrer uma falha. Após o esgotamento das tentativas definidas em RetryPolicy, o sistema envia a mensagem para uma fila de mensagens mortas ou a descarta.

  • NONE: Tolerância a falhas desabilitada. Se ocorrer uma falha e as tentativas de RetryPolicy se esgotarem, a execução será bloqueada.

RetryPolicy

String

Não

Sim

Política de nova tentativa do destino.

Valores válidos:

  • BACKOFF_RETRY: Permite até 3 novas tentativas. O intervalo entre tentativas varia aleatoriamente entre 10 e 20 segundos.

  • EXPONENTIAL_DECAY_RETRY (padrão): Permite até 176 novas tentativas. O intervalo aumenta exponencialmente de 1 segundo até 512 segundos. O período total de novas tentativas é de um dia.

TargetParam

String

Não

Sim

Parâmetro do destino.

Nenhuma.

TargetName

String

Não

Sim

Nome do destino.

Nenhuma.

Valores de retorno

Fn::GetAtt

TasId: o ID da tarefa de entrega.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  TargetList:
    AssociationPropertyMetadata:
      Parameters:
        TargetParam:
          Type: String
          Description:
            en: The parameter of the target.
          Required: false
        TargetType:
          Type: String
          Description:
            en: The type of the target.
          Required: true
        FaultTolerantPolicy:
          Type: String
          Description:
            en: |-
              The fault tolerant policy of the target. Valid values:
              - ALL (default): Exception tolerance is allowed. When an exception occurs, the execution will not be blocked, and the message will be delivered to the dead message queue or dropped directly according to the configuration after exceeding the retry policy.
              - NONE: Fault tolerance is not allowed and execution is blocked when an exception occurs and exceeds the retry policy configuration.
          AllowedValues:
            - ALL
            - NONE
          Required: false
          Default: ALL
        TargetName:
          Type: String
          Description:
            en: The name of the target.
          Required: false
        RetryPolicy:
          Type: String
          Description:
            en: |-
              The retry policy of the target. Valid values:
              - BACKOFF_RETRY: retry three times, with a random interval between 10 and 20 seconds
              - EXPONENTIAL_DECAY_RETRY (default): retry 176 times, each retry interval exponentially increased to 512 seconds, total retry time is 1 day; The interval for each retry is: 1,2,4,8,... 512 seconds.
          AllowedValues:
            - BACKOFF_RETRY
            - EXPONENTIAL_DECAY_RETRY
          Required: false
          Default: EXPONENTIAL_DECAY_RETRY
    AssociationProperty: List[Parameters]
    Type: Json
    Description:
      en: The list of the target.
    Required: true
  TaskName:
    Type: String
    Description:
      en: The name of the task.
    AllowedPattern: '[a-zA-Z0-9-]{1,64}'
    Required: true
Resources:
  DeliverTask:
    Type: ALIYUN::ARMS::DeliverTask
    Properties:
      TargetList:
        Ref: TargetList
      TaskName:
        Ref: TaskName
Outputs:
  TaskId:
    Description: The ID of the task.
    Value:
      Fn::GetAtt:
        - DeliverTask
        - TaskId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "TargetList": {
      "AssociationPropertyMetadata": {
        "Parameters": {
          "TargetParam": {
            "Type": "String",
            "Description": {
              "en": "The parameter of the target."
            },
            "Required": false
          },
          "TargetType": {
            "Type": "String",
            "Description": {
              "en": "The type of the target."
            },
            "Required": true
          },
          "FaultTolerantPolicy": {
            "Type": "String",
            "Description": {
              "en": "The fault tolerant policy of the target. Valid values:\n- ALL (default): Exception tolerance is allowed. When an exception occurs, the execution will not be blocked, and the message will be delivered to the dead message queue or dropped directly according to the configuration after exceeding the retry policy.\n- NONE: Fault tolerance is not allowed and execution is blocked when an exception occurs and exceeds the retry policy configuration."
            },
            "AllowedValues": [
              "ALL",
              "NONE"
            ],
            "Required": false,
            "Default": "ALL"
          },
          "TargetName": {
            "Type": "String",
            "Description": {
              "en": "The name of the target."
            },
            "Required": false
          },
          "RetryPolicy": {
            "Type": "String",
            "Description": {
              "en": "The retry policy of the target. Valid values:\n- BACKOFF_RETRY: retry three times, with a random interval between 10 and 20 seconds\n- EXPONENTIAL_DECAY_RETRY (default): retry 176 times, each retry interval exponentially increased to 512 seconds, total retry time is 1 day; The interval for each retry is: 1,2,4,8,... 512 seconds."
            },
            "AllowedValues": [
              "BACKOFF_RETRY",
              "EXPONENTIAL_DECAY_RETRY"
            ],
            "Required": false,
            "Default": "EXPONENTIAL_DECAY_RETRY"
          }
        }
      },
      "AssociationProperty": "List[Parameters]",
      "Type": "Json",
      "Description": {
        "en": "The list of the target."
      },
      "Required": true
    },
    "TaskName": {
      "Type": "String",
      "Description": {
        "en": "The name of the task."
      },
      "AllowedPattern": "[a-zA-Z0-9-]{1,64}",
      "Required": true
    }
  },
  "Resources": {
    "DeliverTask": {
      "Type": "ALIYUN::ARMS::DeliverTask",
      "Properties": {
        "TargetList": {
          "Ref": "TargetList"
        },
        "TaskName": {
          "Ref": "TaskName"
        }
      }
    }
  },
  "Outputs": {
    "TaskId": {
      "Description": "The ID of the task.",
      "Value": {
        "Fn::GetAtt": [
          "DeliverTask",
          "TaskId"
        ]
      }
    }
  }
}