1. Packages
  2. Volcengine
  3. API Docs
  4. cdn
  5. Domains
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.cdn.Domains

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

Use this data source to query detailed information of cdn domains

Example Usage

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: pulumi.jsonStringify({
        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",
            ],
        },
    }),
});
const fooDomains = volcengine.cdn.DomainsOutput({
    domain: fooCdnDomain.id,
});
Copy
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=pulumi.Output.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": foo_cdn_certificate.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)
Copy
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
	})
}
Copy
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 = Output.JsonSerialize(Output.Create(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"] = fooCdnCertificate.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,
    });

});
Copy
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());

    }
}
Copy
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}
Copy

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>
Copy
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]
Copy
func Domains(ctx *Context, args *DomainsArgs, opts ...InvokeOption) (*DomainsResult, error)
func DomainsOutput(ctx *Context, args *DomainsOutputArgs, opts ...InvokeOption) DomainsResultOutput
Copy
public static class Domains 
{
    public static Task<DomainsResult> InvokeAsync(DomainsArgs args, InvokeOptions? opts = null)
    public static Output<DomainsResult> Invoke(DomainsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<DomainsResult> domains(DomainsArgs args, InvokeOptions options)
public static Output<DomainsResult> domains(DomainsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:cdn:Domains
  arguments:
    # arguments dictionary
Copy

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The CNAME address of the domain is automatically assigned when adding the domain.
CreateTime This property is required. int
The creation time of the domain.
Domain This property is required. string
Search by specifying domain name keywords, with fuzzy matching.
DomainLocks This property is required. List<DomainsDomainDomainLock>
Indicates the locked status of the accelerated domain.
Https This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Configure the origin protocol for the accelerated domain.
PrimaryOrigins This property is required. List<string>
Specify a primary origin server for filtering accelerated domains.
Project This property is required. string
The project name of the domain.
ServiceRegion This property is required. 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 This property is required. 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 This property is required. string
The status of the domain.
Tags This property is required. 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 This property is required. int
The update time of the domain.
BackupOrigins This property is required. []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 This property is required. 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 This property is required. 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 This property is required. string
The CNAME address of the domain is automatically assigned when adding the domain.
CreateTime This property is required. int
The creation time of the domain.
Domain This property is required. string
Search by specifying domain name keywords, with fuzzy matching.
DomainLocks This property is required. []DomainsDomainDomainLock
Indicates the locked status of the accelerated domain.
Https This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Configure the origin protocol for the accelerated domain.
PrimaryOrigins This property is required. []string
Specify a primary origin server for filtering accelerated domains.
Project This property is required. string
The project name of the domain.
ServiceRegion This property is required. 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 This property is required. 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 This property is required. string
The status of the domain.
Tags This property is required. []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 This property is required. int
The update time of the domain.
backupOrigins This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The CNAME address of the domain is automatically assigned when adding the domain.
createTime This property is required. Integer
The creation time of the domain.
domain This property is required. String
Search by specifying domain name keywords, with fuzzy matching.
domainLocks This property is required. List<DomainsDomainDomainLock>
Indicates the locked status of the accelerated domain.
https This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
Configure the origin protocol for the accelerated domain.
primaryOrigins This property is required. List<String>
Specify a primary origin server for filtering accelerated domains.
project This property is required. String
The project name of the domain.
serviceRegion This property is required. 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 This property is required. 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 This property is required. String
The status of the domain.
tags This property is required. 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 This property is required. Integer
The update time of the domain.
backupOrigins This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The CNAME address of the domain is automatically assigned when adding the domain.
createTime This property is required. number
The creation time of the domain.
domain This property is required. string
Search by specifying domain name keywords, with fuzzy matching.
domainLocks This property is required. DomainsDomainDomainLock[]
Indicates the locked status of the accelerated domain.
https This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Configure the origin protocol for the accelerated domain.
primaryOrigins This property is required. string[]
Specify a primary origin server for filtering accelerated domains.
project This property is required. string
The project name of the domain.
serviceRegion This property is required. 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 This property is required. 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 This property is required. string
The status of the domain.
tags This property is required. 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 This property is required. number
The update time of the domain.
backup_origins This property is required. 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 This property is required. 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 This property is required. 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 This property is required. str
The CNAME address of the domain is automatically assigned when adding the domain.
create_time This property is required. int
The creation time of the domain.
domain This property is required. str
Search by specifying domain name keywords, with fuzzy matching.
domain_locks This property is required. Sequence[DomainsDomainDomainLock]
Indicates the locked status of the accelerated domain.
https This property is required. 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 This property is required. 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 This property is required. 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 This property is required. str
Configure the origin protocol for the accelerated domain.
primary_origins This property is required. Sequence[str]
Specify a primary origin server for filtering accelerated domains.
project This property is required. str
The project name of the domain.
service_region This property is required. 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 This property is required. 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 This property is required. str
The status of the domain.
tags This property is required. 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 This property is required. int
The update time of the domain.
backupOrigins This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The CNAME address of the domain is automatically assigned when adding the domain.
createTime This property is required. Number
The creation time of the domain.
domain This property is required. String
Search by specifying domain name keywords, with fuzzy matching.
domainLocks This property is required. List<Property Map>
Indicates the locked status of the accelerated domain.
https This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
Configure the origin protocol for the accelerated domain.
primaryOrigins This property is required. List<String>
Specify a primary origin server for filtering accelerated domains.
project This property is required. String
The project name of the domain.
serviceRegion This property is required. 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 This property is required. 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 This property is required. String
The status of the domain.
tags This property is required. 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 This property is required. Number
The update time of the domain.

DomainsDomainDomainLock

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

DomainsDomainTag

Key This property is required. string
The key of the tag.
Value This property is required. string
The value of the tag.
Key This property is required. string
The key of the tag.
Value This property is required. string
The value of the tag.
key This property is required. String
The key of the tag.
value This property is required. String
The value of the tag.
key This property is required. string
The key of the tag.
value This property is required. string
The value of the tag.
key This property is required. str
The key of the tag.
value This property is required. str
The value of the tag.
key This property is required. String
The key of the tag.
value This property is required. 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 v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine