1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getCtAlerting
Viewing docs for Cloudflare v6.20.0
published on Tuesday, Aug 25, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.20.0
published on Tuesday, Aug 25, 2026 by Pulumi

    Accepted Permissions

    • SSL and Certificates Read
    • SSL and Certificates Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleCtAlerting = cloudflare.getCtAlerting({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_ct_alerting = cloudflare.get_ct_alerting(zone_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.GetCtAlerting(ctx, &cloudflare.LookupCtAlertingArgs{
    			ZoneId: "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 exampleCtAlerting = Cloudflare.GetCtAlerting.Invoke(new()
        {
            ZoneId = "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.GetCtAlertingArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 exampleCtAlerting = CloudflareFunctions.getCtAlerting(GetCtAlertingArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleCtAlerting:
        fn::invoke:
          function: cloudflare:getCtAlerting
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
    
    pulumi {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_getctalerting" "exampleCtAlerting" {
      zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
    }
    

    Using getCtAlerting

    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 getCtAlerting(args: GetCtAlertingArgs, opts?: InvokeOptions): Promise<GetCtAlertingResult>
    function getCtAlertingOutput(args: GetCtAlertingOutputArgs, opts?: InvokeOutputOptions): Output<GetCtAlertingResult>
    def get_ct_alerting(zone_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCtAlertingResult
    def get_ct_alerting_output(zone_id: pulumi.Input[Optional[str]] = None,
                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetCtAlertingResult]
    func LookupCtAlerting(ctx *Context, args *LookupCtAlertingArgs, opts ...InvokeOption) (*LookupCtAlertingResult, error)
    func LookupCtAlertingOutput(ctx *Context, args *LookupCtAlertingOutputArgs, opts ...InvokeOption) LookupCtAlertingResultOutput

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

    public static class GetCtAlerting 
    {
        public static Task<GetCtAlertingResult> InvokeAsync(GetCtAlertingArgs args, InvokeOptions? opts = null)
        public static Output<GetCtAlertingResult> Invoke(GetCtAlertingInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCtAlertingResult> Invoke(GetCtAlertingInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCtAlertingResult> getCtAlerting(GetCtAlertingArgs args, InvokeOptions options)
    public static Output<GetCtAlertingResult> getCtAlerting(GetCtAlertingArgs args, InvokeOptions options)
    public static Output<GetCtAlertingResult> getCtAlerting(GetCtAlertingArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getCtAlerting:getCtAlerting
      arguments:
        # arguments dictionary
    data "cloudflare_get_ct_alerting" "name" {
        # arguments
    }

    The following arguments are supported:

    ZoneId string
    Identifier.
    ZoneId string
    Identifier.
    zone_id string
    Identifier.
    zoneId String
    Identifier.
    zoneId string
    Identifier.
    zone_id str
    Identifier.
    zoneId String
    Identifier.

    getCtAlerting Result

    The following output properties are available:

    Emails List<string>
    Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.
    Enabled bool
    Whether CT alerting is enabled for the zone.
    Id string
    Identifier.
    ZoneId string
    Identifier.
    Emails []string
    Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.
    Enabled bool
    Whether CT alerting is enabled for the zone.
    Id string
    Identifier.
    ZoneId string
    Identifier.
    emails list(string)
    Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.
    enabled bool
    Whether CT alerting is enabled for the zone.
    id string
    Identifier.
    zone_id string
    Identifier.
    emails List<String>
    Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.
    enabled Boolean
    Whether CT alerting is enabled for the zone.
    id String
    Identifier.
    zoneId String
    Identifier.
    emails string[]
    Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.
    enabled boolean
    Whether CT alerting is enabled for the zone.
    id string
    Identifier.
    zoneId string
    Identifier.
    emails Sequence[str]
    Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.
    enabled bool
    Whether CT alerting is enabled for the zone.
    id str
    Identifier.
    zone_id str
    Identifier.
    emails List<String>
    Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.
    enabled Boolean
    Whether CT alerting is enabled for the zone.
    id String
    Identifier.
    zoneId String
    Identifier.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo cloudflare logo
    Viewing docs for Cloudflare v6.20.0
    published on Tuesday, Aug 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial