import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a VOD watermark template resource within HuaweiCloud.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as huaweicloud from "@pulumi/huaweicloud";
 *
 * const test = new huaweicloud.Vod.WatermarkTemplate("test", {
 *     height: "0.1",
 *     horizontalOffset: "0.05",
 *     imageFile: "./test.PNG",
 *     imageProcess: "ORIGINAL",
 *     imageType: "PNG",
 *     position: "TOPLEFT",
 *     verticalOffset: "0.05",
 *     width: "0.1",
 * });
 * ```
 *
 * ## Import
 *
 * The template can be imported using the `id`, e.g. bash
 *
 * ```sh
 *  $ pulumi import huaweicloud:Vod/watermarkTemplate:WatermarkTemplate test 81ac58796e25842ee2e90a904aa8a719
 * ```
 *
 *  Note that the imported state may not be identical to your resource definition, due to some attributes missing from the API response, security or some other reason. The missing attributes include`image_file`. It is generally recommended running `terraform plan` after importing a watermark template. You can then decide if changes should be applied to the watermark template, or the resource definition should be updated to align with the watermark template. Also you can ignore changes as below. hcl resource "huaweicloud_vod_watermark_template" "test" {
 *
 *  ...
 *
 *  lifecycle {
 *
 *  ignore_changes = [
 *
 *  image_file,
 *
 *  ]
 *
 *  } }
 */
export declare class WatermarkTemplate extends pulumi.CustomResource {
    /**
     * Get an existing WatermarkTemplate resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WatermarkTemplateState, opts?: pulumi.CustomResourceOptions): WatermarkTemplate;
    /**
     * Returns true if the given object is an instance of WatermarkTemplate.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is WatermarkTemplate;
    /**
     * Specifies height ratio of the watermark image relative to the output video.
     * The value range is (0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0.01**.
     */
    readonly height: pulumi.Output<string | undefined>;
    /**
     * Specifies horizontal offset ratio of the watermark image relative to the
     * output video. The value range is [0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0**.
     */
    readonly horizontalOffset: pulumi.Output<string | undefined>;
    /**
     * Specifies the image file name, e.g. './test.png'.
     * Changing this creates a new resource.
     */
    readonly imageFile: pulumi.Output<string>;
    /**
     * Specifies the image process. The valid values are:
     * + **TRANSPARENT**: make the background color transparent.
     * + **ORIGINAL**: only simple scaling, no other processing.
     * + **GRAYED**: make the color image grayed.
     */
    readonly imageProcess: pulumi.Output<string | undefined>;
    /**
     * Specifies the image file type. The valid values are **PNG**, **JPG**
     * and **JPEG**. Changing this creates a new resource.
     */
    readonly imageType: pulumi.Output<string>;
    /**
     * The watermark image URL.
     */
    readonly imageUrl: pulumi.Output<string>;
    /**
     * Specifies the template name, which contains a maximum of `128` characters.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Specifies the location of the watermark. The valid values are **TOPRIGHT**,
     * **TOPLEFT**, **BOTTOMRIGHT** and **BOTTOMLEFT**. Defaults to: **TOPRIGHT**.
     */
    readonly position: pulumi.Output<string | undefined>;
    /**
     * Specifies the region in which to create the resource. If omitted, the
     * provider-level region will be used. Changing this creates a new resource.
     */
    readonly region: pulumi.Output<string>;
    /**
     * Specifies the watermark duration (Unit: second). The value is a digit
     * greater than or equal to **0**. By default, the watermark lasts until the end of the video.
     */
    readonly timelineDuration: pulumi.Output<string | undefined>;
    /**
     * Specifies the watermark start time (Unit: second). The value is a digit
     * greater than or equal to **0**. Defaults to: **0**.
     */
    readonly timelineStart: pulumi.Output<string | undefined>;
    /**
     * Specifies vertical offset ratio of the watermark image relative to the
     * output video. The value range is [0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0**.
     */
    readonly verticalOffset: pulumi.Output<string | undefined>;
    /**
     * The watermark type.
     */
    readonly watermarkType: pulumi.Output<string>;
    /**
     * Specifies width ratio of the watermark image relative to the output video.
     * The value range is (0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0.01**.
     */
    readonly width: pulumi.Output<string | undefined>;
    /**
     * Create a WatermarkTemplate resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: WatermarkTemplateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering WatermarkTemplate resources.
 */
export interface WatermarkTemplateState {
    /**
     * Specifies height ratio of the watermark image relative to the output video.
     * The value range is (0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0.01**.
     */
    height?: pulumi.Input<string>;
    /**
     * Specifies horizontal offset ratio of the watermark image relative to the
     * output video. The value range is [0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0**.
     */
    horizontalOffset?: pulumi.Input<string>;
    /**
     * Specifies the image file name, e.g. './test.png'.
     * Changing this creates a new resource.
     */
    imageFile?: pulumi.Input<string>;
    /**
     * Specifies the image process. The valid values are:
     * + **TRANSPARENT**: make the background color transparent.
     * + **ORIGINAL**: only simple scaling, no other processing.
     * + **GRAYED**: make the color image grayed.
     */
    imageProcess?: pulumi.Input<string>;
    /**
     * Specifies the image file type. The valid values are **PNG**, **JPG**
     * and **JPEG**. Changing this creates a new resource.
     */
    imageType?: pulumi.Input<string>;
    /**
     * The watermark image URL.
     */
    imageUrl?: pulumi.Input<string>;
    /**
     * Specifies the template name, which contains a maximum of `128` characters.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the location of the watermark. The valid values are **TOPRIGHT**,
     * **TOPLEFT**, **BOTTOMRIGHT** and **BOTTOMLEFT**. Defaults to: **TOPRIGHT**.
     */
    position?: pulumi.Input<string>;
    /**
     * Specifies the region in which to create the resource. If omitted, the
     * provider-level region will be used. Changing this creates a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the watermark duration (Unit: second). The value is a digit
     * greater than or equal to **0**. By default, the watermark lasts until the end of the video.
     */
    timelineDuration?: pulumi.Input<string>;
    /**
     * Specifies the watermark start time (Unit: second). The value is a digit
     * greater than or equal to **0**. Defaults to: **0**.
     */
    timelineStart?: pulumi.Input<string>;
    /**
     * Specifies vertical offset ratio of the watermark image relative to the
     * output video. The value range is [0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0**.
     */
    verticalOffset?: pulumi.Input<string>;
    /**
     * The watermark type.
     */
    watermarkType?: pulumi.Input<string>;
    /**
     * Specifies width ratio of the watermark image relative to the output video.
     * The value range is (0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0.01**.
     */
    width?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a WatermarkTemplate resource.
 */
export interface WatermarkTemplateArgs {
    /**
     * Specifies height ratio of the watermark image relative to the output video.
     * The value range is (0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0.01**.
     */
    height?: pulumi.Input<string>;
    /**
     * Specifies horizontal offset ratio of the watermark image relative to the
     * output video. The value range is [0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0**.
     */
    horizontalOffset?: pulumi.Input<string>;
    /**
     * Specifies the image file name, e.g. './test.png'.
     * Changing this creates a new resource.
     */
    imageFile: pulumi.Input<string>;
    /**
     * Specifies the image process. The valid values are:
     * + **TRANSPARENT**: make the background color transparent.
     * + **ORIGINAL**: only simple scaling, no other processing.
     * + **GRAYED**: make the color image grayed.
     */
    imageProcess?: pulumi.Input<string>;
    /**
     * Specifies the image file type. The valid values are **PNG**, **JPG**
     * and **JPEG**. Changing this creates a new resource.
     */
    imageType: pulumi.Input<string>;
    /**
     * Specifies the template name, which contains a maximum of `128` characters.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the location of the watermark. The valid values are **TOPRIGHT**,
     * **TOPLEFT**, **BOTTOMRIGHT** and **BOTTOMLEFT**. Defaults to: **TOPRIGHT**.
     */
    position?: pulumi.Input<string>;
    /**
     * Specifies the region in which to create the resource. If omitted, the
     * provider-level region will be used. Changing this creates a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the watermark duration (Unit: second). The value is a digit
     * greater than or equal to **0**. By default, the watermark lasts until the end of the video.
     */
    timelineDuration?: pulumi.Input<string>;
    /**
     * Specifies the watermark start time (Unit: second). The value is a digit
     * greater than or equal to **0**. Defaults to: **0**.
     */
    timelineStart?: pulumi.Input<string>;
    /**
     * Specifies vertical offset ratio of the watermark image relative to the
     * output video. The value range is [0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0**.
     */
    verticalOffset?: pulumi.Input<string>;
    /**
     * Specifies width ratio of the watermark image relative to the output video.
     * The value range is (0, 1). It supports 4 decimal places, e.g. 0.9999, the excess will be
     * automatically discarded. Defaults to: **0.01**.
     */
    width?: pulumi.Input<string>;
}
