1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TeoOriginGroup
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.TeoOriginGroup

Explore with Pulumi AI

Provides a resource to create a teo origin_group

NOTE: Please note that tencentcloud.TeoOriginGroup had to undergo incompatible changes in version v1.81.96.

Example Usage

Self origin group

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const basic = new tencentcloud.TeoOriginGroup("basic", {
    records: [{
        "private": true,
        privateParameters: [{
            name: "SecretAccessKey",
            value: "test",
        }],
        record: "tf-teo.xyz",
        type: "IP_DOMAIN",
        weight: 100,
    }],
    type: "GENERAL",
    zoneId: "zone-197z8rf93cfw",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

basic = tencentcloud.TeoOriginGroup("basic",
    records=[{
        "private": True,
        "private_parameters": [{
            "name": "SecretAccessKey",
            "value": "test",
        }],
        "record": "tf-teo.xyz",
        "type": "IP_DOMAIN",
        "weight": 100,
    }],
    type="GENERAL",
    zone_id="zone-197z8rf93cfw")
Copy
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.NewTeoOriginGroup(ctx, "basic", &tencentcloud.TeoOriginGroupArgs{
			Records: tencentcloud.TeoOriginGroupRecordArray{
				&tencentcloud.TeoOriginGroupRecordArgs{
					Private: pulumi.Bool(true),
					PrivateParameters: tencentcloud.TeoOriginGroupRecordPrivateParameterArray{
						&tencentcloud.TeoOriginGroupRecordPrivateParameterArgs{
							Name:  pulumi.String("SecretAccessKey"),
							Value: pulumi.String("test"),
						},
					},
					Record: pulumi.String("tf-teo.xyz"),
					Type:   pulumi.String("IP_DOMAIN"),
					Weight: pulumi.Float64(100),
				},
			},
			Type:   pulumi.String("GENERAL"),
			ZoneId: pulumi.String("zone-197z8rf93cfw"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var basic = new Tencentcloud.TeoOriginGroup("basic", new()
    {
        Records = new[]
        {
            new Tencentcloud.Inputs.TeoOriginGroupRecordArgs
            {
                Private = true,
                PrivateParameters = new[]
                {
                    new Tencentcloud.Inputs.TeoOriginGroupRecordPrivateParameterArgs
                    {
                        Name = "SecretAccessKey",
                        Value = "test",
                    },
                },
                Record = "tf-teo.xyz",
                Type = "IP_DOMAIN",
                Weight = 100,
            },
        },
        Type = "GENERAL",
        ZoneId = "zone-197z8rf93cfw",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TeoOriginGroup;
import com.pulumi.tencentcloud.TeoOriginGroupArgs;
import com.pulumi.tencentcloud.inputs.TeoOriginGroupRecordArgs;
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 basic = new TeoOriginGroup("basic", TeoOriginGroupArgs.builder()
            .records(TeoOriginGroupRecordArgs.builder()
                .private_(true)
                .privateParameters(TeoOriginGroupRecordPrivateParameterArgs.builder()
                    .name("SecretAccessKey")
                    .value("test")
                    .build())
                .record("tf-teo.xyz")
                .type("IP_DOMAIN")
                .weight(100)
                .build())
            .type("GENERAL")
            .zoneId("zone-197z8rf93cfw")
            .build());

    }
}
Copy
resources:
  basic:
    type: tencentcloud:TeoOriginGroup
    properties:
      records:
        - private: true
          privateParameters:
            - name: SecretAccessKey
              value: test
          record: tf-teo.xyz
          type: IP_DOMAIN
          weight: 100
      type: GENERAL
      zoneId: zone-197z8rf93cfw
Copy

Create TeoOriginGroup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TeoOriginGroup(name: string, args: TeoOriginGroupArgs, opts?: CustomResourceOptions);
@overload
def TeoOriginGroup(resource_name: str,
                   args: TeoOriginGroupArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def TeoOriginGroup(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   records: Optional[Sequence[TeoOriginGroupRecordArgs]] = None,
                   type: Optional[str] = None,
                   zone_id: Optional[str] = None,
                   host_header: Optional[str] = None,
                   name: Optional[str] = None,
                   teo_origin_group_id: Optional[str] = None)
func NewTeoOriginGroup(ctx *Context, name string, args TeoOriginGroupArgs, opts ...ResourceOption) (*TeoOriginGroup, error)
public TeoOriginGroup(string name, TeoOriginGroupArgs args, CustomResourceOptions? opts = null)
public TeoOriginGroup(String name, TeoOriginGroupArgs args)
public TeoOriginGroup(String name, TeoOriginGroupArgs args, CustomResourceOptions options)
type: tencentcloud:TeoOriginGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

TeoOriginGroup 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 TeoOriginGroup resource accepts the following input properties:

Records This property is required. List<TeoOriginGroupRecord>
Origin site records.
Type This property is required. string
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
ZoneId This property is required. string
Site ID.
HostHeader string
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
Name string
OriginGroup Name.
TeoOriginGroupId string
ID of the resource.
Records This property is required. []TeoOriginGroupRecordArgs
Origin site records.
Type This property is required. string
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
ZoneId This property is required. string
Site ID.
HostHeader string
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
Name string
OriginGroup Name.
TeoOriginGroupId string
ID of the resource.
records This property is required. List<TeoOriginGroupRecord>
Origin site records.
type This property is required. String
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
zoneId This property is required. String
Site ID.
hostHeader String
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
name String
OriginGroup Name.
teoOriginGroupId String
ID of the resource.
records This property is required. TeoOriginGroupRecord[]
Origin site records.
type This property is required. string
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
zoneId This property is required. string
Site ID.
hostHeader string
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
name string
OriginGroup Name.
teoOriginGroupId string
ID of the resource.
records This property is required. Sequence[TeoOriginGroupRecordArgs]
Origin site records.
type This property is required. str
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
zone_id This property is required. str
Site ID.
host_header str
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
name str
OriginGroup Name.
teo_origin_group_id str
ID of the resource.
records This property is required. List<Property Map>
Origin site records.
type This property is required. String
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
zoneId This property is required. String
Site ID.
hostHeader String
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
name String
OriginGroup Name.
teoOriginGroupId String
ID of the resource.

Outputs

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

CreateTime string
Origin site group creation time.
Id string
The provider-assigned unique ID for this managed resource.
OriginGroupId string
OriginGroup ID.
References List<TeoOriginGroupReference>
List of referenced instances of the origin site group.
UpdateTime string
Origin site group update time.
CreateTime string
Origin site group creation time.
Id string
The provider-assigned unique ID for this managed resource.
OriginGroupId string
OriginGroup ID.
References []TeoOriginGroupReference
List of referenced instances of the origin site group.
UpdateTime string
Origin site group update time.
createTime String
Origin site group creation time.
id String
The provider-assigned unique ID for this managed resource.
originGroupId String
OriginGroup ID.
references List<TeoOriginGroupReference>
List of referenced instances of the origin site group.
updateTime String
Origin site group update time.
createTime string
Origin site group creation time.
id string
The provider-assigned unique ID for this managed resource.
originGroupId string
OriginGroup ID.
references TeoOriginGroupReference[]
List of referenced instances of the origin site group.
updateTime string
Origin site group update time.
create_time str
Origin site group creation time.
id str
The provider-assigned unique ID for this managed resource.
origin_group_id str
OriginGroup ID.
references Sequence[TeoOriginGroupReference]
List of referenced instances of the origin site group.
update_time str
Origin site group update time.
createTime String
Origin site group creation time.
id String
The provider-assigned unique ID for this managed resource.
originGroupId String
OriginGroup ID.
references List<Property Map>
List of referenced instances of the origin site group.
updateTime String
Origin site group update time.

Look up Existing TeoOriginGroup Resource

Get an existing TeoOriginGroup 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?: TeoOriginGroupState, opts?: CustomResourceOptions): TeoOriginGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        host_header: Optional[str] = None,
        name: Optional[str] = None,
        origin_group_id: Optional[str] = None,
        records: Optional[Sequence[TeoOriginGroupRecordArgs]] = None,
        references: Optional[Sequence[TeoOriginGroupReferenceArgs]] = None,
        teo_origin_group_id: Optional[str] = None,
        type: Optional[str] = None,
        update_time: Optional[str] = None,
        zone_id: Optional[str] = None) -> TeoOriginGroup
func GetTeoOriginGroup(ctx *Context, name string, id IDInput, state *TeoOriginGroupState, opts ...ResourceOption) (*TeoOriginGroup, error)
public static TeoOriginGroup Get(string name, Input<string> id, TeoOriginGroupState? state, CustomResourceOptions? opts = null)
public static TeoOriginGroup get(String name, Output<String> id, TeoOriginGroupState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:TeoOriginGroup    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CreateTime string
Origin site group creation time.
HostHeader string
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
Name string
OriginGroup Name.
OriginGroupId string
OriginGroup ID.
Records List<TeoOriginGroupRecord>
Origin site records.
References List<TeoOriginGroupReference>
List of referenced instances of the origin site group.
TeoOriginGroupId string
ID of the resource.
Type string
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
UpdateTime string
Origin site group update time.
ZoneId string
Site ID.
CreateTime string
Origin site group creation time.
HostHeader string
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
Name string
OriginGroup Name.
OriginGroupId string
OriginGroup ID.
Records []TeoOriginGroupRecordArgs
Origin site records.
References []TeoOriginGroupReferenceArgs
List of referenced instances of the origin site group.
TeoOriginGroupId string
ID of the resource.
Type string
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
UpdateTime string
Origin site group update time.
ZoneId string
Site ID.
createTime String
Origin site group creation time.
hostHeader String
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
name String
OriginGroup Name.
originGroupId String
OriginGroup ID.
records List<TeoOriginGroupRecord>
Origin site records.
references List<TeoOriginGroupReference>
List of referenced instances of the origin site group.
teoOriginGroupId String
ID of the resource.
type String
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
updateTime String
Origin site group update time.
zoneId String
Site ID.
createTime string
Origin site group creation time.
hostHeader string
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
name string
OriginGroup Name.
originGroupId string
OriginGroup ID.
records TeoOriginGroupRecord[]
Origin site records.
references TeoOriginGroupReference[]
List of referenced instances of the origin site group.
teoOriginGroupId string
ID of the resource.
type string
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
updateTime string
Origin site group update time.
zoneId string
Site ID.
create_time str
Origin site group creation time.
host_header str
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
name str
OriginGroup Name.
origin_group_id str
OriginGroup ID.
records Sequence[TeoOriginGroupRecordArgs]
Origin site records.
references Sequence[TeoOriginGroupReferenceArgs]
List of referenced instances of the origin site group.
teo_origin_group_id str
ID of the resource.
type str
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
update_time str
Origin site group update time.
zone_id str
Site ID.
createTime String
Origin site group creation time.
hostHeader String
Back-to-origin Host Header, it only takes effect when type = HTTP is passed in. The rule engine modifies the Host Header configuration priority to be higher than the Host Header of the origin site group.
name String
OriginGroup Name.
originGroupId String
OriginGroup ID.
records List<Property Map>
Origin site records.
references List<Property Map>
List of referenced instances of the origin site group.
teoOriginGroupId String
ID of the resource.
type String
Type of the origin site. Valid values:

  • GENERAL: Universal origin site group, only supports adding IP/domain name origin sites, which can be referenced by domain name service, rule engine, four-layer proxy, general load balancing, and HTTP-specific load balancing.
  • HTTP: The HTTP-specific origin site group, supports adding IP/domain name and object storage origin site as the origin site, it cannot be referenced by the four-layer proxy, it can only be added to the acceleration domain name, rule engine-modify origin site, and HTTP-specific load balancing reference.
updateTime String
Origin site group update time.
zoneId String
Site ID.

Supporting Types

TeoOriginGroupRecord
, TeoOriginGroupRecordArgs

Record This property is required. string
Origin site record value, does not include port information, can be: IPv4, IPv6, domain name format.
Private bool
Whether to use private authentication, it takes effect when the origin site type RecordType=COS/AWS_S3, the values are:
PrivateParameters List<TeoOriginGroupRecordPrivateParameter>
Parameters for private authentication. Only valid when Private is true.
RecordId string
Origin record ID.
Type string
Origin site type, the values are:

  • IP_DOMAIN: IPV4, IPV6, domain name type origin site.
  • COS: COS source.
  • AWS_S3: AWS S3 object storage origin site.
Weight double
The weight of the origin site, the value is 0-100. If it is not filled in, it means that the weight will not be set and the system will schedule it freely. If it is filled in with 0, it means that the weight is 0 and the traffic will not be scheduled to this origin site.
Record This property is required. string
Origin site record value, does not include port information, can be: IPv4, IPv6, domain name format.
Private bool
Whether to use private authentication, it takes effect when the origin site type RecordType=COS/AWS_S3, the values are:
PrivateParameters []TeoOriginGroupRecordPrivateParameter
Parameters for private authentication. Only valid when Private is true.
RecordId string
Origin record ID.
Type string
Origin site type, the values are:

  • IP_DOMAIN: IPV4, IPV6, domain name type origin site.
  • COS: COS source.
  • AWS_S3: AWS S3 object storage origin site.
Weight float64
The weight of the origin site, the value is 0-100. If it is not filled in, it means that the weight will not be set and the system will schedule it freely. If it is filled in with 0, it means that the weight is 0 and the traffic will not be scheduled to this origin site.
record This property is required. String
Origin site record value, does not include port information, can be: IPv4, IPv6, domain name format.
privateParameters List<TeoOriginGroupRecordPrivateParameter>
Parameters for private authentication. Only valid when Private is true.
private_ Boolean
Whether to use private authentication, it takes effect when the origin site type RecordType=COS/AWS_S3, the values are:
recordId String
Origin record ID.
type String
Origin site type, the values are:

  • IP_DOMAIN: IPV4, IPV6, domain name type origin site.
  • COS: COS source.
  • AWS_S3: AWS S3 object storage origin site.
weight Double
The weight of the origin site, the value is 0-100. If it is not filled in, it means that the weight will not be set and the system will schedule it freely. If it is filled in with 0, it means that the weight is 0 and the traffic will not be scheduled to this origin site.
record This property is required. string
Origin site record value, does not include port information, can be: IPv4, IPv6, domain name format.
private boolean
Whether to use private authentication, it takes effect when the origin site type RecordType=COS/AWS_S3, the values are:
privateParameters TeoOriginGroupRecordPrivateParameter[]
Parameters for private authentication. Only valid when Private is true.
recordId string
Origin record ID.
type string
Origin site type, the values are:

  • IP_DOMAIN: IPV4, IPV6, domain name type origin site.
  • COS: COS source.
  • AWS_S3: AWS S3 object storage origin site.
weight number
The weight of the origin site, the value is 0-100. If it is not filled in, it means that the weight will not be set and the system will schedule it freely. If it is filled in with 0, it means that the weight is 0 and the traffic will not be scheduled to this origin site.
record This property is required. str
Origin site record value, does not include port information, can be: IPv4, IPv6, domain name format.
private bool
Whether to use private authentication, it takes effect when the origin site type RecordType=COS/AWS_S3, the values are:
private_parameters Sequence[TeoOriginGroupRecordPrivateParameter]
Parameters for private authentication. Only valid when Private is true.
record_id str
Origin record ID.
type str
Origin site type, the values are:

  • IP_DOMAIN: IPV4, IPV6, domain name type origin site.
  • COS: COS source.
  • AWS_S3: AWS S3 object storage origin site.
weight float
The weight of the origin site, the value is 0-100. If it is not filled in, it means that the weight will not be set and the system will schedule it freely. If it is filled in with 0, it means that the weight is 0 and the traffic will not be scheduled to this origin site.
record This property is required. String
Origin site record value, does not include port information, can be: IPv4, IPv6, domain name format.
private Boolean
Whether to use private authentication, it takes effect when the origin site type RecordType=COS/AWS_S3, the values are:
privateParameters List<Property Map>
Parameters for private authentication. Only valid when Private is true.
recordId String
Origin record ID.
type String
Origin site type, the values are:

  • IP_DOMAIN: IPV4, IPV6, domain name type origin site.
  • COS: COS source.
  • AWS_S3: AWS S3 object storage origin site.
weight Number
The weight of the origin site, the value is 0-100. If it is not filled in, it means that the weight will not be set and the system will schedule it freely. If it is filled in with 0, it means that the weight is 0 and the traffic will not be scheduled to this origin site.

TeoOriginGroupRecordPrivateParameter
, TeoOriginGroupRecordPrivateParameterArgs

Name This property is required. string
Private authentication parameter name, the values are:

  • AccessKeyId: Authentication parameter Access Key ID.
  • SecretAccessKey: Authentication parameter Secret Access Key.
  • SignatureVersion: Authentication version, v2 or v4.
  • Region: Bucket region.
Value This property is required. string
Private authentication parameter value.
Name This property is required. string
Private authentication parameter name, the values are:

  • AccessKeyId: Authentication parameter Access Key ID.
  • SecretAccessKey: Authentication parameter Secret Access Key.
  • SignatureVersion: Authentication version, v2 or v4.
  • Region: Bucket region.
Value This property is required. string
Private authentication parameter value.
name This property is required. String
Private authentication parameter name, the values are:

  • AccessKeyId: Authentication parameter Access Key ID.
  • SecretAccessKey: Authentication parameter Secret Access Key.
  • SignatureVersion: Authentication version, v2 or v4.
  • Region: Bucket region.
value This property is required. String
Private authentication parameter value.
name This property is required. string
Private authentication parameter name, the values are:

  • AccessKeyId: Authentication parameter Access Key ID.
  • SecretAccessKey: Authentication parameter Secret Access Key.
  • SignatureVersion: Authentication version, v2 or v4.
  • Region: Bucket region.
value This property is required. string
Private authentication parameter value.
name This property is required. str
Private authentication parameter name, the values are:

  • AccessKeyId: Authentication parameter Access Key ID.
  • SecretAccessKey: Authentication parameter Secret Access Key.
  • SignatureVersion: Authentication version, v2 or v4.
  • Region: Bucket region.
value This property is required. str
Private authentication parameter value.
name This property is required. String
Private authentication parameter name, the values are:

  • AccessKeyId: Authentication parameter Access Key ID.
  • SecretAccessKey: Authentication parameter Secret Access Key.
  • SignatureVersion: Authentication version, v2 or v4.
  • Region: Bucket region.
value This property is required. String
Private authentication parameter value.

TeoOriginGroupReference
, TeoOriginGroupReferenceArgs

InstanceId This property is required. string
The instance ID of the reference type.
InstanceName This property is required. string
Instance name of the application type.
InstanceType This property is required. string
Reference service type, the values are:

  • AccelerationDomain: Acceleration domain name.
  • RuleEngine: Rule engine.
  • Loadbalance: Load balancing.
  • ApplicationProxy: Four-layer proxy.
InstanceId This property is required. string
The instance ID of the reference type.
InstanceName This property is required. string
Instance name of the application type.
InstanceType This property is required. string
Reference service type, the values are:

  • AccelerationDomain: Acceleration domain name.
  • RuleEngine: Rule engine.
  • Loadbalance: Load balancing.
  • ApplicationProxy: Four-layer proxy.
instanceId This property is required. String
The instance ID of the reference type.
instanceName This property is required. String
Instance name of the application type.
instanceType This property is required. String
Reference service type, the values are:

  • AccelerationDomain: Acceleration domain name.
  • RuleEngine: Rule engine.
  • Loadbalance: Load balancing.
  • ApplicationProxy: Four-layer proxy.
instanceId This property is required. string
The instance ID of the reference type.
instanceName This property is required. string
Instance name of the application type.
instanceType This property is required. string
Reference service type, the values are:

  • AccelerationDomain: Acceleration domain name.
  • RuleEngine: Rule engine.
  • Loadbalance: Load balancing.
  • ApplicationProxy: Four-layer proxy.
instance_id This property is required. str
The instance ID of the reference type.
instance_name This property is required. str
Instance name of the application type.
instance_type This property is required. str
Reference service type, the values are:

  • AccelerationDomain: Acceleration domain name.
  • RuleEngine: Rule engine.
  • Loadbalance: Load balancing.
  • ApplicationProxy: Four-layer proxy.
instanceId This property is required. String
The instance ID of the reference type.
instanceName This property is required. String
Instance name of the application type.
instanceType This property is required. String
Reference service type, the values are:

  • AccelerationDomain: Acceleration domain name.
  • RuleEngine: Rule engine.
  • Loadbalance: Load balancing.
  • ApplicationProxy: Four-layer proxy.

Import

teo origin_group can be imported using the zone_id#originGroup_id, e.g.

`

$ pulumi import tencentcloud:index/teoOriginGroup:TeoOriginGroup origin_group zone-297z8rf93cfw#origin-4f8a30b2-3720-11ed-b66b-525400dceb86
Copy

`

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.