CreateDkimDetails¶
- class oci.email.models.CreateDkimDetails(**kwargs)¶
Bases:
objectProperties to create a new DKIM. The new object will be created in the same compartment as the EmailDomain.
Methods:
__init__(**kwargs)Initializes a new CreateDkimDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this CreateDkimDetails.
Gets the description of this CreateDkimDetails.
[Required] Gets the email_domain_id of this CreateDkimDetails.
Gets the freeform_tags of this CreateDkimDetails.
Gets the name of this CreateDkimDetails.
Gets the private_key of this CreateDkimDetails.
- __init__(**kwargs)¶
Initializes a new CreateDkimDetails 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 CreateDkimDetails.
email_domain_id (str) – The value to assign to the email_domain_id property of this CreateDkimDetails.
description (str) – The value to assign to the description property of this CreateDkimDetails.
private_key (str) – The value to assign to the private_key property of this CreateDkimDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDkimDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDkimDetails.
- property defined_tags¶
Gets the defined_tags of this CreateDkimDetails. 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 CreateDkimDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateDkimDetails. A string that describes the details about the DKIM. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Returns
The description of this CreateDkimDetails.
- Return type
str
- property email_domain_id¶
[Required] Gets the email_domain_id of this CreateDkimDetails. The OCID of the EmailDomain for this DKIM.
- Returns
The email_domain_id of this CreateDkimDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateDkimDetails. 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 CreateDkimDetails.
- Return type
dict(str, str)
- property name¶
Gets the name of this CreateDkimDetails. The DKIM selector. This selector is required to be globally unique for this email domain. If you do not provide the selector, we will generate one for you. If you do provide the selector, we suggest adding a short region indicator to differentiate from your signing of emails in other regions you might be subscribed to. Selectors limited to ASCII characters can use alphanumeric, dash (“-“), and dot (“.”) characters. Non-ASCII selector names should adopt IDNA2008 normalization (RFC 5891-5892).
Avoid entering confidential information.
Example: mydomain-phx-20210228
- Returns
The name of this CreateDkimDetails.
- Return type
str
- property private_key¶
Gets the private_key of this CreateDkimDetails. The DKIM RSA Private Key in Privacy-Enhanced Mail (PEM) format. It is a text-based representation of the private key used for signing email messages.
- Returns
The private_key of this CreateDkimDetails.
- Return type
str