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
 All Classes Files Functions
List of all members
Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly Class Reference
Inheritance diagram for Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly:

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 ()
 

Detailed Description

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'.

Member Function Documentation

public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_authentication ( )

Gets the value of 'authentication' property.

Return values
authentication- The current value of the field. Set the default authentication protocol. Values can be none, MD5, or SHA1. SNMPAuthProto#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_communities ( )

Gets the value of 'communities' property.

Return values
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:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_enable ( )

Gets the value of 'enable' property.

Return values
enable- The current value of the field. Set enable to true/false boolean#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_engineid ( )

Gets the value of 'engineid' property.

Return values
engineid- The current value of the field. Set SNMPv3 engine ID. String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_loglevel ( )

Gets the value of 'loglevel' property.

Return values
loglevel- The current value of the field. System Agent syslog logging level: debug|info|warning|error. String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_notraps ( )

Gets the value of 'notraps' property.

Return values
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:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_pid ( )

Gets the value of 'pid' property.

Return values
pid- The current value of the field. Set up pid String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_port ( )

Gets the value of 'port' property.

Return values
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:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_privacy ( )

Gets the value of 'privacy' property.

Return values
privacy- The current value of the field. Set the default privacy protocol. SNMPPrivProto#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_remoteusers ( )

Gets the value of 'remoteusers' property.

Return values
remoteusers- The current value of the field. Set up remote users. List#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_syscontact ( )

Gets the value of 'syscontact' property.

Return values
syscontact- The current value of the field. System contact string as presented in sysContact.0. Up to 255 characters long. String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_syslocation ( )

Gets the value of 'syslocation' property.

Return values
syslocation- The current value of the field. System location string as presented in sysLocation.0. Up to 255 characters long. String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_targets ( )

Gets the value of 'targets' property.

Return values
targets- The current value of the field. Set up to three targets to which to send SNMPv1 traps. List#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_users ( )

Gets the value of 'users' property.

Return values
users- The current value of the field. Set up to five local users. List#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::get_v3targets ( )

Gets the value of 'v3targets' property.

Return values
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:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::new ( )

Constructor to initialize the Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_authentication ( )

Sets the given value for 'authentication' property.

Parameters
authentication- New value for the field. Set the default authentication protocol. Values can be none, MD5, or SHA1.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_communities ( )

Sets the given value for 'communities' property.

Parameters
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:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_enable ( )

Sets the given value for 'enable' property.

Parameters
enable- New value for the field. Set enable to true/false
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_engineid ( )

Sets the given value for 'engineid' property.

Parameters
engineid- New value for the field. Set SNMPv3 engine ID.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_loglevel ( )

Sets the given value for 'loglevel' property.

Parameters
loglevel- New value for the field. System Agent syslog logging level: debug|info|warning|error.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_notraps ( )

Sets the given value for 'notraps' property.

Parameters
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:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_pid ( )

Sets the given value for 'pid' property.

Parameters
pid- New value for the field. Set up pid
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_port ( )

Sets the given value for 'port' property.

Parameters
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:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_privacy ( )

Sets the given value for 'privacy' property.

Parameters
privacy- New value for the field. Set the default privacy protocol.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_remoteusers ( )

Sets the given value for 'remoteusers' property.

Parameters
remoteusers- New value for the field. Set up remote users.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_syscontact ( )

Sets the given value for 'syscontact' property.

Parameters
syscontact- New value for the field. System contact string as presented in sysContact.0. Up to 255 characters long.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_syslocation ( )

Sets the given value for 'syslocation' property.

Parameters
syslocation- New value for the field. System location string as presented in sysLocation.0. Up to 255 characters long.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_targets ( )

Sets the given value for 'targets' property.

Parameters
targets- New value for the field. Set up to three targets to which to send SNMPv1 traps.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_users ( )

Sets the given value for 'users' property.

Parameters
users- New value for the field. Set up to five local users.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly::set_v3targets ( )

Sets the given value for 'v3targets' property.

Parameters
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:
click to view

The documentation for this class was generated from the following file: