DomainProps
Properties for defining a Domain.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cdn-domain
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cdn;
new DomainProps {
object CdnType,
object DomainName,
object CheckUrl = null,
object OriginServers = null,
object ResourceGroupId = null,
object Scope = null,
object Sources = null,
TagsProperty[] Tags = null,
object TopLevelDomain = null
};
Properties
| Name | Type | Description |
|---|---|---|
CdnType | object | Property cdnType: The business type of the domain name. |
DomainName | object | Property domainName: The CDN domain name. |
CheckUrl | object | Property checkUrl: The health check URL. |
OriginServers | object | Property originServers: The list of origin URLs. |
ResourceGroupId | object | Property resourceGroupId: The ID of the resource group. |
Scope | object | Property scope: The acceleration region. |
Sources | object | Property sources: The list of origin URLs. |
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. |
CdnTypeRequired
public object CdnType { get; set; }
- Type: object
Property cdnType: The business type of the domain name.
Valid values:
- web: images and small files.
- download: large files.
- video: on-demand video and audio streaming.
DomainNameRequired
public object DomainName { get; set; }
- Type: object
Property domainName: The CDN domain name.
Wildcard domain names that start with periods (.) are supported. For example, .a.com.
CheckUrlOptional
public object CheckUrl { get; set; }
- Type: object
Property checkUrl: The health check URL.
OriginServersOptional
public object OriginServers { get; set; }
- Type: object
Property originServers: The list of origin URLs.
It has the same function as Sources, but has a higher priority than it.
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: The acceleration region.
Valid values:
- domestic (default): Chinese mainland only.
- overseas: global (excluding the Chinese mainland).
- global: global.
SourcesOptional
public object Sources { get; set; }
- Type: object
Property sources: The list of origin URLs.
TagsOptional
public TagsProperty[] Tags { get; set; }
- Type: 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
public object TopLevelDomain { get; set; }
- Type: object
Property topLevelDomain: The top-level domain, which can only be configured by users on the whitelist.