alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.cdn.DomainNew

Provides a CDN Accelerated Domain resource. This resource is based on CDN’s new version OpenAPI.

For information about Cdn Domain New and how to use it, see Add a domain.

NOTE: Available in v1.34.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    // Create a new Domain.
    var domain = new AliCloud.Cdn.DomainNew("domain", new()
    {
        CdnType = "web",
        DomainName = "terraform.test.com",
        Scope = "overseas",
        Sources = new[]
        {
            new AliCloud.Cdn.Inputs.DomainNewSourceArgs
            {
                Content = "1.1.1.1",
                Port = 80,
                Priority = 20,
                Type = "ipaddr",
                Weight = 10,
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cdn"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cdn.NewDomainNew(ctx, "domain", &cdn.DomainNewArgs{
			CdnType:    pulumi.String("web"),
			DomainName: pulumi.String("terraform.test.com"),
			Scope:      pulumi.String("overseas"),
			Sources: cdn.DomainNewSourceArray{
				&cdn.DomainNewSourceArgs{
					Content:  pulumi.String("1.1.1.1"),
					Port:     pulumi.Int(80),
					Priority: pulumi.Int(20),
					Type:     pulumi.String("ipaddr"),
					Weight:   pulumi.Int(10),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cdn.DomainNew;
import com.pulumi.alicloud.cdn.DomainNewArgs;
import com.pulumi.alicloud.cdn.inputs.DomainNewSourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var domain = new DomainNew("domain", DomainNewArgs.builder()        
            .cdnType("web")
            .domainName("terraform.test.com")
            .scope("overseas")
            .sources(DomainNewSourceArgs.builder()
                .content("1.1.1.1")
                .port(80)
                .priority(20)
                .type("ipaddr")
                .weight(10)
                .build())
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

# Create a new Domain.
domain = alicloud.cdn.DomainNew("domain",
    cdn_type="web",
    domain_name="terraform.test.com",
    scope="overseas",
    sources=[alicloud.cdn.DomainNewSourceArgs(
        content="1.1.1.1",
        port=80,
        priority=20,
        type="ipaddr",
        weight=10,
    )])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// Create a new Domain.
const domain = new alicloud.cdn.DomainNew("domain", {
    cdnType: "web",
    domainName: "terraform.test.com",
    scope: "overseas",
    sources: [{
        content: "1.1.1.1",
        port: 80,
        priority: 20,
        type: "ipaddr",
        weight: 10,
    }],
});
resources:
  # Create a new Domain.
  domain:
    type: alicloud:cdn:DomainNew
    properties:
      cdnType: web
      domainName: terraform.test.com
      scope: overseas
      sources:
        - content: 1.1.1.1
          port: 80
          priority: 20
          type: ipaddr
          weight: 10

Create DomainNew Resource

new DomainNew(name: string, args: DomainNewArgs, opts?: CustomResourceOptions);
@overload
def DomainNew(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              cdn_type: Optional[str] = None,
              certificate_config: Optional[DomainNewCertificateConfigArgs] = None,
              domain_name: Optional[str] = None,
              resource_group_id: Optional[str] = None,
              scope: Optional[str] = None,
              sources: Optional[Sequence[DomainNewSourceArgs]] = None,
              tags: Optional[Mapping[str, Any]] = None)
@overload
def DomainNew(resource_name: str,
              args: DomainNewArgs,
              opts: Optional[ResourceOptions] = None)
func NewDomainNew(ctx *Context, name string, args DomainNewArgs, opts ...ResourceOption) (*DomainNew, error)
public DomainNew(string name, DomainNewArgs args, CustomResourceOptions? opts = null)
public DomainNew(String name, DomainNewArgs args)
public DomainNew(String name, DomainNewArgs args, CustomResourceOptions options)
type: alicloud:cdn:DomainNew
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DomainNewArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DomainNewArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DomainNewArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DomainNewArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DomainNewArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DomainNew Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DomainNew resource accepts the following input properties:

CdnType string

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

DomainName string

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.

Sources List<Pulumi.AliCloud.Cdn.Inputs.DomainNewSourceArgs>

The source address list of the accelerated domain. Defaults to null. See Block Sources.

CertificateConfig Pulumi.AliCloud.Cdn.Inputs.DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

ResourceGroupId string

Resource group ID.

Scope string

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 .

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

CdnType string

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

DomainName string

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.

Sources []DomainNewSourceArgs

The source address list of the accelerated domain. Defaults to null. See Block Sources.

CertificateConfig DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

ResourceGroupId string

Resource group ID.

Scope string

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 .

Tags map[string]interface{}

A mapping of tags to assign to the resource.

cdnType String

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

domainName String

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.

sources List<DomainNewSourceArgs>

The source address list of the accelerated domain. Defaults to null. See Block Sources.

certificateConfig DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

resourceGroupId String

Resource group ID.

scope String

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 .

tags Map<String,Object>

A mapping of tags to assign to the resource.

cdnType string

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

domainName string

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.

sources DomainNewSourceArgs[]

The source address list of the accelerated domain. Defaults to null. See Block Sources.

certificateConfig DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

resourceGroupId string

Resource group ID.

scope string

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 .

tags {[key: string]: any}

A mapping of tags to assign to the resource.

cdn_type str

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

domain_name str

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.

sources Sequence[DomainNewSourceArgs]

The source address list of the accelerated domain. Defaults to null. See Block Sources.

certificate_config DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

resource_group_id str

Resource group ID.

scope str

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 .

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

cdnType String

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

domainName String

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.

sources List<Property Map>

The source address list of the accelerated domain. Defaults to null. See Block Sources.

certificateConfig Property Map

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

resourceGroupId String

Resource group ID.

scope String

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 .

tags Map<Any>

A mapping of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the DomainNew resource produces the following output properties:

Cname string

(Available in v1.90.0+) The CNAME of the CDN domain.

Id string

The provider-assigned unique ID for this managed resource.

Cname string

(Available in v1.90.0+) The CNAME of the CDN domain.

Id string

The provider-assigned unique ID for this managed resource.

cname String

(Available in v1.90.0+) The CNAME of the CDN domain.

id String

The provider-assigned unique ID for this managed resource.

cname string

(Available in v1.90.0+) The CNAME of the CDN domain.

id string

The provider-assigned unique ID for this managed resource.

cname str

(Available in v1.90.0+) The CNAME of the CDN domain.

id str

The provider-assigned unique ID for this managed resource.

cname String

(Available in v1.90.0+) The CNAME of the CDN domain.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing DomainNew Resource

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

public static get(name: string, id: Input<ID>, state?: DomainNewState, opts?: CustomResourceOptions): DomainNew
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cdn_type: Optional[str] = None,
        certificate_config: Optional[DomainNewCertificateConfigArgs] = None,
        cname: Optional[str] = None,
        domain_name: Optional[str] = None,
        resource_group_id: Optional[str] = None,
        scope: Optional[str] = None,
        sources: Optional[Sequence[DomainNewSourceArgs]] = None,
        tags: Optional[Mapping[str, Any]] = None) -> DomainNew
func GetDomainNew(ctx *Context, name string, id IDInput, state *DomainNewState, opts ...ResourceOption) (*DomainNew, error)
public static DomainNew Get(string name, Input<string> id, DomainNewState? state, CustomResourceOptions? opts = null)
public static DomainNew get(String name, Output<String> id, DomainNewState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CdnType string

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

CertificateConfig Pulumi.AliCloud.Cdn.Inputs.DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

Cname string

(Available in v1.90.0+) The CNAME of the CDN domain.

DomainName string

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.

ResourceGroupId string

Resource group ID.

Scope string

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 .

Sources List<Pulumi.AliCloud.Cdn.Inputs.DomainNewSourceArgs>

The source address list of the accelerated domain. Defaults to null. See Block Sources.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

CdnType string

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

CertificateConfig DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

Cname string

(Available in v1.90.0+) The CNAME of the CDN domain.

DomainName string

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.

ResourceGroupId string

Resource group ID.

Scope string

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 .

Sources []DomainNewSourceArgs

The source address list of the accelerated domain. Defaults to null. See Block Sources.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

cdnType String

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

certificateConfig DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

cname String

(Available in v1.90.0+) The CNAME of the CDN domain.

domainName String

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.

resourceGroupId String

Resource group ID.

scope String

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 .

sources List<DomainNewSourceArgs>

The source address list of the accelerated domain. Defaults to null. See Block Sources.

tags Map<String,Object>

A mapping of tags to assign to the resource.

cdnType string

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

certificateConfig DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

cname string

(Available in v1.90.0+) The CNAME of the CDN domain.

domainName string

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.

resourceGroupId string

Resource group ID.

scope string

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 .

sources DomainNewSourceArgs[]

The source address list of the accelerated domain. Defaults to null. See Block Sources.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

cdn_type str

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

certificate_config DomainNewCertificateConfigArgs

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

cname str

(Available in v1.90.0+) The CNAME of the CDN domain.

domain_name str

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.

resource_group_id str

Resource group ID.

scope str

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 .

sources Sequence[DomainNewSourceArgs]

The source address list of the accelerated domain. Defaults to null. See Block Sources.

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

cdnType String

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

certificateConfig Property Map

Certificate config of the accelerated domain. It's a list and consist of at most 1 item.

cname String

(Available in v1.90.0+) The CNAME of the CDN domain.

domainName String

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.

resourceGroupId String

Resource group ID.

scope String

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 .

sources List<Property Map>

The source address list of the accelerated domain. Defaults to null. See Block Sources.

tags Map<Any>

A mapping of tags to assign to the resource.

Supporting Types

DomainNewCertificateConfig

CertName string

The SSL certificate name.

CertType string

The SSL certificate type, can be "upload", "cas" and "free".

ForceSet string

Set 1 to ignore the repeated verification for certificate name, and cover the information of the origin certificate (with the same name). Set 0 to work the verification.

PrivateKey string

The SSL private key. This is required if server_certificate_status is on

ServerCertificate string

The SSL server certificate string. This is required if server_certificate_status is on

ServerCertificateStatus string

This parameter indicates whether or not enable https. Valid values are on and off. Default value is on.

CertName string

The SSL certificate name.

CertType string

The SSL certificate type, can be "upload", "cas" and "free".

ForceSet string

Set 1 to ignore the repeated verification for certificate name, and cover the information of the origin certificate (with the same name). Set 0 to work the verification.

PrivateKey string

The SSL private key. This is required if server_certificate_status is on

ServerCertificate string

The SSL server certificate string. This is required if server_certificate_status is on

ServerCertificateStatus string

This parameter indicates whether or not enable https. Valid values are on and off. Default value is on.

certName String

The SSL certificate name.

certType String

The SSL certificate type, can be "upload", "cas" and "free".

forceSet String

Set 1 to ignore the repeated verification for certificate name, and cover the information of the origin certificate (with the same name). Set 0 to work the verification.

privateKey String

The SSL private key. This is required if server_certificate_status is on

serverCertificate String

The SSL server certificate string. This is required if server_certificate_status is on

serverCertificateStatus String

This parameter indicates whether or not enable https. Valid values are on and off. Default value is on.

certName string

The SSL certificate name.

certType string

The SSL certificate type, can be "upload", "cas" and "free".

forceSet string

Set 1 to ignore the repeated verification for certificate name, and cover the information of the origin certificate (with the same name). Set 0 to work the verification.

privateKey string

The SSL private key. This is required if server_certificate_status is on

serverCertificate string

The SSL server certificate string. This is required if server_certificate_status is on

serverCertificateStatus string

This parameter indicates whether or not enable https. Valid values are on and off. Default value is on.

cert_name str

The SSL certificate name.

cert_type str

The SSL certificate type, can be "upload", "cas" and "free".

force_set str

Set 1 to ignore the repeated verification for certificate name, and cover the information of the origin certificate (with the same name). Set 0 to work the verification.

private_key str

The SSL private key. This is required if server_certificate_status is on

server_certificate str

The SSL server certificate string. This is required if server_certificate_status is on

server_certificate_status str

This parameter indicates whether or not enable https. Valid values are on and off. Default value is on.

certName String

The SSL certificate name.

certType String

The SSL certificate type, can be "upload", "cas" and "free".

forceSet String

Set 1 to ignore the repeated verification for certificate name, and cover the information of the origin certificate (with the same name). Set 0 to work the verification.

privateKey String

The SSL private key. This is required if server_certificate_status is on

serverCertificate String

The SSL server certificate string. This is required if server_certificate_status is on

serverCertificateStatus String

This parameter indicates whether or not enable https. Valid values are on and off. Default value is on.

DomainNewSource

Content string

The address of source. Valid values can be ip or doaminName. Each item's content can not be repeated.

Type string

The type of the source. Valid values are ipaddr, domain and oss.

Port int

The port of source. Valid values are 443 and 80. Default value is 80.

Priority int

Priority of the source. Valid values are 0 and 100. Default value is 20.

Weight int

Weight of the source. Valid values are from 0 to 100. Default value is 10, but if type is ipaddr, the value can only be 10.

Content string

The address of source. Valid values can be ip or doaminName. Each item's content can not be repeated.

Type string

The type of the source. Valid values are ipaddr, domain and oss.

Port int

The port of source. Valid values are 443 and 80. Default value is 80.

Priority int

Priority of the source. Valid values are 0 and 100. Default value is 20.

Weight int

Weight of the source. Valid values are from 0 to 100. Default value is 10, but if type is ipaddr, the value can only be 10.

content String

The address of source. Valid values can be ip or doaminName. Each item's content can not be repeated.

type String

The type of the source. Valid values are ipaddr, domain and oss.

port Integer

The port of source. Valid values are 443 and 80. Default value is 80.

priority Integer

Priority of the source. Valid values are 0 and 100. Default value is 20.

weight Integer

Weight of the source. Valid values are from 0 to 100. Default value is 10, but if type is ipaddr, the value can only be 10.

content string

The address of source. Valid values can be ip or doaminName. Each item's content can not be repeated.

type string

The type of the source. Valid values are ipaddr, domain and oss.

port number

The port of source. Valid values are 443 and 80. Default value is 80.

priority number

Priority of the source. Valid values are 0 and 100. Default value is 20.

weight number

Weight of the source. Valid values are from 0 to 100. Default value is 10, but if type is ipaddr, the value can only be 10.

content str

The address of source. Valid values can be ip or doaminName. Each item's content can not be repeated.

type str

The type of the source. Valid values are ipaddr, domain and oss.

port int

The port of source. Valid values are 443 and 80. Default value is 80.

priority int

Priority of the source. Valid values are 0 and 100. Default value is 20.

weight int

Weight of the source. Valid values are from 0 to 100. Default value is 10, but if type is ipaddr, the value can only be 10.

content String

The address of source. Valid values can be ip or doaminName. Each item's content can not be repeated.

type String

The type of the source. Valid values are ipaddr, domain and oss.

port Number

The port of source. Valid values are 443 and 80. Default value is 80.

priority Number

Priority of the source. Valid values are 0 and 100. Default value is 20.

weight Number

Weight of the source. Valid values are from 0 to 100. Default value is 10, but if type is ipaddr, the value can only be 10.

Import

CDN domain can be imported using the id, e.g.

 $ pulumi import alicloud:cdn/domainNew:DomainNew example xxxx.com

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.