|
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_targets () |
| public method | set_port () |
| public method | get_communities () |
| public method | get_authentication () |
| public method | set_loglevel () |
| public method | set_engineid () |
| public method | set_communities () |
| public method | set_authentication () |
| public method | set_notraps () |
| public method | get_users () |
| public method | get_syslocation () |
| public method | new () |
| public method | set_v3targets () |
| public method | get_notraps () |
| public method | get_v3targets () |
| public method | get_engineid () |
| public method | get_port () |
| public method | set_targets () |
| public method | set_syscontact () |
| public method | get_remoteusers () |
| public method | set_privacy () |
| public method | set_remoteusers () |
| public method | get_syscontact () |
| public method | get_privacy () |
| public method | set_syslocation () |
| public method | get_loglevel () |
| public method | set_users () |
Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig class Structure that defines the SNMP configuration, provided as input to set(), and never the result of get(). See SNMPConfigReadOnly. This structure is used to configure SNMP v1, v2c, and v3.
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_authentication | ( | ) |
Gets the value of 'authentication' property.
| authentication | - The current value of the field. Set the default authentication protocol. Values can be none, MD5, or SHA1. SNMPAuthProto# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_communities | ( | ) |
Gets the value of 'communities' property.
| communities | - The current value of the field. Set up to ten communities, each of no more than 64 characters long. The format is: community1[,community2,...]. This setting overwrites any previous settings. List# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_engineid | ( | ) |
Gets the value of 'engineid' property.
| engineid | - The current value of the field. Set SNMPv3 engine ID. The engine ID must contain 5 to 32 hexadecimal characters. "0x" and colon (:) are removed from the ID. String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_loglevel | ( | ) |
Gets the value of 'loglevel' property.
| loglevel | - The current value of the field. System Agent syslog logging level: debug|info|warning|error. String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_notraps | ( | ) |
Gets the value of 'notraps' property.
| notraps | - The current value of the field. Comma-separated list of trap OIDs (object identifiers) for traps not to be sent by the agent. Use 'reset' to clear the setting. List# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_port | ( | ) |
Gets the value of 'port' property.
| port | - The current value of the field. Set up a UDP port which the SNMP agent uses to listen on for polling requests. The default UDP port is 161. long# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_privacy | ( | ) |
Gets the value of 'privacy' property.
| privacy | - The current value of the field. Set the default privacy protocol. Values: none or AES128. SNMPPrivProto# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_remoteusers | ( | ) |
Gets the value of 'remoteusers' property.
| remoteusers | - The current value of the field. Set up to five inform user IDs. The format is: user/auth-proto/-|auth-hash/priv-proto/-|priv-hash/engine-id[,...]. Here, user must be maximum 32 characters long; auth-proto is none, MD5 or SHA1; priv-proto is none or AES; '-' indicates no hash; engine-id is a hexadecimal string '0x0-9a-f' and must be up to 32 characters long. List# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_syscontact | ( | ) |
Gets the value of 'syscontact' property.
| syscontact | - The current value of the field. System contact string as presented in sysContact.0. Up to 255 characters long. String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_syslocation | ( | ) |
Gets the value of 'syslocation' property.
| syslocation | - The current value of the field. System location string as presented in sysLocation.0. Up to 255 characters long. String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_targets | ( | ) |
Gets the value of 'targets' property.
| targets | - The current value of the field. Set up to three targets to which to send SNMPv1 traps. The format is: ip-or-hostname[]/community[,...]. The default port is UDP 162. This setting overwrites any previous settings. List# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_users | ( | ) |
Gets the value of 'users' property.
| users | - The current value of the field. Set up to five local users. The format is: user/-|auth-hash/-|priv-hash/model[,...]. Here user is maximum 32 characters long; '-' indicates no hash; model is one of none, auth or priv. List# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::get_v3targets | ( | ) |
Gets the value of 'v3targets' property.
| v3targets | - The current value of the field. Set up to three SNMPv3 notification targets. Format is: ip-or-hostname[]/remote-user/security-level/trap|inform[,...]. List# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::new | ( | ) |
Constructor to initialize the Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig structure
| Blessed | object |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_authentication | ( | ) |
Sets the given value for 'authentication' property.
| authentication | - New value for the field. Set the default authentication protocol. Values can be none, MD5, or SHA1. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_communities | ( | ) |
Sets the given value for 'communities' property.
| communities | - New value for the field. Set up to ten communities, each of no more than 64 characters long. The format is: community1[,community2,...]. This setting overwrites any previous settings. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_engineid | ( | ) |
Sets the given value for 'engineid' property.
| engineid | - New value for the field. Set SNMPv3 engine ID. The engine ID must contain 5 to 32 hexadecimal characters. "0x" and colon (:) are removed from the ID. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_loglevel | ( | ) |
Sets the given value for 'loglevel' property.
| loglevel | - New value for the field. System Agent syslog logging level: debug|info|warning|error. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_notraps | ( | ) |
Sets the given value for 'notraps' property.
| notraps | - New value for the field. Comma-separated list of trap OIDs (object identifiers) for traps not to be sent by the agent. Use 'reset' to clear the setting. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_port | ( | ) |
Sets the given value for 'port' property.
| port | - New value for the field. Set up a UDP port which the SNMP agent uses to listen on for polling requests. The default UDP port is 161. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_privacy | ( | ) |
Sets the given value for 'privacy' property.
| privacy | - New value for the field. Set the default privacy protocol. Values: none or AES128. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_remoteusers | ( | ) |
Sets the given value for 'remoteusers' property.
| remoteusers | - New value for the field. Set up to five inform user IDs. The format is: user/auth-proto/-|auth-hash/priv-proto/-|priv-hash/engine-id[,...]. Here, user must be maximum 32 characters long; auth-proto is none, MD5 or SHA1; priv-proto is none or AES; '-' indicates no hash; engine-id is a hexadecimal string '0x0-9a-f' and must be up to 32 characters long. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_syscontact | ( | ) |
Sets the given value for 'syscontact' property.
| syscontact | - New value for the field. System contact string as presented in sysContact.0. Up to 255 characters long. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_syslocation | ( | ) |
Sets the given value for 'syslocation' property.
| syslocation | - New value for the field. System location string as presented in sysLocation.0. Up to 255 characters long. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_targets | ( | ) |
Sets the given value for 'targets' property.
| targets | - New value for the field. Set up to three targets to which to send SNMPv1 traps. The format is: ip-or-hostname[]/community[,...]. The default port is UDP 162. This setting overwrites any previous settings. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_users | ( | ) |
Sets the given value for 'users' property.
| users | - New value for the field. Set up to five local users. The format is: user/-|auth-hash/-|priv-hash/model[,...]. Here user is maximum 32 characters long; '-' indicates no hash; model is one of none, auth or priv. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfig::set_v3targets | ( | ) |
Sets the given value for 'v3targets' property.
| v3targets | - New value for the field. Set up to three SNMPv3 notification targets. Format is: ip-or-hostname[]/remote-user/security-level/trap|inform[,...]. |
Code: