Skip to content

DomainProps

Properties for defining a Domain.

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

Initializer

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

Properties

Name Type Description
DomainName interface{} Property domainName: The DCDN domain name.
Sources interface{} Property sources: The list of origin URLs.
CheckUrl interface{} Property checkUrl: The validation of the origin.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group.
Scope interface{} Property scope: Valid values: domestic, overseas, and global.
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.

DomainNameRequired

DomainName interface{}
  • Type: interface{}

Property domainName: The DCDN domain name.

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


SourcesRequired

Sources interface{}
  • Type: interface{}

Property sources: The list of origin URLs.


CheckUrlOptional

CheckUrl interface{}
  • Type: interface{}

Property checkUrl: The validation of the origin.


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.


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.