Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::CDN::DeliverTask

Última atualização: Jun 27, 2026

ALIYUN::CDN::DeliverTask é um tipo de recurso para criar tarefas de assinatura de relatórios do CDN.

Sintaxe

{
  "Type": "ALIYUN::CDN::DeliverTask",
  "Properties": {
    "Deliver": Map,
    "Name": String,
    "Reports": List,
    "Schedule": Map,
    "DomainNames": List
  }
}

Propriedades

Parâmetro

Tipo

Obrigatório

Atualização permitida

Descrição

Restrições

Deliver

Map

Sim

Sim

Configuração da tarefa de entrega.

Nenhuma

Name

String

Sim

Sim

Nome da tarefa.

Nenhuma

Reports

List

Sim

Sim

Relatórios a incluir na tarefa.

Nenhuma

Schedule

Map

Sim

Sim

Agendamento da entrega.

Nenhuma

DomainNames

List

Não

Sim

Nomes de domínio a incluir no relatório.

Comprimento: 1 a 500.

Valores de retorno

Fn::GetAtt

DeliverId: ID da tarefa de entrega.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Deliver:
    Type: Json
    Description: The configuration for the delivery task.
    Required: true
  Schedule:
    Type: Json
    Description: The schedule for the delivery task.
    Required: true
  Reports:
    Type: Json
    Description: The reports for the delivery task.
    Required: true
  Name:
    Type: String
    Description: The name of the delivery task.
    Required: true
Resources:
  DeliverTask:
    Type: ALIYUN::CDN::DeliverTask
    Properties:
      Deliver:
        Ref: Deliver
      Schedule:
        Ref: Schedule
      Reports:
        Ref: Reports
      Name:
        Ref: Name
Outputs:
  DeliverId:
    Description: The ID of the delivery task.
    Value:
      Fn::GetAtt:
        - DeliverTask
        - DeliverId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Deliver": {
      "Type": "Json",
      "Description": "The configuration for the delivery task.",
      "Required": true
    },
    "Schedule": {
      "Type": "Json",
      "Description": "The schedule for the delivery task.",
      "Required": true
    },
    "Reports": {
      "Type": "Json",
      "Description": "The reports for the delivery task.",
      "Required": true
    },
    "Name": {
      "Type": "String",
      "Description": "The name of the delivery task.",
      "Required": true
    }
  },
  "Resources": {
    "DeliverTask": {
      "Type": "ALIYUN::CDN::DeliverTask",
      "Properties": {
        "Deliver": {
          "Ref": "Deliver"
        },
        "Schedule": {
          "Ref": "Schedule"
        },
        "Reports": {
          "Ref": "Reports"
        },
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Outputs": {
    "DeliverId": {
      "Description": "The ID of the delivery task.",
      "Value": {
        "Fn::GetAtt": [
          "DeliverTask",
          "DeliverId"
        ]
      }
    }
  }
}