Class: Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status

Inherits:
VAPI::Bindings::VapiEnum
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb

Overview

The ``Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status`` enumerated type defines the error status constants for the probe result.

Constant Summary

SUCCESS =
Status.new('SUCCESS')
INVALID_URL =
Status.new('INVALID_URL')
TIMED_OUT =
Status.new('TIMED_OUT')
HOST_NOT_FOUND =
Status.new('HOST_NOT_FOUND')
RESOURCE_NOT_FOUND =
Status.new('RESOURCE_NOT_FOUND')
INVALID_CREDENTIALS =
Status.new('INVALID_CREDENTIALS')
CERTIFICATE_ERROR =
Status.new('CERTIFICATE_ERROR')
UNKNOWN_ERROR =
Status.new('UNKNOWN_ERROR')

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Attribute Details

- (Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status) certificate_error

Indicates that the provided server certificate thumbprint in :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint` is invalid. In this case, the returned null should be set in :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint` .



814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 814

class Status < 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.content.subscribed_library.probe_result.status',
                Status)
        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 [Status] 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
                Status.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] success
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe was successful.
    SUCCESS = Status.new('SUCCESS')

    # @!attribute [rw] invalid_url
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the supplied URL was not valid.
    INVALID_URL = Status.new('INVALID_URL')

    # @!attribute [rw] timed_out
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe timed out while attempting to connect to the URL.
    TIMED_OUT = Status.new('TIMED_OUT')

    # @!attribute [rw] host_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the host in the URL could not be found.
    HOST_NOT_FOUND = Status.new('HOST_NOT_FOUND')

    # @!attribute [rw] resource_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the given resource at the URL was not found.
    RESOURCE_NOT_FOUND = Status.new('RESOURCE_NOT_FOUND')

    # @!attribute [rw] invalid_credentials
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the connection was rejected due to invalid credentials.
    INVALID_CREDENTIALS = Status.new('INVALID_CREDENTIALS')

    # @!attribute [rw] certificate_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the provided server certificate thumbprint in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`   is invalid. In this case, the returned  null  should be set in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`  .
    CERTIFICATE_ERROR = Status.new('CERTIFICATE_ERROR')

    # @!attribute [rw] unknown_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates an unspecified error different from the other error cases defined in   :class:`Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status`  .
    UNKNOWN_ERROR = Status.new('UNKNOWN_ERROR')

end

- (Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status) host_not_found

Indicates that the host in the URL could not be found.



814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 814

class Status < 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.content.subscribed_library.probe_result.status',
                Status)
        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 [Status] 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
                Status.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] success
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe was successful.
    SUCCESS = Status.new('SUCCESS')

    # @!attribute [rw] invalid_url
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the supplied URL was not valid.
    INVALID_URL = Status.new('INVALID_URL')

    # @!attribute [rw] timed_out
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe timed out while attempting to connect to the URL.
    TIMED_OUT = Status.new('TIMED_OUT')

    # @!attribute [rw] host_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the host in the URL could not be found.
    HOST_NOT_FOUND = Status.new('HOST_NOT_FOUND')

    # @!attribute [rw] resource_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the given resource at the URL was not found.
    RESOURCE_NOT_FOUND = Status.new('RESOURCE_NOT_FOUND')

    # @!attribute [rw] invalid_credentials
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the connection was rejected due to invalid credentials.
    INVALID_CREDENTIALS = Status.new('INVALID_CREDENTIALS')

    # @!attribute [rw] certificate_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the provided server certificate thumbprint in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`   is invalid. In this case, the returned  null  should be set in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`  .
    CERTIFICATE_ERROR = Status.new('CERTIFICATE_ERROR')

    # @!attribute [rw] unknown_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates an unspecified error different from the other error cases defined in   :class:`Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status`  .
    UNKNOWN_ERROR = Status.new('UNKNOWN_ERROR')

end

- (Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status) invalid_credentials

Indicates that the connection was rejected due to invalid credentials.



814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 814

