Show / Hide Table of Contents

Class Domain

Inheritance
System.Object
Resource
CustomResource
Domain
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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()
Namespace: Pulumi.AliCloud.Cdn
Assembly: Pulumi.AliCloud.dll
Syntax
public class Domain : CustomResource

Constructors

View Source

Domain(String, DomainArgs, CustomResourceOptions)

Create a Domain resource with the given unique name, arguments, and options.

Declaration
public Domain(string name, DomainArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

DomainArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AuthConfig

The auth config of the accelerated domain.

Declaration
public Output<DomainAuthConfig> AuthConfig { get; }
Property Value
Type Description
Output<DomainAuthConfig>
View Source

BlockIps

Declaration
public Output<ImmutableArray<string>> BlockIps { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

CacheConfigs

The cache configs of the accelerated domain.

Declaration
public Output<ImmutableArray<DomainCacheConfig>> CacheConfigs { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<DomainCacheConfig>>
View Source

CdnType

Cdn type of the accelerated domain. Valid values are web, download, video, liveStream.

Declaration
public Output<string> CdnType { get; }
Property Value
Type Description
Output<System.String>
View Source

CertificateConfig

Declaration
public Output<DomainCertificateConfig> CertificateConfig { get; }
Property Value
Type Description
Output<DomainCertificateConfig>
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 Output<string> DomainName { get; }
Property Value
Type Description
Output<System.String>
View Source

HttpHeaderConfigs

The http header configs of the accelerated domain.

Declaration
public Output<ImmutableArray<DomainHttpHeaderConfig>> HttpHeaderConfigs { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<DomainHttpHeaderConfig>>
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 Output<string> OptimizeEnable { get; }
Property Value
Type Description
Output<System.String>
View Source

Page404Config

The error page config of the accelerated domain.

Declaration
public Output<DomainPage404Config> Page404Config { get; }
Property Value
Type Description
Output<DomainPage404Config>
View Source

PageCompressEnable

Page Compress config of the accelerated domain. Valid values are on and off. Default value is off.

Declaration
public Output<string> PageCompressEnable { get; }
Property Value
Type Description
Output<System.String>
View Source

ParameterFilterConfig

The parameter filter config of the accelerated domain.

Declaration
public Output<DomainParameterFilterConfig> ParameterFilterConfig { get; }
Property Value
Type Description
Output<DomainParameterFilterConfig>
View Source

RangeEnable

Range Source config of the accelerated domain. Valid values are on and off. Default value is off.

Declaration
public Output<string> RangeEnable { get; }
Property Value
Type Description
Output<System.String>
View Source

ReferConfig

The refer config of the accelerated domain.

Declaration
public Output<DomainReferConfig> ReferConfig { get; }
Property Value
Type Description
Output<DomainReferConfig>
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 Output<string> Scope { get; }
Property Value
Type Description
Output<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 Output<int?> SourcePort { get; }
Property Value
Type Description
Output<System.Nullable<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
public Output<ImmutableArray<string>> Sources { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
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 Output<string> SourceType { get; }
Property Value
Type Description
Output<System.String>
View Source

VideoSeekEnable

Video Seek config of the accelerated domain. Valid values are on and off. Default value is off.

Declaration
public Output<string> VideoSeekEnable { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, DomainState, CustomResourceOptions)

Get an existing Domain resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Domain Get(string name, Input<string> id, DomainState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

DomainState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Domain
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.