<spanid="com-vmware-esx-settings-hardware-support-managers-package"></span><h1>com.vmware.esx.settings.hardware_support.managers package<aclass="headerlink"href="#module-com.vmware.esx.settings.hardware_support.managers"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="submodules">
<h2>Submodules<aclass="headerlink"href="#submodules"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-esx-settings-hardware-support-managers-packages-client-module"></span><h2>com.vmware.esx.settings.hardware_support.managers.packages_client module<aclass="headerlink"href="#module-com.vmware.esx.settings.hardware_support.managers.packages_client"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.esx.settings.hardware_support.managers.packages_client.</span></code><codeclass="sig-name descname"><spanclass="pre">StubFactory</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">stub_config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.esx.settings.hardware_support.managers.packages_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Versions</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Versions</span></code> class provides methods to inspect a Hardware Support
Package (HSP)’s detailed information.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ComponentInfo</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">display_name</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">version</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">display_version</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.ComponentInfo"title="Permalink to this definition">¶</a></dt>
<li><p><strong>display_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Display name of the component.</p></li>
<li><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Version of the component.</p></li>
<li><p><strong>display_version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Human readable version of the HSP manifest.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">FilterSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">base_image_version</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.FilterSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Versions.FilterSpec</span></code> class contains attributes used to filter the
results when retrieving Hardware Support Packages (HSPs) information.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>base_image_version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – vSphere release version for the component information in the
Hardware Support Package (HSP). Only Hardware Support Packages
(HSPs) compatible with the vSphere release version specified in
‘baseImageVersion’ will be returned. The ‘baseImageVersion’
parameter should be a full numeric base image version string (e.g.
“7.1.0-2.3.436234”). Future implementations may support version
specification by prefix (e.g. “7.1” to specify all updates and
builds of 7.1) or other forms of specification (e.g. “>=7.0”).
Hardware Support Pacakges (HSPs) may be advertised as supporting
truncated version strings to indicate the remainder is wildcarded.
Matching is on the specified substring only, so a bundle supporting
“7.1.0-2” would match a ‘release’ parameter of “7.1.0-2.3.436234”
as well as “7.1.0-2.1.4133564” and “7.1.0-2.0.355667” but not
“7.1.0-3.0.63445” or any base image version starting with “7.2”.
Note that we require compatible base image versions be specified at
least down to the update version (i.e. “7.0” is insufficiently
constrained)
If None, all supported releases will be returned but no specific
component information (added or deleted) will be included.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">PackageInfo</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pkg</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">version</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">description</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">supported_releases</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">components</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">removed_components</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.PackageInfo"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Versions.PackageInfo</span></code> class contains attributes that describe a
particular 3rd party Hardware Support Package (HSP)</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>pkg</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the Hardware Support Package (e.g. “Jan. 2018 Release” or
“Latest Hardware Support Package for Frobozz GenX hardware”)
selected
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.esx.setting.hardware_support.package</span></code>. When methods
return a value of this class as a return value, the attribute will
<li><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Version of the Hardware Support Package (e.g. “20180128.1” or
“v42”) selected</p></li>
<li><p><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Description of the Hardware Support Package (HSP) (e.g. for use in
<li><p><strong>components</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.ComponentInfo"title="com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.ComponentInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Versions.ComponentInfo</span></code></a>) – List of components in this HSP manifest.</p></li>
<li><p><strong>removed_components</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.RemovedComponentInfo"title="com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.RemovedComponentInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Versions.RemovedComponentInfo</span></code></a>) – List of components removed by this HSP manifest.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">RemovedComponentInfo</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">display_name</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.RemovedComponentInfo"title="Permalink to this definition">¶</a></dt>
<li><p><strong>display_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Display name of the component.</p></li>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">manager</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">pkg</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">version</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">filter</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the detailed information for a specific version of an available
Hardware Support Packages (HSPs) as specified by the Hardware Support
Manager (HSM)</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>manager</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier for the Hardware Support Manager (HSM).
The parameter must be an identifier for the resource type:
<li><p><strong>pkg</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the Hardware Support Package (HSP)
The parameter must be an identifier for the resource type:
<li><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The version of the Hardware Support Package (HSP)</p></li>
<li><p><strong>filter</strong> (<aclass="reference internal"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.FilterSpec"title="com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.FilterSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Versions.FilterSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Specification of detailed information to be returned
If None, the behavior is equivalent to a
<aclass="reference internal"href="#com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.FilterSpec"title="com.vmware.esx.settings.hardware_support.managers.packages_client.Versions.FilterSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Versions.FilterSpec</span></code></a> with all attributes None, which means
all releases supported are returned but no component information