NetworkDetails

class oci.psql.models.NetworkDetails(**kwargs)

Bases: object

Network details for the database system.

Methods:

__init__(**kwargs)

Initializes a new NetworkDetails object with values from keyword arguments.

Attributes:

is_reader_endpoint_enabled

Gets the is_reader_endpoint_enabled of this NetworkDetails.

nsg_ids

Gets the nsg_ids of this NetworkDetails.

primary_db_endpoint_private_ip

Gets the primary_db_endpoint_private_ip of this NetworkDetails.

subnet_id

[Required] Gets the subnet_id of this NetworkDetails.

__init__(**kwargs)

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

Parameters
  • subnet_id (str) – The value to assign to the subnet_id property of this NetworkDetails.

  • primary_db_endpoint_private_ip (str) – The value to assign to the primary_db_endpoint_private_ip property of this NetworkDetails.

  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this NetworkDetails.

  • is_reader_endpoint_enabled (bool) – The value to assign to the is_reader_endpoint_enabled property of this NetworkDetails.

property is_reader_endpoint_enabled

Gets the is_reader_endpoint_enabled of this NetworkDetails. Specifies if the reader endpoint is enabled on the dbSystem.

Returns

The is_reader_endpoint_enabled of this NetworkDetails.

Return type

bool

property nsg_ids

Gets the nsg_ids of this NetworkDetails. List of customer Network Security Group OCIDs associated with the database system.

Returns

The nsg_ids of this NetworkDetails.

Return type

list[str]

property primary_db_endpoint_private_ip

Gets the primary_db_endpoint_private_ip of this NetworkDetails. Private IP in customer subnet. The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.

Returns

The primary_db_endpoint_private_ip of this NetworkDetails.

Return type

str

property subnet_id

[Required] Gets the subnet_id of this NetworkDetails. The OCID of the customer subnet associated with the database system.

Returns

The subnet_id of this NetworkDetails.

Return type

str