1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getEmailSecurityImpersonationRegistry
Cloudflare v6.1.0 published on Friday, Apr 18, 2025 by Pulumi

cloudflare.getEmailSecurityImpersonationRegistry

Explore with Pulumi AI

Example Usage

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

const exampleEmailSecurityImpersonationRegistry = cloudflare.getEmailSecurityImpersonationRegistry({
    accountId: "023e105f4ecef8ad9ca31a8372d0c353",
    displayNameId: 2403,
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_email_security_impersonation_registry = cloudflare.get_email_security_impersonation_registry(account_id="023e105f4ecef8ad9ca31a8372d0c353",
    display_name_id=2403)
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.LookupEmailSecurityImpersonationRegistry(ctx, &cloudflare.LookupEmailSecurityImpersonationRegistryArgs{
			AccountId:     "023e105f4ecef8ad9ca31a8372d0c353",
			DisplayNameId: pulumi.IntRef(2403),
		}, 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 exampleEmailSecurityImpersonationRegistry = Cloudflare.GetEmailSecurityImpersonationRegistry.Invoke(new()
    {
        AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
        DisplayNameId = 2403,
    });

});
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.GetEmailSecurityImpersonationRegistryArgs;
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 exampleEmailSecurityImpersonationRegistry = CloudflareFunctions.getEmailSecurityImpersonationRegistry(GetEmailSecurityImpersonationRegistryArgs.builder()
            .accountId("023e105f4ecef8ad9ca31a8372d0c353")
            .displayNameId(2403)
            .build());

    }
}
Copy
variables:
  exampleEmailSecurityImpersonationRegistry:
    fn::invoke:
      function: cloudflare:getEmailSecurityImpersonationRegistry
      arguments:
        accountId: 023e105f4ecef8ad9ca31a8372d0c353
        displayNameId: 2403
Copy

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

> 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)
}
Copy
public static CompletableFuture<GetEmailSecurityImpersonationRegistryResult> getEmailSecurityImpersonationRegistry(GetEmailSecurityImpersonationRegistryArgs args, InvokeOptions options)
public static Output<GetEmailSecurityImpersonationRegistryResult> getEmailSecurityImpersonationRegistry(GetEmailSecurityImpersonationRegistryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getEmailSecurityImpersonationRegistry:getEmailSecurityImpersonationRegistry
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
Account Identifier
DisplayNameId int
Filter GetEmailSecurityImpersonationRegistryFilter
AccountId This property is required. string
Account Identifier
DisplayNameId int
Filter GetEmailSecurityImpersonationRegistryFilter
accountId This property is required. String
Account Identifier
displayNameId Integer
filter GetEmailSecurityImpersonationRegistryFilter
accountId This property is required. string
Account Identifier
displayNameId number
filter GetEmailSecurityImpersonationRegistryFilter
account_id This property is required. str
Account Identifier
display_name_id int
filter GetEmailSecurityImpersonationRegistryFilter
accountId This property is required. String
Account Identifier
displayNameId Number
filter Property Map

getEmailSecurityImpersonationRegistry Result

The following output properties are available:

AccountId string
Account Identifier
Comments string
CreatedAt string
DirectoryId int
DirectoryNodeId int
Email string
ExternalDirectoryNodeId string

Deprecated: This attribute is deprecated.

Id int
The ID of this resource.
IsEmailRegex bool
LastModified string
Name string
Provenance string
DisplayNameId int
Filter GetEmailSecurityImpersonationRegistryFilter
AccountId string
Account Identifier
Comments string
CreatedAt string
DirectoryId int
DirectoryNodeId int
Email string
ExternalDirectoryNodeId string

Deprecated: This attribute is deprecated.

Id int
The ID of this resource.
IsEmailRegex bool
LastModified string
Name string
Provenance string
DisplayNameId int
Filter GetEmailSecurityImpersonationRegistryFilter
accountId String
Account Identifier
comments String
createdAt String
directoryId Integer
directoryNodeId Integer
email String
externalDirectoryNodeId String

Deprecated: This attribute is deprecated.

id Integer
The ID of this resource.
isEmailRegex Boolean
lastModified String
name String
provenance String
displayNameId Integer
filter GetEmailSecurityImpersonationRegistryFilter
accountId string
Account Identifier
comments string
createdAt string
directoryId number
directoryNodeId number
email string
externalDirectoryNodeId string

Deprecated: This attribute is deprecated.

id number
The ID of this resource.
isEmailRegex boolean
lastModified string
name string
provenance string
displayNameId number
filter GetEmailSecurityImpersonationRegistryFilter
account_id str
Account Identifier
comments str
created_at str
directory_id int
directory_node_id int
email str
external_directory_node_id str

Deprecated: This attribute is deprecated.

id int
The ID of this resource.
is_email_regex bool
last_modified str
name str
provenance str
display_name_id int
filter GetEmailSecurityImpersonationRegistryFilter
accountId String
Account Identifier
comments String
createdAt String
directoryId Number
directoryNodeId Number
email String
externalDirectoryNodeId String

Deprecated: This attribute is deprecated.

id Number
The ID of this resource.
isEmailRegex Boolean
lastModified String
name String
provenance String
displayNameId Number
filter Property Map

Supporting Types

GetEmailSecurityImpersonationRegistryFilter

Direction string
The sorting direction. Available values: "asc", "desc".
Order string
The field to sort by. Available values: "name", "email", "created_at".
Provenance string
Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
Search string
Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
Direction string
The sorting direction. Available values: "asc", "desc".
Order string
The field to sort by. Available values: "name", "email", "created_at".
Provenance string
Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
Search string
Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
direction String
The sorting direction. Available values: "asc", "desc".
order String
The field to sort by. Available values: "name", "email", "created_at".
provenance String
Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
search String
Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
direction string
The sorting direction. Available values: "asc", "desc".
order string
The field to sort by. Available values: "name", "email", "created_at".
provenance string
Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
search string
Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
direction str
The sorting direction. Available values: "asc", "desc".
order str
The field to sort by. Available values: "name", "email", "created_at".
provenance str
Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
search str
Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
direction String
The sorting direction. Available values: "asc", "desc".
order String
The field to sort by. Available values: "name", "email", "created_at".
provenance String
Available values: "A1SINTERNAL", "SNOOPY-CASBOFFICE365", "SNOOPY-OFFICE365", "SNOOPY-GOOGLE_DIRECTORY".
search String
Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.