UdpOptions

class oci.core.models.UdpOptions(**kwargs)

Bases: object

Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.

Methods

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

Attributes

destination_port_range Gets the destination_port_range of this UdpOptions.
source_port_range Gets the source_port_range of this UdpOptions.
__init__(**kwargs)

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

Parameters:
  • destination_port_range (oci.core.models.PortRange) – The value to assign to the destination_port_range property of this UdpOptions.
  • source_port_range (oci.core.models.PortRange) – The value to assign to the source_port_range property of this UdpOptions.
destination_port_range

Gets the destination_port_range of this UdpOptions.

Returns:The destination_port_range of this UdpOptions.
Return type:oci.core.models.PortRange
source_port_range

Gets the source_port_range of this UdpOptions.

Returns:The source_port_range of this UdpOptions.
Return type:oci.core.models.PortRange