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",
});
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")
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
})
}
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",
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args TeoOriginGroupArgs
- 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 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 string
- The unique name of the resource.
- args TeoOriginGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeoOriginGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
List<Teo
Origin Group Record> - Origin site records.
- 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.
- Zone
Id string - Site ID.
- Host
Header 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.
- Teo
Origin stringGroup Id - ID of the resource.
- Records
[]Teo
Origin Group Record Args - Origin site records.
- 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.
- Zone
Id string - Site ID.
- Host
Header 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.
- Teo
Origin stringGroup Id - ID of the resource.
- records
List<Teo
Origin Group Record> - Origin site records.
- 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.
- zone
Id String - Site ID.
- host
Header 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.
- teo
Origin StringGroup Id - ID of the resource.
- records
Teo
Origin Group Record[] - Origin site records.
- 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.
- zone
Id string - Site ID.
- host
Header 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.
- teo
Origin stringGroup Id - ID of the resource.
- records
Sequence[Teo
Origin Group Record Args] - Origin site records.
- 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.
- zone_
id 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_ strgroup_ id - ID of the resource.
- records List<Property Map>
- Origin site records.
- 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.
- zone
Id String - Site ID.
- host
Header 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.
- teo
Origin StringGroup Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeoOriginGroup resource produces the following output properties:
- Create
Time string - Origin site group creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Origin
Group stringId - OriginGroup ID.
- References
List<Teo
Origin Group Reference> - List of referenced instances of the origin site group.
- Update
Time string - Origin site group update time.
- Create
Time string - Origin site group creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Origin
Group stringId - OriginGroup ID.
- References
[]Teo
Origin Group Reference - List of referenced instances of the origin site group.
- Update
Time string - Origin site group update time.
- create
Time String - Origin site group creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- origin
Group StringId - OriginGroup ID.
- references
List<Teo
Origin Group Reference> - List of referenced instances of the origin site group.
- update
Time String - Origin site group update time.
- create
Time string - Origin site group creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- origin
Group stringId - OriginGroup ID.
- references
Teo
Origin Group Reference[] - List of referenced instances of the origin site group.
- update
Time 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_ strid - OriginGroup ID.
- references
Sequence[Teo
Origin Group Reference] - List of referenced instances of the origin site group.
- update_
time str - Origin site group update time.
- create
Time String - Origin site group creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- origin
Group StringId - OriginGroup ID.
- references List<Property Map>
- List of referenced instances of the origin site group.
- update
Time 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
- 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.
- Create
Time string - Origin site group creation time.
- Host
Header 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.
- Origin
Group stringId - OriginGroup ID.
- Records
List<Teo
Origin Group Record> - Origin site records.
- References
List<Teo
Origin Group Reference> - List of referenced instances of the origin site group.
- Teo
Origin stringGroup Id - 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.
- Update
Time string - Origin site group update time.
- Zone
Id string - Site ID.
- Create
Time string - Origin site group creation time.
- Host
Header 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.
- Origin
Group stringId - OriginGroup ID.
- Records
[]Teo
Origin Group Record Args - Origin site records.
- References
[]Teo
Origin Group Reference Args - List of referenced instances of the origin site group.
- Teo
Origin stringGroup Id - 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.
- Update
Time string - Origin site group update time.
- Zone
Id string - Site ID.
- create
Time String - Origin site group creation time.
- host
Header 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.
- origin
Group StringId - OriginGroup ID.
- records
List<Teo
Origin Group Record> - Origin site records.
- references
List<Teo
Origin Group Reference> - List of referenced instances of the origin site group.
- teo
Origin StringGroup Id - 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.
- update
Time String - Origin site group update time.
- zone
Id String - Site ID.
- create
Time string - Origin site group creation time.
- host
Header 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.
- origin
Group stringId - OriginGroup ID.
- records
Teo
Origin Group Record[] - Origin site records.
- references
Teo
Origin Group Reference[] - List of referenced instances of the origin site group.
- teo
Origin stringGroup Id - 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.
- update
Time string - Origin site group update time.
- zone
Id 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_ strid - OriginGroup ID.
- records
Sequence[Teo
Origin Group Record Args] - Origin site records.
- references
Sequence[Teo
Origin Group Reference Args] - List of referenced instances of the origin site group.
- teo_
origin_ strgroup_ id - 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.
- create
Time String - Origin site group creation time.
- host
Header 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.
- origin
Group StringId - OriginGroup ID.
- records List<Property Map>
- Origin site records.
- references List<Property Map>
- List of referenced instances of the origin site group.
- teo
Origin StringGroup Id - 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.
- update
Time String - Origin site group update time.
- zone
Id String - Site ID.
Supporting Types
TeoOriginGroupRecord, TeoOriginGroupRecordArgs
- Record 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:
- Private
Parameters List<TeoOrigin Group Record Private Parameter> - Parameters for private authentication. Only valid when
Private
istrue
. - Record
Id 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 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:
- Private
Parameters []TeoOrigin Group Record Private Parameter - Parameters for private authentication. Only valid when
Private
istrue
. - Record
Id 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 String
- Origin site record value, does not include port information, can be: IPv4, IPv6, domain name format.
- private
Parameters List<TeoOrigin Group Record Private Parameter> - Parameters for private authentication. Only valid when
Private
istrue
. - private_ Boolean
- Whether to use private authentication, it takes effect when the origin site type RecordType=COS/AWS_S3, the values are:
- record
Id 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 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:
- private
Parameters TeoOrigin Group Record Private Parameter[] - Parameters for private authentication. Only valid when
Private
istrue
. - record
Id 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 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[TeoOrigin Group Record Private Parameter] - Parameters for private authentication. Only valid when
Private
istrue
. - 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 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:
- private
Parameters List<Property Map> - Parameters for private authentication. Only valid when
Private
istrue
. - record
Id 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 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 string
- Private authentication parameter value.
- Name 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 string
- Private authentication parameter value.
- name 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 String
- Private authentication parameter value.
- name 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 string
- Private authentication parameter value.
- name 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 String
- Private authentication parameter value.
TeoOriginGroupReference, TeoOriginGroupReferenceArgs
- Instance
Id string - The instance ID of the reference type.
- Instance
Name string - Instance name of the application type.
- Instance
Type string - Reference service type, the values are:
AccelerationDomain
: Acceleration domain name.RuleEngine
: Rule engine.Loadbalance
: Load balancing.ApplicationProxy
: Four-layer proxy.
- Instance
Id string - The instance ID of the reference type.
- Instance
Name string - Instance name of the application type.
- Instance
Type string - Reference service type, the values are:
AccelerationDomain
: Acceleration domain name.RuleEngine
: Rule engine.Loadbalance
: Load balancing.ApplicationProxy
: Four-layer proxy.
- instance
Id String - The instance ID of the reference type.
- instance
Name String - Instance name of the application type.
- instance
Type String - Reference service type, the values are:
AccelerationDomain
: Acceleration domain name.RuleEngine
: Rule engine.Loadbalance
: Load balancing.ApplicationProxy
: Four-layer proxy.
- instance
Id string - The instance ID of the reference type.
- instance
Name string - Instance name of the application type.
- instance
Type string - Reference service type, the values are:
AccelerationDomain
: Acceleration domain name.RuleEngine
: Rule engine.Loadbalance
: Load balancing.ApplicationProxy
: Four-layer proxy.
- instance_
id str - The instance ID of the reference type.
- instance_
name str - Instance name of the application type.
- instance_
type str - Reference service type, the values are:
AccelerationDomain
: Acceleration domain name.RuleEngine
: Rule engine.Loadbalance
: Load balancing.ApplicationProxy
: Four-layer proxy.
- instance
Id String - The instance ID of the reference type.
- instance
Name String - Instance name of the application type.
- instance
Type 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
`
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.