Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::CAS::Order

Última atualização: Jun 27, 2026

Cria um pedido de certificado SSL.

Sintaxe

{
  "Type": "ALIYUN::CAS::Order",
  "Properties": {
    "DomainCnt": Integer,
    "DomainType": String,
    "Service": String,
    "Period": Integer,
    "CertType": String,
    "CertBrand": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

CertBrand

String

Sim

Não

Marca do certificado SSL.

Valores válidos:

  • Rapid: certificado com validação de domínio (DV) da GeoTrust

  • Globalsign: certificado GlobalSign

  • vTrus: certificado vTrus

  • Wosign: certificado WoSign

  • Digicert: certificado DigiCert

  • Digicert pro: certificado DigiCert Pro

  • Geotrust: certificado GeoTrust

  • CFCA: certificado da China Financial Certification Authority (CFCA)

CertType

String

Sim

Não

Tipo do certificado.

Valores válidos:

  • DV: certificado DV

  • OV: certificado com validação de organização (OV)

  • EV: certificado com validação estendida (EV)

DomainCnt

Integer

Não

Não

Número de nomes de domínio associados ao certificado.

Valores válidos: 1 a 500.

DomainType

String

Não

Não

Tipo de nome de domínio.

Valores válidos:

  • one: nome de domínio único

  • multiple: vários nomes de domínio

  • all: nomes de domínio híbridos

Period

Integer

Não

Não

Período de validade do certificado.

Unidade: ano.

Valores válidos: 1 a 3.

Valores de retorno

Fn::GetAtt

Nenhum.

Exemplos

Formato YAML

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  CertType:
    Type: String
    Description:
      en: 'Certificate type. Valid values: DV, OV, EV.'
    AllowedValues:
      - DV
      - OV
      - EV
    Required: true
  CertBrand:
    Type: String
    Description:
      en: 'Certificate brand. Valid values: Rapid, Globalsign, vTrus, Wosign, Digicert, Digicert pro, Geotrust, CFCA.'
    AllowedValues:
      - Rapid
      - Globalsign
      - vTrus
      - Wosign
      - Digicert
      - Digicert pro
      - Geotrust
      - CFCA
    Required: true
Resources:
  SslOrder:
    Type: ALIYUN::CAS::Order
    Properties:
      CertType:
        Ref: CertType
      CertBrand:
        Ref: CertBrand

Formato JSON

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "CertType": {
      "Type": "String",
      "Description": {
        "en": "Certificate type. Valid values: DV, OV, EV.\n**Note:** This parameter must be specified along with or without the DomainType and CertBrand parameters."
      },
      "AllowedValues": [
        "DV",
        "OV",
        "EV"
      ],
      "Required": false
    },
    "CertBrand": {
      "Type": "String",
      "Description": {
        "en": "Certificate brand. Valid values: Rapid, Globalsign, vTrus, Wosign, Digicert, Digicert pro, Geotrust, CFCA.\n**Note:** This parameter must be specified along with or without the CertType and DomainTyp parameters."
      },
      "AllowedValues": [
        "Rapid",
        "Globalsign",
        "vTrus",
        "Wosign",
        "Digicert",
        "Digicert pro",
        "Geotrust",
        "CFCA"
      ],
      "Required": false
    }
  },
  "Resources": {
    "SslCertificate": {
      "Type": "ALIYUN::CAS::SslCertificate",
      "Properties": {
        "CertType": {
          "Ref": "CertType"
        },
        "CertBrand": {
          "Ref": "CertBrand"
        }
      }
    }
  },
  "Outputs": {
    "CertificateId": {
      "Description": "The ID of the certificate issued to you.",
      "Value": {
        "Fn::GetAtt": [
          "SslCertificate",
          "CertificateId"
        ]
      }
    },
    "OrderId": {
      "Description": "The ID of the certificate order.",
      "Value": {
        "Fn::GetAtt": [
          "SslCertificate",
          "OrderId"
        ]
      }
    }
  }
}