UdpApplication

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

Bases: oci.network_firewall.models.application.Application

UDP Application used on the firewall policy rules.

Methods

__init__(**kwargs) Initializes a new UdpApplication 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.

Attributes

maximum_port Gets the maximum_port of this UdpApplication.
minimum_port [Required] Gets the minimum_port of this UdpApplication.
type [Required] Gets the type of this Application.
__init__(**kwargs)

Initializes a new UdpApplication object with values from keyword arguments. The default value of the type attribute of this class is UDP 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 UdpApplication.
  • minimum_port (int) – The value to assign to the minimum_port property of this UdpApplication.
  • maximum_port (int) – The value to assign to the maximum_port property of this UdpApplication.
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.

maximum_port

Gets the maximum_port of this UdpApplication. The maximum port in the range (inclusive), which may be absent for a single-port range.

Returns:The maximum_port of this UdpApplication.
Return type:int
minimum_port

[Required] Gets the minimum_port of this UdpApplication. The minimum port in the range (inclusive), or the sole port of a single-port range.

Returns:The minimum_port of this UdpApplication.
Return type:int
type

[Required] Gets the type of this Application. Describes the type of Application.

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