cloudflare.EmailSecurityImpersonationRegistry
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleEmailSecurityImpersonationRegistry = new cloudflare.EmailSecurityImpersonationRegistry("example_email_security_impersonation_registry", {
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
email: "email",
isEmailRegex: true,
name: "name",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_email_security_impersonation_registry = cloudflare.EmailSecurityImpersonationRegistry("example_email_security_impersonation_registry",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
email="email",
is_email_regex=True,
name="name")
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.NewEmailSecurityImpersonationRegistry(ctx, "example_email_security_impersonation_registry", &cloudflare.EmailSecurityImpersonationRegistryArgs{
AccountId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
Email: pulumi.String("email"),
IsEmailRegex: pulumi.Bool(true),
Name: pulumi.String("name"),
})
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 = new Cloudflare.EmailSecurityImpersonationRegistry("example_email_security_impersonation_registry", new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
Email = "email",
IsEmailRegex = true,
Name = "name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.EmailSecurityImpersonationRegistry;
import com.pulumi.cloudflare.EmailSecurityImpersonationRegistryArgs;
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) {
var exampleEmailSecurityImpersonationRegistry = new EmailSecurityImpersonationRegistry("exampleEmailSecurityImpersonationRegistry", EmailSecurityImpersonationRegistryArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.email("email")
.isEmailRegex(true)
.name("name")
.build());
}
}
resources:
exampleEmailSecurityImpersonationRegistry:
type: cloudflare:EmailSecurityImpersonationRegistry
name: example_email_security_impersonation_registry
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
email: email
isEmailRegex: true
name: name
Create EmailSecurityImpersonationRegistry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EmailSecurityImpersonationRegistry(name: string, args: EmailSecurityImpersonationRegistryArgs, opts?: CustomResourceOptions);
@overload
def EmailSecurityImpersonationRegistry(resource_name: str,
args: EmailSecurityImpersonationRegistryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EmailSecurityImpersonationRegistry(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
email: Optional[str] = None,
is_email_regex: Optional[bool] = None,
name: Optional[str] = None)
func NewEmailSecurityImpersonationRegistry(ctx *Context, name string, args EmailSecurityImpersonationRegistryArgs, opts ...ResourceOption) (*EmailSecurityImpersonationRegistry, error)
public EmailSecurityImpersonationRegistry(string name, EmailSecurityImpersonationRegistryArgs args, CustomResourceOptions? opts = null)
public EmailSecurityImpersonationRegistry(String name, EmailSecurityImpersonationRegistryArgs args)
public EmailSecurityImpersonationRegistry(String name, EmailSecurityImpersonationRegistryArgs args, CustomResourceOptions options)
type: cloudflare:EmailSecurityImpersonationRegistry
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EmailSecurityImpersonationRegistryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EmailSecurityImpersonationRegistryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EmailSecurityImpersonationRegistryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EmailSecurityImpersonationRegistryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EmailSecurityImpersonationRegistryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var emailSecurityImpersonationRegistryResource = new Cloudflare.EmailSecurityImpersonationRegistry("emailSecurityImpersonationRegistryResource", new()
{
AccountId = "string",
Email = "string",
IsEmailRegex = false,
Name = "string",
});
example, err := cloudflare.NewEmailSecurityImpersonationRegistry(ctx, "emailSecurityImpersonationRegistryResource", &cloudflare.EmailSecurityImpersonationRegistryArgs{
AccountId: pulumi.String("string"),
Email: pulumi.String("string"),
IsEmailRegex: pulumi.Bool(false),
Name: pulumi.String("string"),
})
var emailSecurityImpersonationRegistryResource = new EmailSecurityImpersonationRegistry("emailSecurityImpersonationRegistryResource", EmailSecurityImpersonationRegistryArgs.builder()
.accountId("string")
.email("string")
.isEmailRegex(false)
.name("string")
.build());
email_security_impersonation_registry_resource = cloudflare.EmailSecurityImpersonationRegistry("emailSecurityImpersonationRegistryResource",
account_id="string",
email="string",
is_email_regex=False,
name="string")
const emailSecurityImpersonationRegistryResource = new cloudflare.EmailSecurityImpersonationRegistry("emailSecurityImpersonationRegistryResource", {
accountId: "string",
email: "string",
isEmailRegex: false,
name: "string",
});
type: cloudflare:EmailSecurityImpersonationRegistry
properties:
accountId: string
email: string
isEmailRegex: false
name: string
EmailSecurityImpersonationRegistry Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EmailSecurityImpersonationRegistry resource accepts the following input properties:
- Account
Id string - Account Identifier
- Email string
- Is
Email boolRegex - Name string
- Account
Id string - Account Identifier
- Email string
- Is
Email boolRegex - Name string
- account
Id String - Account Identifier
- email String
- is
Email BooleanRegex - name String
- account
Id string - Account Identifier
- email string
- is
Email booleanRegex - name string
- account_
id str - Account Identifier
- email str
- is_
email_ boolregex - name str
- account
Id String - Account Identifier
- email String
- is
Email BooleanRegex - name String
Outputs
All input properties are implicitly available as output properties. Additionally, the EmailSecurityImpersonationRegistry resource produces the following output properties:
- Comments string
- Created
At string - Directory
Id int - Directory
Node intId - External
Directory stringNode Id - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - Provenance string
- Comments string
- Created
At string - Directory
Id int - Directory
Node intId - External
Directory stringNode Id - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - Provenance string
- comments String
- created
At String - directory
Id Integer - directory
Node IntegerId - external
Directory StringNode Id - id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - provenance String
- comments string
- created
At string - directory
Id number - directory
Node numberId - external
Directory stringNode Id - id string
- The provider-assigned unique ID for this managed resource.
- last
Modified string - provenance string
- comments str
- created_
at str - directory_
id int - directory_
node_ intid - external_
directory_ strnode_ id - id str
- The provider-assigned unique ID for this managed resource.
- last_
modified str - provenance str
- comments String
- created
At String - directory
Id Number - directory
Node NumberId - external
Directory StringNode Id - id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - provenance String
Look up Existing EmailSecurityImpersonationRegistry Resource
Get an existing EmailSecurityImpersonationRegistry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EmailSecurityImpersonationRegistryState, opts?: CustomResourceOptions): EmailSecurityImpersonationRegistry
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
comments: Optional[str] = None,
created_at: Optional[str] = None,
directory_id: Optional[int] = None,
directory_node_id: Optional[int] = None,
email: Optional[str] = None,
external_directory_node_id: Optional[str] = None,
is_email_regex: Optional[bool] = None,
last_modified: Optional[str] = None,
name: Optional[str] = None,
provenance: Optional[str] = None) -> EmailSecurityImpersonationRegistry
func GetEmailSecurityImpersonationRegistry(ctx *Context, name string, id IDInput, state *EmailSecurityImpersonationRegistryState, opts ...ResourceOption) (*EmailSecurityImpersonationRegistry, error)
public static EmailSecurityImpersonationRegistry Get(string name, Input<string> id, EmailSecurityImpersonationRegistryState? state, CustomResourceOptions? opts = null)
public static EmailSecurityImpersonationRegistry get(String name, Output<String> id, EmailSecurityImpersonationRegistryState state, CustomResourceOptions options)
resources: _: type: cloudflare:EmailSecurityImpersonationRegistry get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Account Identifier
- Comments string
- Created
At string - Directory
Id int - Directory
Node intId - Email string
- External
Directory stringNode Id - Is
Email boolRegex - Last
Modified string - Name string
- Provenance string
- Account
Id string - Account Identifier
- Comments string
- Created
At string - Directory
Id int - Directory
Node intId - Email string
- External
Directory stringNode Id - Is
Email boolRegex - Last
Modified string - Name string
- Provenance string
- account
Id String - Account Identifier
- comments String
- created
At String - directory
Id Integer - directory
Node IntegerId - email String
- external
Directory StringNode Id - is
Email BooleanRegex - last
Modified String - name String
- provenance String
- account
Id string - Account Identifier
- comments string
- created
At string - directory
Id number - directory
Node numberId - email string
- external
Directory stringNode Id - is
Email booleanRegex - last
Modified string - name string
- provenance string
- account_
id str - Account Identifier
- comments str
- created_
at str - directory_
id int - directory_
node_ intid - email str
- external_
directory_ strnode_ id - is_
email_ boolregex - last_
modified str - name str
- provenance str
- account
Id String - Account Identifier
- comments String
- created
At String - directory
Id Number - directory
Node NumberId - email String
- external
Directory StringNode Id - is
Email BooleanRegex - last
Modified String - name String
- provenance String
Import
$ pulumi import cloudflare:index/emailSecurityImpersonationRegistry:EmailSecurityImpersonationRegistry example '<account_id>/<display_name_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.