CDN.Source
Element Description
The CDN.Source element can be used to modify information about the source server. Both the IP address and domain name of the source server can direct CDN nodes back to the source server. A source domain name cannot be the same as an acceleration domain name.
Element Properties
| 
        Property  | 
      
        Required  | 
      
        Descripiton  | 
     
|---|---|---|
| 
        sources  | 
      
        Yes  | 
      
        Source domain name or IP address Type: CDN.Source Array  | 
     
| 
        domainId  | 
      
        Yes  | 
      
        Acceleration domain name ID Type: HuaweiCloud.CDN.Domain.Id Value Description: You are advised to use the get_input function to obtain the value, or connect to the CDN.Domain object and use the get_reference function to obtain the value.  | 
     
Relationships Between Elements
| 
        Description  | 
      
        Target  | 
     
|---|---|
| 
        Connected  | 
      
Return Value
| 
        Property  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        refID  | 
      
        string  | 
      
        CDN Source ID  | 
     
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0 
 node_templates: 
   cdnd4u36: 
     type: HuaweiCloud.CDN.Domain 
     properties: 
       sources: 
         - activeStandby: 
             get_input: cdnd4u36_sources_0_activeStandby 
           originType: 
             get_input: cdnd4u36_sources_0_originType 
           ipOrDomain: 
             get_input: cdnd4u36_sources_0_ipOrDomain 
       businessType: 
         get_input: cdnd4u36_businessType 
       domainName: 
         get_input: cdnd4u36_domainName 
   cdns3t06: 
     type: HuaweiCloud.CDN.Source 
     properties: 
       sources: 
         - activeStandby: 
             get_input: cdns3t06_sources_0_activeStandby 
           originType: 
             get_input: cdns3t06_sources_0_originType 
           ipOrDomain: 
             get_input: cdns3t06_sources_0_ipOrDomain 
       domainId: 
         get_reference: cdnd4u36 
     requirements: 
       - domainId: 
           node: cdnd4u36 
 inputs: 
   cdnd4u36_sources_0_activeStandby: 
     description: Active/standby status 
     default: master 
     label: '' 
   cdnd4u36_sources_0_originType: 
     description: Source site type 
     label: '' 
   cdnd4u36_sources_0_ipOrDomain: 
     description: Source IP address or domain name 
     label: '' 
   cdnd4u36_businessType: 
     description: Domain name service type 
     label: '' 
   cdnd4u36_domainName: 
     description: Acceleration domain name 
     label: '' 
   cdns3t06_sources_0_activeStandby: 
     description: Active/standby status 
     label: '' 
   cdns3t06_sources_0_originType: 
     description: Source site type 
     label: '' 
   cdns3t06_sources_0_ipOrDomain: 
     description: Source IP address or domain name 
     label: ''
 Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.