Class DomainArgs
Inheritance
System.Object
DomainArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class DomainArgs : ResourceArgs
Constructors
View Source
DomainArgs()
Declaration
Properties
View Source
AuthConfig
The auth config of the accelerated domain.
Declaration
public Input<DomainAuthConfigArgs> AuthConfig { get; set; }
Property Value
View Source
BlockIps
Declaration
[Obsolete("Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.")]
public InputList<string> BlockIps { get; set; }
Property Value
View Source
CacheConfigs
The cache configs of the accelerated domain.
Declaration
[Obsolete("Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.")]
public InputList<DomainCacheConfigArgs> CacheConfigs { get; set; }
Property Value
View Source
CdnType
Cdn type of the accelerated domain. Valid values are web, download, video, liveStream.
Declaration
public Input<string> CdnType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CertificateConfig
Declaration
public Input<DomainCertificateConfigArgs> CertificateConfig { get; set; }
Property Value
View Source
DomainName
Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.
Declaration
public Input<string> DomainName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
HttpHeaderConfigs
The http header configs of the accelerated domain.
Declaration
[Obsolete("Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.")]
public InputList<DomainHttpHeaderConfigArgs> HttpHeaderConfigs { get; set; }
Property Value
View Source
OptimizeEnable
Page Optimize config of the accelerated domain. Valid values are on and off. Default value is off. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value is on.
Declaration
public Input<string> OptimizeEnable { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Page404Config
The error page config of the accelerated domain.
Declaration
public Input<DomainPage404ConfigArgs> Page404Config { get; set; }
Property Value
View Source
PageCompressEnable
Page Compress config of the accelerated domain. Valid values are on and off. Default value is off.
Declaration
public Input<string> PageCompressEnable { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ParameterFilterConfig
The parameter filter config of the accelerated domain.
Declaration
public Input<DomainParameterFilterConfigArgs> ParameterFilterConfig { get; set; }
Property Value
View Source
RangeEnable
Range Source config of the accelerated domain. Valid values are on and off. Default value is off.
Declaration
public Input<string> RangeEnable { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ReferConfig
The refer config of the accelerated domain.
Declaration
public Input<DomainReferConfigArgs> ReferConfig { get; set; }
Property Value
View Source
Scope
Scope of the accelerated domain. Valid values are domestic, overseas, global. Default value is domestic. This parameter's setting is valid Only for the international users and domestic L3 and above users .
Declaration
public Input<string> Scope { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SourcePort
Source port of the accelerated domain. Valid values are 80 and 443. Default value is 80. You must use 80 when the source_type is oss.
Declaration
public Input<int> SourcePort { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Sources
Sources of the accelerated domain. It's a list of domain names or IP address and consists of at most 20 items. You must set this parameter when cdn_type value is not liveStream.
Declaration
[Obsolete("Use `alicloud_cdn_domain_new` configuration `sources` argument instead.")]
public InputList<string> Sources { get; set; }
Property Value
View Source
SourceType
Source type of the accelerated domain. Valid values are ipaddr, domain, oss. You must set this parameter when cdn_type value is not liveStream.
Declaration
public Input<string> SourceType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
VideoSeekEnable
Video Seek config of the accelerated domain. Valid values are on and off. Default value is off.
Declaration
public Input<string> VideoSeekEnable { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|