1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TeoContentIdentifier
tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack

tencentcloud.TeoContentIdentifier

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack

    Provides a resource to create a TEO content identifier

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.TeoContentIdentifier("example", {
        description: "example",
        planId: "edgeone-6bzvsgjkfa9g",
        tags: [{
            tagKey: "tagKey",
            tagValue: "tagValue",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.TeoContentIdentifier("example",
        description="example",
        plan_id="edgeone-6bzvsgjkfa9g",
        tags=[{
            "tag_key": "tagKey",
            "tag_value": "tagValue",
        }])
    
    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.NewTeoContentIdentifier(ctx, "example", &tencentcloud.TeoContentIdentifierArgs{
    			Description: pulumi.String("example"),
    			PlanId:      pulumi.String("edgeone-6bzvsgjkfa9g"),
    			Tags: tencentcloud.TeoContentIdentifierTagArray{
    				&tencentcloud.TeoContentIdentifierTagArgs{
    					TagKey:   pulumi.String("tagKey"),
    					TagValue: pulumi.String("tagValue"),
    				},
    			},
    		})
    		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.TeoContentIdentifier("example", new()
        {
            Description = "example",
            PlanId = "edgeone-6bzvsgjkfa9g",
            Tags = new[]
            {
                new Tencentcloud.Inputs.TeoContentIdentifierTagArgs
                {
                    TagKey = "tagKey",
                    TagValue = "tagValue",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TeoContentIdentifier;
    import com.pulumi.tencentcloud.TeoContentIdentifierArgs;
    import com.pulumi.tencentcloud.inputs.TeoContentIdentifierTagArgs;
    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 TeoContentIdentifier("example", TeoContentIdentifierArgs.builder()
                .description("example")
                .planId("edgeone-6bzvsgjkfa9g")
                .tags(TeoContentIdentifierTagArgs.builder()
                    .tagKey("tagKey")
                    .tagValue("tagValue")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:TeoContentIdentifier
        properties:
          description: example
          planId: edgeone-6bzvsgjkfa9g
          tags:
            - tagKey: tagKey
              tagValue: tagValue
    

    Create TeoContentIdentifier Resource

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

    Constructor syntax

    new TeoContentIdentifier(name: string, args: TeoContentIdentifierArgs, opts?: CustomResourceOptions);
    @overload
    def TeoContentIdentifier(resource_name: str,
                             args: TeoContentIdentifierArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeoContentIdentifier(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             description: Optional[str] = None,
                             plan_id: Optional[str] = None,
                             tags: Optional[Sequence[TeoContentIdentifierTagArgs]] = None,
                             teo_content_identifier_id: Optional[str] = None)
    func NewTeoContentIdentifier(ctx *Context, name string, args TeoContentIdentifierArgs, opts ...ResourceOption) (*TeoContentIdentifier, error)
    public TeoContentIdentifier(string name, TeoContentIdentifierArgs args, CustomResourceOptions? opts = null)
    public TeoContentIdentifier(String name, TeoContentIdentifierArgs args)
    public TeoContentIdentifier(String name, TeoContentIdentifierArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TeoContentIdentifier
    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 TeoContentIdentifierArgs
    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 TeoContentIdentifierArgs
    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 TeoContentIdentifierArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeoContentIdentifierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeoContentIdentifierArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Description string
    Description of the content identifier, length limit of up to 20 characters.
    PlanId string
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    Tags List<TeoContentIdentifierTag>
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    TeoContentIdentifierId string
    ID of the resource.
    Description string
    Description of the content identifier, length limit of up to 20 characters.
    PlanId string
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    Tags []TeoContentIdentifierTagArgs
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    TeoContentIdentifierId string
    ID of the resource.
    description String
    Description of the content identifier, length limit of up to 20 characters.
    planId String
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    tags List<TeoContentIdentifierTag>
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    teoContentIdentifierId String
    ID of the resource.
    description string
    Description of the content identifier, length limit of up to 20 characters.
    planId string
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    tags TeoContentIdentifierTag[]
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    teoContentIdentifierId string
    ID of the resource.
    description str
    Description of the content identifier, length limit of up to 20 characters.
    plan_id str
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    tags Sequence[TeoContentIdentifierTagArgs]
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    teo_content_identifier_id str
    ID of the resource.
    description String
    Description of the content identifier, length limit of up to 20 characters.
    planId String
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    tags List<Property Map>
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    teoContentIdentifierId String
    ID of the resource.

    Outputs

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

    ContentId string
    Content identifier ID.
    CreatedOn string
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedOn string
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    ContentId string
    Content identifier ID.
    CreatedOn string
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedOn string
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    contentId String
    Content identifier ID.
    createdOn String
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedOn String
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    contentId string
    Content identifier ID.
    createdOn string
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedOn string
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    content_id str
    Content identifier ID.
    created_on str
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    id str
    The provider-assigned unique ID for this managed resource.
    modified_on str
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    contentId String
    Content identifier ID.
    createdOn String
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedOn String
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..

    Look up Existing TeoContentIdentifier Resource

    Get an existing TeoContentIdentifier 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?: TeoContentIdentifierState, opts?: CustomResourceOptions): TeoContentIdentifier
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content_id: Optional[str] = None,
            created_on: Optional[str] = None,
            description: Optional[str] = None,
            modified_on: Optional[str] = None,
            plan_id: Optional[str] = None,
            tags: Optional[Sequence[TeoContentIdentifierTagArgs]] = None,
            teo_content_identifier_id: Optional[str] = None) -> TeoContentIdentifier
    func GetTeoContentIdentifier(ctx *Context, name string, id IDInput, state *TeoContentIdentifierState, opts ...ResourceOption) (*TeoContentIdentifier, error)
    public static TeoContentIdentifier Get(string name, Input<string> id, TeoContentIdentifierState? state, CustomResourceOptions? opts = null)
    public static TeoContentIdentifier get(String name, Output<String> id, TeoContentIdentifierState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoContentIdentifier    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.
    The following state arguments are supported:
    ContentId string
    Content identifier ID.
    CreatedOn string
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    Description string
    Description of the content identifier, length limit of up to 20 characters.
    ModifiedOn string
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    PlanId string
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    Tags List<TeoContentIdentifierTag>
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    TeoContentIdentifierId string
    ID of the resource.
    ContentId string
    Content identifier ID.
    CreatedOn string
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    Description string
    Description of the content identifier, length limit of up to 20 characters.
    ModifiedOn string
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    PlanId string
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    Tags []TeoContentIdentifierTagArgs
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    TeoContentIdentifierId string
    ID of the resource.
    contentId String
    Content identifier ID.
    createdOn String
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    description String
    Description of the content identifier, length limit of up to 20 characters.
    modifiedOn String
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    planId String
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    tags List<TeoContentIdentifierTag>
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    teoContentIdentifierId String
    ID of the resource.
    contentId string
    Content identifier ID.
    createdOn string
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    description string
    Description of the content identifier, length limit of up to 20 characters.
    modifiedOn string
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    planId string
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    tags TeoContentIdentifierTag[]
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    teoContentIdentifierId string
    ID of the resource.
    content_id str
    Content identifier ID.
    created_on str
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    description str
    Description of the content identifier, length limit of up to 20 characters.
    modified_on str
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    plan_id str
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    tags Sequence[TeoContentIdentifierTagArgs]
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    teo_content_identifier_id str
    ID of the resource.
    contentId String
    Content identifier ID.
    createdOn String
    Creation time, which is in Coordinated Universal Time (UTC) and follows the ISO 8601 date and time format..
    description String
    Description of the content identifier, length limit of up to 20 characters.
    modifiedOn String
    The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
    planId String
    Target plan id to be bound, available only for the enterprise edition. if there is already a plan under your account, go to plan management to get the plan id and directly bind the content identifier to the plan;if you do not have a plan to bind, please purchase an enterprise edition plan first..
    tags List<Property Map>
    Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
    teoContentIdentifierId String
    ID of the resource.

    Supporting Types

    TeoContentIdentifierTag, TeoContentIdentifierTagArgs

    TagKey string
    The tag key. Note: This field may return null, indicating that no valid values can be obtained.
    TagValue string
    The tag value. Note: This field may return null, indicating that no valid values can be obtained.
    TagKey string
    The tag key. Note: This field may return null, indicating that no valid values can be obtained.
    TagValue string
    The tag value. Note: This field may return null, indicating that no valid values can be obtained.
    tagKey String
    The tag key. Note: This field may return null, indicating that no valid values can be obtained.
    tagValue String
    The tag value. Note: This field may return null, indicating that no valid values can be obtained.
    tagKey string
    The tag key. Note: This field may return null, indicating that no valid values can be obtained.
    tagValue string
    The tag value. Note: This field may return null, indicating that no valid values can be obtained.
    tag_key str
    The tag key. Note: This field may return null, indicating that no valid values can be obtained.
    tag_value str
    The tag value. Note: This field may return null, indicating that no valid values can be obtained.
    tagKey String
    The tag key. Note: This field may return null, indicating that no valid values can be obtained.
    tagValue String
    The tag value. Note: This field may return null, indicating that no valid values can be obtained.

    Import

    TEO content identifier can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/teoContentIdentifier:TeoContentIdentifier example eocontent-3dy8iyfq8dba
    

    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.
    tencentcloud logo
    tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack