Configuration¶
- class oci.email.models.Configuration(**kwargs)¶
Bases:
objectTenancy level customer email configuration details.
Methods:
__init__(**kwargs)Initializes a new Configuration object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this Configuration.
[Required] Gets the http_submit_endpoint of this Configuration.
[Required] Gets the smtp_submit_endpoint of this Configuration.
- __init__(**kwargs)¶
Initializes a new Configuration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this Configuration.
http_submit_endpoint (str) – The value to assign to the http_submit_endpoint property of this Configuration.
smtp_submit_endpoint (str) – The value to assign to the smtp_submit_endpoint property of this Configuration.
- property compartment_id¶
[Required] Gets the compartment_id of this Configuration. The root compartment OCID (same as the tenancy OCID)
- Returns
The compartment_id of this Configuration.
- Return type
str
- property http_submit_endpoint¶
[Required] Gets the http_submit_endpoint of this Configuration. Endpoint used to submit emails via the HTTP email submission API
- Returns
The http_submit_endpoint of this Configuration.
- Return type
str
- property smtp_submit_endpoint¶
[Required] Gets the smtp_submit_endpoint of this Configuration. Endpoint used to submit emails via the standard SMTP submission protocol. Note that TLS 1.2 and standard SMTP authentication is required for submission.
- Returns
The smtp_submit_endpoint of this Configuration.
- Return type
str