tencentcloud.TeoAccelerationDomain
Explore with Pulumi AI
Provides a resource to create a TEO acceleration domain
NOTE: Before modifying resource content, you need to ensure that the
status
isonline
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.TeoAccelerationDomain("example", {
domainName: "www.demo.com",
httpOriginPort: 80,
httpsOriginPort: 443,
ipv6Status: "follow",
originInfo: {
origin: "150.109.8.1",
originType: "IP_DOMAIN",
},
originProtocol: "FOLLOW",
status: "online",
zoneId: "zone-39quuimqg8r6",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.TeoAccelerationDomain("example",
domain_name="www.demo.com",
http_origin_port=80,
https_origin_port=443,
ipv6_status="follow",
origin_info={
"origin": "150.109.8.1",
"origin_type": "IP_DOMAIN",
},
origin_protocol="FOLLOW",
status="online",
zone_id="zone-39quuimqg8r6")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewTeoAccelerationDomain(ctx, "example", &tencentcloud.TeoAccelerationDomainArgs{
DomainName: pulumi.String("www.demo.com"),
HttpOriginPort: pulumi.Float64(80),
HttpsOriginPort: pulumi.Float64(443),
Ipv6Status: pulumi.String("follow"),
OriginInfo: &tencentcloud.TeoAccelerationDomainOriginInfoArgs{
Origin: pulumi.String("150.109.8.1"),
OriginType: pulumi.String("IP_DOMAIN"),
},
OriginProtocol: pulumi.String("FOLLOW"),
Status: pulumi.String("online"),
ZoneId: pulumi.String("zone-39quuimqg8r6"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.TeoAccelerationDomain("example", new()
{
DomainName = "www.demo.com",
HttpOriginPort = 80,
HttpsOriginPort = 443,
Ipv6Status = "follow",
OriginInfo = new Tencentcloud.Inputs.TeoAccelerationDomainOriginInfoArgs
{
Origin = "150.109.8.1",
OriginType = "IP_DOMAIN",
},
OriginProtocol = "FOLLOW",
Status = "online",
ZoneId = "zone-39quuimqg8r6",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TeoAccelerationDomain;
import com.pulumi.tencentcloud.TeoAccelerationDomainArgs;
import com.pulumi.tencentcloud.inputs.TeoAccelerationDomainOriginInfoArgs;
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 example = new TeoAccelerationDomain("example", TeoAccelerationDomainArgs.builder()
.domainName("www.demo.com")
.httpOriginPort(80)
.httpsOriginPort(443)
.ipv6Status("follow")
.originInfo(TeoAccelerationDomainOriginInfoArgs.builder()
.origin("150.109.8.1")
.originType("IP_DOMAIN")
.build())
.originProtocol("FOLLOW")
.status("online")
.zoneId("zone-39quuimqg8r6")
.build());
}
}
resources:
example:
type: tencentcloud:TeoAccelerationDomain
properties:
domainName: www.demo.com
httpOriginPort: 80
httpsOriginPort: 443
ipv6Status: follow
originInfo:
origin: 150.109.8.1
originType: IP_DOMAIN
originProtocol: FOLLOW
status: online
zoneId: zone-39quuimqg8r6
Create TeoAccelerationDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeoAccelerationDomain(name: string, args: TeoAccelerationDomainArgs, opts?: CustomResourceOptions);
@overload
def TeoAccelerationDomain(resource_name: str,
args: TeoAccelerationDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TeoAccelerationDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
origin_info: Optional[TeoAccelerationDomainOriginInfoArgs] = None,
zone_id: Optional[str] = None,
http_origin_port: Optional[float] = None,
https_origin_port: Optional[float] = None,
ipv6_status: Optional[str] = None,
origin_protocol: Optional[str] = None,
status: Optional[str] = None,
teo_acceleration_domain_id: Optional[str] = None)
func NewTeoAccelerationDomain(ctx *Context, name string, args TeoAccelerationDomainArgs, opts ...ResourceOption) (*TeoAccelerationDomain, error)
public TeoAccelerationDomain(string name, TeoAccelerationDomainArgs args, CustomResourceOptions? opts = null)
public TeoAccelerationDomain(String name, TeoAccelerationDomainArgs args)
public TeoAccelerationDomain(String name, TeoAccelerationDomainArgs args, CustomResourceOptions options)
type: tencentcloud:TeoAccelerationDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TeoAccelerationDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TeoAccelerationDomainArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TeoAccelerationDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeoAccelerationDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeoAccelerationDomainArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TeoAccelerationDomain Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TeoAccelerationDomain resource accepts the following input properties:
- Domain
Name string - Accelerated domain name.
- Origin
Info TeoAcceleration Domain Origin Info - Details of the origin.
- Zone
Id string - ID of the site related with the accelerated domain name.
- Http
Origin doublePort - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- Https
Origin doublePort - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- Ipv6Status string
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - Origin
Protocol string - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - Status string
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - Teo
Acceleration stringDomain Id - ID of the resource.
- Domain
Name string - Accelerated domain name.
- Origin
Info TeoAcceleration Domain Origin Info Args - Details of the origin.
- Zone
Id string - ID of the site related with the accelerated domain name.
- Http
Origin float64Port - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- Https
Origin float64Port - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- Ipv6Status string
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - Origin
Protocol string - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - Status string
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - Teo
Acceleration stringDomain Id - ID of the resource.
- domain
Name String - Accelerated domain name.
- origin
Info TeoAcceleration Domain Origin Info - Details of the origin.
- zone
Id String - ID of the site related with the accelerated domain name.
- http
Origin DoublePort - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- https
Origin DoublePort - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- ipv6Status String
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - origin
Protocol String - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - status String
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - teo
Acceleration StringDomain Id - ID of the resource.
- domain
Name string - Accelerated domain name.
- origin
Info TeoAcceleration Domain Origin Info - Details of the origin.
- zone
Id string - ID of the site related with the accelerated domain name.
- http
Origin numberPort - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- https
Origin numberPort - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- ipv6Status string
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - origin
Protocol string - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - status string
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - teo
Acceleration stringDomain Id - ID of the resource.
- domain_
name str - Accelerated domain name.
- origin_
info TeoAcceleration Domain Origin Info Args - Details of the origin.
- zone_
id str - ID of the site related with the accelerated domain name.
- http_
origin_ floatport - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- https_
origin_ floatport - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- ipv6_
status str - IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - origin_
protocol str - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - status str
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - teo_
acceleration_ strdomain_ id - ID of the resource.
- domain
Name String - Accelerated domain name.
- origin
Info Property Map - Details of the origin.
- zone
Id String - ID of the site related with the accelerated domain name.
- http
Origin NumberPort - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- https
Origin NumberPort - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- ipv6Status String
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - origin
Protocol String - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - status String
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - teo
Acceleration StringDomain Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeoAccelerationDomain resource produces the following output properties:
Look up Existing TeoAccelerationDomain Resource
Get an existing TeoAccelerationDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TeoAccelerationDomainState, opts?: CustomResourceOptions): TeoAccelerationDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cname: Optional[str] = None,
domain_name: Optional[str] = None,
http_origin_port: Optional[float] = None,
https_origin_port: Optional[float] = None,
ipv6_status: Optional[str] = None,
origin_info: Optional[TeoAccelerationDomainOriginInfoArgs] = None,
origin_protocol: Optional[str] = None,
status: Optional[str] = None,
teo_acceleration_domain_id: Optional[str] = None,
zone_id: Optional[str] = None) -> TeoAccelerationDomain
func GetTeoAccelerationDomain(ctx *Context, name string, id IDInput, state *TeoAccelerationDomainState, opts ...ResourceOption) (*TeoAccelerationDomain, error)
public static TeoAccelerationDomain Get(string name, Input<string> id, TeoAccelerationDomainState? state, CustomResourceOptions? opts = null)
public static TeoAccelerationDomain get(String name, Output<String> id, TeoAccelerationDomainState state, CustomResourceOptions options)
resources: _: type: tencentcloud:TeoAccelerationDomain get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cname string
- CNAME address.
- Domain
Name string - Accelerated domain name.
- Http
Origin doublePort - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- Https
Origin doublePort - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- Ipv6Status string
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - Origin
Info TeoAcceleration Domain Origin Info - Details of the origin.
- Origin
Protocol string - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - Status string
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - Teo
Acceleration stringDomain Id - ID of the resource.
- Zone
Id string - ID of the site related with the accelerated domain name.
- Cname string
- CNAME address.
- Domain
Name string - Accelerated domain name.
- Http
Origin float64Port - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- Https
Origin float64Port - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- Ipv6Status string
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - Origin
Info TeoAcceleration Domain Origin Info Args - Details of the origin.
- Origin
Protocol string - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - Status string
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - Teo
Acceleration stringDomain Id - ID of the resource.
- Zone
Id string - ID of the site related with the accelerated domain name.
- cname String
- CNAME address.
- domain
Name String - Accelerated domain name.
- http
Origin DoublePort - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- https
Origin DoublePort - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- ipv6Status String
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - origin
Info TeoAcceleration Domain Origin Info - Details of the origin.
- origin
Protocol String - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - status String
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - teo
Acceleration StringDomain Id - ID of the resource.
- zone
Id String - ID of the site related with the accelerated domain name.
- cname string
- CNAME address.
- domain
Name string - Accelerated domain name.
- http
Origin numberPort - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- https
Origin numberPort - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- ipv6Status string
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - origin
Info TeoAcceleration Domain Origin Info - Details of the origin.
- origin
Protocol string - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - status string
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - teo
Acceleration stringDomain Id - ID of the resource.
- zone
Id string - ID of the site related with the accelerated domain name.
- cname str
- CNAME address.
- domain_
name str - Accelerated domain name.
- http_
origin_ floatport - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- https_
origin_ floatport - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- ipv6_
status str - IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - origin_
info TeoAcceleration Domain Origin Info Args - Details of the origin.
- origin_
protocol str - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - status str
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - teo_
acceleration_ strdomain_ id - ID of the resource.
- zone_
id str - ID of the site related with the accelerated domain name.
- cname String
- CNAME address.
- domain
Name String - Accelerated domain name.
- http
Origin NumberPort - HTTP back-to-origin port, the value is 1-65535, effective when OriginProtocol=FOLLOW/HTTP, if not filled in, the default value is 80.
- https
Origin NumberPort - HTTPS back-to-origin port. The value range is 1-65535. It takes effect when OriginProtocol=FOLLOW/HTTPS. If it is not filled in, the default value is 443.
- ipv6Status String
- IPv6 status, the value is:
follow
: follow the site IPv6 configuration;on
: on;off
: off. If not filled in, the default is:follow
. - origin
Info Property Map - Details of the origin.
- origin
Protocol String - Origin return protocol, possible values are:
FOLLOW
: protocol follow;HTTP
: HTTP protocol back to source;HTTPS
: HTTPS protocol back to source. If not filled in, the default is:FOLLOW
. - status String
- Accelerated domain name status, the values are:
online
: enabled;offline
: disabled. Default isonline
. - teo
Acceleration StringDomain Id - ID of the resource.
- zone
Id String - ID of the site related with the accelerated domain name.
Supporting Types
TeoAccelerationDomainOriginInfo, TeoAccelerationDomainOriginInfoArgs
- Origin string
- The origin address. Enter the origin group ID if
OriginType=ORIGIN_GROUP
. - Origin
Type string - The origin type. Values:
IP_DOMAIN
: IPv4/IPv6 address or domain name;COS
: COS bucket address;ORIGIN_GROUP
: Origin group;AWS_S3
: AWS S3 bucket address;SPACE
: EdgeOne Shield Space. - Backup
Origin string - ID of the secondary origin group (valid when
OriginType=ORIGIN_GROUP
). If it is not specified, it indicates that secondary origins are not used. - Host
Header string - Customize the back-to-origin HOST header. This parameter is only valid when OriginType=IP_DOMAIN. If OriginType=COS or AWS_S3, the back-to-origin HOST header will be consistent with the origin server domain name. If OriginType=ORIGIN_GROUP, the back-to-origin HOST header follows the configuration in the origin server group. If no configuration is made, the default is the acceleration domain name. If OriginType=VOD or SPACE, there is no need to configure this header. It will take effect according to the corresponding back-to-origin domain name.
- Private
Access string - Whether to authenticate access to the private object storage origin (valid when
OriginType=COS/AWS_S3
). Values:on
: Enable private authentication;off
: Disable private authentication. If this field is not specified, the default valueoff
is used. - Private
Parameters List<TeoAcceleration Domain Origin Info Private Parameter> - The private authentication parameters. This field is valid when
PrivateAccess=on
. - Vod
Bucket stringId - VOD bucket ID. This parameter is required when OriginType = VOD and VodOriginScope = bucket. Data source: the storage ID of the bucket in the Cloud VOD Professional Edition application.
- Vod
Origin stringScope - The scope of cloud on-demand back-to-source. This parameter is effective when OriginType = VOD. The possible values are: all: all files in the cloud on-demand application corresponding to the current origin station. The default value is all; bucket: files in a specified bucket under the cloud on-demand application corresponding to the current origin station. The bucket is specified by the parameter VodBucketId.
- Origin string
- The origin address. Enter the origin group ID if
OriginType=ORIGIN_GROUP
. - Origin
Type string - The origin type. Values:
IP_DOMAIN
: IPv4/IPv6 address or domain name;COS
: COS bucket address;ORIGIN_GROUP
: Origin group;AWS_S3
: AWS S3 bucket address;SPACE
: EdgeOne Shield Space. - Backup
Origin string - ID of the secondary origin group (valid when
OriginType=ORIGIN_GROUP
). If it is not specified, it indicates that secondary origins are not used. - Host
Header string - Customize the back-to-origin HOST header. This parameter is only valid when OriginType=IP_DOMAIN. If OriginType=COS or AWS_S3, the back-to-origin HOST header will be consistent with the origin server domain name. If OriginType=ORIGIN_GROUP, the back-to-origin HOST header follows the configuration in the origin server group. If no configuration is made, the default is the acceleration domain name. If OriginType=VOD or SPACE, there is no need to configure this header. It will take effect according to the corresponding back-to-origin domain name.
- Private
Access string - Whether to authenticate access to the private object storage origin (valid when
OriginType=COS/AWS_S3
). Values:on
: Enable private authentication;off
: Disable private authentication. If this field is not specified, the default valueoff
is used. - Private
Parameters []TeoAcceleration Domain Origin Info Private Parameter - The private authentication parameters. This field is valid when
PrivateAccess=on
. - Vod
Bucket stringId - VOD bucket ID. This parameter is required when OriginType = VOD and VodOriginScope = bucket. Data source: the storage ID of the bucket in the Cloud VOD Professional Edition application.
- Vod
Origin stringScope - The scope of cloud on-demand back-to-source. This parameter is effective when OriginType = VOD. The possible values are: all: all files in the cloud on-demand application corresponding to the current origin station. The default value is all; bucket: files in a specified bucket under the cloud on-demand application corresponding to the current origin station. The bucket is specified by the parameter VodBucketId.
- origin String
- The origin address. Enter the origin group ID if
OriginType=ORIGIN_GROUP
. - origin
Type String - The origin type. Values:
IP_DOMAIN
: IPv4/IPv6 address or domain name;COS
: COS bucket address;ORIGIN_GROUP
: Origin group;AWS_S3
: AWS S3 bucket address;SPACE
: EdgeOne Shield Space. - backup
Origin String - ID of the secondary origin group (valid when
OriginType=ORIGIN_GROUP
). If it is not specified, it indicates that secondary origins are not used. - host
Header String - Customize the back-to-origin HOST header. This parameter is only valid when OriginType=IP_DOMAIN. If OriginType=COS or AWS_S3, the back-to-origin HOST header will be consistent with the origin server domain name. If OriginType=ORIGIN_GROUP, the back-to-origin HOST header follows the configuration in the origin server group. If no configuration is made, the default is the acceleration domain name. If OriginType=VOD or SPACE, there is no need to configure this header. It will take effect according to the corresponding back-to-origin domain name.
- private
Access String - Whether to authenticate access to the private object storage origin (valid when
OriginType=COS/AWS_S3
). Values:on
: Enable private authentication;off
: Disable private authentication. If this field is not specified, the default valueoff
is used. - private
Parameters List<TeoAcceleration Domain Origin Info Private Parameter> - The private authentication parameters. This field is valid when
PrivateAccess=on
. - vod
Bucket StringId - VOD bucket ID. This parameter is required when OriginType = VOD and VodOriginScope = bucket. Data source: the storage ID of the bucket in the Cloud VOD Professional Edition application.
- vod
Origin StringScope - The scope of cloud on-demand back-to-source. This parameter is effective when OriginType = VOD. The possible values are: all: all files in the cloud on-demand application corresponding to the current origin station. The default value is all; bucket: files in a specified bucket under the cloud on-demand application corresponding to the current origin station. The bucket is specified by the parameter VodBucketId.
- origin string
- The origin address. Enter the origin group ID if
OriginType=ORIGIN_GROUP
. - origin
Type string - The origin type. Values:
IP_DOMAIN
: IPv4/IPv6 address or domain name;COS
: COS bucket address;ORIGIN_GROUP
: Origin group;AWS_S3
: AWS S3 bucket address;SPACE
: EdgeOne Shield Space. - backup
Origin string - ID of the secondary origin group (valid when
OriginType=ORIGIN_GROUP
). If it is not specified, it indicates that secondary origins are not used. - host
Header string - Customize the back-to-origin HOST header. This parameter is only valid when OriginType=IP_DOMAIN. If OriginType=COS or AWS_S3, the back-to-origin HOST header will be consistent with the origin server domain name. If OriginType=ORIGIN_GROUP, the back-to-origin HOST header follows the configuration in the origin server group. If no configuration is made, the default is the acceleration domain name. If OriginType=VOD or SPACE, there is no need to configure this header. It will take effect according to the corresponding back-to-origin domain name.
- private
Access string - Whether to authenticate access to the private object storage origin (valid when
OriginType=COS/AWS_S3
). Values:on
: Enable private authentication;off
: Disable private authentication. If this field is not specified, the default valueoff
is used. - private
Parameters TeoAcceleration Domain Origin Info Private Parameter[] - The private authentication parameters. This field is valid when
PrivateAccess=on
. - vod
Bucket stringId - VOD bucket ID. This parameter is required when OriginType = VOD and VodOriginScope = bucket. Data source: the storage ID of the bucket in the Cloud VOD Professional Edition application.
- vod
Origin stringScope - The scope of cloud on-demand back-to-source. This parameter is effective when OriginType = VOD. The possible values are: all: all files in the cloud on-demand application corresponding to the current origin station. The default value is all; bucket: files in a specified bucket under the cloud on-demand application corresponding to the current origin station. The bucket is specified by the parameter VodBucketId.
- origin str
- The origin address. Enter the origin group ID if
OriginType=ORIGIN_GROUP
. - origin_
type str - The origin type. Values:
IP_DOMAIN
: IPv4/IPv6 address or domain name;COS
: COS bucket address;ORIGIN_GROUP
: Origin group;AWS_S3
: AWS S3 bucket address;SPACE
: EdgeOne Shield Space. - backup_
origin str - ID of the secondary origin group (valid when
OriginType=ORIGIN_GROUP
). If it is not specified, it indicates that secondary origins are not used. - host_
header str - Customize the back-to-origin HOST header. This parameter is only valid when OriginType=IP_DOMAIN. If OriginType=COS or AWS_S3, the back-to-origin HOST header will be consistent with the origin server domain name. If OriginType=ORIGIN_GROUP, the back-to-origin HOST header follows the configuration in the origin server group. If no configuration is made, the default is the acceleration domain name. If OriginType=VOD or SPACE, there is no need to configure this header. It will take effect according to the corresponding back-to-origin domain name.
- private_
access str - Whether to authenticate access to the private object storage origin (valid when
OriginType=COS/AWS_S3
). Values:on
: Enable private authentication;off
: Disable private authentication. If this field is not specified, the default valueoff
is used. - private_
parameters Sequence[TeoAcceleration Domain Origin Info Private Parameter] - The private authentication parameters. This field is valid when
PrivateAccess=on
. - vod_
bucket_ strid - VOD bucket ID. This parameter is required when OriginType = VOD and VodOriginScope = bucket. Data source: the storage ID of the bucket in the Cloud VOD Professional Edition application.
- vod_
origin_ strscope - The scope of cloud on-demand back-to-source. This parameter is effective when OriginType = VOD. The possible values are: all: all files in the cloud on-demand application corresponding to the current origin station. The default value is all; bucket: files in a specified bucket under the cloud on-demand application corresponding to the current origin station. The bucket is specified by the parameter VodBucketId.
- origin String
- The origin address. Enter the origin group ID if
OriginType=ORIGIN_GROUP
. - origin
Type String - The origin type. Values:
IP_DOMAIN
: IPv4/IPv6 address or domain name;COS
: COS bucket address;ORIGIN_GROUP
: Origin group;AWS_S3
: AWS S3 bucket address;SPACE
: EdgeOne Shield Space. - backup
Origin String - ID of the secondary origin group (valid when
OriginType=ORIGIN_GROUP
). If it is not specified, it indicates that secondary origins are not used. - host
Header String - Customize the back-to-origin HOST header. This parameter is only valid when OriginType=IP_DOMAIN. If OriginType=COS or AWS_S3, the back-to-origin HOST header will be consistent with the origin server domain name. If OriginType=ORIGIN_GROUP, the back-to-origin HOST header follows the configuration in the origin server group. If no configuration is made, the default is the acceleration domain name. If OriginType=VOD or SPACE, there is no need to configure this header. It will take effect according to the corresponding back-to-origin domain name.
- private
Access String - Whether to authenticate access to the private object storage origin (valid when
OriginType=COS/AWS_S3
). Values:on
: Enable private authentication;off
: Disable private authentication. If this field is not specified, the default valueoff
is used. - private
Parameters List<Property Map> - The private authentication parameters. This field is valid when
PrivateAccess=on
. - vod
Bucket StringId - VOD bucket ID. This parameter is required when OriginType = VOD and VodOriginScope = bucket. Data source: the storage ID of the bucket in the Cloud VOD Professional Edition application.
- vod
Origin StringScope - The scope of cloud on-demand back-to-source. This parameter is effective when OriginType = VOD. The possible values are: all: all files in the cloud on-demand application corresponding to the current origin station. The default value is all; bucket: files in a specified bucket under the cloud on-demand application corresponding to the current origin station. The bucket is specified by the parameter VodBucketId.
TeoAccelerationDomainOriginInfoPrivateParameter, TeoAccelerationDomainOriginInfoPrivateParameterArgs
Import
TEO acceleration domain can be imported using the id, e.g.
$ pulumi import tencentcloud:index/teoAccelerationDomain:TeoAccelerationDomain example zone-39quuimqg8r6#www.demo.com
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.