Skip to content

DomainProps

Properties for defining a Domain.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dcdn;
new DomainProps {
    object DomainName,
    object Sources,
    object CheckUrl = null,
    object ResourceGroupId = null,
    object Scope = null,
    TagsProperty[] Tags = null,
    object TopLevelDomain = null
};

Properties

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

DomainNameRequired

public object DomainName { get; set; }
  • Type: object

Property domainName: The DCDN domain name.

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


SourcesRequired

public object Sources { get; set; }
  • Type: object

Property sources: The list of origin URLs.


CheckUrlOptional

public object CheckUrl { get; set; }
  • Type: object

Property checkUrl: The validation of the origin.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

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

public object Scope { get; set; }
  • Type: object

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

public TagsProperty[] Tags { get; set; }

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

public object TopLevelDomain { get; set; }
  • Type: object

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