CreateEmailDomainDetails

class oci.email.models.CreateEmailDomainDetails(**kwargs)

Bases: object

The configuration details for creating a new email domain.

Methods

__init__(**kwargs) Initializes a new CreateEmailDomainDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateEmailDomainDetails.
defined_tags Gets the defined_tags of this CreateEmailDomainDetails.
description Gets the description of this CreateEmailDomainDetails.
freeform_tags Gets the freeform_tags of this CreateEmailDomainDetails.
name [Required] Gets the name of this CreateEmailDomainDetails.
__init__(**kwargs)

Initializes a new CreateEmailDomainDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CreateEmailDomainDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateEmailDomainDetails.
  • description (str) – The value to assign to the description property of this CreateEmailDomainDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateEmailDomainDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateEmailDomainDetails.
compartment_id

[Required] Gets the compartment_id of this CreateEmailDomainDetails. The OCID of the compartment for this email domain.

Returns:The compartment_id of this CreateEmailDomainDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateEmailDomainDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateEmailDomainDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateEmailDomainDetails. 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.

Returns:The description of this CreateEmailDomainDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateEmailDomainDetails. 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”}

Returns:The freeform_tags of this CreateEmailDomainDetails.
Return type:dict(str, str)
name

[Required] Gets the name of this CreateEmailDomainDetails. 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, please see: https://tools.ietf.org/html/rfc5321#section-4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).

Returns:The name of this CreateEmailDomainDetails.
Return type:str