Updated on 2023-12-13 GMT+08:00

CDN.PreheatJob

Element Description

The CDN.PreheatJob element can be used to create a preheating job.

Element Properties

Table 1 Property Description

Property

Required

Descripiton

urls

Yes

Preheated URL

Type: string Array

Value Description: Example: abc.com/image/1.png. If multiple URLs exist, use commas (,) to separate them. Preheating for directory is not available yet. A single URL can contain a maximum of 10240 characters.

Relationships Between Elements

None.

Return Value

Property

Type

Description

refID

string

Preheating job ID

Blueprint Example

tosca_definitions_version: huaweicloud_tosca_version_1_0
node_templates:
  cdnpj2iv:
    type: HuaweiCloud.CDN.PreheatJob
    properties:
      urls:
        - get_input: cdnpj2iv_urls_0
inputs:
  cdnpj2iv_urls_0:
    description: Preheat URL
    label: ''