Updated on 2023-08-11 GMT+08:00

SCM.Cert

Element Description

The SCM.Cert element is used to create certificate resources.

Element Properties

Table 1 Property Description

Property

Required

Descripiton

instances

Yes

Number of purchased certificates.

Type: integer

Default: 1

Value Constraint: The value ranges from 1 to 3000.

resourceSpecCode

Yes

Certificate product name. Format: Certificate Authority.Domain Type.Certificate Type.Validity Period (number of years)

Type: string

Default: symantec.single.ov.1

Value Constraint: Only available certificates can be selected.

resourceSize

Yes

Number of domain names that can be added to the purchased certificate. You can add 2 to 100 domain names for a multi-domain certificate and only 1 domain name for certificates of other domain types.

Type: integer

Default: 1

Value Constraint: The value ranges from 1 to 100.

Relationships Between Elements

None.

Return Value

Property

Type

Description

refID

string

ID of SCM Cert

Blueprint Example

tosca_definitions_version: huaweicloud_tosca_version_1_0
inputs:
  cert-product:
    constraints:
      valid_values:
        - symantec.multi.ov.1
        - symantec.multi.ov.2
        - symantec.multi.ovpro.1
        - symantec.multi.ovpro.2
        - cfca.multi.ev.1
        - geotrust.multi.ev.1
        - geotrust.multi.ev.2
        - globalsign.multi.ev.1
        - symantec.multi.ev.1
        - symantec.multi.ev.2
        - symantec.multi.evpro.1
        - symantec.multi.evpro.2
        - cfca.multi.ov.1
        - globalsign.multi.ev.2
        - globalsign.multi.ov.1
        - geotrust.multi.ov.1
        - symantec.wildcard.ovpro.2
        - globalsign.multi.ov.2
        - geotrust.multi.ov.2
        - geotrust.single.dv.1
        - cfca.single.ov.1
        - cfca.wildcard.ov.1
        - geotrust.single.ov.1
        - geotrust.wildcard.ov.1
        - globalsign.single.ov.1
        - globalsign.wildcard.ov.1
        - symantec.single.ov.1
        - symantec.wildcard.ov.1
        - symantec.single.ovpro.1
        - symantec.wildcard.ovpro.1
        - cfca.single.ev.1
        - geotrust.single.ev.1
        - globalsign.single.ev.1
        - symantec.single.ev.1
        - symantec.single.evpro.1
        - symantec.single.dv.1
        - geotrust.single.ov.2
        - geotrust.wildcard.ov.2
        - geotrust.single.dv.2
        - globalsign.wildcard.ov.2
        - symantec.single.evpro.2
        - symantec.single.ev.2
        - globalsign.single.ev.2
        - geotrust.single.ev.2
        - symantec.single.ovpro.2
        - symantec.wildcard.ov.2
        - symantec.single.ov.2
        - globalsign.single.ov.2
    default: symantec.single.ov.1
    description: >-
      Certificate product name. Format: Certificate Authority.Domain
      Type.Certificate Type.Validity Period (number of years)
    type: string
  domain-number:
    constraints:
      in_range:
        - 1
        - 100
    default: 1
    description: >-
      Number of domain names that can be added to the purchased certificate. You
      can add 2 to 100 domain names for a multi-domain certificate and only 1
      domain name for certificates of other domain types.
    type: integer
  order-number:
    constraints:
      in_range:
        - 1
        - 3000
    default: 1
    description: Number of purchased certificates.
    type: integer
node_templates:
  my-scm:
    properties:
      chargeMode: 1
      instances:
        get_input: order-number
      periodNum: 1
      periodType: 6
      resourceSize:
        get_input: domain-number
      resourceSpecCode:
        get_input: cert-product
    type: HuaweiCloud.SCM.Cert