Class List Method List File List

# Class: Com::Vmware::Vcenter::Datastore::Type

Inherits:
  VAPI::Bindings::VapiEnum
  - Object
  - VAPI::Bindings::VapiEnum
  - Com::Vmware::Vcenter::Datastore::Type
  show all
Defined in:
  /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb

## Overview

The ``Com::Vmware::Vcenter::Datastore::Type`` enumerated type defines the supported types of vCenter datastores.

## Constant Summary

VMFS =

      Type.new('VMFS')

NFS =

      Type.new('NFS')

NF_S41 =

      Type.new('NF_S41')

CIFS =

      Type.new('CIFS')

VSAN =

      Type.new('VSAN')

VFFS =

      Type.new('VFFS')

VVOL =

      Type.new('VVOL')

## Instance Attribute Summary (collapse)

- - (Com::Vmware::Vcenter::Datastore::Type) cifs

  Common Internet File System.

- - (Com::Vmware::Vcenter::Datastore::Type) nf_s41

  Network file system v4.1 (linux & esx servers only).

- - (Com::Vmware::Vcenter::Datastore::Type) nfs

  Network file system v3 (linux & esx servers only).

- - (Com::Vmware::Vcenter::Datastore::Type) vffs

  Flash Read Cache (ESX Server only).

- - (Com::Vmware::Vcenter::Datastore::Type) vmfs

  VMware File System (ESX Server only).

- - (Com::Vmware::Vcenter::Datastore::Type) vsan

  Virtual SAN (ESX Server only).

- - (Com::Vmware::Vcenter::Datastore::Type) vvol

  vSphere Virtual Volume (ESX Server only).

## Class Method Summary (collapse)

- + (VAPI::Bindings::EnumType) binding_type

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

