1. Packages
  2. Volcengine
  3. API Docs
  4. cdn
  5. Domains
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.cdn.Domains

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Use this data source to query detailed information of cdn domains

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooCdnCertificate = new Volcengine.Cdn.CdnCertificate("fooCdnCertificate", new()
        {
            Certificate = "",
            PrivateKey = "",
            Desc = "tftest",
            Source = "cdn_cert_hosting",
        });
    
        var fooCdnDomain = new Volcengine.Cdn.CdnDomain("fooCdnDomain", new()
        {
            Domain = "tftest.byte-test.com",
            ServiceType = "web",
            Tags = new[]
            {
                new Volcengine.Cdn.Inputs.CdnDomainTagArgs
                {
                    Key = "tfkey1",
                    Value = "tfvalue1",
                },
                new Volcengine.Cdn.Inputs.CdnDomainTagArgs
                {
                    Key = "tfkey2",
                    Value = "tfvalue2",
                },
            },
            DomainConfig = fooCdnCertificate.Id.Apply(id => JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["OriginProtocol"] = "https",
                ["Origin"] = new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["OriginAction"] = new Dictionary<string, object?>
                        {
                            ["OriginLines"] = new[]
                            {
                                new Dictionary<string, object?>
                                {
                                    ["Address"] = "1.1.1.1",
                                    ["HttpPort"] = "80",
                                    ["HttpsPort"] = "443",
                                    ["InstanceType"] = "ip",
                                    ["OriginType"] = "primary",
                                    ["PrivateBucketAccess"] = false,
                                    ["Weight"] = "2",
                                },
                            },
                        },
                    },
                },
                ["HTTPS"] = new Dictionary<string, object?>
                {
                    ["CertInfo"] = new Dictionary<string, object?>
                    {
                        ["CertId"] = id,
                    },
                    ["DisableHttp"] = false,
                    ["HTTP2"] = true,
                    ["Switch"] = true,
                    ["Ocsp"] = false,
                    ["TlsVersion"] = new[]
                    {
                        "tlsv1.1",
                        "tlsv1.2",
                    },
                },
            })),
        });
    
        var fooDomains = Volcengine.Cdn.Domains.Invoke(new()
        {
            Domain = fooCdnDomain.Id,
        });
    
    });
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fooCdnCertificate, err := cdn.NewCdnCertificate(ctx, "fooCdnCertificate", &cdn.CdnCertificateArgs{
    			Certificate: pulumi.String(""),
    			PrivateKey:  pulumi.String(""),
    			Desc:        pulumi.String("tftest"),
    			Source:      pulumi.String("cdn_cert_hosting"),
    		})
    		if err != nil {
    			return err
    		}
    		fooCdnDomain, err := cdn.NewCdnDomain(ctx, "fooCdnDomain", &cdn.CdnDomainArgs{
    			Domain:      pulumi.String("tftest.byte-test.com"),
    			ServiceType: pulumi.String("web"),
    			Tags: cdn.CdnDomainTagArray{
    				&cdn.CdnDomainTagArgs{
    					Key:   pulumi.String("tfkey1"),
    					Value: pulumi.String("tfvalue1"),
    				},
    				&cdn.CdnDomainTagArgs{
    					Key:   pulumi.String("tfkey2"),
    					Value: pulumi.String("tfvalue2"),
    				},
    			},
    			DomainConfig: fooCdnCertificate.ID().ApplyT(func(id string) (pulumi.String, error) {
    				var _zero pulumi.String
    				tmpJSON0, err := json.Marshal(map[string]interface{}{
    					"OriginProtocol": "https",
    					"Origin": []map[string]interface{}{
    						map[string]interface{}{
    							"OriginAction": map[string]interface{}{
    								"OriginLines": []map[string]interface{}{
    									map[string]interface{}{
    										"Address":             "1.1.1.1",
    										"HttpPort":            "80",
    										"HttpsPort":           "443",
    										"InstanceType":        "ip",
    										"OriginType":          "primary",
    										"PrivateBucketAccess": false,
    										"Weight":              "2",
    									},
    								},
    							},
    						},
    					},
    					"HTTPS": map[string]interface{}{
    						"CertInfo": map[string]interface{}{
    							"CertId": id,
    						},
    						"DisableHttp": false,
    						"HTTP2":       true,
    						"Switch":      true,
    						"Ocsp":        false,
    						"TlsVersion": []string{
    							"tlsv1.1",
    							"tlsv1.2",
    						},
    					},
    				})
    				if err != nil {
    					return _zero, err
    				}
    				json0 := string(tmpJSON0)
    				return pulumi.String(json0), nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		_ = cdn.DomainsOutput(ctx, cdn.DomainsOutputArgs{
    			Domain: fooCdnDomain.ID(),
    		}, nil)
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.cdn.CdnCertificate;
    import com.pulumi.volcengine.cdn.CdnCertificateArgs;
    import com.pulumi.volcengine.cdn.CdnDomain;
    import com.pulumi.volcengine.cdn.CdnDomainArgs;
    import com.pulumi.volcengine.cdn.inputs.CdnDomainTagArgs;
    import com.pulumi.volcengine.cdn.CdnFunctions;
    import com.pulumi.volcengine.cdn.inputs.DomainsArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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 fooCdnCertificate = new CdnCertificate("fooCdnCertificate", CdnCertificateArgs.builder()        
                .certificate("")
                .privateKey("")
                .desc("tftest")
                .source("cdn_cert_hosting")
                .build());
    
            var fooCdnDomain = new CdnDomain("fooCdnDomain", CdnDomainArgs.builder()        
                .domain("tftest.byte-test.com")
                .serviceType("web")
                .tags(            
                    CdnDomainTagArgs.builder()
                        .key("tfkey1")
                        .value("tfvalue1")
                        .build(),
                    CdnDomainTagArgs.builder()
                        .key("tfkey2")
                        .value("tfvalue2")
                        .build())
                .domainConfig(fooCdnCertificate.id().applyValue(id -> serializeJson(
                    jsonObject(
                        jsonProperty("OriginProtocol", "https"),
                        jsonProperty("Origin", jsonArray(jsonObject(
                            jsonProperty("OriginAction", jsonObject(
                                jsonProperty("OriginLines", jsonArray(jsonObject(
                                    jsonProperty("Address", "1.1.1.1"),
                                    jsonProperty("HttpPort", "80"),
                                    jsonProperty("HttpsPort", "443"),
                                    jsonProperty("InstanceType", "ip"),
                                    jsonProperty("OriginType", "primary"),
                                    jsonProperty("PrivateBucketAccess", false),
                                    jsonProperty("Weight", "2")
                                )))
                            ))
                        ))),
                        jsonProperty("HTTPS", jsonObject(
                            jsonProperty("CertInfo", jsonObject(
                                jsonProperty("CertId", id)
                            )),
                            jsonProperty("DisableHttp", false),
                            jsonProperty("HTTP2", true),
                            jsonProperty("Switch", true),
                            jsonProperty("Ocsp", false),
                            jsonProperty("TlsVersion", jsonArray(
                                "tlsv1.1", 
                                "tlsv1.2"
                            ))
                        ))
                    ))))
                .build());
    
            final var fooDomains = CdnFunctions.Domains(DomainsArgs.builder()
                .domain(fooCdnDomain.id())
                .build());
    
        }
    }
    
    import pulumi
    import json
    import pulumi_volcengine as volcengine
    
    foo_cdn_certificate = volcengine.cdn.CdnCertificate("fooCdnCertificate",
        certificate="",
        private_key="",
        desc="tftest",
        source="cdn_cert_hosting")
    foo_cdn_domain = volcengine.cdn.CdnDomain("fooCdnDomain",
        domain="tftest.byte-test.com",
        service_type="web",
        tags=[
            volcengine.cdn.CdnDomainTagArgs(
                key="tfkey1",
                value="tfvalue1",
            ),
            volcengine.cdn.CdnDomainTagArgs(
                key="tfkey2",
                value="tfvalue2",
            ),
        ],
        domain_config=foo_cdn_certificate.id.apply(lambda id: json.dumps({
            "OriginProtocol": "https",
            "Origin": [{
                "OriginAction": {
                    "OriginLines": [{
                        "Address": "1.1.1.1",
                        "HttpPort": "80",
                        "HttpsPort": "443",
                        "InstanceType": "ip",
                        "OriginType": "primary",
                        "PrivateBucketAccess": False,
                        "Weight": "2",
                    }],
                },
            }],
            "HTTPS": {
                "CertInfo": {
                    "CertId": id,
                },
                "DisableHttp": False,
                "HTTP2": True,
                "Switch": True,
                "Ocsp": False,
                "TlsVersion": [
                    "tlsv1.1",
                    "tlsv1.2",
                ],
            },
        })))
    foo_domains = volcengine.cdn.domains_output(domain=foo_cdn_domain.id)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    import * as volcengine from "@volcengine/pulumi";
    
    const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", {
        certificate: "",
        privateKey: "",
        desc: "tftest",
        source: "cdn_cert_hosting",
    });
    const fooCdnDomain = new volcengine.cdn.CdnDomain("fooCdnDomain", {
        domain: "tftest.byte-test.com",
        serviceType: "web",
        tags: [
            {
                key: "tfkey1",
                value: "tfvalue1",
            },
            {
                key: "tfkey2",
                value: "tfvalue2",
            },
        ],
        domainConfig: fooCdnCertificate.id.apply(id => JSON.stringify({
            OriginProtocol: "https",
            Origin: [{
                OriginAction: {
                    OriginLines: [{
                        Address: "1.1.1.1",
                        HttpPort: "80",
                        HttpsPort: "443",
                        InstanceType: "ip",
                        OriginType: "primary",
                        PrivateBucketAccess: false,
                        Weight: "2",
                    }],
                },
            }],
            HTTPS: {
                CertInfo: {
                    CertId: id,
                },
                DisableHttp: false,
                HTTP2: true,
                Switch: true,
                Ocsp: false,
                TlsVersion: [
                    "tlsv1.1",
                    "tlsv1.2",
                ],
            },
        })),
    });
    const fooDomains = volcengine.cdn.DomainsOutput({
        domain: fooCdnDomain.id,
    });
    
    resources:
      fooCdnCertificate:
        type: volcengine:cdn:CdnCertificate
        properties:
          certificate:
          privateKey:
          desc: tftest
          source: cdn_cert_hosting
      fooCdnDomain:
        type: volcengine:cdn:CdnDomain
        properties:
          domain: tftest.byte-test.com
          serviceType: web
          tags:
            - key: tfkey1
              value: tfvalue1
            - key: tfkey2
              value: tfvalue2
          domainConfig:
            fn::toJSON:
              OriginProtocol: https
              Origin:
                - OriginAction:
                    OriginLines:
                      - Address: 1.1.1.1
                        HttpPort: '80'
                        HttpsPort: '443'
                        InstanceType: ip
                        OriginType: primary
                        PrivateBucketAccess: false
                        Weight: '2'
              HTTPS:
                CertInfo:
                  CertId: ${fooCdnCertificate.id}
                DisableHttp: false
                HTTP2: true
                Switch: true
                Ocsp: false
                TlsVersion:
                  - tlsv1.1
                  - tlsv1.2
    variables:
      fooDomains:
        fn::invoke:
          Function: volcengine:cdn:Domains
          Arguments:
            domain: ${fooCdnDomain.id}
    

    Using Domains

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function domains(args: DomainsArgs, opts?: InvokeOptions): Promise<DomainsResult>
    function domainsOutput(args: DomainsOutputArgs, opts?: InvokeOptions): Output<DomainsResult>
    def domains(domain: Optional[str] = None,
                https: Optional[bool] = None,
                ipv6: Optional[bool] = None,
                origin_protocol: Optional[str] = None,
                output_file: Optional[str] = None,
                primary_origin: Optional[str] = None,
                project: Optional[str] = None,
                service_type: Optional[str] = None,
                status: Optional[str] = None,
                tags: Optional[Sequence[str]] = None,
                opts: Optional[InvokeOptions] = None) -> DomainsResult
    def domains_output(domain: Optional[pulumi.Input[str]] = None,
                https: Optional[pulumi.Input[bool]] = None,
                ipv6: Optional[pulumi.Input[bool]] = None,
                origin_protocol: Optional[pulumi.Input[str]] = None,
                output_file: Optional[pulumi.Input[str]] = None,
                primary_origin: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                service_type: Optional[pulumi.Input[str]] = None,
                status: Optional[pulumi.Input[str]] = None,
                tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[DomainsResult]
    func Domains(ctx *Context, args *DomainsArgs, opts ...InvokeOption) (*DomainsResult, error)
    func DomainsOutput(ctx *Context, args *DomainsOutputArgs, opts ...InvokeOption) DomainsResultOutput
    public static class Domains 
    {
        public static Task<DomainsResult> InvokeAsync(DomainsArgs args, InvokeOptions? opts = null)
        public static Output<DomainsResult> Invoke(DomainsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<DomainsResult> domains(DomainsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:cdn:Domains
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Domain string
    Search by specifying domain name keywords, with fuzzy matching.
    Https bool
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    Ipv6 bool
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    OriginProtocol string
    Configure the origin protocol for the accelerated domain.
    OutputFile string
    File name where to save data source results.
    PrimaryOrigin string
    Specify a primary origin server for filtering accelerated domains.
    Project string
    The project name of the domain.
    ServiceType string
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    Status string
    The status of the domain.
    Tags List<string>
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    Domain string
    Search by specifying domain name keywords, with fuzzy matching.
    Https bool
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    Ipv6 bool
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    OriginProtocol string
    Configure the origin protocol for the accelerated domain.
    OutputFile string
    File name where to save data source results.
    PrimaryOrigin string
    Specify a primary origin server for filtering accelerated domains.
    Project string
    The project name of the domain.
    ServiceType string
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    Status string
    The status of the domain.
    Tags []string
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    domain String
    Search by specifying domain name keywords, with fuzzy matching.
    https Boolean
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 Boolean
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    originProtocol String
    Configure the origin protocol for the accelerated domain.
    outputFile String
    File name where to save data source results.
    primaryOrigin String
    Specify a primary origin server for filtering accelerated domains.
    project String
    The project name of the domain.
    serviceType String
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status String
    The status of the domain.
    tags List<String>
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    domain string
    Search by specifying domain name keywords, with fuzzy matching.
    https boolean
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 boolean
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    originProtocol string
    Configure the origin protocol for the accelerated domain.
    outputFile string
    File name where to save data source results.
    primaryOrigin string
    Specify a primary origin server for filtering accelerated domains.
    project string
    The project name of the domain.
    serviceType string
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status string
    The status of the domain.
    tags string[]
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    domain str
    Search by specifying domain name keywords, with fuzzy matching.
    https bool
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 bool
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    origin_protocol str
    Configure the origin protocol for the accelerated domain.
    output_file str
    File name where to save data source results.
    primary_origin str
    Specify a primary origin server for filtering accelerated domains.
    project str
    The project name of the domain.
    service_type str
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status str
    The status of the domain.
    tags Sequence[str]
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    domain String
    Search by specifying domain name keywords, with fuzzy matching.
    https Boolean
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 Boolean
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    originProtocol String
    Configure the origin protocol for the accelerated domain.
    outputFile String
    File name where to save data source results.
    primaryOrigin String
    Specify a primary origin server for filtering accelerated domains.
    project String
    The project name of the domain.
    serviceType String
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status String
    The status of the domain.
    tags List<String>
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.

    Domains Result

    The following output properties are available:

    Domains List<DomainsDomain>
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    Domain string
    Search by specifying domain name keywords, with fuzzy matching.
    Https bool
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    Ipv6 bool
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    OriginProtocol string
    Configure the origin protocol for the accelerated domain.
    OutputFile string
    PrimaryOrigin string
    List of primary source servers to accelerate the domain name.
    Project string
    The project name of the domain.
    ServiceType string
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    Status string
    The status of the domain.
    Tags List<string>
    Indicate the tags you have set for this domain name. You can set up to 10 tags.
    Domains []DomainsDomain
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    Domain string
    Search by specifying domain name keywords, with fuzzy matching.
    Https bool
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    Ipv6 bool
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    OriginProtocol string
    Configure the origin protocol for the accelerated domain.
    OutputFile string
    PrimaryOrigin string
    List of primary source servers to accelerate the domain name.
    Project string
    The project name of the domain.
    ServiceType string
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    Status string
    The status of the domain.
    Tags []string
    Indicate the tags you have set for this domain name. You can set up to 10 tags.
    domains List<DomainsDomain>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    domain String
    Search by specifying domain name keywords, with fuzzy matching.
    https Boolean
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 Boolean
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    originProtocol String
    Configure the origin protocol for the accelerated domain.
    outputFile String
    primaryOrigin String
    List of primary source servers to accelerate the domain name.
    project String
    The project name of the domain.
    serviceType String
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status String
    The status of the domain.
    tags List<String>
    Indicate the tags you have set for this domain name. You can set up to 10 tags.
    domains DomainsDomain[]
    The collection of query.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    domain string
    Search by specifying domain name keywords, with fuzzy matching.
    https boolean
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 boolean
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    originProtocol string
    Configure the origin protocol for the accelerated domain.
    outputFile string
    primaryOrigin string
    List of primary source servers to accelerate the domain name.
    project string
    The project name of the domain.
    serviceType string
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status string
    The status of the domain.
    tags string[]
    Indicate the tags you have set for this domain name. You can set up to 10 tags.
    domains Sequence[DomainsDomain]
    The collection of query.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    domain str
    Search by specifying domain name keywords, with fuzzy matching.
    https bool
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 bool
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    origin_protocol str
    Configure the origin protocol for the accelerated domain.
    output_file str
    primary_origin str
    List of primary source servers to accelerate the domain name.
    project str
    The project name of the domain.
    service_type str
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status str
    The status of the domain.
    tags Sequence[str]
    Indicate the tags you have set for this domain name. You can set up to 10 tags.
    domains List<Property Map>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    domain String
    Search by specifying domain name keywords, with fuzzy matching.
    https Boolean
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 Boolean
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    originProtocol String
    Configure the origin protocol for the accelerated domain.
    outputFile String
    primaryOrigin String
    List of primary source servers to accelerate the domain name.
    project String
    The project name of the domain.
    serviceType String
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status String
    The status of the domain.
    tags List<String>
    Indicate the tags you have set for this domain name. You can set up to 10 tags.

    Supporting Types

    DomainsDomain

    BackupOrigins List<string>
    The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null.
    CacheShared string
    Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: target_host: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.cache_shared_on: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain."": This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration.
    CacheSharedTargetHost string
    If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty.
    Cname string
    The CNAME address of the domain is automatically assigned when adding the domain.
    CreateTime int
    The creation time of the domain.
    Domain string
    Search by specifying domain name keywords, with fuzzy matching.
    DomainLocks List<DomainsDomainDomainLock>
    Indicates the locked status of the accelerated domain.
    Https bool
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    Ipv6 bool
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    IsConflictDomain bool
    Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name.
    OriginProtocol string
    Configure the origin protocol for the accelerated domain.
    PrimaryOrigins List<string>
    Specify a primary origin server for filtering accelerated domains.
    Project string
    The project name of the domain.
    ServiceRegion string
    Indicates the acceleration area. The parameter can take the following values: chinese_mainland: Indicates mainland China. global: Indicates global. outside_chinese_mainland: Indicates global (excluding mainland China).
    ServiceType string
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    Status string
    The status of the domain.
    Tags List<DomainsDomainTag>
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    UpdateTime int
    The update time of the domain.
    BackupOrigins []string
    The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null.
    CacheShared string
    Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: target_host: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.cache_shared_on: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain."": This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration.
    CacheSharedTargetHost string
    If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty.
    Cname string
    The CNAME address of the domain is automatically assigned when adding the domain.
    CreateTime int
    The creation time of the domain.
    Domain string
    Search by specifying domain name keywords, with fuzzy matching.
    DomainLocks []DomainsDomainDomainLock
    Indicates the locked status of the accelerated domain.
    Https bool
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    Ipv6 bool
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    IsConflictDomain bool
    Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name.
    OriginProtocol string
    Configure the origin protocol for the accelerated domain.
    PrimaryOrigins []string
    Specify a primary origin server for filtering accelerated domains.
    Project string
    The project name of the domain.
    ServiceRegion string
    Indicates the acceleration area. The parameter can take the following values: chinese_mainland: Indicates mainland China. global: Indicates global. outside_chinese_mainland: Indicates global (excluding mainland China).
    ServiceType string
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    Status string
    The status of the domain.
    Tags []DomainsDomainTag
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    UpdateTime int
    The update time of the domain.
    backupOrigins List<String>
    The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null.
    cacheShared String
    Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: target_host: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.cache_shared_on: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain."": This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration.
    cacheSharedTargetHost String
    If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty.
    cname String
    The CNAME address of the domain is automatically assigned when adding the domain.
    createTime Integer
    The creation time of the domain.
    domain String
    Search by specifying domain name keywords, with fuzzy matching.
    domainLocks List<DomainsDomainDomainLock>
    Indicates the locked status of the accelerated domain.
    https Boolean
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 Boolean
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    isConflictDomain Boolean
    Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name.
    originProtocol String
    Configure the origin protocol for the accelerated domain.
    primaryOrigins List<String>
    Specify a primary origin server for filtering accelerated domains.
    project String
    The project name of the domain.
    serviceRegion String
    Indicates the acceleration area. The parameter can take the following values: chinese_mainland: Indicates mainland China. global: Indicates global. outside_chinese_mainland: Indicates global (excluding mainland China).
    serviceType String
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status String
    The status of the domain.
    tags List<DomainsDomainTag>
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    updateTime Integer
    The update time of the domain.
    backupOrigins string[]
    The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null.
    cacheShared string
    Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: target_host: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.cache_shared_on: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain."": This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration.
    cacheSharedTargetHost string
    If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty.
    cname string
    The CNAME address of the domain is automatically assigned when adding the domain.
    createTime number
    The creation time of the domain.
    domain string
    Search by specifying domain name keywords, with fuzzy matching.
    domainLocks DomainsDomainDomainLock[]
    Indicates the locked status of the accelerated domain.
    https boolean
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 boolean
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    isConflictDomain boolean
    Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name.
    originProtocol string
    Configure the origin protocol for the accelerated domain.
    primaryOrigins string[]
    Specify a primary origin server for filtering accelerated domains.
    project string
    The project name of the domain.
    serviceRegion string
    Indicates the acceleration area. The parameter can take the following values: chinese_mainland: Indicates mainland China. global: Indicates global. outside_chinese_mainland: Indicates global (excluding mainland China).
    serviceType string
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status string
    The status of the domain.
    tags DomainsDomainTag[]
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    updateTime number
    The update time of the domain.
    backup_origins Sequence[str]
    The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null.
    cache_shared str
    Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: target_host: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.cache_shared_on: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain."": This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration.
    cache_shared_target_host str
    If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty.
    cname str
    The CNAME address of the domain is automatically assigned when adding the domain.
    create_time int
    The creation time of the domain.
    domain str
    Search by specifying domain name keywords, with fuzzy matching.
    domain_locks Sequence[DomainsDomainDomainLock]
    Indicates the locked status of the accelerated domain.
    https bool
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 bool
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    is_conflict_domain bool
    Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name.
    origin_protocol str
    Configure the origin protocol for the accelerated domain.
    primary_origins Sequence[str]
    Specify a primary origin server for filtering accelerated domains.
    project str
    The project name of the domain.
    service_region str
    Indicates the acceleration area. The parameter can take the following values: chinese_mainland: Indicates mainland China. global: Indicates global. outside_chinese_mainland: Indicates global (excluding mainland China).
    service_type str
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status str
    The status of the domain.
    tags Sequence[DomainsDomainTag]
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    update_time int
    The update time of the domain.
    backupOrigins List<String>
    The list of backup origin servers for accelerating this domain name. If no backup origin server is configured for this acceleration domain name, the parameter value is null.
    cacheShared String
    Indicates the role of the accelerated domain in the shared cache configuration. This parameter can take the following values: target_host: Indicates that there is a shared cache configuration where the role of the accelerated domain is the target domain.cache_shared_on: Indicates that there is a shared cache configuration where the role of the accelerated domain is the configured domain."": This parameter value is empty, indicating that the accelerated domain does not exist in any shared cache configuration.
    cacheSharedTargetHost String
    If CacheShared is cache_shared_on, it means the target domain name that shares cache with the accelerated domain name. If CacheShared is target_host or an empty value, the parameter value is empty.
    cname String
    The CNAME address of the domain is automatically assigned when adding the domain.
    createTime Number
    The creation time of the domain.
    domain String
    Search by specifying domain name keywords, with fuzzy matching.
    domainLocks List<Property Map>
    Indicates the locked status of the accelerated domain.
    https Boolean
    Specify HTTPS configuration to filter accelerated domains. The optional values for this parameter are as follows: true: Indicates that the accelerated domain has enabled HTTPS function.false: Indicates that the accelerated domain has not enabled HTTPS function.
    ipv6 Boolean
    Specify IPv6 configuration to filter accelerated domain names. The optional values for this parameter are as follows: true: Indicates that the accelerated domain name supports requests using IPv6 addresses.false: Indicates that the accelerated domain name does not support requests using IPv6 addresses.
    isConflictDomain Boolean
    Indicates whether the accelerated domain name is a conflicting domain name. By default, each accelerated domain name is unique in the content delivery network. If you need to add an accelerated domain name that already exists in the content delivery network, you need to submit a ticket. If the domain name is added successfully, it becomes a conflicting domain name.
    originProtocol String
    Configure the origin protocol for the accelerated domain.
    primaryOrigins List<String>
    Specify a primary origin server for filtering accelerated domains.
    project String
    The project name of the domain.
    serviceRegion String
    Indicates the acceleration area. The parameter can take the following values: chinese_mainland: Indicates mainland China. global: Indicates global. outside_chinese_mainland: Indicates global (excluding mainland China).
    serviceType String
    The business type of the domain name is indicated by this parameter. The possible values are: download: for file downloads. web: for web pages. video: for audio and video on demand.
    status String
    The status of the domain.
    tags List<Property Map>
    Filter by specified domain name tags, up to 10 tags can be specified. Each tag is entered as a string in the format of key:value.
    updateTime Number
    The update time of the domain.

    DomainsDomainDomainLock

    Remark string
    If the Status is on, this parameter value records the reason for the lock.
    Status string
    The status of the domain.
    Remark string
    If the Status is on, this parameter value records the reason for the lock.
    Status string
    The status of the domain.
    remark String
    If the Status is on, this parameter value records the reason for the lock.
    status String
    The status of the domain.
    remark string
    If the Status is on, this parameter value records the reason for the lock.
    status string
    The status of the domain.
    remark str
    If the Status is on, this parameter value records the reason for the lock.
    status str
    The status of the domain.
    remark String
    If the Status is on, this parameter value records the reason for the lock.
    status String
    The status of the domain.

    DomainsDomainTag

    Key string
    The key of the tag.
    Value string
    The value of the tag.
    Key string
    The key of the tag.
    Value string
    The value of the tag.
    key String
    The key of the tag.
    value String
    The value of the tag.
    key string
    The key of the tag.
    value string
    The value of the tag.
    key str
    The key of the tag.
    value str
    The value of the tag.
    key String
    The key of the tag.
    value String
    The value of the tag.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine