Class: Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType
- Inherits:
-
VAPI::Bindings::VapiEnum
- Object
- VAPI::Bindings::VapiEnum
- Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb
Overview
The ``Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType`` enumerated type defines the valid emulation types for a virtual Ethernet adapter.
Constant Summary
- E1000 =
EmulationType.new('E1000')
- E1000E =
EmulationType.new('E1000E')
- PCNE_T32 =
EmulationType.new('PCNE_T32')
- VMXNET =
EmulationType.new('VMXNET')
- VMXNE_T2 =
EmulationType.new('VMXNE_T2')
- VMXNE_T3 =
EmulationType.new('VMXNE_T3')
Instance Attribute Summary (collapse)
-
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) e1000
E1000 ethernet adapter.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) e1000e
E1000e ethernet adapter.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) pcne_t32
AMD Lance PCNet32 Ethernet adapter.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) vmxne_t2
VMware Vmxnet2 virtual Ethernet adapter.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) vmxne_t3
VMware Vmxnet3 virtual Ethernet adapter.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) vmxnet
VMware Vmxnet virtual Ethernet adapter.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
-
+ (EmulationType) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
Instance Attribute Details
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) e1000
E1000 ethernet adapter.
3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3117 class EmulationType < 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.vcenter.vm.hardware.ethernet.emulation_type', EmulationType) 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 [EmulationType] 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 EmulationType.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] e1000 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000 ethernet adapter. E1000 = EmulationType.new('E1000') # @!attribute [rw] e1000e # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000e ethernet adapter. E1000E = EmulationType.new('E1000E') # @!attribute [rw] pcne_t32 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # AMD Lance PCNet32 Ethernet adapter. PCNE_T32 = EmulationType.new('PCNE_T32') # @!attribute [rw] vmxnet # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet virtual Ethernet adapter. VMXNET = EmulationType.new('VMXNET') # @!attribute [rw] vmxne_t2 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet2 virtual Ethernet adapter. VMXNE_T2 = EmulationType.new('VMXNE_T2') # @!attribute [rw] vmxne_t3 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet3 virtual Ethernet adapter. VMXNE_T3 = EmulationType.new('VMXNE_T3') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) e1000e
E1000e ethernet adapter.
3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3117 class EmulationType < 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.vcenter.vm.hardware.ethernet.emulation_type', EmulationType) 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 [EmulationType] 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 EmulationType.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] e1000 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000 ethernet adapter. E1000 = EmulationType.new('E1000') # @!attribute [rw] e1000e # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000e ethernet adapter. E1000E = EmulationType.new('E1000E') # @!attribute [rw] pcne_t32 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # AMD Lance PCNet32 Ethernet adapter. PCNE_T32 = EmulationType.new('PCNE_T32') # @!attribute [rw] vmxnet # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet virtual Ethernet adapter. VMXNET = EmulationType.new('VMXNET') # @!attribute [rw] vmxne_t2 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet2 virtual Ethernet adapter. VMXNE_T2 = EmulationType.new('VMXNE_T2') # @!attribute [rw] vmxne_t3 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet3 virtual Ethernet adapter. VMXNE_T3 = EmulationType.new('VMXNE_T3') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) pcne_t32
AMD Lance PCNet32 Ethernet adapter.
3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3117 class EmulationType < 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.vcenter.vm.hardware.ethernet.emulation_type', EmulationType) 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 [EmulationType] 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 EmulationType.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] e1000 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000 ethernet adapter. E1000 = EmulationType.new('E1000') # @!attribute [rw] e1000e # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000e ethernet adapter. E1000E = EmulationType.new('E1000E') # @!attribute [rw] pcne_t32 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # AMD Lance PCNet32 Ethernet adapter. PCNE_T32 = EmulationType.new('PCNE_T32') # @!attribute [rw] vmxnet # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet virtual Ethernet adapter. VMXNET = EmulationType.new('VMXNET') # @!attribute [rw] vmxne_t2 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet2 virtual Ethernet adapter. VMXNE_T2 = EmulationType.new('VMXNE_T2') # @!attribute [rw] vmxne_t3 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet3 virtual Ethernet adapter. VMXNE_T3 = EmulationType.new('VMXNE_T3') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) vmxne_t2
VMware Vmxnet2 virtual Ethernet adapter.
3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3117 class EmulationType < 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.vcenter.vm.hardware.ethernet.emulation_type', EmulationType) 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 [EmulationType] 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 EmulationType.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] e1000 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000 ethernet adapter. E1000 = EmulationType.new('E1000') # @!attribute [rw] e1000e # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000e ethernet adapter. E1000E = EmulationType.new('E1000E') # @!attribute [rw] pcne_t32 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # AMD Lance PCNet32 Ethernet adapter. PCNE_T32 = EmulationType.new('PCNE_T32') # @!attribute [rw] vmxnet # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet virtual Ethernet adapter. VMXNET = EmulationType.new('VMXNET') # @!attribute [rw] vmxne_t2 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet2 virtual Ethernet adapter. VMXNE_T2 = EmulationType.new('VMXNE_T2') # @!attribute [rw] vmxne_t3 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet3 virtual Ethernet adapter. VMXNE_T3 = EmulationType.new('VMXNE_T3') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) vmxne_t3
VMware Vmxnet3 virtual Ethernet adapter.
3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3117 class EmulationType < 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.vcenter.vm.hardware.ethernet.emulation_type', EmulationType) 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 [EmulationType] 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 EmulationType.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] e1000 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000 ethernet adapter. E1000 = EmulationType.new('E1000') # @!attribute [rw] e1000e # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000e ethernet adapter. E1000E = EmulationType.new('E1000E') # @!attribute [rw] pcne_t32 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # AMD Lance PCNet32 Ethernet adapter. PCNE_T32 = EmulationType.new('PCNE_T32') # @!attribute [rw] vmxnet # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet virtual Ethernet adapter. VMXNET = EmulationType.new('VMXNET') # @!attribute [rw] vmxne_t2 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet2 virtual Ethernet adapter. VMXNE_T2 = EmulationType.new('VMXNE_T2') # @!attribute [rw] vmxne_t3 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet3 virtual Ethernet adapter. VMXNE_T3 = EmulationType.new('VMXNE_T3') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType) vmxnet
VMware Vmxnet virtual Ethernet adapter.
3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3117 class EmulationType < 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.vcenter.vm.hardware.ethernet.emulation_type', EmulationType) 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 [EmulationType] 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 EmulationType.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] e1000 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000 ethernet adapter. E1000 = EmulationType.new('E1000') # @!attribute [rw] e1000e # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # E1000e ethernet adapter. E1000E = EmulationType.new('E1000E') # @!attribute [rw] pcne_t32 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # AMD Lance PCNet32 Ethernet adapter. PCNE_T32 = EmulationType.new('PCNE_T32') # @!attribute [rw] vmxnet # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet virtual Ethernet adapter. VMXNET = EmulationType.new('VMXNET') # @!attribute [rw] vmxne_t2 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet2 virtual Ethernet adapter. VMXNE_T2 = EmulationType.new('VMXNE_T2') # @!attribute [rw] vmxne_t3 # @return [Com::Vmware::Vcenter::Vm::Hardware::Ethernet::EmulationType] # VMware Vmxnet3 virtual Ethernet adapter. VMXNE_T3 = EmulationType.new('VMXNE_T3') end |
Class Method Details
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
3123 3124 3125 3126 3127 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3123 def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.vcenter.vm.hardware.ethernet.emulation_type', EmulationType) end |
+ (EmulationType) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
3134 3135 3136 3137 3138 3139 3140 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3134 def from_string(value) begin const_get(value) rescue NameError EmulationType.new('UNKNOWN', value) end end |