1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getEmailSecurityImpersonationRegistry
Viewing docs for Cloudflare v6.22.0
published on Tuesday, Oct 6, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.22.0
published on Tuesday, Oct 6, 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 exampleEmailSecurityImpersonationRegistry = cloudflare.getEmailSecurityImpersonationRegistry({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        impersonationRegistryId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_email_security_impersonation_registry = cloudflare.get_email_security_impersonation_registry(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        impersonation_registry_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
    
    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.GetEmailSecurityImpersonationRegistry(ctx, &cloudflare.LookupEmailSecurityImpersonationRegistryArgs{
    			AccountId:               pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
    			ImpersonationRegistryId: pulumi.StringRef("f174e90a-fafe-4643-bbbc-4a0ed4fc8415"),
    		}, 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 exampleEmailSecurityImpersonationRegistry = Cloudflare.GetEmailSecurityImpersonationRegistry.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            ImpersonationRegistryId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
        });
    
    });
    
    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.GetEmailSecurityImpersonationRegistryArgs;
    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 exampleEmailSecurityImpersonationRegistry = CloudflareFunctions.getEmailSecurityImpersonationRegistry(GetEmailSecurityImpersonationRegistryArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .impersonationRegistryId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
                .build());
    
        }
    }
    
    variables:
      exampleEmailSecurityImpersonationRegistry:
        fn::invoke:
          function: cloudflare:getEmailSecurityImpersonationRegistry
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            impersonationRegistryId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
    
    pulumi {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_getemailsecurityimpersonationregistry" "exampleEmailSecurityImpersonationRegistry" {
      account_id                = "023e105f4ecef8ad9ca31a8372d0c353"
      impersonation_registry_id = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
    }
    

    Using getEmailSecurityImpersonationRegistry

    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 getEmailSecurityImpersonationRegistry(args: GetEmailSecurityImpersonationRegistryArgs, opts?: InvokeOptions): Promise<GetEmailSecurityImpersonationRegistryResult>
    function getEmailSecurityImpersonationRegistryOutput(args: GetEmailSecurityImpersonationRegistryOutputArgs, opts?: InvokeOutputOptions): Output<GetEmailSecurityImpersonationRegistryResult>
    def get_email_security_impersonation_registry(account_id: Optional[str] = None,
                                                  filter: Optional[GetEmailSecurityImpersonationRegistryFilter] = None,
                                                  impersonation_registry_id: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetEmailSecurityImpersonationRegistryResult
    def get_email_security_impersonation_registry_output(account_id: pulumi.Input[Optional[str]] = None,
                                                  filter: pulumi.Input[Optional[GetEmailSecurityImpersonationRegistryFilterArgs]] = None,
                                                  impersonation_registry_id: pulumi.Input[Optional[str]] = None,
                                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetEmailSecurityImpersonationRegistryResult]
    func LookupEmailSecurityImpersonationRegistry(ctx *Context, args *LookupEmailSecurityImpersonationRegistryArgs, opts ...InvokeOption) (*LookupEmailSecurityImpersonationRegistryResult, error)
    func LookupEmailSecurityImpersonationRegistryOutput(ctx *Context, args *LookupEmailSecurityImpersonationRegistryOutputArgs, opts ...InvokeOption) LookupEmailSecurityImpersonationRegistryResultOutput

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

    public static class GetEmailSecurityImpersonationRegistry 
    {
        public static Task<GetEmailSecurityImpersonationRegistryResult> InvokeAsync(GetEmailSecurityImpersonationRegistryArgs args, InvokeOptions? opts = null)
        public static Output<GetEmailSecurityImpersonationRegistryResult> Invoke(GetEmailSecurityImpersonationRegistryInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetEmailSecurityImpersonationRegistryResult> Invoke(GetEmailSecurityImpersonationRegistryInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetEmailSecurityImpersonationRegistryResult> getEmailSecurityImpersonationRegistry(GetEmailSecurityImpersonationRegistryArgs args, InvokeOptions options)
    public static Output<GetEmailSecurityImpersonationRegistryResult> getEmailSecurityImpersonationRegistry(GetEmailSecurityImpersonationRegistryArgs args, InvokeOptions options)
    public static Output<GetEmailSecurityImpersonationRegistryResult> getEmailSecurityImpersonationRegistry(GetEmailSecurityImpersonationRegistryArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getEmailSecurityImpersonationRegistry:getEmailSecurityImpersonationRegistry
      arguments:
        # arguments dictionary
    data "cloudflare_get_email_security_impersonation_registry" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Identifier.
    Filter GetEmailSecurityImpersonationRegistryFilter
    ImpersonationRegistryId string
    Impersonation registry entry identifier
    AccountId string
    Identifier.
    Filter GetEmailSecurityImpersonationRegistryFilter
    ImpersonationRegistryId string
    Impersonation registry entry identifier
    account_id string
    Identifier.
    filter object
    impersonation_registry_id string
    Impersonation registry entry identifier
    accountId String
    Identifier.
    filter GetEmailSecurityImpersonationRegistryFilter
    impersonationRegistryId String
    Impersonation registry entry identifier
    accountId string
    Identifier.
    filter GetEmailSecurityImpersonationRegistryFilter
    impersonationRegistryId string
    Impersonation registry entry identifier
    account_id str
    Identifier.
    filter GetEmailSecurityImpersonationRegistryFilter
    impersonation_registry_id str
    Impersonation registry entry identifier
    accountId String
    Identifier.
    filter Property Map
    impersonationRegistryId String
    Impersonation registry entry identifier

    getEmailSecurityImpersonationRegistry Result

    The following output properties are available:

    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".
    AccountId string
    Identifier.
    Filter GetEmailSecurityImpersonationRegistryFilter
    ImpersonationRegistryId string
    Impersonation registry entry identifier
    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".
    AccountId string
    Identifier.
    Filter GetEmailSecurityImpersonationRegistryFilter
    ImpersonationRegistryId string
    Impersonation registry entry identifier
    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".
    account_id string
    Identifier.
    filter object
    impersonation_registry_id string
    Impersonation registry entry identifier
    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".
    accountId String
    Identifier.
    filter GetEmailSecurityImpersonationRegistryFilter
    impersonationRegistryId String
    Impersonation registry entry identifier
    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".
    accountId string
    Identifier.
    filter GetEmailSecurityImpersonationRegistryFilter
    impersonationRegistryId string
    Impersonation registry entry identifier
    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".
    account_id str
    Identifier.
    filter GetEmailSecurityImpersonationRegistryFilter
    impersonation_registry_id str
    Impersonation registry entry identifier
    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".
    accountId String
    Identifier.
    filter Property Map
    impersonationRegistryId String
    Impersonation registry entry identifier

    Supporting Types

    GetEmailSecurityImpersonationRegistryFilter

    Direction string
    The sorting direction. Available values: "asc", "desc".
    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.
    Direction string
    The sorting direction. Available values: "asc", "desc".
    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.
    direction string
    The sorting direction. Available values: "asc", "desc".
    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.
    direction String
    The sorting direction. Available values: "asc", "desc".
    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.
    direction string
    The sorting direction. Available values: "asc", "desc".
    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.
    direction str
    The sorting direction. Available values: "asc", "desc".
    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.
    direction String
    The sorting direction. Available values: "asc", "desc".
    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.

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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial