tencentcloud.TeoContentIdentifier
Explore with Pulumi AI
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.
- Plan
Id 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..
- List<Teo
Content Identifier Tag> - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- Teo
Content stringIdentifier Id - ID of the resource.
- Description string
- Description of the content identifier, length limit of up to 20 characters.
- Plan
Id 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..
- []Teo
Content Identifier Tag Args - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- Teo
Content stringIdentifier Id - ID of the resource.
- description String
- Description of the content identifier, length limit of up to 20 characters.
- plan
Id 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..
- List<Teo
Content Identifier Tag> - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- teo
Content StringIdentifier Id - ID of the resource.
- description string
- Description of the content identifier, length limit of up to 20 characters.
- plan
Id 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..
- Teo
Content Identifier Tag[] - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- teo
Content stringIdentifier Id - 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..
- Sequence[Teo
Content Identifier Tag Args] - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- teo_
content_ stridentifier_ id - ID of the resource.
- description String
- Description of the content identifier, length limit of up to 20 characters.
- plan
Id 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..
- List<Property Map>
- Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- teo
Content StringIdentifier Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeoContentIdentifier resource produces the following output properties:
- Content
Id string - Content identifier ID.
- Created
On 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.
- Modified
On string - The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
- Content
Id string - Content identifier ID.
- Created
On 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.
- Modified
On string - The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
- content
Id String - Content identifier ID.
- created
On 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.
- modified
On String - The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
- content
Id string - Content identifier ID.
- created
On 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.
- modified
On 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..
- content
Id String - Content identifier ID.
- created
On 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.
- modified
On 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.
- Content
Id string - Content identifier ID.
- Created
On 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.
- Modified
On string - The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
- Plan
Id 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..
- List<Teo
Content Identifier Tag> - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- Teo
Content stringIdentifier Id - ID of the resource.
- Content
Id string - Content identifier ID.
- Created
On 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.
- Modified
On string - The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
- Plan
Id 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..
- []Teo
Content Identifier Tag Args - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- Teo
Content stringIdentifier Id - ID of the resource.
- content
Id String - Content identifier ID.
- created
On 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.
- modified
On String - The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
- plan
Id 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..
- List<Teo
Content Identifier Tag> - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- teo
Content StringIdentifier Id - ID of the resource.
- content
Id string - Content identifier ID.
- created
On 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.
- modified
On string - The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
- plan
Id 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..
- Teo
Content Identifier Tag[] - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- teo
Content stringIdentifier Id - 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..
- Sequence[Teo
Content Identifier Tag Args] - Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- teo_
content_ stridentifier_ id - ID of the resource.
- content
Id String - Content identifier ID.
- created
On 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.
- modified
On String - The time of the latest update, in Coordinated Universal Time (UTC), following the ISO 8601 date and time format..
- plan
Id 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..
- List<Property Map>
- Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console.
- teo
Content StringIdentifier Id - ID of the resource.
Supporting Types
TeoContentIdentifierTag, TeoContentIdentifierTagArgs
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.