Infoblox::Grid::Discovery::Port - the discovery port structure.
The object provides information about the discovery port.
my $object = Infoblox::Grid::Discovery::Port->new( 'comment' => $string, # Optional 'port' => $uint, # Required 'type' => 'TCP' | 'UDP', # Required );
The object does not support any session methods.
This section describes all the methods that you can use to set or retrieve the attribute values of the object.
Use this method to set or retrieve the comment.
The comment 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 attribute value my $value = $object->comment(); # Modify attribute value $object->comment('comment');
Use this method to set or retrieve the port number.
The port number.
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->port(); # Modify attribute value $object->port(56);
Use this method to set or retrieve the port type.
Valid value is 'TCP' or 'UDP'.
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->type(); # Modify attribute value $object->type('UDP');
Infoblox Inc. http://www.infoblox.com/
Copyright (c) 2017 Infoblox Inc.