CreateReadEndpointDetails

class oci.mysql.models.CreateReadEndpointDetails(**kwargs)

Bases: object

Details required to create a Read Endpoint.

Methods

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

Attributes

exclude_ips Gets the exclude_ips of this CreateReadEndpointDetails.
is_enabled Gets the is_enabled of this CreateReadEndpointDetails.
read_endpoint_hostname_label Gets the read_endpoint_hostname_label of this CreateReadEndpointDetails.
read_endpoint_ip_address Gets the read_endpoint_ip_address of this CreateReadEndpointDetails.
__init__(**kwargs)

Initializes a new CreateReadEndpointDetails 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 CreateReadEndpointDetails.
  • read_endpoint_ip_address (str) – The value to assign to the read_endpoint_ip_address property of this CreateReadEndpointDetails.
  • read_endpoint_hostname_label (str) – The value to assign to the read_endpoint_hostname_label property of this CreateReadEndpointDetails.
  • exclude_ips (list[str]) – The value to assign to the exclude_ips property of this CreateReadEndpointDetails.
exclude_ips

Gets the exclude_ips of this CreateReadEndpointDetails. A list of IP addresses of read replicas that are excluded from serving read requests.

Returns:The exclude_ips of this CreateReadEndpointDetails.
Return type:list[str]
is_enabled

Gets the is_enabled of this CreateReadEndpointDetails. Specifies if the DB System read endpoint is enabled or not.

Returns:The is_enabled of this CreateReadEndpointDetails.
Return type:bool
read_endpoint_hostname_label

Gets the read_endpoint_hostname_label of this CreateReadEndpointDetails. 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 CreateReadEndpointDetails.
Return type:str
read_endpoint_ip_address

Gets the read_endpoint_ip_address of this CreateReadEndpointDetails. 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 CreateReadEndpointDetails.
Return type:str