Infoblox::Grid::ThreatProtection::NATPort - a NAT Threat Protection Port object.
The Threat Protection NAT Port object provides information about the port blocks configured for NAT mapping.
my $nat_port = Infoblox::Grid::ThreatProtection::NATPort->new( start_port => $uint, #Required end_port => $uint, #Required block_size => $uint, #Required );
The object does not support any session methods.
The following functions are available to apply to a NAT Port object.
Use this method to set or retrieve NAT Port configuration for the NAT Threat Protection Rule. See Infoblox::Grid::ThreatProtection::NATRule->nat_ports() for parameters and return values.
#Get nat_ports my $nat_ports = $nat_rule->nat_ports();
#Modify nat_ports $nat_rule->nat_ports($nat_ports);
This section describes all the methods that you can use to configure and retrieve the attribute values of a Threat Protection NAT Port.
Use this method to set or retrieve the block size for the NAT Port configuration object.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is an unsigned integer.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get attribute value my $value = $object->block_size();
#Modify attribute value $object->block_size(20);
Use this method to set or retrieve the end port value for the NAT port configuration object.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is an unsigned integer.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get attribute value my $value = $object->end_port();
#Modify attribute value $object->end_port(10);
Use this method to set or retrieve the start port value for the NAT port configuration object.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is an unsigned integer.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get attribute value my $value = $object->start_port();
#Modify attribute value $object->start_port(5);
Infoblox Inc. http://www.infoblox.com/
Infoblox::Grid::ThreatProtection::NATRule, Infoblox::Grid::ThreatProtection::NATRule->nat_ports()
Copyright (c) 2017 Infoblox Inc.