Todos os produtos
Search
Central de documentação

Resource Orchestration Service:DATASOURCE::CDN::Domain

Última atualização: Jun 27, 2026

Consulta informações sobre um nome de domínio acelerado por CDN.

Sintaxe

{
  "Type": "DATASOURCE::CDN::Domain",
  "Properties": {
    "DomainName": String,
    "RefreshOptions": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

DomainName

String

Sim

Sim

Nome do domínio acelerado.

Nenhuma.

RefreshOptions

String

Não

Sim

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

Valores válidos:

  • Never (padrão): os recursos da fonte de dados não são atualizados quando a pilha é atualizada.

  • Always: os recursos da fonte de dados são atualizados quando a pilha é atualizada.

Valores de retorno

Fn::GetAtt

  • ResourceGroupId: ID do grupo de recursos.

  • Scope: região de aceleração.

  • DomainName: nome do domínio acelerado.

  • CertificateConfig: configuração do certificado.

  • CdnType: tipo de carga de trabalho do domínio acelerado.

  • Sources: informações do servidor de source.

  • Cname: CNAME atribuído ao domínio acelerado.

  • Tags: tags associadas ao nome de domínio.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DomainName:
    Type: String
    Description:
      en: The accelerated domain name.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::CDN::Domain
    Properties:
      DomainName:
        Ref: DomainName
Outputs:
  ResourceGroupId:
    Description: The ID of the resource group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ResourceGroupId
  Scope:
    Description: The acceleration region.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Scope
  DomainName:
    Description: The accelerated domain name.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DomainName
  CertificateConfig:
    Description: Certificate configuration.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CertificateConfig
  CdnType:
    Description: The workload type of the accelerated domain name.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CdnType
  Sources:
    Description: The information about the origin server.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Sources
  Cname:
    Description: The CNAME that is assigned to the accelerated domain name.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Cname
  Tags:
    Description: The tags of the resource.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Tags
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DomainName": {
      "Type": "String",
      "Description": {
        "en": "The accelerated domain name."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CDN::Domain",
      "Properties": {
        "DomainName": {
          "Ref": "DomainName"
        }
      }
    }
  },
  "Outputs": {
    "ResourceGroupId": {
      "Description": "The ID of the resource group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ResourceGroupId"
        ]
      }
    },
    "Scope": {
      "Description": "The acceleration region.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Scope"
        ]
      }
    },
    "DomainName": {
      "Description": "The accelerated domain name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DomainName"
        ]
      }
    },
    "CertificateConfig": {
      "Description": "Certificate configuration.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CertificateConfig"
        ]
      }
    },
    "CdnType": {
      "Description": "The workload type of the accelerated domain name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CdnType"
        ]
      }
    },
    "Sources": {
      "Description": "The information about the origin server.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Sources"
        ]
      }
    },
    "Cname": {
      "Description": "The CNAME that is assigned to the accelerated domain name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Cname"
        ]
      }
    },
    "Tags": {
      "Description": "The tags of the resource.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Tags"
        ]
      }
    }
  }
}