- + (Type) 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::Datastore::Type`) cifs

Common Internet File System.

Returns:

- (`Com::Vmware::Vcenter::Datastore::Type`)

    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 944

    class Type < 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.datastore.type',
                    Type)
            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 [Type] 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
                    Type.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] vmfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     VMware File System (ESX Server only).
        VMFS = Type.new('VMFS')

        # @!attribute [rw] nfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v3 (linux & esx servers only).
        NFS = Type.new('NFS')

        # @!attribute [rw] nf_s41
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v4.1 (linux & esx servers only).
        NF_S41 = Type.new('NF_S41')

        # @!attribute [rw] cifs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Common Internet File System.
        CIFS = Type.new('CIFS')

        # @!attribute [rw] vsan
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Virtual SAN (ESX Server only).
        VSAN = Type.new('VSAN')

        # @!attribute [rw] vffs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Flash Read Cache (ESX Server only).
        VFFS = Type.new('VFFS')

        # @!attribute [rw] vvol
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     vSphere Virtual Volume (ESX Server only).
        VVOL = Type.new('VVOL')

    end

### - (`Com::Vmware::Vcenter::Datastore::Type`) nf_s41

Network file system v4.1 (linux & esx servers only).

Returns:

- (`Com::Vmware::Vcenter::Datastore::Type`)

    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 944

    class Type < 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.datastore.type',
                    Type)
            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 [Type] 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
                    Type.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] vmfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     VMware File System (ESX Server only).
        VMFS = Type.new('VMFS')

        # @!attribute [rw] nfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v3 (linux & esx servers only).
        NFS = Type.new('NFS')

        # @!attribute [rw] nf_s41
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v4.1 (linux & esx servers only).
        NF_S41 = Type.new('NF_S41')

        # @!attribute [rw] cifs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Common Internet File System.
        CIFS = Type.new('CIFS')

        # @!attribute [rw] vsan
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Virtual SAN (ESX Server only).
        VSAN = Type.new('VSAN')

        # @!attribute [rw] vffs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Flash Read Cache (ESX Server only).
        VFFS = Type.new('VFFS')

        # @!attribute [rw] vvol
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     vSphere Virtual Volume (ESX Server only).
        VVOL = Type.new('VVOL')

    end

### - (`Com::Vmware::Vcenter::Datastore::Type`) nfs

Network file system v3 (linux & esx servers only).

Returns:

- (`Com::Vmware::Vcenter::Datastore::Type`)

    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 944

    class Type < 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.datastore.type',
                    Type)
            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 [Type] 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
                    Type.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] vmfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     VMware File System (ESX Server only).
        VMFS = Type.new('VMFS')

        # @!attribute [rw] nfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v3 (linux & esx servers only).
        NFS = Type.new('NFS')

        # @!attribute [rw] nf_s41
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v4.1 (linux & esx servers only).
        NF_S41 = Type.new('NF_S41')

        # @!attribute [rw] cifs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Common Internet File System.
        CIFS = Type.new('CIFS')

        # @!attribute [rw] vsan
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Virtual SAN (ESX Server only).
        VSAN = Type.new('VSAN')

        # @!attribute [rw] vffs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Flash Read Cache (ESX Server only).
        VFFS = Type.new('VFFS')

        # @!attribute [rw] vvol
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     vSphere Virtual Volume (ESX Server only).
        VVOL = Type.new('VVOL')

    end

### - (`Com::Vmware::Vcenter::Datastore::Type`) vffs

Flash Read Cache (ESX Server only).

Returns:

- (`Com::Vmware::Vcenter::Datastore::Type`)

    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 944

    class Type < 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.datastore.type',
                    Type)
            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 [Type] 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
                    Type.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] vmfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     VMware File System (ESX Server only).
        VMFS = Type.new('VMFS')

        # @!attribute [rw] nfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v3 (linux & esx servers only).
        NFS = Type.new('NFS')

        # @!attribute [rw] nf_s41
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v4.1 (linux & esx servers only).
        NF_S41 = Type.new('NF_S41')

        # @!attribute [rw] cifs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Common Internet File System.
        CIFS = Type.new('CIFS')

        # @!attribute [rw] vsan
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Virtual SAN (ESX Server only).
        VSAN = Type.new('VSAN')

        # @!attribute [rw] vffs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Flash Read Cache (ESX Server only).
        VFFS = Type.new('VFFS')

        # @!attribute [rw] vvol
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     vSphere Virtual Volume (ESX Server only).
        VVOL = Type.new('VVOL')

    end

### - (`Com::Vmware::Vcenter::Datastore::Type`) vmfs

VMware File System (ESX Server only).

Returns:

- (`Com::Vmware::Vcenter::Datastore::Type`)

    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 944

    class Type < 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.datastore.type',
                    Type)
            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 [Type] 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
                    Type.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] vmfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     VMware File System (ESX Server only).
        VMFS = Type.new('VMFS')

        # @!attribute [rw] nfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v3 (linux & esx servers only).
        NFS = Type.new('NFS')

        # @!attribute [rw] nf_s41
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v4.1 (linux & esx servers only).
        NF_S41 = Type.new('NF_S41')

        # @!attribute [rw] cifs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Common Internet File System.
        CIFS = Type.new('CIFS')

        # @!attribute [rw] vsan
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Virtual SAN (ESX Server only).
        VSAN = Type.new('VSAN')

        # @!attribute [rw] vffs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Flash Read Cache (ESX Server only).
        VFFS = Type.new('VFFS')

        # @!attribute [rw] vvol
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     vSphere Virtual Volume (ESX Server only).
        VVOL = Type.new('VVOL')

    end

### - (`Com::Vmware::Vcenter::Datastore::Type`) vsan

Virtual SAN (ESX Server only).

Returns:

- (`Com::Vmware::Vcenter::Datastore::Type`)

    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 944

    class Type < 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.datastore.type',
                    Type)
            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 [Type] 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
                    Type.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] vmfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     VMware File System (ESX Server only).
        VMFS = Type.new('VMFS')

        # @!attribute [rw] nfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v3 (linux & esx servers only).
        NFS = Type.new('NFS')

        # @!attribute [rw] nf_s41
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v4.1 (linux & esx servers only).
        NF_S41 = Type.new('NF_S41')

        # @!attribute [rw] cifs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Common Internet File System.
        CIFS = Type.new('CIFS')

        # @!attribute [rw] vsan
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Virtual SAN (ESX Server only).
        VSAN = Type.new('VSAN')

        # @!attribute [rw] vffs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Flash Read Cache (ESX Server only).
        VFFS = Type.new('VFFS')

        # @!attribute [rw] vvol
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     vSphere Virtual Volume (ESX Server only).
        VVOL = Type.new('VVOL')

    end

### - (`Com::Vmware::Vcenter::Datastore::Type`) vvol

vSphere Virtual Volume (ESX Server only).

Returns:

- (`Com::Vmware::Vcenter::Datastore::Type`)

    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 944

    class Type < 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.datastore.type',
                    Type)
            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 [Type] 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
                    Type.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] vmfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     VMware File System (ESX Server only).
        VMFS = Type.new('VMFS')

        # @!attribute [rw] nfs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v3 (linux & esx servers only).
        NFS = Type.new('NFS')

        # @!attribute [rw] nf_s41
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Network file system v4.1 (linux & esx servers only).
        NF_S41 = Type.new('NF_S41')

        # @!attribute [rw] cifs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Common Internet File System.
        CIFS = Type.new('CIFS')

        # @!attribute [rw] vsan
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Virtual SAN (ESX Server only).
        VSAN = Type.new('VSAN')

        # @!attribute [rw] vffs
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     Flash Read Cache (ESX Server only).
        VFFS = Type.new('VFFS')

        # @!attribute [rw] vvol
        #     @return [Com::Vmware::Vcenter::Datastore::Type]
        #     vSphere Virtual Volume (ESX Server only).
        VVOL = Type.new('VVOL')

    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

    950
    951
    952
    953
    954
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 950

    def binding_type
        @binding_type ||= VAPI::Bindings::EnumType.new(
            'com.vmware.vcenter.datastore.type',
            Type)
    end

### + (`Type`) 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:

- (`Type`) —

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

    961
    962
    963
    964
    965
    966
    967
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 961

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