Class: Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto
- Inherits:
-
VAPI::Bindings::VapiEnum
- Object
- VAPI::Bindings::VapiEnum
- Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto
- 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::SNMPAuthProto`` enumerated type Defines SNMP authentication protocols
Constant Summary
- NONE =
SNMPAuthProto.new('NONE')
- SH_A1 =
SNMPAuthProto.new('SH_A1')
- M_D5 =
SNMPAuthProto.new('M_D5')
Instance Attribute Summary (collapse)
-
- (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto) m_d5
MD5.
-
- (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto) none
NONE.
-
- (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto) sh_a1
SHA1.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
-
+ (SNMPAuthProto) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
Instance Attribute Details
- (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto) m_d5
MD5
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 1006 class SNMPAuthProto < VAPI::Bindings::VapiEnum class << self # Holds (gets or creates) the binding type metadata for this enumeration type. # @scope class # @return [VAPI::Bindings::EnumType] the binding type def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_auth_proto', SNMPAuthProto) end # Converts from a string value (perhaps off the wire) to an instance # of this enum type. # @param value [String] the actual value of the enum instance # @return [SNMPAuthProto] the instance found for the value, otherwise # an unknown instance will be built for the value def from_string(value) begin const_get(value) rescue NameError SNMPAuthProto.new('UNKNOWN', value) end end end private # Constructs a new instance. # @param value [String] the actual value of the enum instance # @param unknown [String] the unknown value when value is 'UKNOWN' def initialize(value, unknown=nil) super(self.class.binding_type, value, unknown) end public # @!attribute [rw] none # @return [Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto] # NONE NONE = SNMPAuthProto.new('NONE') # @!attribute [rw] sh_a1 # @return [Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto] # SHA1 SH_A1 = SNMPAuthProto.new('SH_A1') # @!attribute [rw] m_d5 # @return [Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto] # MD5 M_D5 = SNMPAuthProto.new('M_D5') end |
- (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto) none
NONE
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 1006 class SNMPAuthProto < VAPI::Bindings::VapiEnum class << self # Holds (gets or creates) the binding type metadata for this enumeration type. # @scope class # @return [VAPI::Bindings::EnumType] the binding type def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_auth_proto', SNMPAuthProto) end # Converts from a string value (perhaps off the wire) to an instance # of this enum type. # @param value [String] the actual value of the enum instance # @return [SNMPAuthProto] the instance found for the value, otherwise # an unknown instance will be built for the value def from_string(value) begin const_get(value) rescue NameError SNMPAuthProto.new('UNKNOWN', value) end end end private # Constructs a new instance. # @param value [String] the actual value of the enum instance # @param unknown [String] the unknown value when value is 'UKNOWN' def initialize(value, unknown=nil) super(self.class.binding_type, value, unknown) end public # @!attribute [rw] none # @return [Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto] # NONE NONE = SNMPAuthProto.new('NONE') # @!attribute [rw] sh_a1 # @return [Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto] # SHA1 SH_A1 = SNMPAuthProto.new('SH_A1') # @!attribute [rw] m_d5 # @return [Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto] # MD5 M_D5 = SNMPAuthProto.new('M_D5') end |
- (Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto) sh_a1
SHA1
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 1006 class SNMPAuthProto < VAPI::Bindings::VapiEnum class << self # Holds (gets or creates) the binding type metadata for this enumeration type. # @scope class # @return [VAPI::Bindings::EnumType] the binding type def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_auth_proto', SNMPAuthProto) end # Converts from a string value (perhaps off the wire) to an instance # of this enum type. # @param value [String] the actual value of the enum instance # @return [SNMPAuthProto] the instance found for the value, otherwise # an unknown instance will be built for the value def from_string(value) begin const_get(value) rescue NameError SNMPAuthProto.new('UNKNOWN', value) end end end private # Constructs a new instance. # @param value [String] the actual value of the enum instance # @param unknown [String] the unknown value when value is 'UKNOWN' def initialize(value, unknown=nil) super(self.class.binding_type, value, unknown) end public # @!attribute [rw] none # @return [Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto] # NONE NONE = SNMPAuthProto.new('NONE') # @!attribute [rw] sh_a1 # @return [Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto] # SHA1 SH_A1 = SNMPAuthProto.new('SH_A1') # @!attribute [rw] m_d5 # @return [Com::Vmware::Appliance::Techpreview::Monitoring::Snmp::SNMPAuthProto] # MD5 M_D5 = SNMPAuthProto.new('M_D5') end |
Class Method Details
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
1012 1013 1014 1015 1016 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 1012 def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.appliance.techpreview.monitoring.snmp.SNMP_auth_proto', SNMPAuthProto) end |
+ (SNMPAuthProto) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
1023 1024 1025 1026 1027 1028 1029 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/monitoring.rb', line 1023 def from_string(value) begin const_get(value) rescue NameError SNMPAuthProto.new('UNKNOWN', value) end end |