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. |
DomainName |
object |
Property domainName: The CDN domain name. |
CheckUrl |
object |
Property checkUrl: The validation of the origin. |
OriginServers |
object |
Property originServers: The list of origin URLs. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group. |
Scope |
object |
Property scope: Valid values: domestic, overseas, and global. |
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.
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
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 validation of the origin.
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: 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
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.