|
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_pid () |
| 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_enable () |
| public method | set_v3targets () |
| public method | get_notraps () |
| public method | get_v3targets () |
| public method | get_enable () |
| public method | get_engineid () |
| public method | get_port () |
| public method | set_targets () |
| public method | get_remoteusers () |
| public method | set_syscontact () |
| public method | get_pid () |
| public method | set_privacy () |
| public method | set_remoteusers () |
| public method | get_privacy () |
| public method | get_syscontact () |
| public method | set_syslocation () |
| public method | get_loglevel () |
| public method | set_users () |
Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly class* Structure that defines the SNMP configuration, the result of get(), and never provided as input to set(). This structure differs from SNMPConfig because it contains localized keys (as defined in http://tools.ietf.org/html/rfc3826#section-1.2), instead of raw secret strings. This structure can be used to configure SNMP v1, v2c, and v3. Keep this structure in sync with vmw_snmp.py:_default_config(). Note that if a field if left empty, it is considered unset and will be ignored. Existing array elements below can be unset by sending an element with the string 'reset'.
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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::SNMPConfigReadOnly::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::SNMPConfigReadOnly::get_enable | ( | ) |
Gets the value of 'enable' property.
| enable | - The current value of the field. Set enable to true/false boolean# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_engineid | ( | ) |
Gets the value of 'engineid' property.
| engineid | - The current value of the field. Set SNMPv3 engine ID. String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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::SNMPConfigReadOnly::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::SNMPConfigReadOnly::get_pid | ( | ) |
Gets the value of 'pid' property.
| pid | - The current value of the field. Set up pid String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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::SNMPConfigReadOnly::get_privacy | ( | ) |
Gets the value of 'privacy' property.
| privacy | - The current value of the field. Set the default privacy protocol. SNMPPrivProto# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_remoteusers | ( | ) |
Gets the value of 'remoteusers' property.
| remoteusers | - The current value of the field. Set up remote users. List# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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::SNMPConfigReadOnly::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::SNMPConfigReadOnly::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. List# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_users | ( | ) |
Gets the value of 'users' property.
| users | - The current value of the field. Set up to five local users. List# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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::SNMPConfigReadOnly::new | ( | ) |
Constructor to initialize the Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly structure
| Blessed | object |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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::SNMPConfigReadOnly::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::SNMPConfigReadOnly::set_enable | ( | ) |
Sets the given value for 'enable' property.
| enable | - New value for the field. Set enable to true/false |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_engineid | ( | ) |
Sets the given value for 'engineid' property.
| engineid | - New value for the field. Set SNMPv3 engine ID. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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::SNMPConfigReadOnly::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::SNMPConfigReadOnly::set_pid | ( | ) |
Sets the given value for 'pid' property.
| pid | - New value for the field. Set up pid |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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::SNMPConfigReadOnly::set_privacy | ( | ) |
Sets the given value for 'privacy' property.
| privacy | - New value for the field. Set the default privacy protocol. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_remoteusers | ( | ) |
Sets the given value for 'remoteusers' property.
| remoteusers | - New value for the field. Set up remote users. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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::SNMPConfigReadOnly::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::SNMPConfigReadOnly::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. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_users | ( | ) |
Sets the given value for 'users' property.
| users | - New value for the field. Set up to five local users. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::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: