ReadEndpointDetails¶
-
class
oci.mysql.models.
ReadEndpointDetails
(**kwargs)¶ Bases:
object
The read endpoint of a DB System.
Methods
__init__
(**kwargs)Initializes a new ReadEndpointDetails object with values from keyword arguments. Attributes
exclude_ips
Gets the exclude_ips of this ReadEndpointDetails. is_enabled
Gets the is_enabled of this ReadEndpointDetails. read_endpoint_hostname_label
Gets the read_endpoint_hostname_label of this ReadEndpointDetails. read_endpoint_ip_address
Gets the read_endpoint_ip_address of this ReadEndpointDetails. -
__init__
(**kwargs)¶ Initializes a new ReadEndpointDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_enabled (bool) – The value to assign to the is_enabled property of this ReadEndpointDetails.
- read_endpoint_ip_address (str) – The value to assign to the read_endpoint_ip_address property of this ReadEndpointDetails.
- read_endpoint_hostname_label (str) – The value to assign to the read_endpoint_hostname_label property of this ReadEndpointDetails.
- exclude_ips (list[str]) – The value to assign to the exclude_ips property of this ReadEndpointDetails.
-
exclude_ips
¶ Gets the exclude_ips of this ReadEndpointDetails. A list of IP addresses of read replicas that are excluded from serving read requests.
Returns: The exclude_ips of this ReadEndpointDetails. Return type: list[str]
-
is_enabled
¶ Gets the is_enabled of this ReadEndpointDetails. Specifies if the DB System read endpoint is enabled or not.
Returns: The is_enabled of this ReadEndpointDetails. Return type: bool
-
read_endpoint_hostname_label
¶ Gets the read_endpoint_hostname_label of this ReadEndpointDetails. The hostname for the read endpoint of the DB System. Used for DNS.
The value is the hostname portion of the primary private IP’s fully qualified domain name (FQDN) (for example, “dbsystem-1” in FQDN “dbsystem-1.subnet123.vcn1.oraclevcn.com”).
Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
Returns: The read_endpoint_hostname_label of this ReadEndpointDetails. Return type: str
-
read_endpoint_ip_address
¶ Gets the read_endpoint_ip_address of this ReadEndpointDetails. The IP address the DB System read endpoint is configured to listen on. A private IP address of your choice to assign to the read endpoint of the DB System. Must be an available IP address within the subnet’s CIDR. If you don’t specify a value, Oracle automatically assigns a private IP address from the subnet. This should be a “dotted-quad” style IPv4 address.
Returns: The read_endpoint_ip_address of this ReadEndpointDetails. Return type: str
-