oci.Email.EmailDomain
Explore with Pulumi AI
This resource provides the Email Domain resource in Oracle Cloud Infrastructure Email service.
Creates a new email domain. Avoid entering confidential information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testEmailDomain = new oci.email.EmailDomain("test_email_domain", {
compartmentId: compartmentId,
name: emailDomainName,
definedTags: {
"Operations.CostCenter": "42",
},
description: emailDomainDescription,
domainVerificationId: testDomainVerification.id,
freeformTags: {
Department: "Finance",
},
});
import pulumi
import pulumi_oci as oci
test_email_domain = oci.email.EmailDomain("test_email_domain",
compartment_id=compartment_id,
name=email_domain_name,
defined_tags={
"Operations.CostCenter": "42",
},
description=email_domain_description,
domain_verification_id=test_domain_verification["id"],
freeform_tags={
"Department": "Finance",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Email.NewEmailDomain(ctx, "test_email_domain", &Email.EmailDomainArgs{
CompartmentId: pulumi.Any(compartmentId),
Name: pulumi.Any(emailDomainName),
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
Description: pulumi.Any(emailDomainDescription),
DomainVerificationId: pulumi.Any(testDomainVerification.Id),
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testEmailDomain = new Oci.Email.EmailDomain("test_email_domain", new()
{
CompartmentId = compartmentId,
Name = emailDomainName,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = emailDomainDescription,
DomainVerificationId = testDomainVerification.Id,
FreeformTags =
{
{ "Department", "Finance" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Email.EmailDomain;
import com.pulumi.oci.Email.EmailDomainArgs;
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 testEmailDomain = new EmailDomain("testEmailDomain", EmailDomainArgs.builder()
.compartmentId(compartmentId)
.name(emailDomainName)
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(emailDomainDescription)
.domainVerificationId(testDomainVerification.id())
.freeformTags(Map.of("Department", "Finance"))
.build());
}
}
resources:
testEmailDomain:
type: oci:Email:EmailDomain
name: test_email_domain
properties:
compartmentId: ${compartmentId}
name: ${emailDomainName}
definedTags:
Operations.CostCenter: '42'
description: ${emailDomainDescription}
domainVerificationId: ${testDomainVerification.id}
freeformTags:
Department: Finance
Create EmailDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EmailDomain(name: string, args: EmailDomainArgs, opts?: CustomResourceOptions);
@overload
def EmailDomain(resource_name: str,
args: EmailDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EmailDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
domain_verification_id: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
name: Optional[str] = None)
func NewEmailDomain(ctx *Context, name string, args EmailDomainArgs, opts ...ResourceOption) (*EmailDomain, error)
public EmailDomain(string name, EmailDomainArgs args, CustomResourceOptions? opts = null)
public EmailDomain(String name, EmailDomainArgs args)
public EmailDomain(String name, EmailDomainArgs args, CustomResourceOptions options)
type: oci:Email:EmailDomain
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 EmailDomainArgs
- 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 EmailDomainArgs
- 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 EmailDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EmailDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EmailDomainArgs
- 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 emailDomainResource = new Oci.Email.EmailDomain("emailDomainResource", new()
{
CompartmentId = "string",
DefinedTags =
{
{ "string", "any" },
},
Description = "string",
DomainVerificationId = "string",
FreeformTags =
{
{ "string", "any" },
},
Name = "string",
});
example, err := Email.NewEmailDomain(ctx, "emailDomainResource", &Email.EmailDomainArgs{
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
Description: pulumi.String("string"),
DomainVerificationId: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
Name: pulumi.String("string"),
})
var emailDomainResource = new EmailDomain("emailDomainResource", EmailDomainArgs.builder()
.compartmentId("string")
.definedTags(Map.of("string", "any"))
.description("string")
.domainVerificationId("string")
.freeformTags(Map.of("string", "any"))
.name("string")
.build());
email_domain_resource = oci.email.EmailDomain("emailDomainResource",
compartment_id="string",
defined_tags={
"string": "any",
},
description="string",
domain_verification_id="string",
freeform_tags={
"string": "any",
},
name="string")
const emailDomainResource = new oci.email.EmailDomain("emailDomainResource", {
compartmentId: "string",
definedTags: {
string: "any",
},
description: "string",
domainVerificationId: "string",
freeformTags: {
string: "any",
},
name: "string",
});
type: oci:Email:EmailDomain
properties:
compartmentId: string
definedTags:
string: any
description: string
domainVerificationId: string
freeformTags:
string: any
name: string
EmailDomain Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EmailDomain resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment for this email domain.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Domain
Verification stringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Name string
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) The OCID of the compartment for this email domain.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Domain
Verification stringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Name string
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment for this email domain.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- domain
Verification StringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- name String
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) The OCID of the compartment for this email domain.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description string
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- domain
Verification stringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- name string
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) The OCID of the compartment for this email domain.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description str
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- domain_
verification_ strid - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- name str
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment for this email domain.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- domain
Verification StringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- name String
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the EmailDomain resource produces the following output properties:
- Active
Dkim stringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- Domain
Verification stringStatus - The current domain verification status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Spf bool - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- State string
- The current state of the email domain.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- Active
Dkim stringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- Domain
Verification stringStatus - The current domain verification status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Spf bool - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- State string
- The current state of the email domain.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- active
Dkim StringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- domain
Verification StringStatus - The current domain verification status.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Spf Boolean - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- state String
- The current state of the email domain.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- active
Dkim stringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- domain
Verification stringStatus - The current domain verification status.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Spf boolean - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- state string
- The current state of the email domain.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- active_
dkim_ strid - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- domain_
verification_ strstatus - The current domain verification status.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
spf bool - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- state str
- The current state of the email domain.
- Mapping[str, Any]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- active
Dkim StringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- domain
Verification StringStatus - The current domain verification status.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Spf Boolean - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- state String
- The current state of the email domain.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
Look up Existing EmailDomain Resource
Get an existing EmailDomain 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?: EmailDomainState, opts?: CustomResourceOptions): EmailDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_dkim_id: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
domain_verification_id: Optional[str] = None,
domain_verification_status: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_spf: Optional[bool] = None,
name: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
time_created: Optional[str] = None) -> EmailDomain
func GetEmailDomain(ctx *Context, name string, id IDInput, state *EmailDomainState, opts ...ResourceOption) (*EmailDomain, error)
public static EmailDomain Get(string name, Input<string> id, EmailDomainState? state, CustomResourceOptions? opts = null)
public static EmailDomain get(String name, Output<String> id, EmailDomainState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Active
Dkim stringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- Compartment
Id string - (Updatable) The OCID of the compartment for this email domain.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Domain
Verification stringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- Domain
Verification stringStatus - The current domain verification status.
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Spf bool - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- Name string
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
- The current state of the email domain.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- Active
Dkim stringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- Compartment
Id string - (Updatable) The OCID of the compartment for this email domain.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Domain
Verification stringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- Domain
Verification stringStatus - The current domain verification status.
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Spf bool - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- Name string
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
- The current state of the email domain.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- active
Dkim StringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- compartment
Id String - (Updatable) The OCID of the compartment for this email domain.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- domain
Verification StringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- domain
Verification StringStatus - The current domain verification status.
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Spf Boolean - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- name String
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
- The current state of the email domain.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- active
Dkim stringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- compartment
Id string - (Updatable) The OCID of the compartment for this email domain.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description string
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- domain
Verification stringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- domain
Verification stringStatus - The current domain verification status.
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Spf boolean - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- name string
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state string
- The current state of the email domain.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- active_
dkim_ strid - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- compartment_
id str - (Updatable) The OCID of the compartment for this email domain.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description str
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- domain_
verification_ strid - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- domain_
verification_ strstatus - The current domain verification status.
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is_
spf bool - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- name str
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state str
- The current state of the email domain.
- Mapping[str, Any]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
- active
Dkim StringId - The OCID of the DKIM key that will be used to sign mail sent from this email domain.
- compartment
Id String - (Updatable) The OCID of the compartment for this email domain.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
- domain
Verification StringId - (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
- domain
Verification StringStatus - The current domain verification status.
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Spf Boolean - Value of the SPF field. For more information about SPF, please see SPF Authentication.
- name String
The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
- The current state of the email domain.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the email domain was created, expressed in RFC 3339 timestamp format, "YYYY-MM-ddThh:mmZ". Example:
2021-02-12T22:47:12.613Z
Import
EmailDomains can be imported using the id
, e.g.
$ pulumi import oci:Email/emailDomain:EmailDomain test_email_domain "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.