DatabaseToolsAllowedNetworkSources

class oci.database_tools.models.DatabaseToolsAllowedNetworkSources(**kwargs)

Bases: object

Allow to restrict access to only requests that come from the specified public or virtual source IP addresses.

Methods

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

Attributes

public_source_list Gets the public_source_list of this DatabaseToolsAllowedNetworkSources.
virtual_source_list Gets the virtual_source_list of this DatabaseToolsAllowedNetworkSources.
__init__(**kwargs)

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

Parameters:
  • public_source_list (list[str]) – The value to assign to the public_source_list property of this DatabaseToolsAllowedNetworkSources.
  • virtual_source_list (list[oci.database_tools.models.DatabaseToolsVirtualSource]) – The value to assign to the virtual_source_list property of this DatabaseToolsAllowedNetworkSources.
public_source_list

Gets the public_source_list of this DatabaseToolsAllowedNetworkSources. A list of allowed public IPs and CIDR blocks.

Returns:The public_source_list of this DatabaseToolsAllowedNetworkSources.
Return type:list[str]
virtual_source_list

Gets the virtual_source_list of this DatabaseToolsAllowedNetworkSources. A list of allowed VCN OCID and IP ranges pairs. Example:”vcnId”: “ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID”, “ipRanges”: [ “129.213.39.0/24” ]

Returns:The virtual_source_list of this DatabaseToolsAllowedNetworkSources.
Return type:list[oci.database_tools.models.DatabaseToolsVirtualSource]