Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::SLS::AnalyzeProductLog

Última atualização: Jun 27, 2026

O recurso ALIYUN::SLS::AnalyzeProductLog analisa os logs de um serviço de nuvem.

Sintaxe

{
  "Type": "ALIYUN::SLS::AnalyzeProductLog",
  "Properties": {
    "CloudProduct": String,
    "Logstore": String,
    "Project": String,
    "Overwrite": Boolean
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

CloudProduct

String

Sim

Não

Nome do serviço de nuvem.

Nenhuma.

Logstore

String

Sim

Não

Nome do Logstore.

Nenhuma.

Project

String

Sim

Não

Nome do projeto.

Nenhuma.

Overwrite

Boolean

Não

Não

Substitui as regras de análise existentes.

Nenhuma.

Valores de retorno

Fn::GetAtt

Nenhum.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Project:
    Type: String
    Description:
      en: The project name.
    Required: true
  Logstore:
    Type: String
    Description:
      en: The logstore name.
    Required: true
  CloudProduct:
    Type: String
    Description:
      en: The cloud product name.
    Required: true
Resources:
  AnalyzeProductLog:
    Type: ALIYUN::SLS::AnalyzeProductLog
    Properties:
      Project:
        Ref: Project
      Logstore:
        Ref: Logstore
      CloudProduct:
        Ref: CloudProduct
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Project": {
      "Type": "String",
      "Description": {
        "en": "The project name."
      },
      "Required": true
    },
    "Logstore": {
      "Type": "String",
      "Description": {
        "en": "The logstore name."
      },
      "Required": true
    },
    "CloudProduct": {
      "Type": "String",
      "Description": {
        "en": "The cloud product name."
      },
      "Required": true
    }
  },
  "Resources": {
    "AnalyzeProductLog": {
      "Type": "ALIYUN::SLS::AnalyzeProductLog",
      "Properties": {
        "Project": {
          "Ref": "Project"
        },
        "Logstore": {
          "Ref": "Logstore"
        },
        "CloudProduct": {
          "Ref": "CloudProduct"
        }
      }
    }
  }
}