Class List Method List File List

# Class: Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly

Inherits:
  VAPI::Bindings::VapiStruct
  - Object
  - VAPI::Bindings::VapiStruct
  - Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPConfigReadOnly
  show all
Defined in:
  /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb

## Overview

``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 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’.

## Instance Attribute Summary (collapse)

- - (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto) authentication

  Set the default authentication protocol.

- - (Array<String>) communities

  Set up to ten communities, each of no more than 64 characters long.

- - (Boolean) enable

  Set enable to true/false.

- - (String) engineid

  Set SNMPv3 engine ID.

- - (String) loglevel

  System Agent syslog logging level: debug|info|warning|error.

- - (Array<String>) notraps

  Comma-separated list of trap OIDs (object identifiers) for traps not to be sent by the agent.

- - (String) pid

  Set up pid.

- - (Fixnum) port

  Set up a UDP port which the SNMP agent uses to listen on for polling requests.

- - (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto) privacy

  Set the default privacy protocol.

- - (Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser>) remoteusers

  Set up remote users.

- - (String) syscontact

  System contact string as presented in sysContact.0.

- - (String) syslocation

  System location string as presented in sysLocation.0.

- - (Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget>) targets

  Set up to three targets to which to send SNMPv1 traps.

- - (Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser>) users

  Set up to five local users.

- - (Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target>) v3targets

  Set up to three SNMPv3 notification targets.

## Class Method Summary (collapse)

- + (VAPI::Bindings::StructType) binding_type

  Holds (gets or creates) the binding type metadata for this structure type.

## Instance Method Summary (collapse)

- - (SNMPConfigReadOnly) initialize(ruby_values = nil, struct_value = nil) constructor

  Constructs a new instance.

## Constructor Details

### - (`SNMPConfigReadOnly`) initialize(ruby_values = nil, struct_value = nil)

Constructs a new instance.

Parameters:

- ruby_values (`Hash`) (defaults to: `nil`) —

  a map of initial property values (optional)

- struct_value (`VAPI::Data::StructValue`) (defaults to: `nil`) —

  a raw StructValue from the wire (optional)

    908
    909
    910
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 908

    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end

## Instance Attribute Details

### - (`Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto`) authentication

Set the default authentication protocol. Values can be none, MD5, or SHA1.

Returns:

- (`Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`Array<String>`) communities

Set up to ten communities, each of no more than 64 characters long. The format is: community1. This setting overwrites any previous settings.

Returns:

- (`Array<String>`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`Boolean`) enable

Set enable to true/false

Returns:

- (`Boolean`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`String`) engineid

Set SNMPv3 engine ID.

Returns:

- (`String`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`String`) loglevel

System Agent syslog logging level: debug|info|warning|error.

Returns:

- (`String`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`Array<String>`) notraps

Comma-separated list of trap OIDs (object identifiers) for traps not to be sent by the agent. Use ‘reset’ to clear the setting.

Returns:

- (`Array<String>`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`String`) pid

Set up pid

Returns:

- (`String`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`Fixnum`) port

Set up a UDP port which the SNMP agent uses to listen on for polling requests. The default UDP port is 161.

Returns:

- (`Fixnum`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto`) privacy

Set the default privacy protocol.

Returns:

- (`Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser>`) remoteusers

Set up remote users.

Returns:

- (`Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser>`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`String`) syscontact

System contact string as presented in sysContact.0. Up to 255 characters long.

Returns:

- (`String`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`String`) syslocation

System location string as presented in sysLocation.0. Up to 255 characters long.

Returns:

- (`String`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget>`) targets

Set up to three targets to which to send SNMPv1 traps.

Returns:

- (`Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget>`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser>`) users

Set up to five local users.

Returns:

- (`Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser>`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target>`) v3targets

Set up to three SNMPv3 notification targets. Format is: ip-or-hostname[\@port]/remote-user/security-level/trap|inform.

Returns:

- (`Array<Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target>`)

    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 857

    class SNMPConfigReadOnly < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
                    {
                        'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                        'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'enable' => VAPI::Bindings::BooleanType.instance,
                        'engineid' => VAPI::Bindings::StringType.instance,
                        'loglevel' => VAPI::Bindings::StringType.instance,
                        'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                        'port' => VAPI::Bindings::IntegerType.instance,
                        'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                        'syscontact' => VAPI::Bindings::StringType.instance,
                        'syslocation' => VAPI::Bindings::StringType.instance,
                        'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                        'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                        'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                        'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                        'pid' => VAPI::Bindings::StringType.instance,
                    },
                    SNMPConfigReadOnly,
                    false,
                    nil)
            end
        end

        attr_accessor :authentication,
                      :communities,
                      :enable,
                      :engineid,
                      :loglevel,
                      :notraps,
                      :port,
                      :privacy,
                      :syscontact,
                      :syslocation,
                      :targets,
                      :users,
                      :remoteusers,
                      :v3targets,
                      :pid

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

## Class Method Details

### + (`VAPI::Bindings::StructType`) binding_type

Holds (gets or creates) the binding type metadata for this structure type.

Returns:

- (`VAPI::Bindings::StructType`) —

  the binding type

    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 863

    def binding_type
        @binding_type ||= VAPI::Bindings::StructType.new(
            'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_config_read_only',
            {
                'authentication' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto'),
                'communities' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                'enable' => VAPI::Bindings::BooleanType.instance,
                'engineid' => VAPI::Bindings::StringType.instance,
                'loglevel' => VAPI::Bindings::StringType.instance,
                'notraps' => VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance),
                'port' => VAPI::Bindings::IntegerType.instance,
                'privacy' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPPrivProto'),
                'syscontact' => VAPI::Bindings::StringType.instance,
                'syslocation' => VAPI::Bindings::StringType.instance,
                'targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv1TrapTarget')),
                'users' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPUser')),
                'remoteusers' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPRemoteUser')),
                'v3targets' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target')),
                'pid' => VAPI::Bindings::StringType.instance,
            },
            SNMPConfigReadOnly,
            false,
            nil)
    end