class Status < 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.content.subscribed_library.probe_result.status',
                Status)
        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 [Status] 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
                Status.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] success
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe was successful.
    SUCCESS = Status.new('SUCCESS')

    # @!attribute [rw] invalid_url
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the supplied URL was not valid.
    INVALID_URL = Status.new('INVALID_URL')

    # @!attribute [rw] timed_out
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe timed out while attempting to connect to the URL.
    TIMED_OUT = Status.new('TIMED_OUT')

    # @!attribute [rw] host_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the host in the URL could not be found.
    HOST_NOT_FOUND = Status.new('HOST_NOT_FOUND')

    # @!attribute [rw] resource_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the given resource at the URL was not found.
    RESOURCE_NOT_FOUND = Status.new('RESOURCE_NOT_FOUND')

    # @!attribute [rw] invalid_credentials
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the connection was rejected due to invalid credentials.
    INVALID_CREDENTIALS = Status.new('INVALID_CREDENTIALS')

    # @!attribute [rw] certificate_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the provided server certificate thumbprint in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`   is invalid. In this case, the returned  null  should be set in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`  .
    CERTIFICATE_ERROR = Status.new('CERTIFICATE_ERROR')

    # @!attribute [rw] unknown_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates an unspecified error different from the other error cases defined in   :class:`Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status`  .
    UNKNOWN_ERROR = Status.new('UNKNOWN_ERROR')

end

- (Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status) invalid_url

Indicates that the supplied URL was not valid.



814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 814

class Status < 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.content.subscribed_library.probe_result.status',
                Status)
        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 [Status] 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
                Status.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] success
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe was successful.
    SUCCESS = Status.new('SUCCESS')

    # @!attribute [rw] invalid_url
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the supplied URL was not valid.
    INVALID_URL = Status.new('INVALID_URL')

    # @!attribute [rw] timed_out
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe timed out while attempting to connect to the URL.
    TIMED_OUT = Status.new('TIMED_OUT')

    # @!attribute [rw] host_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the host in the URL could not be found.
    HOST_NOT_FOUND = Status.new('HOST_NOT_FOUND')

    # @!attribute [rw] resource_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the given resource at the URL was not found.
    RESOURCE_NOT_FOUND = Status.new('RESOURCE_NOT_FOUND')

    # @!attribute [rw] invalid_credentials
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the connection was rejected due to invalid credentials.
    INVALID_CREDENTIALS = Status.new('INVALID_CREDENTIALS')

    # @!attribute [rw] certificate_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the provided server certificate thumbprint in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`   is invalid. In this case, the returned  null  should be set in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`  .
    CERTIFICATE_ERROR = Status.new('CERTIFICATE_ERROR')

    # @!attribute [rw] unknown_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates an unspecified error different from the other error cases defined in   :class:`Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status`  .
    UNKNOWN_ERROR = Status.new('UNKNOWN_ERROR')

end

- (Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status) resource_not_found

Indicates that the given resource at the URL was not found.



814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 814

class Status < 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.content.subscribed_library.probe_result.status',
                Status)
        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 [Status] 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
                Status.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] success
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe was successful.
    SUCCESS = Status.new('SUCCESS')

    # @!attribute [rw] invalid_url
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the supplied URL was not valid.
    INVALID_URL = Status.new('INVALID_URL')

    # @!attribute [rw] timed_out
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe timed out while attempting to connect to the URL.
    TIMED_OUT = Status.new('TIMED_OUT')

    # @!attribute [rw] host_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the host in the URL could not be found.
    HOST_NOT_FOUND = Status.new('HOST_NOT_FOUND')

    # @!attribute [rw] resource_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the given resource at the URL was not found.
    RESOURCE_NOT_FOUND = Status.new('RESOURCE_NOT_FOUND')

    # @!attribute [rw] invalid_credentials
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the connection was rejected due to invalid credentials.
    INVALID_CREDENTIALS = Status.new('INVALID_CREDENTIALS')

    # @!attribute [rw] certificate_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the provided server certificate thumbprint in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`   is invalid. In this case, the returned  null  should be set in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`  .
    CERTIFICATE_ERROR = Status.new('CERTIFICATE_ERROR')

    # @!attribute [rw] unknown_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates an unspecified error different from the other error cases defined in   :class:`Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status`  .
    UNKNOWN_ERROR = Status.new('UNKNOWN_ERROR')

end

- (Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status) success

Indicates that the probe was successful.



814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 814

class Status < 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.content.subscribed_library.probe_result.status',
                Status)
        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 [Status] 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
                Status.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] success
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe was successful.
    SUCCESS = Status.new('SUCCESS')

    # @!attribute [rw] invalid_url
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the supplied URL was not valid.
    INVALID_URL = Status.new('INVALID_URL')

    # @!attribute [rw] timed_out
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe timed out while attempting to connect to the URL.
    TIMED_OUT = Status.new('TIMED_OUT')

    # @!attribute [rw] host_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the host in the URL could not be found.
    HOST_NOT_FOUND = Status.new('HOST_NOT_FOUND')

    # @!attribute [rw] resource_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the given resource at the URL was not found.
    RESOURCE_NOT_FOUND = Status.new('RESOURCE_NOT_FOUND')

    # @!attribute [rw] invalid_credentials
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the connection was rejected due to invalid credentials.
    INVALID_CREDENTIALS = Status.new('INVALID_CREDENTIALS')

    # @!attribute [rw] certificate_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the provided server certificate thumbprint in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`   is invalid. In this case, the returned  null  should be set in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`  .
    CERTIFICATE_ERROR = Status.new('CERTIFICATE_ERROR')

    # @!attribute [rw] unknown_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates an unspecified error different from the other error cases defined in   :class:`Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status`  .
    UNKNOWN_ERROR = Status.new('UNKNOWN_ERROR')

