Infoblox::Grid::Discovery::SNMPCredential - SNMPv1 and SNMPv2 credential.


NAME

Infoblox::Grid::Discovery::SNMPCredential - SNMPv1 and SNMPv2 credential.


DESCRIPTION

The object provides information about SNMPv1 and SNMPv2 credential.


CONSTRUCTOR

 my $object = Infoblox::Grid::Discovery::SNMPCredential->new(
    'comment'          => $string,    # Optional
    'community_string' => $string,    # Required
 );


SESSION METHODS

The object does not support any session methods.


METHODS

This section describes all the methods that you can use to set or retrieve the attribute values of the object.

comment( )

Use this method to set or retrieve the comment on SNMPv1 and SNMPv2 user.

Parameter

The comment in string format.

Returns

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.

Example
 # Get attribute value
 my $value = $object->comment();
 # Modify attribute value
 $object->comment('comment');

community_string( )

Use this method to set or retrieve the public community string.

Parameter

The public community string.

Returns

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.

Example
 # Get attribute value
 my $value = $object->community_string();
 # Modify attribute value
 $object->community_string('string');


AUTHOR

Infoblox Inc. http://www.infoblox.com/


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.