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",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_stream_watermarks = cloudflare.get_stream_watermarks(account_id="023e105f4ecef8ad9ca31a8372d0c353")
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
})
}
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",
});
});
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());
}
}
variables:
exampleStreamWatermarks:
fn::invoke:
function: cloudflare:getStreamWatermarks
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
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>
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]
func LookupStreamWatermarks(ctx *Context, args *LookupStreamWatermarksArgs, opts ...InvokeOption) (*LookupStreamWatermarksResult, error)
func LookupStreamWatermarksOutput(ctx *Context, args *LookupStreamWatermarksOutputArgs, opts ...InvokeOption) LookupStreamWatermarksResultOutput
> 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)
}
public static CompletableFuture<GetStreamWatermarksResult> getStreamWatermarks(GetStreamWatermarksArgs args, InvokeOptions options)
public static Output<GetStreamWatermarksResult> getStreamWatermarks(GetStreamWatermarksArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getStreamWatermarks:getStreamWatermarks
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id This property is required. str - The account identifier tag.
- max_
items int - Max items to fetch, default: 1000
getStreamWatermarks Result
The following output properties are available:
- Account
Id string - The account identifier tag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Stream Watermarks Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - The account identifier tag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Stream Watermarks Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account
Id String - The account identifier tag.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Stream Watermarks Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - The account identifier tag.
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Stream Watermarks Result[] - The items returned by the data source
- max
Items 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[Get
Stream Watermarks Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id 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
- max
Items 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.
- Downloaded
From 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, 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
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, and1.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
, andcenter
. Note thatcenter
ignores thepadding
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), and1.0
fills 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.
- Downloaded
From 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, 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
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, and1.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
, andcenter
. Note thatcenter
ignores thepadding
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), and1.0
fills 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.
- downloaded
From 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, 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
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, and1.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
, andcenter
. Note thatcenter
ignores thepadding
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), and1.0
fills 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.
- downloaded
From 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, 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
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, and1.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
, andcenter
. Note thatcenter
ignores thepadding
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), and1.0
fills 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, 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
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, and1.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
, andcenter
. Note thatcenter
ignores thepadding
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), and1.0
fills 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.
- downloaded
From 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, 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
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, and1.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
, andcenter
. Note thatcenter
ignores thepadding
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), and1.0
fills 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.