CreateAddressListDetails

class oci.network_firewall.models.CreateAddressListDetails(**kwargs)

Bases: object

The Request for creating the address List

Attributes

TYPE_FQDN A constant which can be used with the type property of a CreateAddressListDetails.
TYPE_IP A constant which can be used with the type property of a CreateAddressListDetails.
addresses [Required] Gets the addresses of this CreateAddressListDetails.
name [Required] Gets the name of this CreateAddressListDetails.
type [Required] Gets the type of this CreateAddressListDetails.

Methods

__init__(**kwargs) Initializes a new CreateAddressListDetails object with values from keyword arguments.
TYPE_FQDN = 'FQDN'

A constant which can be used with the type property of a CreateAddressListDetails. This constant has a value of “FQDN”

TYPE_IP = 'IP'

A constant which can be used with the type property of a CreateAddressListDetails. This constant has a value of “IP”

__init__(**kwargs)

Initializes a new CreateAddressListDetails 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 CreateAddressListDetails.
  • type (str) – The value to assign to the type property of this CreateAddressListDetails. Allowed values for this property are: “FQDN”, “IP”
  • addresses (list[str]) – The value to assign to the addresses property of this CreateAddressListDetails.
addresses

[Required] Gets the addresses of this CreateAddressListDetails. List of addresses.

Returns:The addresses of this CreateAddressListDetails.
Return type:list[str]
name

[Required] Gets the name of this CreateAddressListDetails. Unique name to identify the group of addresses to be used in the policy rules.

Returns:The name of this CreateAddressListDetails.
Return type:str
type

[Required] Gets the type of this CreateAddressListDetails. Type of address List. The accepted values are - * FQDN * IP

Allowed values for this property are: “FQDN”, “IP”

Returns:The type of this CreateAddressListDetails.
Return type:str