import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleStreamWatermark = new cloudflare.StreamWatermark("example_stream_watermark", { * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * file: "@/Users/rchen/Downloads/watermark.png", * name: "Marketing Videos", * opacity: 0.75, * padding: 0.1, * position: "center", * scale: 0.1, * }); * ``` */ export declare class StreamWatermark extends pulumi.CustomResource { /** * Get an existing StreamWatermark 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, state?: StreamWatermarkState, opts?: pulumi.CustomResourceOptions): StreamWatermark; /** * Returns true if the given object is an instance of StreamWatermark. 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 StreamWatermark; /** * The account identifier tag. */ readonly accountId: pulumi.Output; /** * The date and a time a watermark profile was created. */ readonly created: pulumi.Output; /** * The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null. */ readonly downloadedFrom: pulumi.Output; /** * The image file to upload. */ readonly file: pulumi.Output; /** * The height of the image in pixels. */ readonly height: pulumi.Output; /** * The unique identifier for a watermark profile. */ readonly identifier: pulumi.Output; /** * A short description of the watermark profile. */ readonly name: pulumi.Output; /** * The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, setting this to `1.0` will not make the image completely opaque. */ readonly opacity: pulumi.Output; /** * The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as determined by the algorithm. */ readonly padding: pulumi.Output; /** * The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter. */ readonly position: pulumi.Output; /** * The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the image as-is), and `1.0`fills the entire video. */ readonly scale: pulumi.Output; /** * The size of the image in bytes. */ readonly size: pulumi.Output; /** * The unique identifier for a watermark profile. */ readonly uid: pulumi.Output; /** * The width of the image in pixels. */ readonly width: pulumi.Output; /** * Create a StreamWatermark 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: StreamWatermarkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StreamWatermark resources. */ export interface StreamWatermarkState { /** * The account identifier tag. */ accountId?: pulumi.Input; /** * The date and a time a watermark profile was created. */ created?: pulumi.Input; /** * The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null. */ downloadedFrom?: pulumi.Input; /** * The image file to upload. */ file?: pulumi.Input; /** * The height of the image in pixels. */ height?: pulumi.Input; /** * The unique identifier for a watermark profile. */ identifier?: pulumi.Input; /** * A short description of the watermark profile. */ name?: pulumi.Input; /** * The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, setting this to `1.0` will not make the image completely opaque. */ opacity?: pulumi.Input; /** * The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as determined by the algorithm. */ padding?: pulumi.Input; /** * The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter. */ position?: pulumi.Input; /** * The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the image as-is), and `1.0`fills the entire video. */ scale?: pulumi.Input; /** * The size of the image in bytes. */ size?: pulumi.Input; /** * The unique identifier for a watermark profile. */ uid?: pulumi.Input; /** * The width of the image in pixels. */ width?: pulumi.Input; } /** * The set of arguments for constructing a StreamWatermark resource. */ export interface StreamWatermarkArgs { /** * The account identifier tag. */ accountId: pulumi.Input; /** * The image file to upload. */ file: pulumi.Input; /** * The unique identifier for a watermark profile. */ identifier?: pulumi.Input; /** * A short description of the watermark profile. */ name?: pulumi.Input; /** * The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, setting this to `1.0` will not make the image completely opaque. */ opacity?: pulumi.Input; /** * The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as determined by the algorithm. */ padding?: pulumi.Input; /** * The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter. */ position?: pulumi.Input; /** * The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the image as-is), and `1.0`fills the entire video. */ scale?: pulumi.Input; }