Class: Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Target
- 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::SNMPv3Target`` class Structure that defines an SNMP v3 inform or trap target.
Instance Attribute Summary (collapse)
-
- (String) ip
SNMP target ip.
-
- (Fixnum) port
SNMP target port.
-
- (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPSecLevel) sec_level
SNMP security level.
-
- (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Notfication) type
SNMP target type.
-
- (String) user
SNMP User.
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)
-
- (SNMPv3Target) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (SNMPv3Target) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
699 700 701 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 699 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (String) ip
SNMP target ip
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 668 class SNMPv3Target < 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.SNM_pv3_target', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Notfication'), 'sec_level' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPSecLevel'), 'ip' => VAPI::Bindings::StringType.instance, 'port' => VAPI::Bindings::IntegerType.instance, 'user' => VAPI::Bindings::StringType.instance, }, SNMPv3Target, false, nil) end end attr_accessor :type, :sec_level, :ip, :port, :user # 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
SNMP target port
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 668 class SNMPv3Target < 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.SNM_pv3_target', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Notfication'), 'sec_level' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPSecLevel'), 'ip' => VAPI::Bindings::StringType.instance, 'port' => VAPI::Bindings::IntegerType.instance, 'user' => VAPI::Bindings::StringType.instance, }, SNMPv3Target, false, nil) end end attr_accessor :type, :sec_level, :ip, :port, :user # 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::SNMPSecLevel) sec_level
SNMP security level
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 668 class SNMPv3Target < 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.SNM_pv3_target', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Notfication'), 'sec_level' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPSecLevel'), 'ip' => VAPI::Bindings::StringType.instance, 'port' => VAPI::Bindings::IntegerType.instance, 'user' => VAPI::Bindings::StringType.instance, }, SNMPv3Target, false, nil) end end attr_accessor :type, :sec_level, :ip, :port, :user # 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::SNMPv3Notfication) type
SNMP target type
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 668 class SNMPv3Target < 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.SNM_pv3_target', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Notfication'), 'sec_level' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPSecLevel'), 'ip' => VAPI::Bindings::StringType.instance, 'port' => VAPI::Bindings::IntegerType.instance, 'user' => VAPI::Bindings::StringType.instance, }, SNMPv3Target, false, nil) end end attr_accessor :type, :sec_level, :ip, :port, :user # 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) user
SNMP User
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 668 class SNMPv3Target < 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.SNM_pv3_target', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Notfication'), 'sec_level' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPSecLevel'), 'ip' => VAPI::Bindings::StringType.instance, 'port' => VAPI::Bindings::IntegerType.instance, 'user' => VAPI::Bindings::StringType.instance, }, SNMPv3Target, false, nil) end end attr_accessor :type, :sec_level, :ip, :port, :user # 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.
674 675 676 677 678 679 680 681 682 683 684 685 686 687 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 674 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.appliance.techpreview.monitoring.snmp.SNM_pv3_target', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPv3Notfication'), 'sec_level' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPSecLevel'), 'ip' => VAPI::Bindings::StringType.instance, 'port' => VAPI::Bindings::IntegerType.instance, 'user' => VAPI::Bindings::StringType.instance, }, SNMPv3Target, false, nil) end |