Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.cdn.Domains
Explore with Pulumi AI
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. - Origin
Protocol string - Configure the origin protocol for the accelerated domain.
- Output
File string - File name where to save data source results.
- Primary
Origin string - Specify a primary origin server for filtering accelerated domains.
- Project string
- The project name of the domain.
- Service
Type 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.
- 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. - Origin
Protocol string - Configure the origin protocol for the accelerated domain.
- Output
File string - File name where to save data source results.
- Primary
Origin string - Specify a primary origin server for filtering accelerated domains.
- Project string
- The project name of the domain.
- Service
Type 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.
- []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. - origin
Protocol String - Configure the origin protocol for the accelerated domain.
- output
File String - File name where to save data source results.
- primary
Origin String - Specify a primary origin server for filtering accelerated domains.
- project String
- The project name of the domain.
- service
Type 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.
- 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. - origin
Protocol string - Configure the origin protocol for the accelerated domain.
- output
File string - File name where to save data source results.
- primary
Origin string - Specify a primary origin server for filtering accelerated domains.
- project string
- The project name of the domain.
- service
Type 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.
- 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.
- 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. - origin
Protocol String - Configure the origin protocol for the accelerated domain.
- output
File String - File name where to save data source results.
- primary
Origin String - Specify a primary origin server for filtering accelerated domains.
- project String
- The project name of the domain.
- service
Type 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.
- 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<Domains
Domain> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count 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. - Origin
Protocol string - Configure the origin protocol for the accelerated domain.
- Output
File string - Primary
Origin string - List of primary source servers to accelerate the domain name.
- Project string
- The project name of the domain.
- Service
Type 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.
- List<string>
- Indicate the tags you have set for this domain name. You can set up to 10 tags.
- Domains
[]Domains
Domain - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count 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. - Origin
Protocol string - Configure the origin protocol for the accelerated domain.
- Output
File string - Primary
Origin string - List of primary source servers to accelerate the domain name.
- Project string
- The project name of the domain.
- Service
Type 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.
- []string
- Indicate the tags you have set for this domain name. You can set up to 10 tags.
- domains
List<Domains
Domain> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count 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. - origin
Protocol String - Configure the origin protocol for the accelerated domain.
- output
File String - primary
Origin String - List of primary source servers to accelerate the domain name.
- project String
- The project name of the domain.
- service
Type 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.
- List<String>
- Indicate the tags you have set for this domain name. You can set up to 10 tags.
- domains
Domains
Domain[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count 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. - origin
Protocol string - Configure the origin protocol for the accelerated domain.
- output
File string - primary
Origin string - List of primary source servers to accelerate the domain name.
- project string
- The project name of the domain.
- service
Type 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.
- string[]
- Indicate the tags you have set for this domain name. You can set up to 10 tags.
- domains
Sequence[Domains
Domain] - 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.
- 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.
- total
Count 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. - origin
Protocol String - Configure the origin protocol for the accelerated domain.
- output
File String - primary
Origin String - List of primary source servers to accelerate the domain name.
- project String
- The project name of the domain.
- service
Type 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.
- List<String>
- Indicate the tags you have set for this domain name. You can set up to 10 tags.
Supporting Types
DomainsDomain
- Backup
Origins 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.
- 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. - 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.
- Create
Time int - The creation time of the domain.
- Domain string
- Search by specifying domain name keywords, with fuzzy matching.
- Domain
Locks List<DomainsDomain Domain Lock> - 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 boolDomain - 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 string - Configure the origin protocol for the accelerated domain.
- Primary
Origins List<string> - Specify a primary origin server for filtering accelerated domains.
- Project string
- The project name of the domain.
- Service
Region 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). - Service
Type 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.
- List<Domains
Domain Tag> - 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.
- Backup
Origins []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.
- 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. - 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.
- Create
Time int - The creation time of the domain.
- Domain string
- Search by specifying domain name keywords, with fuzzy matching.
- Domain
Locks []DomainsDomain Domain Lock - 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 boolDomain - 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 string - Configure the origin protocol for the accelerated domain.
- Primary
Origins []string - Specify a primary origin server for filtering accelerated domains.
- Project string
- The project name of the domain.
- Service
Region 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). - Service
Type 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.
- []Domains
Domain Tag - 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.
- backup
Origins 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.
- 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. - 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.
- create
Time Integer - The creation time of the domain.
- domain String
- Search by specifying domain name keywords, with fuzzy matching.
- domain
Locks List<DomainsDomain Domain Lock> - 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. - is
Conflict BooleanDomain - 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 String - Configure the origin protocol for the accelerated domain.
- primary
Origins List<String> - Specify a primary origin server for filtering accelerated domains.
- project String
- The project name of the domain.
- service
Region 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). - service
Type 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.
- List<Domains
Domain Tag> - 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 Integer - The update time of the domain.
- backup
Origins 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.
- 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. - 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.
- create
Time number - The creation time of the domain.
- domain string
- Search by specifying domain name keywords, with fuzzy matching.
- domain
Locks DomainsDomain Domain Lock[] - 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. - is
Conflict booleanDomain - 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 string - Configure the origin protocol for the accelerated domain.
- primary
Origins string[] - Specify a primary origin server for filtering accelerated domains.
- project string
- The project name of the domain.
- service
Region 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). - service
Type 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.
- Domains
Domain Tag[] - 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 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.
- 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. - 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[DomainsDomain Domain Lock] - 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_ booldomain - 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.
- Sequence[Domains
Domain Tag] - 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.
- backup
Origins 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.
- 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. - 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.
- create
Time Number - The creation time of the domain.
- domain String
- Search by specifying domain name keywords, with fuzzy matching.
- domain
Locks 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. - is
Conflict BooleanDomain - 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 String - Configure the origin protocol for the accelerated domain.
- primary
Origins List<String> - Specify a primary origin server for filtering accelerated domains.
- project String
- The project name of the domain.
- service
Region 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). - service
Type 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.
- 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.
- update
Time Number - The update time of the domain.
DomainsDomainDomainLock
DomainsDomainTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.