1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. VodWatermarkTemplate
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.VodWatermarkTemplate

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a vod watermark template

    Create VodWatermarkTemplate Resource

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

    Constructor syntax

    new VodWatermarkTemplate(name: string, args: VodWatermarkTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def VodWatermarkTemplate(resource_name: str,
                             args: VodWatermarkTemplateArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def VodWatermarkTemplate(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             sub_app_id: Optional[float] = None,
                             type: Optional[str] = None,
                             comment: Optional[str] = None,
                             coordinate_origin: Optional[str] = None,
                             image_template: Optional[VodWatermarkTemplateImageTemplateArgs] = None,
                             name: Optional[str] = None,
                             svg_template: Optional[VodWatermarkTemplateSvgTemplateArgs] = None,
                             text_template: Optional[VodWatermarkTemplateTextTemplateArgs] = None,
                             vod_watermark_template_id: Optional[str] = None,
                             x_pos: Optional[str] = None,
                             y_pos: Optional[str] = None)
    func NewVodWatermarkTemplate(ctx *Context, name string, args VodWatermarkTemplateArgs, opts ...ResourceOption) (*VodWatermarkTemplate, error)
    public VodWatermarkTemplate(string name, VodWatermarkTemplateArgs args, CustomResourceOptions? opts = null)
    public VodWatermarkTemplate(String name, VodWatermarkTemplateArgs args)
    public VodWatermarkTemplate(String name, VodWatermarkTemplateArgs args, CustomResourceOptions options)
    
    type: tencentcloud:VodWatermarkTemplate
    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 VodWatermarkTemplateArgs
    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 VodWatermarkTemplateArgs
    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 VodWatermarkTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VodWatermarkTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VodWatermarkTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    SubAppId double
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    Type string
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    Comment string
    Template description. Length limit: 256 characters.
    CoordinateOrigin string
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    ImageTemplate VodWatermarkTemplateImageTemplate
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    Name string
    Watermarking template name. Length limit: 64 characters.
    SvgTemplate VodWatermarkTemplateSvgTemplate
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    TextTemplate VodWatermarkTemplateTextTemplate
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    VodWatermarkTemplateId string
    ID of the resource.
    XPos string
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    YPos string
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    SubAppId float64
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    Type string
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    Comment string
    Template description. Length limit: 256 characters.
    CoordinateOrigin string
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    ImageTemplate VodWatermarkTemplateImageTemplateArgs
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    Name string
    Watermarking template name. Length limit: 64 characters.
    SvgTemplate VodWatermarkTemplateSvgTemplateArgs
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    TextTemplate VodWatermarkTemplateTextTemplateArgs
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    VodWatermarkTemplateId string
    ID of the resource.
    XPos string
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    YPos string
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    subAppId Double
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    type String
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    comment String
    Template description. Length limit: 256 characters.
    coordinateOrigin String
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    imageTemplate VodWatermarkTemplateImageTemplate
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    name String
    Watermarking template name. Length limit: 64 characters.
    svgTemplate VodWatermarkTemplateSvgTemplate
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    textTemplate VodWatermarkTemplateTextTemplate
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    vodWatermarkTemplateId String
    ID of the resource.
    xPos String
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    yPos String
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    subAppId number
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    type string
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    comment string
    Template description. Length limit: 256 characters.
    coordinateOrigin string
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    imageTemplate VodWatermarkTemplateImageTemplate
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    name string
    Watermarking template name. Length limit: 64 characters.
    svgTemplate VodWatermarkTemplateSvgTemplate
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    textTemplate VodWatermarkTemplateTextTemplate
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    vodWatermarkTemplateId string
    ID of the resource.
    xPos string
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    yPos string
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    sub_app_id float
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    type str
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    comment str
    Template description. Length limit: 256 characters.
    coordinate_origin str
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    image_template VodWatermarkTemplateImageTemplateArgs
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    name str
    Watermarking template name. Length limit: 64 characters.
    svg_template VodWatermarkTemplateSvgTemplateArgs
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    text_template VodWatermarkTemplateTextTemplateArgs
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    vod_watermark_template_id str
    ID of the resource.
    x_pos str
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    y_pos str
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    subAppId Number
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    type String
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    comment String
    Template description. Length limit: 256 characters.
    coordinateOrigin String
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    imageTemplate Property Map
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    name String
    Watermarking template name. Length limit: 64 characters.
    svgTemplate Property Map
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    textTemplate Property Map
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    vodWatermarkTemplateId String
    ID of the resource.
    xPos String
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    yPos String
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VodWatermarkTemplate Resource

    Get an existing VodWatermarkTemplate 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?: VodWatermarkTemplateState, opts?: CustomResourceOptions): VodWatermarkTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            coordinate_origin: Optional[str] = None,
            image_template: Optional[VodWatermarkTemplateImageTemplateArgs] = None,
            name: Optional[str] = None,
            sub_app_id: Optional[float] = None,
            svg_template: Optional[VodWatermarkTemplateSvgTemplateArgs] = None,
            text_template: Optional[VodWatermarkTemplateTextTemplateArgs] = None,
            type: Optional[str] = None,
            vod_watermark_template_id: Optional[str] = None,
            x_pos: Optional[str] = None,
            y_pos: Optional[str] = None) -> VodWatermarkTemplate
    func GetVodWatermarkTemplate(ctx *Context, name string, id IDInput, state *VodWatermarkTemplateState, opts ...ResourceOption) (*VodWatermarkTemplate, error)
    public static VodWatermarkTemplate Get(string name, Input<string> id, VodWatermarkTemplateState? state, CustomResourceOptions? opts = null)
    public static VodWatermarkTemplate get(String name, Output<String> id, VodWatermarkTemplateState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:VodWatermarkTemplate    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:
    Comment string
    Template description. Length limit: 256 characters.
    CoordinateOrigin string
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    ImageTemplate VodWatermarkTemplateImageTemplate
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    Name string
    Watermarking template name. Length limit: 64 characters.
    SubAppId double
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    SvgTemplate VodWatermarkTemplateSvgTemplate
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    TextTemplate VodWatermarkTemplateTextTemplate
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    Type string
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    VodWatermarkTemplateId string
    ID of the resource.
    XPos string
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    YPos string
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    Comment string
    Template description. Length limit: 256 characters.
    CoordinateOrigin string
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    ImageTemplate VodWatermarkTemplateImageTemplateArgs
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    Name string
    Watermarking template name. Length limit: 64 characters.
    SubAppId float64
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    SvgTemplate VodWatermarkTemplateSvgTemplateArgs
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    TextTemplate VodWatermarkTemplateTextTemplateArgs
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    Type string
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    VodWatermarkTemplateId string
    ID of the resource.
    XPos string
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    YPos string
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    comment String
    Template description. Length limit: 256 characters.
    coordinateOrigin String
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    imageTemplate VodWatermarkTemplateImageTemplate
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    name String
    Watermarking template name. Length limit: 64 characters.
    subAppId Double
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    svgTemplate VodWatermarkTemplateSvgTemplate
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    textTemplate VodWatermarkTemplateTextTemplate
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    type String
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    vodWatermarkTemplateId String
    ID of the resource.
    xPos String
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    yPos String
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    comment string
    Template description. Length limit: 256 characters.
    coordinateOrigin string
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    imageTemplate VodWatermarkTemplateImageTemplate
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    name string
    Watermarking template name. Length limit: 64 characters.
    subAppId number
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    svgTemplate VodWatermarkTemplateSvgTemplate
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    textTemplate VodWatermarkTemplateTextTemplate
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    type string
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    vodWatermarkTemplateId string
    ID of the resource.
    xPos string
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    yPos string
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    comment str
    Template description. Length limit: 256 characters.
    coordinate_origin str
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    image_template VodWatermarkTemplateImageTemplateArgs
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    name str
    Watermarking template name. Length limit: 64 characters.
    sub_app_id float
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    svg_template VodWatermarkTemplateSvgTemplateArgs
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    text_template VodWatermarkTemplateTextTemplateArgs
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    type str
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    vod_watermark_template_id str
    ID of the resource.
    x_pos str
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    y_pos str
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.
    comment String
    Template description. Length limit: 256 characters.
    coordinateOrigin String
    Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft.
    imageTemplate Property Map
    Image watermarking template. This field is required when Type is image and is invalid when Type is text.
    name String
    Watermarking template name. Length limit: 64 characters.
    subAppId Number
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    svgTemplate Property Map
    SVG watermarking template. This field is required when Type is svg and is invalid when Type is image or text.
    textTemplate Property Map
    Text watermarking template. This field is required when Type is text and is invalid when Type is image.
    type String
    Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark.
    vodWatermarkTemplateId String
    ID of the resource.
    xPos String
    The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the XPos of the watermark will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in px, the XPos of the watermark will be the specified px; for example, 100px means that XPos is 100 px.Default value: 0 px.
    yPos String
    The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the YPos of the watermark will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in px, the YPos of the watermark will be the specified px; for example, 100px means that YPos is 100 px.Default value: 0 px.

    Supporting Types

    VodWatermarkTemplateImageTemplate, VodWatermarkTemplateImageTemplateArgs

    ImageContent string
    The Base64 encoded string of a watermark image. Only JPEG, PNG, and GIF images are supported.
    Height string
    Watermark height. % and px formats are supported: If the string ends in %, the Height of the watermark will be the specified percentage of the video height; for example, 10% means that Height is 10% of the video height; If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px. Valid values: 0 or [8,4096]. Default value: 0 px, which means that Height will be proportionally scaled according to the aspect ratio of the original watermark image.
    RepeatType string
    Repeat type of an animated watermark. Valid values: once: no longer appears after watermark playback ends. repeat_last_frame: stays on the last frame after watermark playback ends. repeat (default): repeats the playback until the video ends.
    Transparency double
    Image watermark transparency: 0: completely opaque 100: completely transparent Default value: 0.
    Width string
    Watermark width. % and px formats are supported: If the string ends in %, the Width of the watermark will be the specified percentage of the video width. For example, 10% means that Width is 10% of the video width; If the string ends in px, the Width of the watermark will be in pixels. For example, 100px means that Width is 100 pixels. Value range: [8, 4096]. Default value: 10%.
    ImageContent string
    The Base64 encoded string of a watermark image. Only JPEG, PNG, and GIF images are supported.
    Height string
    Watermark height. % and px formats are supported: If the string ends in %, the Height of the watermark will be the specified percentage of the video height; for example, 10% means that Height is 10% of the video height; If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px. Valid values: 0 or [8,4096]. Default value: 0 px, which means that Height will be proportionally scaled according to the aspect ratio of the original watermark image.
    RepeatType string
    Repeat type of an animated watermark. Valid values: once: no longer appears after watermark playback ends. repeat_last_frame: stays on the last frame after watermark playback ends. repeat (default): repeats the playback until the video ends.
    Transparency float64
    Image watermark transparency: 0: completely opaque 100: completely transparent Default value: 0.
    Width string
    Watermark width. % and px formats are supported: If the string ends in %, the Width of the watermark will be the specified percentage of the video width. For example, 10% means that Width is 10% of the video width; If the string ends in px, the Width of the watermark will be in pixels. For example, 100px means that Width is 100 pixels. Value range: [8, 4096]. Default value: 10%.
    imageContent String
    The Base64 encoded string of a watermark image. Only JPEG, PNG, and GIF images are supported.
    height String
    Watermark height. % and px formats are supported: If the string ends in %, the Height of the watermark will be the specified percentage of the video height; for example, 10% means that Height is 10% of the video height; If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px. Valid values: 0 or [8,4096]. Default value: 0 px, which means that Height will be proportionally scaled according to the aspect ratio of the original watermark image.
    repeatType String
    Repeat type of an animated watermark. Valid values: once: no longer appears after watermark playback ends. repeat_last_frame: stays on the last frame after watermark playback ends. repeat (default): repeats the playback until the video ends.
    transparency Double
    Image watermark transparency: 0: completely opaque 100: completely transparent Default value: 0.
    width String
    Watermark width. % and px formats are supported: If the string ends in %, the Width of the watermark will be the specified percentage of the video width. For example, 10% means that Width is 10% of the video width; If the string ends in px, the Width of the watermark will be in pixels. For example, 100px means that Width is 100 pixels. Value range: [8, 4096]. Default value: 10%.
    imageContent string
    The Base64 encoded string of a watermark image. Only JPEG, PNG, and GIF images are supported.
    height string
    Watermark height. % and px formats are supported: If the string ends in %, the Height of the watermark will be the specified percentage of the video height; for example, 10% means that Height is 10% of the video height; If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px. Valid values: 0 or [8,4096]. Default value: 0 px, which means that Height will be proportionally scaled according to the aspect ratio of the original watermark image.
    repeatType string
    Repeat type of an animated watermark. Valid values: once: no longer appears after watermark playback ends. repeat_last_frame: stays on the last frame after watermark playback ends. repeat (default): repeats the playback until the video ends.
    transparency number
    Image watermark transparency: 0: completely opaque 100: completely transparent Default value: 0.
    width string
    Watermark width. % and px formats are supported: If the string ends in %, the Width of the watermark will be the specified percentage of the video width. For example, 10% means that Width is 10% of the video width; If the string ends in px, the Width of the watermark will be in pixels. For example, 100px means that Width is 100 pixels. Value range: [8, 4096]. Default value: 10%.
    image_content str
    The Base64 encoded string of a watermark image. Only JPEG, PNG, and GIF images are supported.
    height str
    Watermark height. % and px formats are supported: If the string ends in %, the Height of the watermark will be the specified percentage of the video height; for example, 10% means that Height is 10% of the video height; If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px. Valid values: 0 or [8,4096]. Default value: 0 px, which means that Height will be proportionally scaled according to the aspect ratio of the original watermark image.
    repeat_type str
    Repeat type of an animated watermark. Valid values: once: no longer appears after watermark playback ends. repeat_last_frame: stays on the last frame after watermark playback ends. repeat (default): repeats the playback until the video ends.
    transparency float
    Image watermark transparency: 0: completely opaque 100: completely transparent Default value: 0.
    width str
    Watermark width. % and px formats are supported: If the string ends in %, the Width of the watermark will be the specified percentage of the video width. For example, 10% means that Width is 10% of the video width; If the string ends in px, the Width of the watermark will be in pixels. For example, 100px means that Width is 100 pixels. Value range: [8, 4096]. Default value: 10%.
    imageContent String
    The Base64 encoded string of a watermark image. Only JPEG, PNG, and GIF images are supported.
    height String
    Watermark height. % and px formats are supported: If the string ends in %, the Height of the watermark will be the specified percentage of the video height; for example, 10% means that Height is 10% of the video height; If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px. Valid values: 0 or [8,4096]. Default value: 0 px, which means that Height will be proportionally scaled according to the aspect ratio of the original watermark image.
    repeatType String
    Repeat type of an animated watermark. Valid values: once: no longer appears after watermark playback ends. repeat_last_frame: stays on the last frame after watermark playback ends. repeat (default): repeats the playback until the video ends.
    transparency Number
    Image watermark transparency: 0: completely opaque 100: completely transparent Default value: 0.
    width String
    Watermark width. % and px formats are supported: If the string ends in %, the Width of the watermark will be the specified percentage of the video width. For example, 10% means that Width is 10% of the video width; If the string ends in px, the Width of the watermark will be in pixels. For example, 100px means that Width is 100 pixels. Value range: [8, 4096]. Default value: 10%.

    VodWatermarkTemplateSvgTemplate, VodWatermarkTemplateSvgTemplateArgs

    Height string
    Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px; if 0px is entered and Width is not 0px, the watermark height will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark height will be the height of the source SVG image; If the string ends in W%, the Height of the watermark will be the specified percentage of the video width; for example, 10W% means that Height is 10% of the video width; If the string ends in H%, the Height of the watermark will be the specified percentage of the video height; for example, 10H% means that Height is 10% of the video height; If the string ends in S%, the Height of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Height is 10% of the short side of the video; If the string ends in L%, the Height of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Height is 10% of the long side of the video; If the string ends in %, the meaning is the same as H%. Default value: 0 px.
    Width string
    Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Width of the watermark will be in px; for example, 100px means that Width is 100 px; if 0px is entered and Height is not 0px, the watermark width will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark width will be the width of the source SVG image; If the string ends in W%, the Width of the watermark will be the specified percentage of the video width; for example, 10W% means that Width is 10% of the video width; If the string ends in H%, the Width of the watermark will be the specified percentage of the video height; for example, 10H% means that Width is 10% of the video height; If the string ends in S%, the Width of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Width is 10% of the short side of the video; If the string ends in L%, the Width of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Width is 10% of the long side of the video; If the string ends in %, the meaning is the same as W%. Default value: 10W%.
    Height string
    Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px; if 0px is entered and Width is not 0px, the watermark height will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark height will be the height of the source SVG image; If the string ends in W%, the Height of the watermark will be the specified percentage of the video width; for example, 10W% means that Height is 10% of the video width; If the string ends in H%, the Height of the watermark will be the specified percentage of the video height; for example, 10H% means that Height is 10% of the video height; If the string ends in S%, the Height of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Height is 10% of the short side of the video; If the string ends in L%, the Height of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Height is 10% of the long side of the video; If the string ends in %, the meaning is the same as H%. Default value: 0 px.
    Width string
    Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Width of the watermark will be in px; for example, 100px means that Width is 100 px; if 0px is entered and Height is not 0px, the watermark width will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark width will be the width of the source SVG image; If the string ends in W%, the Width of the watermark will be the specified percentage of the video width; for example, 10W% means that Width is 10% of the video width; If the string ends in H%, the Width of the watermark will be the specified percentage of the video height; for example, 10H% means that Width is 10% of the video height; If the string ends in S%, the Width of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Width is 10% of the short side of the video; If the string ends in L%, the Width of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Width is 10% of the long side of the video; If the string ends in %, the meaning is the same as W%. Default value: 10W%.
    height String
    Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px; if 0px is entered and Width is not 0px, the watermark height will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark height will be the height of the source SVG image; If the string ends in W%, the Height of the watermark will be the specified percentage of the video width; for example, 10W% means that Height is 10% of the video width; If the string ends in H%, the Height of the watermark will be the specified percentage of the video height; for example, 10H% means that Height is 10% of the video height; If the string ends in S%, the Height of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Height is 10% of the short side of the video; If the string ends in L%, the Height of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Height is 10% of the long side of the video; If the string ends in %, the meaning is the same as H%. Default value: 0 px.
    width String
    Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Width of the watermark will be in px; for example, 100px means that Width is 100 px; if 0px is entered and Height is not 0px, the watermark width will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark width will be the width of the source SVG image; If the string ends in W%, the Width of the watermark will be the specified percentage of the video width; for example, 10W% means that Width is 10% of the video width; If the string ends in H%, the Width of the watermark will be the specified percentage of the video height; for example, 10H% means that Width is 10% of the video height; If the string ends in S%, the Width of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Width is 10% of the short side of the video; If the string ends in L%, the Width of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Width is 10% of the long side of the video; If the string ends in %, the meaning is the same as W%. Default value: 10W%.
    height string
    Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px; if 0px is entered and Width is not 0px, the watermark height will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark height will be the height of the source SVG image; If the string ends in W%, the Height of the watermark will be the specified percentage of the video width; for example, 10W% means that Height is 10% of the video width; If the string ends in H%, the Height of the watermark will be the specified percentage of the video height; for example, 10H% means that Height is 10% of the video height; If the string ends in S%, the Height of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Height is 10% of the short side of the video; If the string ends in L%, the Height of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Height is 10% of the long side of the video; If the string ends in %, the meaning is the same as H%. Default value: 0 px.
    width string
    Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Width of the watermark will be in px; for example, 100px means that Width is 100 px; if 0px is entered and Height is not 0px, the watermark width will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark width will be the width of the source SVG image; If the string ends in W%, the Width of the watermark will be the specified percentage of the video width; for example, 10W% means that Width is 10% of the video width; If the string ends in H%, the Width of the watermark will be the specified percentage of the video height; for example, 10H% means that Width is 10% of the video height; If the string ends in S%, the Width of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Width is 10% of the short side of the video; If the string ends in L%, the Width of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Width is 10% of the long side of the video; If the string ends in %, the meaning is the same as W%. Default value: 10W%.
    height str
    Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px; if 0px is entered and Width is not 0px, the watermark height will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark height will be the height of the source SVG image; If the string ends in W%, the Height of the watermark will be the specified percentage of the video width; for example, 10W% means that Height is 10% of the video width; If the string ends in H%, the Height of the watermark will be the specified percentage of the video height; for example, 10H% means that Height is 10% of the video height; If the string ends in S%, the Height of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Height is 10% of the short side of the video; If the string ends in L%, the Height of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Height is 10% of the long side of the video; If the string ends in %, the meaning is the same as H%. Default value: 0 px.
    width str
    Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Width of the watermark will be in px; for example, 100px means that Width is 100 px; if 0px is entered and Height is not 0px, the watermark width will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark width will be the width of the source SVG image; If the string ends in W%, the Width of the watermark will be the specified percentage of the video width; for example, 10W% means that Width is 10% of the video width; If the string ends in H%, the Width of the watermark will be the specified percentage of the video height; for example, 10H% means that Width is 10% of the video height; If the string ends in S%, the Width of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Width is 10% of the short side of the video; If the string ends in L%, the Width of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Width is 10% of the long side of the video; If the string ends in %, the meaning is the same as W%. Default value: 10W%.
    height String
    Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Height of the watermark will be in px; for example, 100px means that Height is 100 px; if 0px is entered and Width is not 0px, the watermark height will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark height will be the height of the source SVG image; If the string ends in W%, the Height of the watermark will be the specified percentage of the video width; for example, 10W% means that Height is 10% of the video width; If the string ends in H%, the Height of the watermark will be the specified percentage of the video height; for example, 10H% means that Height is 10% of the video height; If the string ends in S%, the Height of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Height is 10% of the short side of the video; If the string ends in L%, the Height of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Height is 10% of the long side of the video; If the string ends in %, the meaning is the same as H%. Default value: 0 px.
    width String
    Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the Width of the watermark will be in px; for example, 100px means that Width is 100 px; if 0px is entered and Height is not 0px, the watermark width will be proportionally scaled based on the source SVG image; if 0px is entered for both Width and Height, the watermark width will be the width of the source SVG image; If the string ends in W%, the Width of the watermark will be the specified percentage of the video width; for example, 10W% means that Width is 10% of the video width; If the string ends in H%, the Width of the watermark will be the specified percentage of the video height; for example, 10H% means that Width is 10% of the video height; If the string ends in S%, the Width of the watermark will be the specified percentage of the short side of the video; for example, 10S% means that Width is 10% of the short side of the video; If the string ends in L%, the Width of the watermark will be the specified percentage of the long side of the video; for example, 10L% means that Width is 10% of the long side of the video; If the string ends in %, the meaning is the same as W%. Default value: 10W%.

    VodWatermarkTemplateTextTemplate, VodWatermarkTemplateTextTemplateArgs

    FontAlpha double
    Text transparency. Value range: (0, 1] 0: completely transparent 1: completely opaque Default value: 1.
    FontColor string
    Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white).
    FontSize string
    Font size in Npx format where N is a numeric value.
    FontType string
    Font type. Currently, two types are supported: simkai.ttf: both Chinese and English are supported; arial.ttf: only English is supported.
    FontAlpha float64
    Text transparency. Value range: (0, 1] 0: completely transparent 1: completely opaque Default value: 1.
    FontColor string
    Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white).
    FontSize string
    Font size in Npx format where N is a numeric value.
    FontType string
    Font type. Currently, two types are supported: simkai.ttf: both Chinese and English are supported; arial.ttf: only English is supported.
    fontAlpha Double
    Text transparency. Value range: (0, 1] 0: completely transparent 1: completely opaque Default value: 1.
    fontColor String
    Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white).
    fontSize String
    Font size in Npx format where N is a numeric value.
    fontType String
    Font type. Currently, two types are supported: simkai.ttf: both Chinese and English are supported; arial.ttf: only English is supported.
    fontAlpha number
    Text transparency. Value range: (0, 1] 0: completely transparent 1: completely opaque Default value: 1.
    fontColor string
    Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white).
    fontSize string
    Font size in Npx format where N is a numeric value.
    fontType string
    Font type. Currently, two types are supported: simkai.ttf: both Chinese and English are supported; arial.ttf: only English is supported.
    font_alpha float
    Text transparency. Value range: (0, 1] 0: completely transparent 1: completely opaque Default value: 1.
    font_color str
    Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white).
    font_size str
    Font size in Npx format where N is a numeric value.
    font_type str
    Font type. Currently, two types are supported: simkai.ttf: both Chinese and English are supported; arial.ttf: only English is supported.
    fontAlpha Number
    Text transparency. Value range: (0, 1] 0: completely transparent 1: completely opaque Default value: 1.
    fontColor String
    Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white).
    fontSize String
    Font size in Npx format where N is a numeric value.
    fontType String
    Font type. Currently, two types are supported: simkai.ttf: both Chinese and English are supported; arial.ttf: only English is supported.

    Import

    vod watermark template can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/vodWatermarkTemplate:VodWatermarkTemplate watermark_template $subAppId#$templateId
    

    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.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack