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

CDN.RefreshJob

Element Description

The CDN.RefreshJob element can be used to create a cache refreshing job.

Element Properties

Table 1 Property Description

Property

Required

Descripiton

type

No

Refreshed type

Type: string

Value Description: Supports file and directory. The default value is file.

urls

Yes

Refreshed URL

Type: string Array

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

Relationships Between Elements

None.

Return Value

Property

Type

Description

refID

string

Refreshing job ID

Blueprint Example

tosca_definitions_version: huaweicloud_tosca_version_1_0 
 node_templates: 
   cdnrj1gi: 
     type: HuaweiCloud.CDN.RefreshJob 
     properties: 
       urls: 
         - get_input: cdnrj1gi_urls_0 
       type: 
         get_input: cdnrj1gi_type 
 inputs: 
   cdnrj1gi_urls_0: 
     description: Refreshed URL, 
       label: '' 
   cdnrj1gi_type: 
     description: Refreshed type, 
       label: ''