Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getStreamWatermark
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleStreamWatermark = cloudflare.getStreamWatermark({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
identifier: "ea95132c15732412d22c1476fa83f27a",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_stream_watermark = cloudflare.get_stream_watermark(account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupStreamWatermark(ctx, &cloudflare.LookupStreamWatermarkArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
Identifier: "ea95132c15732412d22c1476fa83f27a",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleStreamWatermark = Cloudflare.GetStreamWatermark.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
Identifier = "ea95132c15732412d22c1476fa83f27a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetStreamWatermarkArgs;
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) {
final var exampleStreamWatermark = CloudflareFunctions.getStreamWatermark(GetStreamWatermarkArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.identifier("ea95132c15732412d22c1476fa83f27a")
.build());
}
}
variables:
exampleStreamWatermark:
fn::invoke:
function: cloudflare:getStreamWatermark
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
identifier: ea95132c15732412d22c1476fa83f27a
Using getStreamWatermark
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStreamWatermark(args: GetStreamWatermarkArgs, opts?: InvokeOptions): Promise<GetStreamWatermarkResult>
function getStreamWatermarkOutput(args: GetStreamWatermarkOutputArgs, opts?: InvokeOptions): Output<GetStreamWatermarkResult>
def get_stream_watermark(account_id: Optional[str] = None,
identifier: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStreamWatermarkResult
def get_stream_watermark_output(account_id: Optional[pulumi.Input[str]] = None,
identifier: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStreamWatermarkResult]
func LookupStreamWatermark(ctx *Context, args *LookupStreamWatermarkArgs, opts ...InvokeOption) (*LookupStreamWatermarkResult, error)
func LookupStreamWatermarkOutput(ctx *Context, args *LookupStreamWatermarkOutputArgs, opts ...InvokeOption) LookupStreamWatermarkResultOutput
> Note: This function is named LookupStreamWatermark
in the Go SDK.
public static class GetStreamWatermark
{
public static Task<GetStreamWatermarkResult> InvokeAsync(GetStreamWatermarkArgs args, InvokeOptions? opts = null)
public static Output<GetStreamWatermarkResult> Invoke(GetStreamWatermarkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStreamWatermarkResult> getStreamWatermark(GetStreamWatermarkArgs args, InvokeOptions options)
public static Output<GetStreamWatermarkResult> getStreamWatermark(GetStreamWatermarkArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getStreamWatermark:getStreamWatermark
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - The account identifier tag.
- Identifier string
- The unique identifier for a watermark profile.
- Account
Id string - The account identifier tag.
- Identifier string
- The unique identifier for a watermark profile.
- account
Id String - The account identifier tag.
- identifier String
- The unique identifier for a watermark profile.
- account
Id string - The account identifier tag.
- identifier string
- The unique identifier for a watermark profile.
- account_
id str - The account identifier tag.
- identifier str
- The unique identifier for a watermark profile.
- account
Id String - The account identifier tag.
- identifier String
- The unique identifier for a watermark profile.
getStreamWatermark Result
The following output properties are available:
- Account
Id string - The account identifier tag.
- Created string
- The date and a time a watermark profile was created.
- Downloaded
From string - The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
- Height int
- The height of the image in pixels.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- The unique identifier for a watermark profile.
- Name string
- A short description of the watermark profile.
- Opacity double
- The translucency of the image. A value of
0.0
makes the image completely transparent, and1.0
makes the image completely opaque. Note that if the image is already semi-transparent, setting this to1.0
will not make the image completely opaque. - Padding double
- The whitespace between the adjacent edges (determined by position) of the video and the image.
0.0
indicates no padding, and1.0
indicates a fully padded video width or length, as determined by the algorithm. - Position string
- The location of the image. Valid positions are:
upperRight
,upperLeft
,lowerLeft
,lowerRight
, andcenter
. Note thatcenter
ignores thepadding
parameter. - Scale double
- 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), and1.0
fills the entire video. - Size double
- The size of the image in bytes.
- Uid string
- The unique identifier for a watermark profile.
- Width int
- The width of the image in pixels.
- Account
Id string - The account identifier tag.
- Created string
- The date and a time a watermark profile was created.
- Downloaded
From string - The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
- Height int
- The height of the image in pixels.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- The unique identifier for a watermark profile.
- Name string
- A short description of the watermark profile.
- Opacity float64
- The translucency of the image. A value of
0.0
makes the image completely transparent, and1.0
makes the image completely opaque. Note that if the image is already semi-transparent, setting this to1.0
will not make the image completely opaque. - Padding float64
- The whitespace between the adjacent edges (determined by position) of the video and the image.
0.0
indicates no padding, and1.0
indicates a fully padded video width or length, as determined by the algorithm. - Position string
- The location of the image. Valid positions are:
upperRight
,upperLeft
,lowerLeft
,lowerRight
, andcenter
. Note thatcenter
ignores thepadding
parameter. - Scale float64
- 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), and1.0
fills the entire video. - Size float64
- The size of the image in bytes.
- Uid string
- The unique identifier for a watermark profile.
- Width int
- The width of the image in pixels.
- account
Id String - The account identifier tag.
- created String
- The date and a time a watermark profile was created.
- downloaded
From String - The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
- height Integer
- The height of the image in pixels.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- The unique identifier for a watermark profile.
- name String
- A short description of the watermark profile.
- opacity Double
- The translucency of the image. A value of
0.0
makes the image completely transparent, and1.0
makes the image completely opaque. Note that if the image is already semi-transparent, setting this to1.0
will not make the image completely opaque. - padding Double
- The whitespace between the adjacent edges (determined by position) of the video and the image.
0.0
indicates no padding, and1.0
indicates a fully padded video width or length, as determined by the algorithm. - position String
- The location of the image. Valid positions are:
upperRight
,upperLeft
,lowerLeft
,lowerRight
, andcenter
. Note thatcenter
ignores thepadding
parameter. - scale Double
- 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), and1.0
fills the entire video. - size Double
- The size of the image in bytes.
- uid String
- The unique identifier for a watermark profile.
- width Integer
- The width of the image in pixels.
- account
Id string - The account identifier tag.
- created string
- The date and a time a watermark profile was created.
- downloaded
From string - The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
- height number
- The height of the image in pixels.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- The unique identifier for a watermark profile.
- name string
- A short description of the watermark profile.
- opacity number
- The translucency of the image. A value of
0.0
makes the image completely transparent, and1.0
makes the image completely opaque. Note that if the image is already semi-transparent, setting this to1.0
will not make the image completely opaque. - padding number
- The whitespace between the adjacent edges (determined by position) of the video and the image.
0.0
indicates no padding, and1.0
indicates a fully padded video width or length, as determined by the algorithm. - position string
- The location of the image. Valid positions are:
upperRight
,upperLeft
,lowerLeft
,lowerRight
, andcenter
. Note thatcenter
ignores thepadding
parameter. - scale number
- 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), and1.0
fills the entire video. - size number
- The size of the image in bytes.
- uid string
- The unique identifier for a watermark profile.
- width number
- The width of the image in pixels.
- account_
id str - The account identifier tag.
- created str
- The date and a time a watermark profile was created.
- downloaded_
from str - The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
- height int
- The height of the image in pixels.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- The unique identifier for a watermark profile.
- name str
- A short description of the watermark profile.
- opacity float
- The translucency of the image. A value of
0.0
makes the image completely transparent, and1.0
makes the image completely opaque. Note that if the image is already semi-transparent, setting this to1.0
will not make the image completely opaque. - padding float
- The whitespace between the adjacent edges (determined by position) of the video and the image.
0.0
indicates no padding, and1.0
indicates a fully padded video width or length, as determined by the algorithm. - position str
- The location of the image. Valid positions are:
upperRight
,upperLeft
,lowerLeft
,lowerRight
, andcenter
. Note thatcenter
ignores thepadding
parameter. - scale float
- 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), and1.0
fills the entire video. - size float
- The size of the image in bytes.
- uid str
- The unique identifier for a watermark profile.
- width int
- The width of the image in pixels.
- account
Id String - The account identifier tag.
- created String
- The date and a time a watermark profile was created.
- downloaded
From String - The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
- height Number
- The height of the image in pixels.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- The unique identifier for a watermark profile.
- name String
- A short description of the watermark profile.
- opacity Number
- The translucency of the image. A value of
0.0
makes the image completely transparent, and1.0
makes the image completely opaque. Note that if the image is already semi-transparent, setting this to1.0
will not make the image completely opaque. - padding Number
- The whitespace between the adjacent edges (determined by position) of the video and the image.
0.0
indicates no padding, and1.0
indicates a fully padded video width or length, as determined by the algorithm. - position String
- The location of the image. Valid positions are:
upperRight
,upperLeft
,lowerLeft
,lowerRight
, andcenter
. Note thatcenter
ignores thepadding
parameter. - scale Number
- 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), and1.0
fills the entire video. - size Number
- The size of the image in bytes.
- uid String
- The unique identifier for a watermark profile.
- width Number
- The width of the image in pixels.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.