Infoblox::IPAM::TCPPort - Network discovery TCP port
This class represents the TCP port that network discovery jobs use to find IP addresses.
my $tcp_port = Infoblox::IPAM::TCPPort->new( number => $string, #Required. comment => $string, #Optional. );
This object does not have a session method. You must use it with Infoblox::IPAM::DiscoveryTask class.
This section describes all the methods that you can use to configure and retrieve the attribute values of a TCP port.
Use this method to set or retrieve a descriptive comment for a TCP port.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
Enter a descriptive comment for the TCP port in string format.
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 comment my $comment = $tcp_port->comment(); # Modify comment $tcp_port->comment("new port");
Use this method to set or retrieve the TCP port number.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
Enter a number the TCP port.
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 port number my $port_number = $tcp_port->number(); # Modify port number $tcp_port->number("222");
Please see sample code in Infoblox::IPAM::DiscoveryTask.
Infoblox Inc. http://www.infoblox.com/
Copyright (c) 2017 Infoblox Inc.