Class: Com::Vmware::Vcenter::Vm::HardwareService::Version
- Inherits:
-
VAPI::Bindings::VapiEnum
- Object
- VAPI::Bindings::VapiEnum
- Com::Vmware::Vcenter::Vm::HardwareService::Version
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb
Overview
The ``Com::Vmware::Vcenter::Vm::Hardware::Version`` enumerated type defines the valid virtual hardware versions for a virtual machine.
Constant Summary
- VMX_03 =
Version.new('VMX_03')
- VMX_04 =
Version.new('VMX_04')
- VMX_06 =
Version.new('VMX_06')
- VMX_07 =
Version.new('VMX_07')
- VMX_08 =
Version.new('VMX_08')
- VMX_09 =
Version.new('VMX_09')
- VMX_10 =
Version.new('VMX_10')
- VMX_11 =
Version.new('VMX_11')
- VMX_12 =
Version.new('VMX_12')
- VMX_13 =
Version.new('VMX_13')
Instance Attribute Summary (collapse)
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_03
Hardware version 3.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_04
Hardware version 4.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_06
Hardware version 6.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_07
Hardware version 7.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_08
Hardware version 8.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_09
Hardware version 9.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_10
Hardware version 10.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_11
Hardware version 11.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_12
Hardware version 12.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_13
Hardware version 13.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
-
+ (Version) 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::Version) vmx_03
Hardware version 3.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_04
Hardware version 4.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_06
Hardware version 6.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_07
Hardware version 7.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_08
Hardware version 8.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_09
Hardware version 9.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_10
Hardware version 10.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_11
Hardware version 11.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_12
Hardware version 12.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
- (Com::Vmware::Vcenter::Vm::Hardware::Version) vmx_13
Hardware version 13.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 339 class Version < 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.version', Version) 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 [Version] 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 Version.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] vmx_03 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 3. VMX_03 = Version.new('VMX_03') # @!attribute [rw] vmx_04 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 4. VMX_04 = Version.new('VMX_04') # @!attribute [rw] vmx_06 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 6. VMX_06 = Version.new('VMX_06') # @!attribute [rw] vmx_07 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 7. VMX_07 = Version.new('VMX_07') # @!attribute [rw] vmx_08 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 8. VMX_08 = Version.new('VMX_08') # @!attribute [rw] vmx_09 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 9. VMX_09 = Version.new('VMX_09') # @!attribute [rw] vmx_10 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 10. VMX_10 = Version.new('VMX_10') # @!attribute [rw] vmx_11 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 11. VMX_11 = Version.new('VMX_11') # @!attribute [rw] vmx_12 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 12. VMX_12 = Version.new('VMX_12') # @!attribute [rw] vmx_13 # @return [Com::Vmware::Vcenter::Vm::Hardware::Version] # Hardware version 13. VMX_13 = Version.new('VMX_13') end |
Class Method Details
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
345 346 347 348 349 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 345 def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.vcenter.vm.hardware.version', Version) end |
+ (Version) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
356 357 358 359 360 361 362 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm.rb', line 356 def from_string(value) begin const_get(value) rescue NameError Version.new('UNKNOWN', value) end end |