Todos los productos
Search
Centro de documentos

Resource Orchestration Service:ALIYUN::CAS::Order

Última actualización: Sep 04, 2026

Crea un pedido de certificado SSL.

Sintaxis

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

Propiedades

Propiedad

Tipo

Obligatorio

Editable

Descripción

Restricción

CertBrand

String

Sí

No

Marca del certificado SSL.

Valores válidos:

  • Rapid: certificado de validación de dominio (DV) de GeoTrust

  • Globalsign: certificado de GlobalSign

  • vTrus: certificado de vTrus

  • Wosign: certificado de WoSign

  • Digicert: certificado de DigiCert

  • Digicert pro: certificado de DigiCert Pro

  • Geotrust: certificado de GeoTrust

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

CertType

String

Sí

No

Tipo de certificado.

Valores válidos:

  • DV: certificado DV

  • OV: certificado de validación de organización (OV)

  • EV: certificado de validación extendida (EV)

DomainCnt

Integer

No

No

Número de nombres de dominio vinculados al certificado.

Valores válidos: de 1 a 500.

DomainType

String

No

No

Tipo de nombre de dominio.

Valores válidos:

  • one: nombre de dominio único

  • multiple: varios nombres de dominio

  • all: nombres de dominio híbridos

Period

Integer

No

No

Periodo de validez del certificado.

Unidad: año.

Valores válidos: de 1 a 3.

Valores de retorno

Fn::GetAtt

Ninguna.

Ejemplos

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"
        ]
      }
    }
  }
}