1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. TeoJustInTimeTranscodeTemplate
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Provides a resource to create a TEO just-in-time transcode template.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.TeoJustInTimeTranscodeTemplate("example", {
        zoneId: "zone-2qtuhspy7cr6",
        templateName: "my-template",
        comment: "Example transcode template",
        videoStreamSwitch: "on",
        audioStreamSwitch: "on",
        videoTemplate: {
            videoCodec: "H.264",
            fps: 30,
            bitrate: 2000,
            resolutionAdaptive: "open",
            width: 1280,
            height: 720,
            fillType: "black",
        },
        audioTemplate: {
            codec: "libfdk_aac",
            audioChannel: 2,
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.TeoJustInTimeTranscodeTemplate("example",
        zone_id="zone-2qtuhspy7cr6",
        template_name="my-template",
        comment="Example transcode template",
        video_stream_switch="on",
        audio_stream_switch="on",
        video_template={
            "video_codec": "H.264",
            "fps": 30,
            "bitrate": 2000,
            "resolution_adaptive": "open",
            "width": 1280,
            "height": 720,
            "fill_type": "black",
        },
        audio_template={
            "codec": "libfdk_aac",
            "audio_channel": 2,
        })
    
    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.NewTeoJustInTimeTranscodeTemplate(ctx, "example", &tencentcloud.TeoJustInTimeTranscodeTemplateArgs{
    			ZoneId:            pulumi.String("zone-2qtuhspy7cr6"),
    			TemplateName:      pulumi.String("my-template"),
    			Comment:           pulumi.String("Example transcode template"),
    			VideoStreamSwitch: pulumi.String("on"),
    			AudioStreamSwitch: pulumi.String("on"),
    			VideoTemplate: &tencentcloud.TeoJustInTimeTranscodeTemplateVideoTemplateArgs{
    				VideoCodec:         pulumi.String("H.264"),
    				Fps:                pulumi.Float64(30),
    				Bitrate:            pulumi.Float64(2000),
    				ResolutionAdaptive: pulumi.String("open"),
    				Width:              pulumi.Float64(1280),
    				Height:             pulumi.Float64(720),
    				FillType:           pulumi.String("black"),
    			},
    			AudioTemplate: &tencentcloud.TeoJustInTimeTranscodeTemplateAudioTemplateArgs{
    				Codec:        pulumi.String("libfdk_aac"),
    				AudioChannel: pulumi.Float64(2),
    			},
    		})
    		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.TeoJustInTimeTranscodeTemplate("example", new()
        {
            ZoneId = "zone-2qtuhspy7cr6",
            TemplateName = "my-template",
            Comment = "Example transcode template",
            VideoStreamSwitch = "on",
            AudioStreamSwitch = "on",
            VideoTemplate = new Tencentcloud.Inputs.TeoJustInTimeTranscodeTemplateVideoTemplateArgs
            {
                VideoCodec = "H.264",
                Fps = 30,
                Bitrate = 2000,
                ResolutionAdaptive = "open",
                Width = 1280,
                Height = 720,
                FillType = "black",
            },
            AudioTemplate = new Tencentcloud.Inputs.TeoJustInTimeTranscodeTemplateAudioTemplateArgs
            {
                Codec = "libfdk_aac",
                AudioChannel = 2,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TeoJustInTimeTranscodeTemplate;
    import com.pulumi.tencentcloud.TeoJustInTimeTranscodeTemplateArgs;
    import com.pulumi.tencentcloud.inputs.TeoJustInTimeTranscodeTemplateVideoTemplateArgs;
    import com.pulumi.tencentcloud.inputs.TeoJustInTimeTranscodeTemplateAudioTemplateArgs;
    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 TeoJustInTimeTranscodeTemplate("example", TeoJustInTimeTranscodeTemplateArgs.builder()
                .zoneId("zone-2qtuhspy7cr6")
                .templateName("my-template")
                .comment("Example transcode template")
                .videoStreamSwitch("on")
                .audioStreamSwitch("on")
                .videoTemplate(TeoJustInTimeTranscodeTemplateVideoTemplateArgs.builder()
                    .videoCodec("H.264")
                    .fps(30.0)
                    .bitrate(2000.0)
                    .resolutionAdaptive("open")
                    .width(1280.0)
                    .height(720.0)
                    .fillType("black")
                    .build())
                .audioTemplate(TeoJustInTimeTranscodeTemplateAudioTemplateArgs.builder()
                    .codec("libfdk_aac")
                    .audioChannel(2.0)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:TeoJustInTimeTranscodeTemplate
        properties:
          zoneId: zone-2qtuhspy7cr6
          templateName: my-template
          comment: Example transcode template
          videoStreamSwitch: on
          audioStreamSwitch: on
          videoTemplate:
            videoCodec: H.264
            fps: 30
            bitrate: 2000
            resolutionAdaptive: open
            width: 1280
            height: 720
            fillType: black
          audioTemplate:
            codec: libfdk_aac
            audioChannel: 2
    
    Example coming soon!
    

    Create TeoJustInTimeTranscodeTemplate Resource

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

    Constructor syntax

    new TeoJustInTimeTranscodeTemplate(name: string, args: TeoJustInTimeTranscodeTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def TeoJustInTimeTranscodeTemplate(resource_name: str,
                                       args: TeoJustInTimeTranscodeTemplateArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeoJustInTimeTranscodeTemplate(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       template_name: Optional[str] = None,
                                       zone_id: Optional[str] = None,
                                       audio_stream_switch: Optional[str] = None,
                                       audio_template: Optional[TeoJustInTimeTranscodeTemplateAudioTemplateArgs] = None,
                                       comment: Optional[str] = None,
                                       teo_just_in_time_transcode_template_id: Optional[str] = None,
                                       video_stream_switch: Optional[str] = None,
                                       video_template: Optional[TeoJustInTimeTranscodeTemplateVideoTemplateArgs] = None)
    func NewTeoJustInTimeTranscodeTemplate(ctx *Context, name string, args TeoJustInTimeTranscodeTemplateArgs, opts ...ResourceOption) (*TeoJustInTimeTranscodeTemplate, error)
    public TeoJustInTimeTranscodeTemplate(string name, TeoJustInTimeTranscodeTemplateArgs args, CustomResourceOptions? opts = null)
    public TeoJustInTimeTranscodeTemplate(String name, TeoJustInTimeTranscodeTemplateArgs args)
    public TeoJustInTimeTranscodeTemplate(String name, TeoJustInTimeTranscodeTemplateArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TeoJustInTimeTranscodeTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_teojustintimetranscodetemplate" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TeoJustInTimeTranscodeTemplateArgs
    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 TeoJustInTimeTranscodeTemplateArgs
    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 TeoJustInTimeTranscodeTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeoJustInTimeTranscodeTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeoJustInTimeTranscodeTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    TemplateName string
    Transcode template name. Max length: 64 characters.
    ZoneId string
    Site ID.
    AudioStreamSwitch string
    Audio stream switch. Valid values: on, off. Default: on.
    AudioTemplate TeoJustInTimeTranscodeTemplateAudioTemplate
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    Comment string
    Template description. Max length: 256 characters.
    TeoJustInTimeTranscodeTemplateId string
    ID of the resource.
    VideoStreamSwitch string
    Video stream switch. Valid values: on, off. Default: on.
    VideoTemplate TeoJustInTimeTranscodeTemplateVideoTemplate
    Video stream configuration parameters. Required when video_stream_switch is on.
    TemplateName string
    Transcode template name. Max length: 64 characters.
    ZoneId string
    Site ID.
    AudioStreamSwitch string
    Audio stream switch. Valid values: on, off. Default: on.
    AudioTemplate TeoJustInTimeTranscodeTemplateAudioTemplateArgs
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    Comment string
    Template description. Max length: 256 characters.
    TeoJustInTimeTranscodeTemplateId string
    ID of the resource.
    VideoStreamSwitch string
    Video stream switch. Valid values: on, off. Default: on.
    VideoTemplate TeoJustInTimeTranscodeTemplateVideoTemplateArgs
    Video stream configuration parameters. Required when video_stream_switch is on.
    template_name string
    Transcode template name. Max length: 64 characters.
    zone_id string
    Site ID.
    audio_stream_switch string
    Audio stream switch. Valid values: on, off. Default: on.
    audio_template object
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment string
    Template description. Max length: 256 characters.
    teo_just_in_time_transcode_template_id string
    ID of the resource.
    video_stream_switch string
    Video stream switch. Valid values: on, off. Default: on.
    video_template object
    Video stream configuration parameters. Required when video_stream_switch is on.
    templateName String
    Transcode template name. Max length: 64 characters.
    zoneId String
    Site ID.
    audioStreamSwitch String
    Audio stream switch. Valid values: on, off. Default: on.
    audioTemplate TeoJustInTimeTranscodeTemplateAudioTemplate
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment String
    Template description. Max length: 256 characters.
    teoJustInTimeTranscodeTemplateId String
    ID of the resource.
    videoStreamSwitch String
    Video stream switch. Valid values: on, off. Default: on.
    videoTemplate TeoJustInTimeTranscodeTemplateVideoTemplate
    Video stream configuration parameters. Required when video_stream_switch is on.
    templateName string
    Transcode template name. Max length: 64 characters.
    zoneId string
    Site ID.
    audioStreamSwitch string
    Audio stream switch. Valid values: on, off. Default: on.
    audioTemplate TeoJustInTimeTranscodeTemplateAudioTemplate
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment string
    Template description. Max length: 256 characters.
    teoJustInTimeTranscodeTemplateId string
    ID of the resource.
    videoStreamSwitch string
    Video stream switch. Valid values: on, off. Default: on.
    videoTemplate TeoJustInTimeTranscodeTemplateVideoTemplate
    Video stream configuration parameters. Required when video_stream_switch is on.
    template_name str
    Transcode template name. Max length: 64 characters.
    zone_id str
    Site ID.
    audio_stream_switch str
    Audio stream switch. Valid values: on, off. Default: on.
    audio_template TeoJustInTimeTranscodeTemplateAudioTemplateArgs
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment str
    Template description. Max length: 256 characters.
    teo_just_in_time_transcode_template_id str
    ID of the resource.
    video_stream_switch str
    Video stream switch. Valid values: on, off. Default: on.
    video_template TeoJustInTimeTranscodeTemplateVideoTemplateArgs
    Video stream configuration parameters. Required when video_stream_switch is on.
    templateName String
    Transcode template name. Max length: 64 characters.
    zoneId String
    Site ID.
    audioStreamSwitch String
    Audio stream switch. Valid values: on, off. Default: on.
    audioTemplate Property Map
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment String
    Template description. Max length: 256 characters.
    teoJustInTimeTranscodeTemplateId String
    ID of the resource.
    videoStreamSwitch String
    Video stream switch. Valid values: on, off. Default: on.
    videoTemplate Property Map
    Video stream configuration parameters. Required when video_stream_switch is on.

    Outputs

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

    CreateTime string
    Template creation time in ISO 8601 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateId string
    Template ID returned after creation.
    Type string
    Template type. Values: preset, custom.
    UpdateTime string
    Template last update time in ISO 8601 format.
    CreateTime string
    Template creation time in ISO 8601 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateId string
    Template ID returned after creation.
    Type string
    Template type. Values: preset, custom.
    UpdateTime string
    Template last update time in ISO 8601 format.
    create_time string
    Template creation time in ISO 8601 format.
    id string
    The provider-assigned unique ID for this managed resource.
    template_id string
    Template ID returned after creation.
    type string
    Template type. Values: preset, custom.
    update_time string
    Template last update time in ISO 8601 format.
    createTime String
    Template creation time in ISO 8601 format.
    id String
    The provider-assigned unique ID for this managed resource.
    templateId String
    Template ID returned after creation.
    type String
    Template type. Values: preset, custom.
    updateTime String
    Template last update time in ISO 8601 format.
    createTime string
    Template creation time in ISO 8601 format.
    id string
    The provider-assigned unique ID for this managed resource.
    templateId string
    Template ID returned after creation.
    type string
    Template type. Values: preset, custom.
    updateTime string
    Template last update time in ISO 8601 format.
    create_time str
    Template creation time in ISO 8601 format.
    id str
    The provider-assigned unique ID for this managed resource.
    template_id str
    Template ID returned after creation.
    type str
    Template type. Values: preset, custom.
    update_time str
    Template last update time in ISO 8601 format.
    createTime String
    Template creation time in ISO 8601 format.
    id String
    The provider-assigned unique ID for this managed resource.
    templateId String
    Template ID returned after creation.
    type String
    Template type. Values: preset, custom.
    updateTime String
    Template last update time in ISO 8601 format.

    Look up Existing TeoJustInTimeTranscodeTemplate Resource

    Get an existing TeoJustInTimeTranscodeTemplate 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?: TeoJustInTimeTranscodeTemplateState, opts?: CustomResourceOptions): TeoJustInTimeTranscodeTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            audio_stream_switch: Optional[str] = None,
            audio_template: Optional[TeoJustInTimeTranscodeTemplateAudioTemplateArgs] = None,
            comment: Optional[str] = None,
            create_time: Optional[str] = None,
            template_id: Optional[str] = None,
            template_name: Optional[str] = None,
            teo_just_in_time_transcode_template_id: Optional[str] = None,
            type: Optional[str] = None,
            update_time: Optional[str] = None,
            video_stream_switch: Optional[str] = None,
            video_template: Optional[TeoJustInTimeTranscodeTemplateVideoTemplateArgs] = None,
            zone_id: Optional[str] = None) -> TeoJustInTimeTranscodeTemplate
    func GetTeoJustInTimeTranscodeTemplate(ctx *Context, name string, id IDInput, state *TeoJustInTimeTranscodeTemplateState, opts ...ResourceOption) (*TeoJustInTimeTranscodeTemplate, error)
    public static TeoJustInTimeTranscodeTemplate Get(string name, Input<string> id, TeoJustInTimeTranscodeTemplateState? state, CustomResourceOptions? opts = null)
    public static TeoJustInTimeTranscodeTemplate get(String name, Output<String> id, TeoJustInTimeTranscodeTemplateState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoJustInTimeTranscodeTemplate    get:      id: ${id}
    import {
      to = tencentcloud_teojustintimetranscodetemplate.example
      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:
    AudioStreamSwitch string
    Audio stream switch. Valid values: on, off. Default: on.
    AudioTemplate TeoJustInTimeTranscodeTemplateAudioTemplate
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    Comment string
    Template description. Max length: 256 characters.
    CreateTime string
    Template creation time in ISO 8601 format.
    TemplateId string
    Template ID returned after creation.
    TemplateName string
    Transcode template name. Max length: 64 characters.
    TeoJustInTimeTranscodeTemplateId string
    ID of the resource.
    Type string
    Template type. Values: preset, custom.
    UpdateTime string
    Template last update time in ISO 8601 format.
    VideoStreamSwitch string
    Video stream switch. Valid values: on, off. Default: on.
    VideoTemplate TeoJustInTimeTranscodeTemplateVideoTemplate
    Video stream configuration parameters. Required when video_stream_switch is on.
    ZoneId string
    Site ID.
    AudioStreamSwitch string
    Audio stream switch. Valid values: on, off. Default: on.
    AudioTemplate TeoJustInTimeTranscodeTemplateAudioTemplateArgs
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    Comment string
    Template description. Max length: 256 characters.
    CreateTime string
    Template creation time in ISO 8601 format.
    TemplateId string
    Template ID returned after creation.
    TemplateName string
    Transcode template name. Max length: 64 characters.
    TeoJustInTimeTranscodeTemplateId string
    ID of the resource.
    Type string
    Template type. Values: preset, custom.
    UpdateTime string
    Template last update time in ISO 8601 format.
    VideoStreamSwitch string
    Video stream switch. Valid values: on, off. Default: on.
    VideoTemplate TeoJustInTimeTranscodeTemplateVideoTemplateArgs
    Video stream configuration parameters. Required when video_stream_switch is on.
    ZoneId string
    Site ID.
    audio_stream_switch string
    Audio stream switch. Valid values: on, off. Default: on.
    audio_template object
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment string
    Template description. Max length: 256 characters.
    create_time string
    Template creation time in ISO 8601 format.
    template_id string
    Template ID returned after creation.
    template_name string
    Transcode template name. Max length: 64 characters.
    teo_just_in_time_transcode_template_id string
    ID of the resource.
    type string
    Template type. Values: preset, custom.
    update_time string
    Template last update time in ISO 8601 format.
    video_stream_switch string
    Video stream switch. Valid values: on, off. Default: on.
    video_template object
    Video stream configuration parameters. Required when video_stream_switch is on.
    zone_id string
    Site ID.
    audioStreamSwitch String
    Audio stream switch. Valid values: on, off. Default: on.
    audioTemplate TeoJustInTimeTranscodeTemplateAudioTemplate
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment String
    Template description. Max length: 256 characters.
    createTime String
    Template creation time in ISO 8601 format.
    templateId String
    Template ID returned after creation.
    templateName String
    Transcode template name. Max length: 64 characters.
    teoJustInTimeTranscodeTemplateId String
    ID of the resource.
    type String
    Template type. Values: preset, custom.
    updateTime String
    Template last update time in ISO 8601 format.
    videoStreamSwitch String
    Video stream switch. Valid values: on, off. Default: on.
    videoTemplate TeoJustInTimeTranscodeTemplateVideoTemplate
    Video stream configuration parameters. Required when video_stream_switch is on.
    zoneId String
    Site ID.
    audioStreamSwitch string
    Audio stream switch. Valid values: on, off. Default: on.
    audioTemplate TeoJustInTimeTranscodeTemplateAudioTemplate
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment string
    Template description. Max length: 256 characters.
    createTime string
    Template creation time in ISO 8601 format.
    templateId string
    Template ID returned after creation.
    templateName string
    Transcode template name. Max length: 64 characters.
    teoJustInTimeTranscodeTemplateId string
    ID of the resource.
    type string
    Template type. Values: preset, custom.
    updateTime string
    Template last update time in ISO 8601 format.
    videoStreamSwitch string
    Video stream switch. Valid values: on, off. Default: on.
    videoTemplate TeoJustInTimeTranscodeTemplateVideoTemplate
    Video stream configuration parameters. Required when video_stream_switch is on.
    zoneId string
    Site ID.
    audio_stream_switch str
    Audio stream switch. Valid values: on, off. Default: on.
    audio_template TeoJustInTimeTranscodeTemplateAudioTemplateArgs
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment str
    Template description. Max length: 256 characters.
    create_time str
    Template creation time in ISO 8601 format.
    template_id str
    Template ID returned after creation.
    template_name str
    Transcode template name. Max length: 64 characters.
    teo_just_in_time_transcode_template_id str
    ID of the resource.
    type str
    Template type. Values: preset, custom.
    update_time str
    Template last update time in ISO 8601 format.
    video_stream_switch str
    Video stream switch. Valid values: on, off. Default: on.
    video_template TeoJustInTimeTranscodeTemplateVideoTemplateArgs
    Video stream configuration parameters. Required when video_stream_switch is on.
    zone_id str
    Site ID.
    audioStreamSwitch String
    Audio stream switch. Valid values: on, off. Default: on.
    audioTemplate Property Map
    Audio stream configuration parameters. Required when audio_stream_switch is on.
    comment String
    Template description. Max length: 256 characters.
    createTime String
    Template creation time in ISO 8601 format.
    templateId String
    Template ID returned after creation.
    templateName String
    Transcode template name. Max length: 64 characters.
    teoJustInTimeTranscodeTemplateId String
    ID of the resource.
    type String
    Template type. Values: preset, custom.
    updateTime String
    Template last update time in ISO 8601 format.
    videoStreamSwitch String
    Video stream switch. Valid values: on, off. Default: on.
    videoTemplate Property Map
    Video stream configuration parameters. Required when video_stream_switch is on.
    zoneId String
    Site ID.

    Supporting Types

    TeoJustInTimeTranscodeTemplateAudioTemplate, TeoJustInTimeTranscodeTemplateAudioTemplateArgs

    AudioChannel double
    Audio channel count. Optional values: 2. Default: 2.
    Codec string
    Audio codec. Optional values: libfdk_aac.
    AudioChannel float64
    Audio channel count. Optional values: 2. Default: 2.
    Codec string
    Audio codec. Optional values: libfdk_aac.
    audio_channel number
    Audio channel count. Optional values: 2. Default: 2.
    codec string
    Audio codec. Optional values: libfdk_aac.
    audioChannel Double
    Audio channel count. Optional values: 2. Default: 2.
    codec String
    Audio codec. Optional values: libfdk_aac.
    audioChannel number
    Audio channel count. Optional values: 2. Default: 2.
    codec string
    Audio codec. Optional values: libfdk_aac.
    audio_channel float
    Audio channel count. Optional values: 2. Default: 2.
    codec str
    Audio codec. Optional values: libfdk_aac.
    audioChannel Number
    Audio channel count. Optional values: 2. Default: 2.
    codec String
    Audio codec. Optional values: libfdk_aac.

    TeoJustInTimeTranscodeTemplateVideoTemplate, TeoJustInTimeTranscodeTemplateVideoTemplateArgs

    Bitrate double
    Video bitrate in kbps. Range: 0 or [128, 10000]. Default: 0.
    FillType string
    Fill type. Optional values: stretch, black, white, gauss. Default: black.
    Fps double
    Video frame rate. Range: [0, 30]. Default: 0.
    Height double
    Video height/short-edge in pixels. Range: 0 or [128, 1080]. Default: 0.
    ResolutionAdaptive string
    Resolution adaptive mode. Optional values: open, close. Default: open.
    VideoCodec string
    Video codec. Optional values: H.264, H.265.
    Width double
    Video width/long-edge in pixels. Range: 0 or [128, 1920]. Default: 0.
    Bitrate float64
    Video bitrate in kbps. Range: 0 or [128, 10000]. Default: 0.
    FillType string
    Fill type. Optional values: stretch, black, white, gauss. Default: black.
    Fps float64
    Video frame rate. Range: [0, 30]. Default: 0.
    Height float64
    Video height/short-edge in pixels. Range: 0 or [128, 1080]. Default: 0.
    ResolutionAdaptive string
    Resolution adaptive mode. Optional values: open, close. Default: open.
    VideoCodec string
    Video codec. Optional values: H.264, H.265.
    Width float64
    Video width/long-edge in pixels. Range: 0 or [128, 1920]. Default: 0.
    bitrate number
    Video bitrate in kbps. Range: 0 or [128, 10000]. Default: 0.
    fill_type string
    Fill type. Optional values: stretch, black, white, gauss. Default: black.
    fps number
    Video frame rate. Range: [0, 30]. Default: 0.
    height number
    Video height/short-edge in pixels. Range: 0 or [128, 1080]. Default: 0.
    resolution_adaptive string
    Resolution adaptive mode. Optional values: open, close. Default: open.
    video_codec string
    Video codec. Optional values: H.264, H.265.
    width number
    Video width/long-edge in pixels. Range: 0 or [128, 1920]. Default: 0.
    bitrate Double
    Video bitrate in kbps. Range: 0 or [128, 10000]. Default: 0.
    fillType String
    Fill type. Optional values: stretch, black, white, gauss. Default: black.
    fps Double
    Video frame rate. Range: [0, 30]. Default: 0.
    height Double
    Video height/short-edge in pixels. Range: 0 or [128, 1080]. Default: 0.
    resolutionAdaptive String
    Resolution adaptive mode. Optional values: open, close. Default: open.
    videoCodec String
    Video codec. Optional values: H.264, H.265.
    width Double
    Video width/long-edge in pixels. Range: 0 or [128, 1920]. Default: 0.
    bitrate number
    Video bitrate in kbps. Range: 0 or [128, 10000]. Default: 0.
    fillType string
    Fill type. Optional values: stretch, black, white, gauss. Default: black.
    fps number
    Video frame rate. Range: [0, 30]. Default: 0.
    height number
    Video height/short-edge in pixels. Range: 0 or [128, 1080]. Default: 0.
    resolutionAdaptive string
    Resolution adaptive mode. Optional values: open, close. Default: open.
    videoCodec string
    Video codec. Optional values: H.264, H.265.
    width number
    Video width/long-edge in pixels. Range: 0 or [128, 1920]. Default: 0.
    bitrate float
    Video bitrate in kbps. Range: 0 or [128, 10000]. Default: 0.
    fill_type str
    Fill type. Optional values: stretch, black, white, gauss. Default: black.
    fps float
    Video frame rate. Range: [0, 30]. Default: 0.
    height float
    Video height/short-edge in pixels. Range: 0 or [128, 1080]. Default: 0.
    resolution_adaptive str
    Resolution adaptive mode. Optional values: open, close. Default: open.
    video_codec str
    Video codec. Optional values: H.264, H.265.
    width float
    Video width/long-edge in pixels. Range: 0 or [128, 1920]. Default: 0.
    bitrate Number
    Video bitrate in kbps. Range: 0 or [128, 10000]. Default: 0.
    fillType String
    Fill type. Optional values: stretch, black, white, gauss. Default: black.
    fps Number
    Video frame rate. Range: [0, 30]. Default: 0.
    height Number
    Video height/short-edge in pixels. Range: 0 or [128, 1080]. Default: 0.
    resolutionAdaptive String
    Resolution adaptive mode. Optional values: open, close. Default: open.
    videoCodec String
    Video codec. Optional values: H.264, H.265.
    width Number
    Video width/long-edge in pixels. Range: 0 or [128, 1920]. Default: 0.

    Import

    TEO just-in-time transcode template can be imported using the joint id “zone_id#template_id”, e.g.

    $ pulumi import tencentcloud:index/teoJustInTimeTranscodeTemplate:TeoJustInTimeTranscodeTemplate example zone-2qtuhspy7cr6#jitt-abcdefghij
    

    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.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.