Whitelist¶
-
class
oci.waas.models.
Whitelist
(**kwargs)¶ Bases:
object
An array of IP addresses that bypass the Web Application Firewall. Supports both single IP addresses or subnet masks (CIDR notation).
Methods
__init__
(**kwargs)Initializes a new Whitelist object with values from keyword arguments. Attributes
address_lists
Gets the address_lists of this Whitelist. addresses
Gets the addresses of this Whitelist. name
[Required] Gets the name of this Whitelist. -
__init__
(**kwargs)¶ Initializes a new Whitelist object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this Whitelist.
- addresses (list[str]) – The value to assign to the addresses property of this Whitelist.
- address_lists (list[str]) – The value to assign to the address_lists property of this Whitelist.
-
address_lists
¶ Gets the address_lists of this Whitelist. A list of OCID of IP address lists to include in the whitelist.
Returns: The address_lists of this Whitelist. Return type: list[str]
-
addresses
¶ Gets the addresses of this Whitelist. A set of IP addresses or CIDR notations to include in the whitelist.
Returns: The addresses of this Whitelist. Return type: list[str]
-
name
¶ [Required] Gets the name of this Whitelist. The unique name of the whitelist.
Returns: The name of this Whitelist. Return type: str
-