|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Avaliable Methods | |
| public method | get_raw_secret () |
| public method | set_raw_secret () |
| public method | set_auth_hash () |
| public method | get_priv_hash () |
| public method | get_auth_hash () |
| public method | new () |
| public method | set_priv_hash () |
Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPHashConfig class Structure to provide up to two secrets to combine with the SNMPv3 engine ID and authentication or privacy protocol to form a localized hash. auth_hash is always required, priv_hash can be empty. By default arguments are paths on the local filesystem, raw_secret takes path to be the actual raw secret. First implementation was in ESXi: esxcli system snmp hash –help
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPHashConfig::get_auth_hash | ( | ) |
Gets the value of 'auth_hash' property.
| auth_hash | - The current value of the field. Provide filename to secret for authentication hash, use in set –users (required secret) String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPHashConfig::get_priv_hash | ( | ) |
Gets the value of 'priv_hash' property.
| priv_hash | - The current value of the field. Provide filename to secret for privacy hash, use in set –users (secret) String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPHashConfig::get_raw_secret | ( | ) |
Gets the value of 'raw_secret' property.
| raw_secret | - The current value of the field. Make –auth_path and –priv_path flags read raw secret from command line instead of file. boolean# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPHashConfig::new | ( | ) |
Constructor to initialize the Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPHashConfig structure
| Blessed | object |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPHashConfig::set_auth_hash | ( | ) |
Sets the given value for 'auth_hash' property.
| auth_hash | - New value for the field. Provide filename to secret for authentication hash, use in set –users (required secret) |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPHashConfig::set_priv_hash | ( | ) |
Sets the given value for 'priv_hash' property.
| priv_hash | - New value for the field. Provide filename to secret for privacy hash, use in set –users (secret) |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPHashConfig::set_raw_secret | ( | ) |
Sets the given value for 'raw_secret' property.
| raw_secret | - New value for the field. Make –auth_path and –priv_path flags read raw secret from command line instead of file. |
Code: