Skip to content

DomainProps

Properties for defining a Domain.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cdn-domain

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcdn"
&alicloudroscdkcdn.DomainProps {
    CdnType: interface{},
    DomainName: interface{},
    CheckUrl: interface{},
    OriginServers: interface{},
    ResourceGroupId: interface{},
    Scope: interface{},
    Sources: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkcdn.RosDomain.TagsProperty,
    TopLevelDomain: interface{},
}

Properties

Name Type Description
CdnType interface{} Property cdnType: The business type.
DomainName interface{} Property domainName: The CDN domain name.
CheckUrl interface{} Property checkUrl: The validation of the origin.
OriginServers interface{} Property originServers: The list of origin URLs.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group.
Scope interface{} Property scope: Valid values: domestic, overseas, and global.
Sources interface{} Property sources: The list of origin URLs.
Tags *[]TagsProperty Property tags: Tags to attach to instance.
TopLevelDomain interface{} Property topLevelDomain: The top-level domain, which can only be configured by users on the whitelist.

CdnTypeRequired

CdnType interface{}
  • Type: interface{}

Property cdnType: The business type.

Valid values: web, download, video, livestream, and httpsdelivery. web: acceleration of images and small files download. download: acceleration of large file downloads. video: live streaming acceleration. httpsdelivery: SSL acceleration for HTTPS.


DomainNameRequired

DomainName interface{}
  • Type: interface{}

Property domainName: The CDN domain name.

Wildcard domain names that start with periods (.) are supported. For example, .a.com.


CheckUrlOptional

CheckUrl interface{}
  • Type: interface{}

Property checkUrl: The validation of the origin.


OriginServersOptional

OriginServers interface{}
  • Type: interface{}

Property originServers: The list of origin URLs.

It has the same function as Sources, but has a higher priority than it.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.

If this is left blank, the system automatically fills in the ID of the default resource group.


ScopeOptional

Scope interface{}
  • Type: interface{}

Property scope: Valid values: domestic, overseas, and global.

Default value: domestic. The setting is supported for users outside mainland China, users in mainland China of level 3 or above.


SourcesOptional

Sources interface{}
  • Type: interface{}

Property sources: The list of origin URLs.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.


TopLevelDomainOptional

TopLevelDomain interface{}
  • Type: interface{}

Property topLevelDomain: The top-level domain, which can only be configured by users on the whitelist.