1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getStreamWatermarks
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.getStreamWatermarks

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleStreamWatermarks = cloudflare.getStreamWatermarks({
    accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_stream_watermarks = cloudflare.get_stream_watermarks(account_id="023e105f4ecef8ad9ca31a8372d0c353")
Copy
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.LookupStreamWatermarks(ctx, &cloudflare.LookupStreamWatermarksArgs{
			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleStreamWatermarks = Cloudflare.GetStreamWatermarks.Invoke(new()
    {
        AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
    });

});
Copy
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.GetStreamWatermarksArgs;
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 exampleStreamWatermarks = CloudflareFunctions.getStreamWatermarks(GetStreamWatermarksArgs.builder()
            .accountId("023e105f4ecef8ad9ca31a8372d0c353")
            .build());

    }
}
Copy
variables:
  exampleStreamWatermarks:
    fn::invoke:
      function: cloudflare:getStreamWatermarks
      arguments:
        accountId: 023e105f4ecef8ad9ca31a8372d0c353
Copy

Using getStreamWatermarks

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 getStreamWatermarks(args: GetStreamWatermarksArgs, opts?: InvokeOptions): Promise<GetStreamWatermarksResult>
function getStreamWatermarksOutput(args: GetStreamWatermarksOutputArgs, opts?: InvokeOptions): Output<GetStreamWatermarksResult>
Copy
def get_stream_watermarks(account_id: Optional[str] = None,
                          max_items: Optional[int] = None,
                          opts: Optional[InvokeOptions] = None) -> GetStreamWatermarksResult
def get_stream_watermarks_output(account_id: Optional[pulumi.Input[str]] = None,
                          max_items: Optional[pulumi.Input[int]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetStreamWatermarksResult]
Copy
func LookupStreamWatermarks(ctx *Context, args *LookupStreamWatermarksArgs, opts ...InvokeOption) (*LookupStreamWatermarksResult, error)
func LookupStreamWatermarksOutput(ctx *Context, args *LookupStreamWatermarksOutputArgs, opts ...InvokeOption) LookupStreamWatermarksResultOutput
Copy

> Note: This function is named LookupStreamWatermarks in the Go SDK.

public static class GetStreamWatermarks 
{
    public static Task<GetStreamWatermarksResult> InvokeAsync(GetStreamWatermarksArgs args, InvokeOptions? opts = null)
    public static Output<GetStreamWatermarksResult> Invoke(GetStreamWatermarksInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetStreamWatermarksResult> getStreamWatermarks(GetStreamWatermarksArgs args, InvokeOptions options)
public static Output<GetStreamWatermarksResult> getStreamWatermarks(GetStreamWatermarksArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getStreamWatermarks:getStreamWatermarks
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
The account identifier tag.
MaxItems int
Max items to fetch, default: 1000
AccountId This property is required. string
The account identifier tag.
MaxItems int
Max items to fetch, default: 1000
accountId This property is required. String
The account identifier tag.
maxItems Integer
Max items to fetch, default: 1000
accountId This property is required. string
The account identifier tag.
maxItems number
Max items to fetch, default: 1000
account_id This property is required. str
The account identifier tag.
max_items int
Max items to fetch, default: 1000
accountId This property is required. String
The account identifier tag.
maxItems Number
Max items to fetch, default: 1000

getStreamWatermarks Result

The following output properties are available:

AccountId string
The account identifier tag.
Id string
The provider-assigned unique ID for this managed resource.
Results List<GetStreamWatermarksResult>
The items returned by the data source
MaxItems int
Max items to fetch, default: 1000
AccountId string
The account identifier tag.
Id string
The provider-assigned unique ID for this managed resource.
Results []GetStreamWatermarksResult
The items returned by the data source
MaxItems int
Max items to fetch, default: 1000
accountId String
The account identifier tag.
id String
The provider-assigned unique ID for this managed resource.
results List<GetStreamWatermarksResult>
The items returned by the data source
maxItems Integer
Max items to fetch, default: 1000
accountId string
The account identifier tag.
id string
The provider-assigned unique ID for this managed resource.
results GetStreamWatermarksResult[]
The items returned by the data source
maxItems number
Max items to fetch, default: 1000
account_id str
The account identifier tag.
id str
The provider-assigned unique ID for this managed resource.
results Sequence[GetStreamWatermarksResult]
The items returned by the data source
max_items int
Max items to fetch, default: 1000
accountId String
The account identifier tag.
id String
The provider-assigned unique ID for this managed resource.
results List<Property Map>
The items returned by the data source
maxItems Number
Max items to fetch, default: 1000

Supporting Types

GetStreamWatermarksResult

Created This property is required. string
The date and a time a watermark profile was created.
DownloadedFrom This property is required. string
The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
Height This property is required. int
The height of the image in pixels.
Name This property is required. string
A short description of the watermark profile.
Opacity This property is required. double
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.
Padding This property is required. double
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.
Position This property is required. string
The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
Scale This property is required. 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), and 1.0fills the entire video.
Size This property is required. double
The size of the image in bytes.
Uid This property is required. string
The unique identifier for a watermark profile.
Width This property is required. int
The width of the image in pixels.
Created This property is required. string
The date and a time a watermark profile was created.
DownloadedFrom This property is required. string
The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
Height This property is required. int
The height of the image in pixels.
Name This property is required. string
A short description of the watermark profile.
Opacity This property is required. float64
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.
Padding This property is required. float64
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.
Position This property is required. string
The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
Scale This property is required. 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), and 1.0fills the entire video.
Size This property is required. float64
The size of the image in bytes.
Uid This property is required. string
The unique identifier for a watermark profile.
Width This property is required. int
The width of the image in pixels.
created This property is required. String
The date and a time a watermark profile was created.
downloadedFrom This property is required. String
The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
height This property is required. Integer
The height of the image in pixels.
name This property is required. String
A short description of the watermark profile.
opacity This property is required. Double
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.
padding This property is required. Double
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.
position This property is required. String
The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
scale This property is required. 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), and 1.0fills the entire video.
size This property is required. Double
The size of the image in bytes.
uid This property is required. String
The unique identifier for a watermark profile.
width This property is required. Integer
The width of the image in pixels.
created This property is required. string
The date and a time a watermark profile was created.
downloadedFrom This property is required. string
The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
height This property is required. number
The height of the image in pixels.
name This property is required. string
A short description of the watermark profile.
opacity This property is required. number
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.
padding This property is required. number
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.
position This property is required. string
The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
scale This property is required. 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), and 1.0fills the entire video.
size This property is required. number
The size of the image in bytes.
uid This property is required. string
The unique identifier for a watermark profile.
width This property is required. number
The width of the image in pixels.
created This property is required. str
The date and a time a watermark profile was created.
downloaded_from This property is required. str
The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
height This property is required. int
The height of the image in pixels.
name This property is required. str
A short description of the watermark profile.
opacity This property is required. float
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.
padding This property is required. float
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.
position This property is required. str
The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
scale This property is required. 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), and 1.0fills the entire video.
size This property is required. float
The size of the image in bytes.
uid This property is required. str
The unique identifier for a watermark profile.
width This property is required. int
The width of the image in pixels.
created This property is required. String
The date and a time a watermark profile was created.
downloadedFrom This property is required. String
The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
height This property is required. Number
The height of the image in pixels.
name This property is required. String
A short description of the watermark profile.
opacity This property is required. Number
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.
padding This property is required. Number
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.
position This property is required. String
The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
scale This property is required. 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), and 1.0fills the entire video.
size This property is required. Number
The size of the image in bytes.
uid This property is required. String
The unique identifier for a watermark profile.
width This property is required. 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.