1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getEmailSecurityImpersonationRegistries
Viewing docs for Cloudflare v6.22.1
published on Tuesday, Oct 13, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.22.1
published on Tuesday, Oct 13, 2026 by Pulumi

    Accepted Permissions

    • Cloud Email Security: Read
    • Cloud Email Security: Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleEmailSecurityImpersonationRegistries = cloudflare.getEmailSecurityImpersonationRegistries({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        direction: "asc",
        order: "name",
        provenance: "A1S_INTERNAL",
        search: "search",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_email_security_impersonation_registries = cloudflare.get_email_security_impersonation_registries(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        direction="asc",
        order="name",
        provenance="A1S_INTERNAL",
        search="search")
    
    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.GetEmailSecurityImpersonationRegistries(ctx, &cloudflare.LookupEmailSecurityImpersonationRegistriesArgs{
    			AccountId:  pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
    			Direction:  pulumi.StringRef("asc"),
    			Order:      pulumi.StringRef("name"),
    			Provenance: pulumi.StringRef("A1S_INTERNAL"),
    			Search:     pulumi.StringRef("search"),
    		}, 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 exampleEmailSecurityImpersonationRegistries = Cloudflare.GetEmailSecurityImpersonationRegistries.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            Direction = "asc",
            Order = "name",
            Provenance = "A1S_INTERNAL",
            Search = "search",
        });
    
    });
    
    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.GetEmailSecurityImpersonationRegistriesArgs;
    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 exampleEmailSecurityImpersonationRegistries = CloudflareFunctions.getEmailSecurityImpersonationRegistries(GetEmailSecurityImpersonationRegistriesArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .direction("asc")
                .order("name")
                .provenance("A1S_INTERNAL")
                .search("search")
                .build());
    
        }
    }
    
    variables:
      exampleEmailSecurityImpersonationRegistries:
        fn::invoke:
          function: cloudflare:getEmailSecurityImpersonationRegistries
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            direction: asc
            order: name
            provenance: A1S_INTERNAL
            search: search
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_email_security_impersonation_registries" "exampleEmailSecurityImpersonationRegistries" {
      account_id = "023e105f4ecef8ad9ca31a8372d0c353"
      direction  = "asc"
      order      = "name"
      provenance = "A1S_INTERNAL"
      search     = "search"
    }
    

    Using getEmailSecurityImpersonationRegistries

    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 getEmailSecurityImpersonationRegistries(args: GetEmailSecurityImpersonationRegistriesArgs, opts?: InvokeOptions): Promise<GetEmailSecurityImpersonationRegistriesResult>
    function getEmailSecurityImpersonationRegistriesOutput(args: GetEmailSecurityImpersonationRegistriesOutputArgs, opts?: InvokeOutputOptions): Output<GetEmailSecurityImpersonationRegistriesResult>
    def get_email_security_impersonation_registries(account_id: Optional[str] = None,
                                                    direction: Optional[str] = None,
                                                    max_items: Optional[int] = None,
                                                    order: Optional[str] = None,
                                                    provenance: Optional[str] = None,
                                                    search: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetEmailSecurityImpersonationRegistriesResult
    def get_email_security_impersonation_registries_output(account_id: pulumi.Input[Optional[str]] = None,
                                                    direction: pulumi.Input[Optional[str]] = None,
                                                    max_items: pulumi.Input[Optional[int]] = None,
                                                    order: pulumi.Input[Optional[str]] = None,
                                                    provenance: pulumi.Input[Optional[str]] = None,
                                                    search: pulumi.Input[Optional[str]] = None,
                                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetEmailSecurityImpersonationRegistriesResult]
    func LookupEmailSecurityImpersonationRegistries(ctx *Context, args *LookupEmailSecurityImpersonationRegistriesArgs, opts ...InvokeOption) (*LookupEmailSecurityImpersonationRegistriesResult, error)
    func LookupEmailSecurityImpersonationRegistriesOutput(ctx *Context, args *LookupEmailSecurityImpersonationRegistriesOutputArgs, opts ...InvokeOption) LookupEmailSecurityImpersonationRegistriesResultOutput

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

    public static class GetEmailSecurityImpersonationRegistries 
    {
        public static Task<GetEmailSecurityImpersonationRegistriesResult> InvokeAsync(GetEmailSecurityImpersonationRegistriesArgs args, InvokeOptions? opts = null)
        public static Output<GetEmailSecurityImpersonationRegistriesResult> Invoke(GetEmailSecurityImpersonationRegistriesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetEmailSecurityImpersonationRegistriesResult> Invoke(GetEmailSecurityImpersonationRegistriesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetEmailSecurityImpersonationRegistriesResult> getEmailSecurityImpersonationRegistries(GetEmailSecurityImpersonationRegistriesArgs args, InvokeOptions options)
    public static Output<GetEmailSecurityImpersonationRegistriesResult> getEmailSecurityImpersonationRegistries(GetEmailSecurityImpersonationRegistriesArgs args, InvokeOptions options)
    public static Output<GetEmailSecurityImpersonationRegistriesResult> getEmailSecurityImpersonationRegistries(GetEmailSecurityImpersonationRegistriesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getEmailSecurityImpersonationRegistries:getEmailSecurityImpersonationRegistries
      arguments:
        # arguments dictionary
    data "cloudflare_get_email_security_impersonation_registries" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Identifier.
    Direction string
    The sorting direction. Available values: "asc", "desc".
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Field to sort by. Available values: "name", "email", "createdAt".
    Provenance string
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    Search string
    Search term for filtering records. Behavior may change.
    AccountId string
    Identifier.
    Direction string
    The sorting direction. Available values: "asc", "desc".
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Field to sort by. Available values: "name", "email", "createdAt".
    Provenance string
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    Search string
    Search term for filtering records. Behavior may change.
    account_id string
    Identifier.
    direction string
    The sorting direction. Available values: "asc", "desc".
    max_items number
    Max items to fetch, default: 1000
    order string
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance string
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search string
    Search term for filtering records. Behavior may change.
    accountId String
    Identifier.
    direction String
    The sorting direction. Available values: "asc", "desc".
    maxItems Integer
    Max items to fetch, default: 1000
    order String
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance String
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search String
    Search term for filtering records. Behavior may change.
    accountId string
    Identifier.
    direction string
    The sorting direction. Available values: "asc", "desc".
    maxItems number
    Max items to fetch, default: 1000
    order string
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance string
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search string
    Search term for filtering records. Behavior may change.
    account_id str
    Identifier.
    direction str
    The sorting direction. Available values: "asc", "desc".
    max_items int
    Max items to fetch, default: 1000
    order str
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance str
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search str
    Search term for filtering records. Behavior may change.
    accountId String
    Identifier.
    direction String
    The sorting direction. Available values: "asc", "desc".
    maxItems Number
    Max items to fetch, default: 1000
    order String
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance String
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search String
    Search term for filtering records. Behavior may change.

    getEmailSecurityImpersonationRegistries Result

    The following output properties are available:

    Results List<GetEmailSecurityImpersonationRegistriesResult>
    The items returned by the data source
    AccountId string
    Identifier.
    Direction string
    The sorting direction. Available values: "asc", "desc".
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Field to sort by. Available values: "name", "email", "createdAt".
    Provenance string
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    Search string
    Search term for filtering records. Behavior may change.
    Results []GetEmailSecurityImpersonationRegistriesResult
    The items returned by the data source
    AccountId string
    Identifier.
    Direction string
    The sorting direction. Available values: "asc", "desc".
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Field to sort by. Available values: "name", "email", "createdAt".
    Provenance string
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    Search string
    Search term for filtering records. Behavior may change.
    results list(object)
    The items returned by the data source
    account_id string
    Identifier.
    direction string
    The sorting direction. Available values: "asc", "desc".
    max_items number
    Max items to fetch, default: 1000
    order string
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance string
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search string
    Search term for filtering records. Behavior may change.
    results List<GetEmailSecurityImpersonationRegistriesResult>
    The items returned by the data source
    accountId String
    Identifier.
    direction String
    The sorting direction. Available values: "asc", "desc".
    maxItems Integer
    Max items to fetch, default: 1000
    order String
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance String
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search String
    Search term for filtering records. Behavior may change.
    results GetEmailSecurityImpersonationRegistriesResult[]
    The items returned by the data source
    accountId string
    Identifier.
    direction string
    The sorting direction. Available values: "asc", "desc".
    maxItems number
    Max items to fetch, default: 1000
    order string
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance string
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search string
    Search term for filtering records. Behavior may change.
    results Sequence[GetEmailSecurityImpersonationRegistriesResult]
    The items returned by the data source
    account_id str
    Identifier.
    direction str
    The sorting direction. Available values: "asc", "desc".
    max_items int
    Max items to fetch, default: 1000
    order str
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance str
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search str
    Search term for filtering records. Behavior may change.
    results List<Property Map>
    The items returned by the data source
    accountId String
    Identifier.
    direction String
    The sorting direction. Available values: "asc", "desc".
    maxItems Number
    Max items to fetch, default: 1000
    order String
    Field to sort by. Available values: "name", "email", "createdAt".
    provenance String
    Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    search String
    Search term for filtering records. Behavior may change.

    Supporting Types

    GetEmailSecurityImpersonationRegistriesResult

    Comments string
    Optional note describing the entry.
    CreatedAt string
    DirectoryId int
    Identifier of the directory the entry was synced from, when directory-synced.
    DirectoryNodeId int
    Identifier of the directory node the entry was synced from, when directory-synced.
    Email string
    Email address (or pattern) of the protected identity.
    ExternalDirectoryNodeId string
    Deprecated. External identifier of the directory node.

    Deprecated: This field is deprecated.

    Id string
    Impersonation registry entry identifier
    IsEmailRegex bool
    Whether email is a regular expression instead of a literal address.
    LastModified string
    Deprecated, use modifiedAt instead. End of life: November 1, 2026.

    Deprecated: Use modifiedAt instead.

    ModifiedAt string
    Name string
    Display name of the protected identity.
    Provenance string
    Source the entry was created from. Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    Comments string
    Optional note describing the entry.
    CreatedAt string
    DirectoryId int
    Identifier of the directory the entry was synced from, when directory-synced.
    DirectoryNodeId int
    Identifier of the directory node the entry was synced from, when directory-synced.
    Email string
    Email address (or pattern) of the protected identity.
    ExternalDirectoryNodeId string
    Deprecated. External identifier of the directory node.

    Deprecated: This field is deprecated.

    Id string
    Impersonation registry entry identifier
    IsEmailRegex bool
    Whether email is a regular expression instead of a literal address.
    LastModified string
    Deprecated, use modifiedAt instead. End of life: November 1, 2026.

    Deprecated: Use modifiedAt instead.

    ModifiedAt string
    Name string
    Display name of the protected identity.
    Provenance string
    Source the entry was created from. Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    comments string
    Optional note describing the entry.
    created_at string
    directory_id number
    Identifier of the directory the entry was synced from, when directory-synced.
    directory_node_id number
    Identifier of the directory node the entry was synced from, when directory-synced.
    email string
    Email address (or pattern) of the protected identity.
    external_directory_node_id string
    Deprecated. External identifier of the directory node.

    Deprecated: This field is deprecated.

    id string
    Impersonation registry entry identifier
    is_email_regex bool
    Whether email is a regular expression instead of a literal address.
    last_modified string
    Deprecated, use modifiedAt instead. End of life: November 1, 2026.

    Deprecated: Use modifiedAt instead.

    modified_at string
    name string
    Display name of the protected identity.
    provenance string
    Source the entry was created from. Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    comments String
    Optional note describing the entry.
    createdAt String
    directoryId Integer
    Identifier of the directory the entry was synced from, when directory-synced.
    directoryNodeId Integer
    Identifier of the directory node the entry was synced from, when directory-synced.
    email String
    Email address (or pattern) of the protected identity.
    externalDirectoryNodeId String
    Deprecated. External identifier of the directory node.

    Deprecated: This field is deprecated.

    id String
    Impersonation registry entry identifier
    isEmailRegex Boolean
    Whether email is a regular expression instead of a literal address.
    lastModified String
    Deprecated, use modifiedAt instead. End of life: November 1, 2026.

    Deprecated: Use modifiedAt instead.

    modifiedAt String
    name String
    Display name of the protected identity.
    provenance String
    Source the entry was created from. Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    comments string
    Optional note describing the entry.
    createdAt string
    directoryId number
    Identifier of the directory the entry was synced from, when directory-synced.
    directoryNodeId number
    Identifier of the directory node the entry was synced from, when directory-synced.
    email string
    Email address (or pattern) of the protected identity.
    externalDirectoryNodeId string
    Deprecated. External identifier of the directory node.

    Deprecated: This field is deprecated.

    id string
    Impersonation registry entry identifier
    isEmailRegex boolean
    Whether email is a regular expression instead of a literal address.
    lastModified string
    Deprecated, use modifiedAt instead. End of life: November 1, 2026.

    Deprecated: Use modifiedAt instead.

    modifiedAt string
    name string
    Display name of the protected identity.
    provenance string
    Source the entry was created from. Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    comments str
    Optional note describing the entry.
    created_at str
    directory_id int
    Identifier of the directory the entry was synced from, when directory-synced.
    directory_node_id int
    Identifier of the directory node the entry was synced from, when directory-synced.
    email str
    Email address (or pattern) of the protected identity.
    external_directory_node_id str
    Deprecated. External identifier of the directory node.

    Deprecated: This field is deprecated.

    id str
    Impersonation registry entry identifier
    is_email_regex bool
    Whether email is a regular expression instead of a literal address.
    last_modified str
    Deprecated, use modifiedAt instead. End of life: November 1, 2026.

    Deprecated: Use modifiedAt instead.

    modified_at str
    name str
    Display name of the protected identity.
    provenance str
    Source the entry was created from. Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
    comments String
    Optional note describing the entry.
    createdAt String
    directoryId Number
    Identifier of the directory the entry was synced from, when directory-synced.
    directoryNodeId Number
    Identifier of the directory node the entry was synced from, when directory-synced.
    email String
    Email address (or pattern) of the protected identity.
    externalDirectoryNodeId String
    Deprecated. External identifier of the directory node.

    Deprecated: This field is deprecated.

    id String
    Impersonation registry entry identifier
    isEmailRegex Boolean
    Whether email is a regular expression instead of a literal address.
    lastModified String
    Deprecated, use modifiedAt instead. End of life: November 1, 2026.

    Deprecated: Use modifiedAt instead.

    modifiedAt String
    name String
    Display name of the protected identity.
    provenance String
    Source the entry was created from. Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".

    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.22.1
    published on Tuesday, Oct 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial