Class: Com::Vmware::Vcenter::Host::CreateSpec::ThumbprintVerification
- Inherits:
-
VAPI::Bindings::VapiEnum
- Object
- VAPI::Bindings::VapiEnum
- Com::Vmware::Vcenter::Host::CreateSpec::ThumbprintVerification
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb
Overview
The ``Com::Vmware::Vcenter::Host::CreateSpec::ThumbprintVerification`` enumerated type defines the thumbprint verification schemes for a host’s SSL certificate.
Constant Summary
- NONE =
ThumbprintVerification.new('NONE')
- THUMBPRINT =
ThumbprintVerification.new('THUMBPRINT')
Instance Attribute Summary (collapse)
-
- (Com::Vmware::Vcenter::Host::CreateSpec::ThumbprintVerification) none
Accept the host’s thumbprint without verifying it.
-
- (Com::Vmware::Vcenter::Host::CreateSpec::ThumbprintVerification) thumbprint
Host’s SSL certificate verified by checking its thumbprint against the specified thumbprint.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
-
+ (ThumbprintVerification) 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::Host::CreateSpec::ThumbprintVerification) none
Accept the host’s thumbprint without verifying it.
1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 1607 class ThumbprintVerification < 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.host.create_spec.thumbprint_verification', ThumbprintVerification) 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 [ThumbprintVerification] 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 ThumbprintVerification.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::Vcenter::Host::CreateSpec::ThumbprintVerification] # Accept the host's thumbprint without verifying it. NONE = ThumbprintVerification.new('NONE') # @!attribute [rw] thumbprint # @return [Com::Vmware::Vcenter::Host::CreateSpec::ThumbprintVerification] # Host's SSL certificate verified by checking its thumbprint against the specified thumbprint. THUMBPRINT = ThumbprintVerification.new('THUMBPRINT') end |
- (Com::Vmware::Vcenter::Host::CreateSpec::ThumbprintVerification) thumbprint
Host’s SSL certificate verified by checking its thumbprint against the specified thumbprint.
1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 1607 class ThumbprintVerification < 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.host.create_spec.thumbprint_verification', ThumbprintVerification) 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 [ThumbprintVerification] 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 ThumbprintVerification.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::Vcenter::Host::CreateSpec::ThumbprintVerification] # Accept the host's thumbprint without verifying it. NONE = ThumbprintVerification.new('NONE') # @!attribute [rw] thumbprint # @return [Com::Vmware::Vcenter::Host::CreateSpec::ThumbprintVerification] # Host's SSL certificate verified by checking its thumbprint against the specified thumbprint. THUMBPRINT = ThumbprintVerification.new('THUMBPRINT') end |
Class Method Details
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
1613 1614 1615 1616 1617 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 1613 def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.vcenter.host.create_spec.thumbprint_verification', ThumbprintVerification) end |
+ (ThumbprintVerification) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
1624 1625 1626 1627 1628 1629 1630 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 1624 def from_string(value) begin const_get(value) rescue NameError ThumbprintVerification.new('UNKNOWN', value) end end |