Infoblox::Grid::Discovery::SNMP3Credential - SNMPv3 credential.
The object provides information about SNMPv3 credential.
my $object = Infoblox::Grid::Discovery::SNMP3Credential->new( 'authentication_password' => $string, # Required if authentication_protocol is MD5 or SHA 'authentication_protocol' => 'MD5' | 'NONE' | 'SHA', # Requred 'comment' => $string, # Optional 'privacy_password' => $string, # Required if privacy_protocol is 'AES', 'DES' or '3DES' 'privacy_protocol' => 'AES' | 'DES' | '3DES' | 'NONE', # Required 'user' => $string, # 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 the authentication password if the authentication protocol is MD5 or SHA. This is a write-only attribute.
The authentication password in string format.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
# Modify attribute value $object->authentication_password('infoblox');
Use this method to set or retrieve the authentication protocol.
Valid value is 'MD5', 'NONE' or 'SHA'.
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->authentication_protocol(); # Modify attribute value $object->authentication_protocol('MD5');
Use this method to set or retrieve the comment on SNMPv3 user.
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('SNMPv3');
Use this method to set the privacy password if the privacy protocol is 'AES', 'DES' or '3DES'. This is a write-only attribute.
The privacy password in string format.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
# Modify attribute value $object->privacy_password('infoblox');
Use this method to set or retrieve the privacy protocol.
Valid value is 'AES', 'DES', '3DES' or 'NONE'.
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->privacy_protocol(); # Modify attribute value $object->privacy_protocol('3DES');
Use this method to set or retrieve the SNMPv3 user name.
Tthe SNMPv3 user name 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->user(); # Modify attribute value $object->user('admin');
Infoblox Inc. http://www.infoblox.com/
Copyright (c) 2017 Infoblox Inc.