UpdateIpAddressListDetails¶
-
class
oci.network_firewall.models.
UpdateIpAddressListDetails
(**kwargs)¶ Bases:
oci.network_firewall.models.update_address_list_details.UpdateAddressListDetails
The request details to be updated in the address List for the policy.
Attributes
TYPE_FQDN
str(object=’’) -> str TYPE_IP
str(object=’’) -> str addresses
[Required] Gets the addresses of this UpdateIpAddressListDetails. type
[Required] Gets the type of this UpdateAddressListDetails. Methods
__init__
(**kwargs)Initializes a new UpdateIpAddressListDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
TYPE_FQDN
= 'FQDN'¶
-
TYPE_IP
= 'IP'¶
-
__init__
(**kwargs)¶ Initializes a new UpdateIpAddressListDetails object with values from keyword arguments. The default value of the
type
attribute of this class isIP
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this UpdateIpAddressListDetails. Allowed values for this property are: “FQDN”, “IP”
- addresses (list[str]) – The value to assign to the addresses property of this UpdateIpAddressListDetails.
-
addresses
¶ [Required] Gets the addresses of this UpdateIpAddressListDetails. List of IP addresses which could be IPv4 or IPv6 addresses or CIDR blocks.
Returns: The addresses of this UpdateIpAddressListDetails. Return type: list[str]
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
type
¶ [Required] Gets the type of this UpdateAddressListDetails. Type of address List. The accepted values are - * FQDN * IP
Allowed values for this property are: “FQDN”, “IP”
Returns: The type of this UpdateAddressListDetails. Return type: str
-