end

- (Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status) timed_out

Indicates that the probe timed out while attempting to connect to the URL.



814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 814

class Status < 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.content.subscribed_library.probe_result.status',
                Status)
        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 [Status] 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
                Status.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] success
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe was successful.
    SUCCESS = Status.new('SUCCESS')

    # @!attribute [rw] invalid_url
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the supplied URL was not valid.
    INVALID_URL = Status.new('INVALID_URL')

    # @!attribute [rw] timed_out
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe timed out while attempting to connect to the URL.
    TIMED_OUT = Status.new('TIMED_OUT')

    # @!attribute [rw] host_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the host in the URL could not be found.
    HOST_NOT_FOUND = Status.new('HOST_NOT_FOUND')

    # @!attribute [rw] resource_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the given resource at the URL was not found.
    RESOURCE_NOT_FOUND = Status.new('RESOURCE_NOT_FOUND')

    # @!attribute [rw] invalid_credentials
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the connection was rejected due to invalid credentials.
    INVALID_CREDENTIALS = Status.new('INVALID_CREDENTIALS')

    # @!attribute [rw] certificate_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the provided server certificate thumbprint in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`   is invalid. In this case, the returned  null  should be set in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`  .
    CERTIFICATE_ERROR = Status.new('CERTIFICATE_ERROR')

    # @!attribute [rw] unknown_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates an unspecified error different from the other error cases defined in   :class:`Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status`  .
    UNKNOWN_ERROR = Status.new('UNKNOWN_ERROR')

end

- (Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status) unknown_error

Indicates an unspecified error different from the other error cases defined in :class:`Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status` .



814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 814

class Status < 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.content.subscribed_library.probe_result.status',
                Status)
        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 [Status] 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
                Status.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] success
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe was successful.
    SUCCESS = Status.new('SUCCESS')

    # @!attribute [rw] invalid_url
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the supplied URL was not valid.
    INVALID_URL = Status.new('INVALID_URL')

    # @!attribute [rw] timed_out
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the probe timed out while attempting to connect to the URL.
    TIMED_OUT = Status.new('TIMED_OUT')

    # @!attribute [rw] host_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the host in the URL could not be found.
    HOST_NOT_FOUND = Status.new('HOST_NOT_FOUND')

    # @!attribute [rw] resource_not_found
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the given resource at the URL was not found.
    RESOURCE_NOT_FOUND = Status.new('RESOURCE_NOT_FOUND')

    # @!attribute [rw] invalid_credentials
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the connection was rejected due to invalid credentials.
    INVALID_CREDENTIALS = Status.new('INVALID_CREDENTIALS')

    # @!attribute [rw] certificate_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates that the provided server certificate thumbprint in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`   is invalid. In this case, the returned  null  should be set in   :attr:`Com::Vmware::Content::Library::SubscriptionInfo.ssl_thumbprint`  .
    CERTIFICATE_ERROR = Status.new('CERTIFICATE_ERROR')

    # @!attribute [rw] unknown_error
    #     @return [Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status]
    #     Indicates an unspecified error different from the other error cases defined in   :class:`Com::Vmware::Content::SubscribedLibrary::ProbeResult::Status`  .
    UNKNOWN_ERROR = Status.new('UNKNOWN_ERROR')

end

Class Method Details

+ (VAPI::Bindings::EnumType) binding_type

Holds (gets or creates) the binding type metadata for this enumeration type.

Returns:

  • (VAPI::Bindings::EnumType)

    the binding type



820
821
822
823
824
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 820

def binding_type
    @binding_type ||= VAPI::Bindings::EnumType.new(
        'com.vmware.content.subscribed_library.probe_result.status',
        Status)
end

+ (Status) from_string(value)

Converts from a string value (perhaps off the wire) to an instance of this enum type.

Parameters:

  • value (String)

    the actual value of the enum instance

Returns:

  • (Status)

    the instance found for the value, otherwise an unknown instance will be built for the value



831
832
833
834
835
836
837
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 831

def from_string(value)
    begin
        const_get(value)
    rescue NameError
        Status.new('UNKNOWN', value)
    end
end