Class: Com::Vmware::Vcenter::Ovf::ParseIssue::Category
- Inherits:
-
VAPI::Bindings::VapiEnum
- Object
- VAPI::Bindings::VapiEnum
- Com::Vmware::Vcenter::Ovf::ParseIssue::Category
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb
Overview
The ``Com::Vmware::Vcenter::Ovf::ParseIssue::Category`` enumerated type defines the categories of issues that can be found when parsing files inside an OVF package (see :class:`Com::Vmware::Vcenter::Ovf::ParseIssue` ) including OVF descriptor (which is an XML document), manifest and certificate files, or exporting an OVF package.
Constant Summary
- VALUE_ILLEGAL =
Category.new('VALUE_ILLEGAL')
- ATTRIBUTE_REQUIRED =
Category.new('ATTRIBUTE_REQUIRED')
- ATTRIBUTE_ILLEGAL =
Category.new('ATTRIBUTE_ILLEGAL')
- ELEMENT_REQUIRED =
Category.new('ELEMENT_REQUIRED')
- ELEMENT_ILLEGAL =
Category.new('ELEMENT_ILLEGAL')
- ELEMENT_UNKNOWN =
Category.new('ELEMENT_UNKNOWN')
- SECTION_UNKNOWN =
Category.new('SECTION_UNKNOWN')
- SECTION_RESTRICTION =
Category.new('SECTION_RESTRICTION')
- PARSE_ERROR =
Category.new('PARSE_ERROR')
- GENERATE_ERROR =
Category.new('GENERATE_ERROR')
- VALIDATION_ERROR =
Category.new('VALIDATION_ERROR')
- EXPORT_ERROR =
Category.new('EXPORT_ERROR')
- INTERNAL_ERROR =
Category.new('INTERNAL_ERROR')
Instance Attribute Summary (collapse)
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) attribute_illegal
Illegal attribute error.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) attribute_required
Required attribute error.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) element_illegal
Illegal element error.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) element_required
Required element error.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) element_unknown
Unknown element error.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) export_error
Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) generate_error
OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) internal_error
Server encountered an unexpected error which prevented it from fulfilling the request.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) parse_error
OVF package parsing error, including: .
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) section_restriction
Section restriction error.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) section_unknown
Section unknown error.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) validation_error
An issue with the manifest and signing.
-
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) value_illegal
Illegal value error.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
-
+ (Category) 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::Ovf::ParseIssue::Category) attribute_illegal
Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) attribute_required
Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) element_illegal
Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) element_required
Required element error. It indicates that a required element is missing from the OVF descriptor.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) element_unknown
Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) export_error
Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) generate_error
OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) internal_error
Server encountered an unexpected error which prevented it from fulfilling the request.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) parse_error
OVF package parsing error, including:
* OVF descriptor parsing errors, for example, syntax errors or schema errors.
* Manifest file parsing and verification errors.
* Certificate file parsing and verification errors.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) section_restriction
Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) section_unknown
Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) validation_error
An issue with the manifest and signing.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
- (Com::Vmware::Vcenter::Ovf::ParseIssue::Category) value_illegal
Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1782 class Category < 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.ovf.parse_issue.category', Category) 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 [Category] 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 Category.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] value_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on. VALUE_ILLEGAL = Category.new('VALUE_ILLEGAL') # @!attribute [rw] attribute_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor. ATTRIBUTE_REQUIRED = Category.new('ATTRIBUTE_REQUIRED') # @!attribute [rw] attribute_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue. ATTRIBUTE_ILLEGAL = Category.new('ATTRIBUTE_ILLEGAL') # @!attribute [rw] element_required # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Required element error. It indicates that a required element is missing from the OVF descriptor. ELEMENT_REQUIRED = Category.new('ELEMENT_REQUIRED') # @!attribute [rw] element_illegal # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor. ELEMENT_ILLEGAL = Category.new('ELEMENT_ILLEGAL') # @!attribute [rw] element_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor. ELEMENT_UNKNOWN = Category.new('ELEMENT_UNKNOWN') # @!attribute [rw] section_unknown # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor. SECTION_UNKNOWN = Category.new('SECTION_UNKNOWN') # @!attribute [rw] section_restriction # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed. SECTION_RESTRICTION = Category.new('SECTION_RESTRICTION') # @!attribute [rw] parse_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF package parsing error, including: # # * OVF descriptor parsing errors, for example, syntax errors or schema errors. # * Manifest file parsing and verification errors. # * Certificate file parsing and verification errors. PARSE_ERROR = Category.new('PARSE_ERROR') # @!attribute [rw] generate_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions. GENERATE_ERROR = Category.new('GENERATE_ERROR') # @!attribute [rw] validation_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # An issue with the manifest and signing. VALIDATION_ERROR = Category.new('VALIDATION_ERROR') # @!attribute [rw] export_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found. EXPORT_ERROR = Category.new('EXPORT_ERROR') # @!attribute [rw] internal_error # @return [Com::Vmware::Vcenter::Ovf::ParseIssue::Category] # Server encountered an unexpected error which prevented it from fulfilling the request. INTERNAL_ERROR = Category.new('INTERNAL_ERROR') end |
Class Method Details
+ (VAPI::Bindings::EnumType) binding_type
Holds (gets or creates) the binding type metadata for this enumeration type.
1788 1789 1790 1791 1792 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1788 def binding_type @binding_type ||= VAPI::Bindings::EnumType.new( 'com.vmware.vcenter.ovf.parse_issue.category', Category) end |
+ (Category) from_string(value)
Converts from a string value (perhaps off the wire) to an instance of this enum type.
1799 1800 1801 1802 1803 1804 1805 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 1799 def from_string(value) begin const_get(value) rescue NameError Category.new('UNKNOWN', value) end end |