Infoblox::Grid::Discovery::CLICredential
The object provides information about CLI credentials.
my $object = Infoblox::Grid::Discovery::CLICredential->new( 'user' => $string, # optional 'password' => $string, # optional 'comment' => $string, # optional 'type' => 'ENABLE_SSH' | 'ENABLE_TELNET' | 'SSH' | 'TELNET', # 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 retrieve the credential ID. This attribute is read-only.
None.
The method returns the attribute value.
# Get attribute value my $value = $object->id();
Use this method to set or retrieve the descriptive comment.
Desired 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('CLI credentials');
Use this method to set the CLI user password. This attribute is write-only.
The CLI 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->password('infoblox');
Use this method to set or retrieve the credential type.
The valid value is 'ENABLE_SSH', 'ENABLE_TELNET', 'SSH' or 'TELNET'.
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->typ(); # Modify attribute value $object->type('ENABLE_SSH');
Use this method to set or retrieve the CLI user name.
The CLI 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/
Infoblox::Grid::Discovery::Properties
Copyright (c) 2017 Infoblox Inc.