Todos os produtos
Search
Central de documentação

Resource Orchestration Service:DATASOURCE::DTS::JobMonitorRule

Última atualização: Jun 27, 2026

Consulta a regra de alerta de uma tarefa do Data Transmission Service (DTS).

Sintaxe

{
  "Type": "DATASOURCE::DTS::JobMonitorRule",
  "Properties": {
    "DtsJobId": String,
    "RefreshOptions": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

DtsJobId

String

Sim

Sim

ID da tarefa de migração de dados, sincronização de dados ou rastreamento de alterações.

Nenhuma.

RefreshOptions

String

Não

Sim

Política de atualização dos recursos de source de dados durante a atualização da pilha.

Valores válidos:

  • Never (padrão): não atualiza os recursos de source de dados durante a atualização da pilha.

  • Always: atualiza os recursos de source de dados durante a atualização da pilha.

Valores de retorno

Fn::GetAtt

  • Type: tipo da regra de alerta.

  • DtsJobId: ID da tarefa de migração de dados, sincronização de dados ou rastreamento de alterações.

  • Phone: número de celular que recebe as notificações de alerta.

  • State: indica se a regra de alerta está ativada.

  • Times: quantidade de períodos estatísticos da tarefa de validação de dados incrementais.

  • Period: período estatístico da tarefa de validação de dados incrementais. Unidade: minutos.

  • DelayRuleTime: limiar para acionar alertas de latência. Unidade: segundos.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DtsJobId:
    Type: String
    Description:
      en: The ID of the data migration, data synchronization, or change tracking task.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::DTS::JobMonitorRule
    Properties:
      DtsJobId:
        Ref: DtsJobId
Outputs:
  Type:
    Description: The type of the monitoring rule.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Type
  DtsJobId:
    Description: The ID of the data migration, data synchronization, or change tracking task.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DtsJobId
  Phone:
    Description: The mobile phone numbers that receive alert notifications. Multiple mobile numbers are separated by commas (,).
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Phone
  State:
    Description: 'Indicates whether the monitoring rule is enabled. '
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - State
  Times:
    Description: The number of cycles for the incremental validation task.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Times
  Period:
    Description: The statistical period for incremental validation tasks, in minutes.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Period
  DelayRuleTime:
    Description: The threshold that triggers the alert.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DelayRuleTime
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DtsJobId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the data migration, data synchronization, or change tracking task."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::DTS::JobMonitorRule",
      "Properties": {
        "DtsJobId": {
          "Ref": "DtsJobId"
        }
      }
    }
  },
  "Outputs": {
    "Type": {
      "Description": "The type of the monitoring rule.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Type"
        ]
      }
    },
    "DtsJobId": {
      "Description": "The ID of the data migration, data synchronization, or change tracking task.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DtsJobId"
        ]
      }
    },
    "Phone": {
      "Description": "The mobile phone numbers that receive alert notifications. Multiple mobile numbers are separated by commas (,).",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Phone"
        ]
      }
    },
    "State": {
      "Description": "Indicates whether the monitoring rule is enabled. ",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "State"
        ]
      }
    },
    "Times": {
      "Description": "The number of cycles for the incremental validation task.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Times"
        ]
      }
    },
    "Period": {
      "Description": "The statistical period for incremental validation tasks, in minutes.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Period"
        ]
      }
    },
    "DelayRuleTime": {
      "Description": "The threshold that triggers the alert.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DelayRuleTime"
        ]
      }
    }
  }
}