<spanid="com-vmware-appliance-package"></span><h1>com.vmware.appliance package<aclass="headerlink"href="#module-com.vmware.appliance"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="subpackages">
<h2>Subpackages<aclass="headerlink"href="#subpackages"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-appliance-access-client-module"></span><h2>com.vmware.appliance.access_client module<aclass="headerlink"href="#module-com.vmware.appliance.access_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.access_client</span></code> module provides classes for managing
access to the appliance. The module is available starting in vSphere 6.5.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.access_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Consolecli</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.appliance.access_client.Consolecli"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Consolecli</span></code> class provides methods Get/Set enabled state of CLI.</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>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.access_client.Consolecli.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get enabled state of the console-based controlled CLI (TTY1).</p>
<codeclass="sig-name descname"><spanclass="pre">set</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">enabled</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.access_client.Consolecli.set"title="Permalink to this definition">¶</a></dt>
<dd><p>Set enabled state of the console-based controlled CLI (TTY1).</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.access_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Dcui</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.appliance.access_client.Dcui"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Dcui</span></code> class provides methods Get/Set enabled state of DCUI.</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>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.access_client.Dcui.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get enabled state of Direct Console User Interface (DCUI TTY2).</p>
<codeclass="sig-name descname"><spanclass="pre">set</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">enabled</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.access_client.Dcui.set"title="Permalink to this definition">¶</a></dt>
<dd><p>Set enabled state of Direct Console User Interface (DCUI TTY2).</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.access_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Shell</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.appliance.access_client.Shell"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Shell</span></code> class provides methods Get/Set enabled state of BASH.</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">ShellConfig</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">enabled</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">timeout</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.appliance.access_client.Shell.ShellConfig"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Shell.ShellConfig</span></code> class Structure that defines shell configuration.</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>enabled</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Enabled can be set to true or false</p></li>
<li><p><strong>timeout</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The timeout (in seconds) specifies how long you enable the Shell
access. The maximum timeout is 86400 seconds(1 day).</p></li>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.access_client.Shell.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get enabled state of BASH, that is, access to BASH from within the
<codeclass="sig-name descname"><spanclass="pre">set</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.appliance.access_client.Shell.set"title="Permalink to this definition">¶</a></dt>
<dd><p>Set enabled state of BASH, that is, access to BASH from within the
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.access_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Ssh</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.appliance.access_client.Ssh"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Ssh</span></code> class provides methods Get/Set enabled state of SSH-based
controlled CLI.</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>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.access_client.Ssh.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get enabled state of the SSH-based controlled CLI.</p>
<codeclass="sig-name descname"><spanclass="pre">set</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">enabled</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.access_client.Ssh.set"title="Permalink to this definition">¶</a></dt>
<dd><p>Set enabled state of the SSH-based controlled CLI.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.access_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.appliance.access_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-health-client-module"></span><h2>com.vmware.appliance.health_client module<aclass="headerlink"href="#module-com.vmware.appliance.health_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.health_client</span></code> module provides classes for
reporting the health of the various subsystems of the the appliance. The module
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Applmgmt</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.appliance.health_client.Applmgmt"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Applmgmt</span></code> class provides methods Get health status of applmgmt services.</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>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Applmgmt.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get health status of applmgmt services.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Database</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.appliance.health_client.Database"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Database</span></code> class provides methods to retrieve the health status of
the vcdb. This class was added in vSphere API 7.0.0.1.</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">Info</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">status</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">messages</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.appliance.health_client.Database.Info"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Database.Info</span></code> class contains information about the health of the
the database. This class was added in vSphere API 7.0.0.1.</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>status</strong> (<aclass="reference internal"href="#com.vmware.appliance.health_client.Database.Info.Status"title="com.vmware.appliance.health_client.Database.Info.Status"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Database.Info.Status</span></code></a>) – Database health status. This attribute was added in vSphere API
7.0.0.1.</p></li>
<li><p><strong>messages</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.health_client.Database.Message"title="com.vmware.appliance.health_client.Database.Message"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Database.Message</span></code></a>) – Messages describing any issues with the database, along with their
severity. This attribute was added in vSphere API 7.0.0.1.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Status</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Database.Info.Status"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Database.Info.Status</span></code> class describes the health of the database.
This enumeration was added in vSphere API 7.0.0.1.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Status</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">DEGRADED</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Status(string='DEGRADED')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Database.Info.Status.DEGRADED"title="Permalink to this definition">¶</a></dt>
<dd><p>The database has issues but the impact on vCenter Server is low. This class
<codeclass="sig-name descname"><spanclass="pre">HEALTHY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Status(string='HEALTHY')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Database.Info.Status.HEALTHY"title="Permalink to this definition">¶</a></dt>
<dd><p>The database is healthy. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">UNHEALTHY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Status(string='UNHEALTHY')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Database.Info.Status.UNHEALTHY"title="Permalink to this definition">¶</a></dt>
<dd><p>The database is corrupted and vCenter server functionality will be
impacted. This class attribute was added in vSphere API 7.0.0.1.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Message</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">severity</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">message</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.appliance.health_client.Database.Message"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Database.Message</span></code> class contains a database health message along
with its severity. This class was added in vSphere API 7.0.0.1.</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>severity</strong> (<aclass="reference internal"href="#com.vmware.appliance.health_client.Database.Message.Severity"title="com.vmware.appliance.health_client.Database.Message.Severity"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Database.Message.Severity</span></code></a>) – Severity of the message. This attribute was added in vSphere API
7.0.0.1.</p></li>
<li><p><strong>message</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Message describing the issue with the database. This attribute was
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Severity</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Database.Message.Severity"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">MessageSeverity</span></code> class defines the levels of severity for a message.
This enumeration was added in vSphere API 7.0.0.1.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Severity</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">ERROR</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Severity(string='ERROR')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Database.Message.Severity.ERROR"title="Permalink to this definition">¶</a></dt>
<dd><p>Error message. This class attribute was added in vSphere API 7.0.0.1.</p>
<codeclass="sig-name descname"><spanclass="pre">WARNING</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Severity(string='WARNING')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Database.Message.Severity.WARNING"title="Permalink to this definition">¶</a></dt>
<dd><p>Warning message. This class attribute was added in vSphere API 7.0.0.1.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Database.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the health status of the database. This method was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Databasestorage</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.appliance.health_client.Databasestorage"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Databasestorage</span></code> class provides methods Get database storage health.</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">HealthLevel</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Databasestorage.HealthLevel"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Databasestorage.HealthLevel</span></code> class Defines service health levels.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">HealthLevel</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">gray</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='gray')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Databasestorage.HealthLevel.gray"title="Permalink to this definition">¶</a></dt>
<dd><p>No health data is available for this service.</p>
<codeclass="sig-name descname"><spanclass="pre">green</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='green')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Databasestorage.HealthLevel.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">orange</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='orange')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Databasestorage.HealthLevel.orange"title="Permalink to this definition">¶</a></dt>
<dd><p>The service health is degraded. The service might have serious problems.</p>
<codeclass="sig-name descname"><spanclass="pre">red</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='red')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Databasestorage.HealthLevel.red"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is unavaiable, not functioning properly, or will stop
<codeclass="sig-name descname"><spanclass="pre">yellow</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='yellow')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Databasestorage.HealthLevel.yellow"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is healthy but experiencing some problems.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Databasestorage.get"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Load</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.appliance.health_client.Load"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Load</span></code> class provides methods Get load health.</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">HealthLevel</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Load.HealthLevel"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Load.HealthLevel</span></code> class Defines health levels.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">HealthLevel</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">gray</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='gray')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Load.HealthLevel.gray"title="Permalink to this definition">¶</a></dt>
<dd><p>No health data is available for this service.</p>
<codeclass="sig-name descname"><spanclass="pre">green</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='green')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Load.HealthLevel.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">orange</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='orange')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Load.HealthLevel.orange"title="Permalink to this definition">¶</a></dt>
<dd><p>The service health is degraded. The service might have serious problems.</p>
<codeclass="sig-name descname"><spanclass="pre">red</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='red')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Load.HealthLevel.red"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is unavaiable, not functioning properly, or will stop
<codeclass="sig-name descname"><spanclass="pre">yellow</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='yellow')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Load.HealthLevel.yellow"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is healthy state, but experiencing some levels of problems.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Load.get"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Mem</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.appliance.health_client.Mem"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Mem</span></code> class provides methods Get memory health.</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">HealthLevel</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Mem.HealthLevel"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Mem.HealthLevel</span></code> class Defines health levels.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">HealthLevel</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">gray</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='gray')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Mem.HealthLevel.gray"title="Permalink to this definition">¶</a></dt>
<dd><p>No health data is available for this service.</p>
<codeclass="sig-name descname"><spanclass="pre">green</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='green')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Mem.HealthLevel.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">orange</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='orange')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Mem.HealthLevel.orange"title="Permalink to this definition">¶</a></dt>
<dd><p>The service health is degraded. The service might have serious problems</p>
<codeclass="sig-name descname"><spanclass="pre">red</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='red')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Mem.HealthLevel.red"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is unavaiable, not functioning properly, or will stop
<codeclass="sig-name descname"><spanclass="pre">yellow</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='yellow')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Mem.HealthLevel.yellow"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is healthy state, but experiencing some levels of problems.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Mem.get"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Softwarepackages</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.appliance.health_client.Softwarepackages"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Softwarepackages</span></code> class provides methods Get information on available
software updates available in remote VUM repository.</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">HealthLevel</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Softwarepackages.HealthLevel"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Softwarepackages.HealthLevel</span></code> class Defines health levels.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">HealthLevel</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">gray</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='gray')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Softwarepackages.HealthLevel.gray"title="Permalink to this definition">¶</a></dt>
<dd><p>No health data is available for this service.</p>
<codeclass="sig-name descname"><spanclass="pre">green</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='green')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Softwarepackages.HealthLevel.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">orange</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='orange')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Softwarepackages.HealthLevel.orange"title="Permalink to this definition">¶</a></dt>
<dd><p>The service health is degraded. The service might have serious problems.</p>
<codeclass="sig-name descname"><spanclass="pre">red</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='red')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Softwarepackages.HealthLevel.red"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is unavaiable, not functioning properly, or will stop
<codeclass="sig-name descname"><spanclass="pre">yellow</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='yellow')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Softwarepackages.HealthLevel.yellow"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is healthy state, but experiencing some levels of problems.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Softwarepackages.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get information on available software updates available in the remote
vSphere Update Manager repository. Red indicates that security updates
are available. Orange indicates that non-security updates are
available. Green indicates that there are no updates available. Gray
indicates that there was an error retreiving information on software
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Storage</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.appliance.health_client.Storage"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Storage</span></code> class provides methods Get storage health.</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">HealthLevel</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Storage.HealthLevel"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Storage.HealthLevel</span></code> class Defines health levels.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">HealthLevel</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">gray</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='gray')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Storage.HealthLevel.gray"title="Permalink to this definition">¶</a></dt>
<dd><p>No health data is available for this service.</p>
<codeclass="sig-name descname"><spanclass="pre">green</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='green')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Storage.HealthLevel.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">orange</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='orange')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Storage.HealthLevel.orange"title="Permalink to this definition">¶</a></dt>
<dd><p>The service health is degraded. The service might have serious problems.</p>
<codeclass="sig-name descname"><spanclass="pre">red</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='red')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Storage.HealthLevel.red"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is unavaiable, not functioning properly, or will stop
<codeclass="sig-name descname"><spanclass="pre">yellow</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='yellow')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Storage.HealthLevel.yellow"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is healthy state, but experiencing some levels of problems.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Storage.get"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_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.appliance.health_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Swap</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.appliance.health_client.Swap"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Swap</span></code> class provides methods Get swap health.</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">HealthLevel</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Swap.HealthLevel"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Swap.HealthLevel</span></code> class Defines health levels.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">HealthLevel</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">gray</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='gray')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Swap.HealthLevel.gray"title="Permalink to this definition">¶</a></dt>
<dd><p>No health data is available for this service.</p>
<codeclass="sig-name descname"><spanclass="pre">green</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='green')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Swap.HealthLevel.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">orange</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='orange')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Swap.HealthLevel.orange"title="Permalink to this definition">¶</a></dt>
<dd><p>The service health is degraded. The service might have serious problems.</p>
<codeclass="sig-name descname"><spanclass="pre">red</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='red')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Swap.HealthLevel.red"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is unavaiable, not functioning properly, or will stop
<codeclass="sig-name descname"><spanclass="pre">yellow</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='yellow')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.Swap.HealthLevel.yellow"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is healthy state, but experiencing some levels of problems.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.Swap.get"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.health_client.</span></code><codeclass="sig-name descname"><spanclass="pre">System</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.appliance.health_client.System"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">System</span></code> class provides methods Get overall health of the system.</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">HealthLevel</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.System.HealthLevel"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">System.HealthLevel</span></code> class Defines health levels.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">HealthLevel</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">gray</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='gray')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.System.HealthLevel.gray"title="Permalink to this definition">¶</a></dt>
<dd><p>No health data is available for this service.</p>
<codeclass="sig-name descname"><spanclass="pre">green</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='green')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.System.HealthLevel.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">orange</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='orange')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.System.HealthLevel.orange"title="Permalink to this definition">¶</a></dt>
<dd><p>The service health is degraded. The service might have serious problems.</p>
<codeclass="sig-name descname"><spanclass="pre">red</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='red')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.System.HealthLevel.red"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is unavaiable, not functioning properly, or will stop
<codeclass="sig-name descname"><spanclass="pre">yellow</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">HealthLevel(string='yellow')</span></em><aclass="headerlink"href="#com.vmware.appliance.health_client.System.HealthLevel.yellow"title="Permalink to this definition">¶</a></dt>
<dd><p>The service is healthy state, but experiencing some levels of problems.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.System.get"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">lastcheck</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.health_client.System.lastcheck"title="Permalink to this definition">¶</a></dt>
<dd><p>Get last check timestamp of the health of the system.</p>
<spanid="com-vmware-appliance-infraprofile-client-module"></span><h2>com.vmware.appliance.infraprofile_client module<aclass="headerlink"href="#module-com.vmware.appliance.infraprofile_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.infraprofile_client</span></code> module provides classes to
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.infraprofile_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Configs</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.appliance.infraprofile_client.Configs"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Configs</span></code> class provides methods to manage desired configuration
specification of an appliance.</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">ImportProfileSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">config_spec</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">profile_spec</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.appliance.infraprofile_client.Configs.ImportProfileSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Configs.ImportProfileSpec</span></code> class represents a spec information for
import and validate.</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>config_spec</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The JSON string representing the desired config specification.</p></li>
<li><p><strong>profile_spec</strong> (<aclass="reference internal"href="#com.vmware.appliance.infraprofile_client.Configs.ProfilesSpec"title="com.vmware.appliance.infraprofile_client.Configs.ProfilesSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Configs.ProfilesSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The profile specification, if any
only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if there is a profilespec avaliable for this
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ProfileInfo</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">info</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.appliance.infraprofile_client.Configs.ProfileInfo"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Configs.ProfileInfo</span></code> class defines the information about profile.</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>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the profile which is also a profile identifier.
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.infraprofile.profile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.infraprofile.profile</span></code>.</p></li>
<li><p><strong>info</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Description of the profile.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ProfilesSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">encryption_key</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">profiles</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.appliance.infraprofile_client.Configs.ProfilesSpec"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ValidationResult</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">status</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">notifications</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.appliance.infraprofile_client.Configs.ValidationResult"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Configs.ValidationResult</span></code> class contains attributes to describe
result of validation of profile specification.</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>status</strong> (<aclass="reference internal"href="#com.vmware.appliance.infraprofile_client.Configs.ValidationStatus"title="com.vmware.appliance.infraprofile_client.Configs.ValidationStatus"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Configs.ValidationStatus</span></code></a>) – Status of the Profile spec.</p></li>
<li><p><strong>notifications</strong> (<aclass="reference internal"href="#com.vmware.appliance.infraprofile_client.Notifications"title="com.vmware.appliance.infraprofile_client.Notifications"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Notifications</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Notifications to the user
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if the notifications were reported by this
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ValidationStatus</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.infraprofile_client.Configs.ValidationStatus"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Configs.ValidationStatus</span></code> class defines possible values of status of
profile spec.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ValidationStatus</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">INVALID</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">ValidationStatus(string='INVALID')</span></em><aclass="headerlink"href="#com.vmware.appliance.infraprofile_client.Configs.ValidationStatus.INVALID"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">VALID</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">ValidationStatus(string='VALID')</span></em><aclass="headerlink"href="#com.vmware.appliance.infraprofile_client.Configs.ValidationStatus.VALID"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">export</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">spec</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.appliance.infraprofile_client.Configs.export"title="Permalink to this definition">¶</a></dt>
<dd><p>Exports the desired profile specification.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.appliance.infraprofile_client.Configs.ProfilesSpec"title="com.vmware.appliance.infraprofile_client.Configs.ProfilesSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Configs.ProfilesSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – information to export the profile.</p>
<codeclass="sig-name descname"><spanclass="pre">import_profile_task</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">spec</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.infraprofile_client.Configs.import_profile_task"title="Permalink to this definition">¶</a></dt>
<dd><p>Imports the desired profile specification.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.appliance.infraprofile_client.Configs.ImportProfileSpec"title="com.vmware.appliance.infraprofile_client.Configs.ImportProfileSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Configs.ImportProfileSpec</span></code></a>) – information to import the profile.</p>
<codeclass="sig-name descname"><spanclass="pre">list</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.infraprofile_client.Configs.list"title="Permalink to this definition">¶</a></dt>
<dd><p>List all the profiles which are registered.</p>
<codeclass="sig-name descname"><spanclass="pre">validate_task</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">spec</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.infraprofile_client.Configs.validate_task"title="Permalink to this definition">¶</a></dt>
<dd><p>Validates the desired profile specification.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.appliance.infraprofile_client.Configs.ImportProfileSpec"title="com.vmware.appliance.infraprofile_client.Configs.ImportProfileSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Configs.ImportProfileSpec</span></code></a>) – information to validate the profile.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.infraprofile_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Notification</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">notification</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">time</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">message</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">resolution</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.appliance.infraprofile_client.Notification"title="Permalink to this definition">¶</a></dt>
<li><p><strong>time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The time the notification was raised/found.
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if the time information is available.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.infraprofile_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Notifications</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">info</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">warnings</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">errors</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.appliance.infraprofile_client.Notifications"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.infraprofile_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.appliance.infraprofile_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<li><p><strong>notifications</strong> (<aclass="reference internal"href="#com.vmware.appliance.infraprofile_client.Notifications"title="com.vmware.appliance.infraprofile_client.Notifications"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Notifications</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Notifications to the user
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if the notifications were reported by this
This attribute will be None if the task has no result.</p></li>
<li><p><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Description of the operation associated with the task.</p></li>
<li><p><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the service containing the operation.
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.vapi.service</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.service</span></code>.</p></li>
<li><p><strong>operation</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the operation associated with the task.
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.vapi.operation</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.operation</span></code>.</p></li>
<li><p><strong>parent</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Parent of the current task.
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.cis.task</span></code>. When methods return a value of this class
as a return value, the attribute will be an identifier for the
This attribute will be None if the task has no parent.</p></li>
<li><p><strong>target</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.DynamicID"title="com.vmware.vapi.std_client.DynamicID"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.DynamicID</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the target created by the operation or an existing
one the operation performed on.
This attribute will be None if the operation has no target or
multiple targets.</p></li>
<li><p><strong>status</strong> (<aclass="reference internal"href="com.vmware.cis.html#com.vmware.cis.task_client.Status"title="com.vmware.cis.task_client.Status"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.cis.task_client.Status</span></code></a>) – Status of the operation associated with the task.</p></li>
<li><p><strong>cancelable</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Flag to indicate whether or not the operation can be cancelled. The
value may change as the operation progresses.</p></li>
<li><p><strong>error</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Exception</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Description of the error if the operation status is “FAILED”.
If None the description of why the operation failed will be
<li><p><strong>start_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when the operation is started.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">status</span></code> is one of
<li><p><strong>end_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when the operation is completed.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">status</span></code> is one of
<aclass="reference internal"href="com.vmware.cis.html#com.vmware.cis.task_client.Status.SUCCEEDED"title="com.vmware.cis.task_client.Status.SUCCEEDED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">com.vmware.cis.task_client.Status.SUCCEEDED</span></code></a> or
<li><p><strong>user</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Name of the user who performed the operation.
This attribute will be None if the operation is performed by the
<spanid="com-vmware-appliance-local-accounts-client-module"></span><h2>com.vmware.appliance.local_accounts_client module<aclass="headerlink"href="#module-com.vmware.appliance.local_accounts_client"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.local_accounts_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Policy</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.appliance.local_accounts_client.Policy"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Policy</span></code> class provides methods to manage local user accounts. This
class was added in vSphere API 6.7.</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">Info</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">max_days</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">min_days</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">warn_days</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.appliance.local_accounts_client.Policy.Info"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Policy.Info</span></code> class defines the global password policy. This class
was added in vSphere API 6.7.</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>max_days</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Maximum number of days a password may be used. If the password is
older than this, a password change will be forced. This attribute
was added in vSphere API 6.7.
If None then the restriction will be ignored.</p></li>
<li><p><strong>min_days</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Minimum number of days allowed between password changes. Any
password changes attempted sooner than this will be rejected. This
attribute was added in vSphere API 6.7.
If None then the restriction will be ignored.</p></li>
<li><p><strong>warn_days</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Number of days warning given before a password expires. A zero
means warning is given only upon the day of expiration. This
attribute was added in vSphere API 6.7.
If None then no warning will be provided.</p></li>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.local_accounts_client.Policy.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get the global password policy. This method was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">set</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">policy</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.local_accounts_client.Policy.set"title="Permalink to this definition">¶</a></dt>
<dd><p>Set the global password policy. This method was added in vSphere API
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.local_accounts_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.appliance.local_accounts_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-localaccounts-client-module"></span><h2>com.vmware.appliance.localaccounts_client module<aclass="headerlink"href="#module-com.vmware.appliance.localaccounts_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliancelocalaccounts</span></code> module provides classes for managing
local (OS) accounts in the appliance. The module is available starting in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.localaccounts_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.appliance.localaccounts_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-logging-client-module"></span><h2>com.vmware.appliance.logging_client module<aclass="headerlink"href="#module-com.vmware.appliance.logging_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.logging_client</span></code> module provides classes for
managing log forwarding in the appliance. The module is available starting in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.logging_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Forwarding</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.appliance.logging_client.Forwarding"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Forwarding</span></code> class provides methods to manage forwarding of log
messages to remote logging servers. This class was added in vSphere API
6.7.</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">Config</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">hostname</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">port</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">protocol</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.appliance.logging_client.Forwarding.Config"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Forwarding.Config</span></code> class defines the configuration for log message
forwarding to remote logging servers. This class was added in vSphere API
6.7.</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>hostname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – FQDN or IP address of the logging server to which messages are
forwarded. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The port on which the remote logging server is listening for
forwarded log messages. This attribute was added in vSphere API
6.7.</p></li>
<li><p><strong>protocol</strong> (<aclass="reference internal"href="#com.vmware.appliance.logging_client.Forwarding.Protocol"title="com.vmware.appliance.logging_client.Forwarding.Protocol"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Forwarding.Protocol</span></code></a>) – Transport protocol used to forward log messages. This attribute was
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ConnectionStatus</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">hostname</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">state</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">message</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.appliance.logging_client.Forwarding.ConnectionStatus"title="Permalink to this definition">¶</a></dt>
<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>hostname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – FQDN or IP address of the configured remote logging servers. This
attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>state</strong> (<aclass="reference internal"href="#com.vmware.appliance.logging_client.Forwarding.ConnectionStatus.State"title="com.vmware.appliance.logging_client.Forwarding.ConnectionStatus.State"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Forwarding.ConnectionStatus.State</span></code></a>) – State of the configured remote logging server. This attribute was
added in vSphere API 6.7.</p></li>
<li><p><strong>message</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Message associated with the state of the configured remote logging
server. This attribute was added in vSphere API 6.7.
If None, there is no message to be shown.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">State</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.ConnectionStatus.State"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Forwarding.ConnectionStatus.State</span></code> class defines the state values
that a remote logging server can be in. This enumeration was added in
vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">State</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">DOWN</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">State(string='DOWN')</span></em><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.ConnectionStatus.State.DOWN"title="Permalink to this definition">¶</a></dt>
<dd><p>The remote logging server is not reachable. This class attribute was added
<codeclass="sig-name descname"><spanclass="pre">UNKNOWN</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">State(string='UNKNOWN')</span></em><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.ConnectionStatus.State.UNKNOWN"title="Permalink to this definition">¶</a></dt>
<dd><p>The status of remote logging server is unknown. This class attribute was
<codeclass="sig-name descname"><spanclass="pre">UP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">State(string='UP')</span></em><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.ConnectionStatus.State.UP"title="Permalink to this definition">¶</a></dt>
<dd><p>The remote logging server is reachable. This class attribute was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Protocol</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.Protocol"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Forwarding.Protocol</span></code> class defines transport protocols for outbound
log messages. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Protocol</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">TCP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Protocol(string='TCP')</span></em><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.Protocol.TCP"title="Permalink to this definition">¶</a></dt>
<dd><p>Log messages will be forwarded to the remote host using the TCP protocol.
This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">TLS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Protocol(string='TLS')</span></em><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.Protocol.TLS"title="Permalink to this definition">¶</a></dt>
<dd><p>Log messages will be forwarded to the remote host by using the TLS
protocol. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">UDP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Protocol(string='UDP')</span></em><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.Protocol.UDP"title="Permalink to this definition">¶</a></dt>
<dd><p>Log messages will be forwarded to the remote host using the UDP protocol.
This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the configuration for forwarding log messages to remote logging
servers. This method was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">set</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">cfg_list</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.logging_client.Forwarding.set"title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the configuration for forwarding log messages to remote log
servers. This method was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>cfg_list</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.logging_client.Forwarding.Config"title="com.vmware.appliance.logging_client.Forwarding.Config"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Forwarding.Config</span></code></a>) – The cfgList is a list of Config structure that contains the log
message forwarding rules in terms of the host, port, protocol of
<codeclass="sig-name descname"><spanclass="pre">test</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">send_test_message</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.appliance.logging_client.Forwarding.test"title="Permalink to this definition">¶</a></dt>
<dd><p>Validates the current log forwarding configuration by checking the
liveness of the remote machine and optionally sending a test diagnostic
log message from the appliance to all configured logging servers to
allow manual end-to-end validation. The message that is sent is: “This
is a diagnostic log test message from vCenter Server.”. This method was
added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>send_test_message</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Flag specifying whether a default test message should be sent to
the configured logging servers.
If None, no test message will be sent to the configured remote
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.logging_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.appliance.logging_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-monitoring-client-module"></span><h2>com.vmware.appliance.monitoring_client module<aclass="headerlink"href="#module-com.vmware.appliance.monitoring_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.monitoring_client</span></code> module provides classes for
monitoring of the appliance. The module is available starting in vSphere 6.5.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.monitoring_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.appliance.monitoring_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-networking-client-module"></span><h2>com.vmware.appliance.networking_client module<aclass="headerlink"href="#module-com.vmware.appliance.networking_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.networking_client</span></code> module provides classes for
managing network configuration of the appliance. The module is available
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.networking_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Interfaces</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.appliance.networking_client.Interfaces"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Interfaces</span></code> class provides methods Provides information about network
interface.</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">InterfaceInfo</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">status</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">mac</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">ipv4</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">ipv6</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.appliance.networking_client.Interfaces.InterfaceInfo"title="Permalink to this definition">¶</a></dt>
<li><p><strong>mac</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – MAC address. For example 00:0C:29:94:BB:5A.</p></li>
<li><p><strong>ipv4</strong> (<aclass="reference internal"href="com.vmware.appliance.networking.html#com.vmware.appliance.networking.interfaces_client.Ipv4.Info"title="com.vmware.appliance.networking.interfaces_client.Ipv4.Info"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.appliance.networking.interfaces_client.Ipv4.Info</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – IPv4 Address information. This attribute was added in vSphere API
6.7.
ipv4 This attribute will be None if IPv4 is not enabled.</p></li>
<li><p><strong>ipv6</strong> (<aclass="reference internal"href="com.vmware.appliance.networking.html#com.vmware.appliance.networking.interfaces_client.Ipv6.Info"title="com.vmware.appliance.networking.interfaces_client.Ipv6.Info"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.appliance.networking.interfaces_client.Ipv6.Info</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – IPv6 Address information. This attribute was added in vSphere API
6.7.
ipv6 This attribute will be None if IPv6 is not enabled.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">InterfaceStatus</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Interfaces.InterfaceStatus"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Interfaces.InterfaceStatus</span></code> class Defines interface status</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">InterfaceStatus</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">down</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">InterfaceStatus(string='down')</span></em><aclass="headerlink"href="#com.vmware.appliance.networking_client.Interfaces.InterfaceStatus.down"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">up</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">InterfaceStatus(string='up')</span></em><aclass="headerlink"href="#com.vmware.appliance.networking_client.Interfaces.InterfaceStatus.up"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">interface_name</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Interfaces.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get information about a particular network interface.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>interface_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Network interface, for example, “nic0”.
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">list</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Interfaces.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Get list of available network interfaces, including those that are not
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.networking_client.</span></code><codeclass="sig-name descname"><spanclass="pre">NoProxy</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.appliance.networking_client.NoProxy"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">NoProxy</span></code> class provides methods to configure a connection that does
not need a proxy. This class was added in vSphere API 6.7.</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>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.NoProxy.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns servers for which no proxy configuration will be applied. This
<codeclass="sig-name descname"><spanclass="pre">set</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">servers</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.NoProxy.set"title="Permalink to this definition">¶</a></dt>
<dd><p>Sets servers for which no proxy configuration should be applied. This
operation sets environment variables. In order for this operation to
take effect, a logout from appliance or a service restart is required.
If IPv4 is enabled, “127.0.0.1” and “localhost” will always bypass the
proxy (even if they are not explicitly configured). This method was
added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>servers</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – List of strings representing servers to bypass proxy. A server can
be a FQDN, IP address, FQDN:port or IP:port combinations.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.networking_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Proxy</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.appliance.networking_client.Proxy"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Proxy</span></code> class provides methods Proxy configuration. This class was
added in vSphere API 6.7.</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">Config</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">server</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">port</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">username</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">password</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">enabled</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.appliance.networking_client.Proxy.Config"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Proxy.Config</span></code> class defines proxy configuration. This class was
added in vSphere API 6.7.</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>server</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – URL of the proxy server. This attribute was added in vSphere API
6.7.</p></li>
<li><p><strong>port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Port to connect to the proxy server. In a ‘get’ call, indicates the
port connected to the proxy server. In a ‘set’ call, specifies the
port to connect to the proxy server. A value of -1 indicates the
default port. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>username</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Username for proxy server. This attribute was added in vSphere API
6.7.
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if proxy requires username.</p></li>
<li><p><strong>password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for proxy server. This attribute was added in vSphere API
6.7.
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if proxy requires password.</p></li>
<li><p><strong>enabled</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – In the result of the <codeclass="docutils literal notranslate"><spanclass="pre">#get</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">#list</span></code> methods this attribute
indicates whether proxying is enabled for a particular protocol. In
the input to the <codeclass="docutils literal notranslate"><spanclass="pre">test</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">set</span></code> methods this attribute
specifies whether proxying should be enabled for a particular
protocol. This attribute was added in vSphere API 6.7.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Protocol</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.Protocol"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Proxy.Protocol</span></code> class defines the protocols for which proxying is
supported. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Protocol</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">FTP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Protocol(string='FTP')</span></em><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.Protocol.FTP"title="Permalink to this definition">¶</a></dt>
<dd><p>Proxy configuration for ftp. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">HTTP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Protocol(string='HTTP')</span></em><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.Protocol.HTTP"title="Permalink to this definition">¶</a></dt>
<dd><p>Proxy configuration for http. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">HTTPS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Protocol(string='HTTPS')</span></em><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.Protocol.HTTPS"title="Permalink to this definition">¶</a></dt>
<dd><p>Proxy configuration for https. This class attribute was added in vSphere
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ServerStatus</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.ServerStatus"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Proxy.ServerStatus</span></code> class defines the status of the server associated
with the test run. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ServerStatus</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">SERVER_REACHABLE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">ServerStatus(string='SERVER_REACHABLE')</span></em><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.ServerStatus.SERVER_REACHABLE"title="Permalink to this definition">¶</a></dt>
<dd><p>Server is reachable. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">SERVER_UNREACHABLE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">ServerStatus(string='SERVER_UNREACHABLE')</span></em><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.ServerStatus.SERVER_UNREACHABLE"title="Permalink to this definition">¶</a></dt>
<dd><p>Server is unreachable. This class attribute was added in vSphere API 6.7.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">TestResult</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">status</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">message</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.appliance.networking_client.Proxy.TestResult"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Proxy.TestResult</span></code> class contains information about the test
operation done on a proxy server. This class was added in vSphere API 6.7.</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>status</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking_client.Proxy.ServerStatus"title="com.vmware.appliance.networking_client.Proxy.ServerStatus"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Proxy.ServerStatus</span></code></a>) – Status of the proxy server indicating whether the proxy server is
reachable. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>message</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Message associated with status. This attribute was added in vSphere
<codeclass="sig-name descname"><spanclass="pre">delete</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">protocol</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.delete"title="Permalink to this definition">¶</a></dt>
<dd><p>Deletes a proxy configuration for a specific protocol. This method was
added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>protocol</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – ID whose proxy is to be deleted.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">protocol</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Gets the proxy configuration for a specific protocol. This method was
added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>protocol</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The protocol whose proxy configuration is requested.</p>
<codeclass="sig-name descname"><spanclass="pre">list</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Gets proxy configuration for all configured protocols. This method was
<codeclass="sig-name descname"><spanclass="pre">set</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">protocol</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.set"title="Permalink to this definition">¶</a></dt>
<dd><p>Configures which proxy server to use for the specified protocol. This
operation sets environment variables for using proxy. In order for this
configuration to take effect a logout / service restart is required.
This method was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>protocol</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The protocol for which proxy should be set.</p></li>
<li><p><strong>config</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking_client.Proxy.Config"title="com.vmware.appliance.networking_client.Proxy.Config"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Proxy.Config</span></code></a>) – Proxy configuration for the specific protocol.</p></li>
<codeclass="sig-name descname"><spanclass="pre">test</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">host</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">protocol</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking_client.Proxy.test"title="Permalink to this definition">¶</a></dt>
<dd><p>Tests a proxy configuration by testing the connection to the proxy
server and test host. This method was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>host</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – A hostname, IPv4 or Ipv6 address.</p></li>
<li><p><strong>protocol</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Protocol whose proxy is to be tested.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.networking_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.appliance.networking_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-ntp-client-module"></span><h2>com.vmware.appliance.ntp_client module<aclass="headerlink"href="#module-com.vmware.appliance.ntp_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.ntp_client</span></code> module provides classes for managing
NTP settings of the appliance. The module is available starting in vSphere 6.5.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.ntp_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.appliance.ntp_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-recovery-client-module"></span><h2>com.vmware.appliance.recovery_client module<aclass="headerlink"href="#module-com.vmware.appliance.recovery_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.recovery_client</span></code> module provides classes for backin
up and restoring vCenter Appliance configuration. The module is available
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.recovery_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Backup</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.appliance.recovery_client.Backup"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Backup</span></code> class provides methods Performs backup restore operations</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>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Backup.BackupRequest</span></code> class Structure representing requested backup
piece</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>parts</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – a list of optional parts. Run backup parts APIs to get list of
optional parts and description</p></li>
<li><p><strong>backup_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – a password for a backup piece The backupPassword must adhere to the
following password requirements: At least 8 characters, cannot be
more than 20 characters in length. At least 1 uppercase letter. At
least 1 lowercase letter. At least 1 numeric digit. At least 1
special character (i.e. any character not in [0-9,a-z,A-Z]). Only
visible ASCII characters (for example, no space).
backupPassword If no password then the piece will not be encrypted</p></li>
<li><p><strong>location_type</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery_client.Backup.LocationType"title="com.vmware.appliance.recovery_client.Backup.LocationType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Backup.LocationType</span></code></a>) – a type of location</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">LocalizableMessage</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">id</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">default_message</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">args</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.appliance.recovery_client.Backup.LocalizableMessage"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">LocationType</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.LocationType"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Backup.LocationType</span></code> class Defines type of all locations for
backup/restore</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LocationType</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">FTP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='FTP')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.LocationType.FTP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">FTPS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='FTPS')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.LocationType.FTPS"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">HTTP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='HTTP')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.LocationType.HTTP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">HTTPS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='HTTPS')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.LocationType.HTTPS"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">NFS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='NFS')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.LocationType.NFS"title="Permalink to this definition">¶</a></dt>
<dd><p>Destination is NFS server. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">SCP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='SCP')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.LocationType.SCP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">SFTP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='SFTP')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.LocationType.SFTP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">SMB</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='SMB')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.LocationType.SMB"title="Permalink to this definition">¶</a></dt>
<dd><p>Destination is SMB server. This class attribute was added in vSphere API
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ReturnResult</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">status</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">messages</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.appliance.recovery_client.Backup.ReturnResult"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ReturnStatus</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.ReturnStatus"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Backup.ReturnStatus</span></code> class Defines the state of precheck</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ReturnStatus</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">FAIL</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">ReturnStatus(string='FAIL')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.ReturnStatus.FAIL"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">OK</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">ReturnStatus(string='OK')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.ReturnStatus.OK"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">WARNING</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">ReturnStatus(string='WARNING')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.ReturnStatus.WARNING"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">validate</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">piece</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Backup.validate"title="Permalink to this definition">¶</a></dt>
<dd><p>Check for backup errors without starting backup.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.recovery_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Restore</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.appliance.recovery_client.Restore"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Restore</span></code> class provides methods Performs restore operations</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">LocalizableMessage</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">id</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">default_message</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">args</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.appliance.recovery_client.Restore.LocalizableMessage"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">LocationType</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.LocationType"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Restore.LocationType</span></code> class Defines type of all locations for
backup/restore</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LocationType</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">FTP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='FTP')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.LocationType.FTP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">FTPS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='FTPS')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.LocationType.FTPS"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">HTTP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='HTTP')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.LocationType.HTTP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">HTTPS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='HTTPS')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.LocationType.HTTPS"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">NFS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='NFS')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.LocationType.NFS"title="Permalink to this definition">¶</a></dt>
<dd><p>Destination is NFS server. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">SCP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='SCP')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.LocationType.SCP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">SFTP</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='SFTP')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.LocationType.SFTP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">SMB</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">LocationType(string='SMB')</span></em><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.LocationType.SMB"title="Permalink to this definition">¶</a></dt>
<dd><p>Destination is SMB server. This class attribute was added in vSphere API
<li><p><strong>timestamp</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when this backup was completed.</p></li>
<li><p><strong>parts</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – List of parts included in the backup.</p></li>
<li><p><strong>boxname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Box name is PNID/ FQDN etc</p></li>
<li><p><strong>sso_login_required</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is SSO login required for the vCenter server. This attribute was
added in vSphere API 6.7.
This attribute is optional because it was added in a newer version
<li><p><strong>applicable</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Does the VCSA match the deployment type, network properties and
version of backed up VC</p></li>
<li><p><strong>messages</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.recovery_client.Restore.LocalizableMessage"title="com.vmware.appliance.recovery_client.Restore.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Restore.LocalizableMessage</span></code></a>) – Any messages if the backup is not aplicable</p></li>
<li><p><strong>backup_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – a password for a backup piece
backupPassword If no password then the piece will not be decrypted</p></li>
<li><p><strong>location_type</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery_client.Restore.LocationType"title="com.vmware.appliance.recovery_client.Restore.LocationType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Restore.LocationType</span></code></a>) – a type of location</p></li>
<li><p><strong>location_user</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – username for location
locationUser User name for this location if login is required.</p></li>
<li><p><strong>location_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – password for location
locationPassword Password for the specified user if login is
required at this location.</p></li>
<li><p><strong>sso_admin_user_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Administrators username for SSO. This attribute was added in
vSphere API 6.7.
If None SSO authentication will not be used. If the vCenter Server
is a management node or an embedded node, authentication is
required.</p></li>
<li><p><strong>sso_admin_user_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The password for SSO admin user. This attribute was added in
vSphere API 6.7.
If None SSO authentication will not be used. If the vCenter Server
is a management node or an embedded node, authentication is
<codeclass="sig-name descname"><spanclass="pre">validate</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">piece</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery_client.Restore.validate"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.recovery_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.appliance.recovery_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-shutdown-client-module"></span><h2>com.vmware.appliance.shutdown_client module<aclass="headerlink"href="#module-com.vmware.appliance.shutdown_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.shutdown_client</span></code> module provides classes to
shutdown and reboot the appliance. The module is available starting in vSphere
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.shutdown_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.appliance.shutdown_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-support-bundle-client-module"></span><h2>com.vmware.appliance.support_bundle_client module<aclass="headerlink"href="#module-com.vmware.appliance.support_bundle_client"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.support_bundle_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Components</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.appliance.support_bundle_client.Components"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">SupportBundleComponents</span></code> class provides methods to get the supported
support bundle components. This class was added in vSphere API 7.0.1.0.</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>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.support_bundle_client.Components.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get list of components/manifests included in the support bundle.
Manifests for a component specifies the files for a particular
component that all needs to be collected as part of support bundle.
This method was added in vSphere API 7.0.1.0.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Return type</dt>
<ddclass="field-odd"><p><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>A map of components with it’s group. The keys in the map are group
names and values in the map are a list of components in the group.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.support_bundle_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.appliance.support_bundle_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-supportbundle-client-module"></span><h2>com.vmware.appliance.supportbundle_client module<aclass="headerlink"href="#module-com.vmware.appliance.supportbundle_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.supportbundle_client</span></code> module provides classes for
setting and getting support bundle related operations.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.supportbundle_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.appliance.supportbundle_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-system-client-module"></span><h2>com.vmware.appliance.system_client module<aclass="headerlink"href="#module-com.vmware.appliance.system_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.system_client</span></code> module provides classes to query the
appliance system information. The module is available starting in vSphere 6.5.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.system_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Storage</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.appliance.system_client.Storage"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Storage</span></code> class provides methods Appliance storage configuration</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">StorageChange</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">old_size</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">new_size</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.appliance.system_client.Storage.StorageChange"title="Permalink to this definition">¶</a></dt>
<li><p><strong>old_size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Original size of the partition in MB. This attribute was added in
vSphere API 6.7.</p></li>
<li><p><strong>new_size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Nedw size of the partition in MB. This attribute was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">StorageMapping</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">disk</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">partition</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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.system_client.Storage.StorageMapping"title="Permalink to this definition">¶</a></dt>
<li><p><strong>disk</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The disk number in the vSphere Web Client.
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.appliance.system.storage</span></code>. When methods return a
value of this class as a return value, the attribute will be an
<li><p><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Description of partition. This attribute was added in vSphere API
6.7.
This attribute is optional because it was added in a newer version
<codeclass="sig-name descname"><spanclass="pre">list</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.system_client.Storage.list"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">resize</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.system_client.Storage.resize"title="Permalink to this definition">¶</a></dt>
<dd><p>Resize all partitions to 100 percent of disk size.</p>
<codeclass="sig-name descname"><spanclass="pre">resize_ex</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.system_client.Storage.resize_ex"title="Permalink to this definition">¶</a></dt>
<dd><p>Resize all partitions to 100 percent of disk size. This method was
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.system_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.appliance.system_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.system_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Time</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.appliance.system_client.Time"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Time</span></code> class provides methods Gets system time.</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">SystemTimeStruct</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">seconds_since_epoch</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">date</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">time</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">timezone</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.appliance.system_client.Time.SystemTimeStruct"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.system_client.Time.get"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.system_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Uptime</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.appliance.system_client.Uptime"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Uptime</span></code> class provides methods Get the system uptime.</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>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.system_client.Uptime.get"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.system_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Version</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.appliance.system_client.Version"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Version</span></code> class provides methods Get the appliance version.</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>
<li><p><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Type of product. Same product can have different deployment
options, which is represented by type.</p></li>
<li><p><strong>summary</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Summary of patch (empty string, if the appliance has not been
patched)</p></li>
<li><p><strong>releasedate</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Release date of patch (empty string, if the appliance has not been
patched)</p></li>
<li><p><strong>install_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Display the date and time when this system was first installed.
Value will not change on subsequent updates.</p></li>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.system_client.Version.get"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-update-client-module"></span><h2>com.vmware.appliance.update_client module<aclass="headerlink"href="#module-com.vmware.appliance.update_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.update_client</span></code> module provides classes for updating
the software in the appliance. The module is available starting in vSphere 6.5.</p>
<li><p><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Description of the update. The short information what this update
is. E.g. “Update2 for vCenter Server Appliance 6.5”. This attribute
was added in vSphere API 6.7.</p></li>
<li><p><strong>priority</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Priority"title="com.vmware.appliance.update_client.CommonInfo.Priority"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Priority</span></code></a>) – Update priority. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>severity</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Severity"title="com.vmware.appliance.update_client.CommonInfo.Severity"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Severity</span></code></a>) – Update severity. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>update_type</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Category"title="com.vmware.appliance.update_client.CommonInfo.Category"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Category</span></code></a>) – Update category. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>release_date</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Update release date. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>reboot_required</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Flag indicating whether reboot is required after update. This
attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Download Size of update in Megabytes. This attribute was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Category</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Category"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">CommonInfo.Category</span></code> class defines update type. This enumeration was
added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname"><spanclass="pre">FIX</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Category(string='FIX')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Category.FIX"title="Permalink to this definition">¶</a></dt>
<dd><p>Fixes bugs/vulnerabilities, doesn’t change functionality. This class
<codeclass="sig-name descname"><spanclass="pre">SECURITY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Category(string='SECURITY')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Category.SECURITY"title="Permalink to this definition">¶</a></dt>
<dd><p>Fixes vulnerabilities, doesn’t change functionality. This class attribute
<codeclass="sig-name descname"><spanclass="pre">UPDATE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Category(string='UPDATE')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Category.UPDATE"title="Permalink to this definition">¶</a></dt>
<dd><p>Changes product functionality. This class attribute was added in vSphere
<codeclass="sig-name descname"><spanclass="pre">UPGRADE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Category(string='UPGRADE')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Category.UPGRADE"title="Permalink to this definition">¶</a></dt>
<dd><p>Introduces new features, significantly changes product functionality. This
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Priority</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Priority"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">CommonInfo.Priority</span></code> class defines the update installation priority
recommendations. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname"><spanclass="pre">HIGH</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Priority(string='HIGH')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Priority.HIGH"title="Permalink to this definition">¶</a></dt>
<dd><p>Install ASAP. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">LOW</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Priority(string='LOW')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Priority.LOW"title="Permalink to this definition">¶</a></dt>
<dd><p>Install at your discretion. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">MEDIUM</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Priority(string='MEDIUM')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Priority.MEDIUM"title="Permalink to this definition">¶</a></dt>
<dd><p>Install at the earliest convenience. This class attribute was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Severity</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Severity"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">CommonInfo.Severity</span></code> class defines the severity of the issues fixed
in the update. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname"><spanclass="pre">CRITICAL</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Severity(string='CRITICAL')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Severity.CRITICAL"title="Permalink to this definition">¶</a></dt>
<dd><p>Vulnerabilities that can be exploited by an unauthenticated attacker from
the Internet or those that break the guest/host Operating System isolation.
The exploitation results in the complete compromise of confidentiality,
integrity, and availability of user data and/or processing resources
without user interaction. Exploitation could be leveraged to propagate an
Internet worm or execute arbitrary code between Virtual Machines and/or the
Host Operating System. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">IMPORTANT</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Severity(string='IMPORTANT')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Severity.IMPORTANT"title="Permalink to this definition">¶</a></dt>
<dd><p>Vulnerabilities that are not rated critical but whose exploitation results
in the complete compromise of confidentiality and/or integrity of user data
and/or processing resources through user assistance or by authenticated
attackers. This rating also applies to those vulnerabilities which could
lead to the complete compromise of availability when exploitation is by a
remote unauthenticated attacker from the Internet or through a breach of
virtual machine isolation. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">LOW</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Severity(string='LOW')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Severity.LOW"title="Permalink to this definition">¶</a></dt>
<dd><p>All other issues that have a security impact. Vulnerabilities where
exploitation is believed to be extremely difficult, or where successful
exploitation would have minimal impact. This class attribute was added in
<codeclass="sig-name descname"><spanclass="pre">MODERATE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Severity(string='MODERATE')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.CommonInfo.Severity.MODERATE"title="Permalink to this definition">¶</a></dt>
<dd><p>Vulnerabilities where the ability to exploit is mitigated to a significant
degree by configuration or difficulty of exploitation, but in certain
deployment scenarios could still lead to the compromise of confidentiality,
integrity, or availability of user data and/or processing resources. This
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.update_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Pending</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.appliance.update_client.Pending"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Pending</span></code> class provides methods to manipulate pending updates. This
class was added in vSphere API 6.7.</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>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Pending.Info</span></code> class contains the extended information about the
update. This class was added in vSphere API 6.7.</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>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the update. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>contents</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – List of the 1. issues addressed since previous/current version 2.
new features/improvements. This attribute was added in vSphere API
6.7.</p></li>
<li><p><strong>services_will_be_stopped</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.update_client.ServiceInfo"title="com.vmware.appliance.update_client.ServiceInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ServiceInfo</span></code></a>) – List of the services that will be stopped and restarted during the
update installation. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>eulas</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – List of EULAs. This list has multiple entries and can be dynamic
based on what we are actually installing. This attribute was added
in vSphere API 6.7.</p></li>
<li><p><strong>staged</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is the update staged. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>knowledge_base</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – URL for the knowledge base article describing this update. This
attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Description of the update. The short information what this update
is. E.g. “Update2 for vCenter Server Appliance 6.5”. This attribute
was added in vSphere API 6.7.</p></li>
<li><p><strong>priority</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Priority"title="com.vmware.appliance.update_client.CommonInfo.Priority"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Priority</span></code></a>) – Update priority. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>severity</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Severity"title="com.vmware.appliance.update_client.CommonInfo.Severity"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Severity</span></code></a>) – Update severity. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>update_type</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Category"title="com.vmware.appliance.update_client.CommonInfo.Category"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Category</span></code></a>) – Update category. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>release_date</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Update release date. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>reboot_required</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Flag indicating whether reboot is required after update. This
attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Download Size of update in Megabytes. This attribute was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">PrecheckResult</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">check_time</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">estimated_time_to_install</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">estimated_time_to_rollback</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">reboot_required</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">issues</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">questions</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.appliance.update_client.Pending.PrecheckResult"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Pending.PrecheckResult</span></code> class contains estimates of how long it will
take install and rollback an update as well as a list of possible warnings
and problems with installing the update. This class was added in vSphere
API 6.7.</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>check_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when this precheck was run. This attribute was added in
vSphere API 6.7.</p></li>
<li><p><strong>estimated_time_to_install</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Rough estimate of time to install the update (minutes). This
attribute was added in vSphere API 6.7.
estimatedTimeToInstall If None N/A</p></li>
<li><p><strong>estimated_time_to_rollback</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Rough estimate of time to rollback the update (minutes). This
attribute was added in vSphere API 6.7.
estimatedTimeToRollback If None N/A</p></li>
<li><p><strong>reboot_required</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is reboot required to install the update. This attribute was added
in vSphere API 6.7.</p></li>
<li><p><strong>issues</strong> (<aclass="reference internal"href="com.vmware.html#com.vmware.appliance_client.Notifications"title="com.vmware.appliance_client.Notifications"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.appliance_client.Notifications</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Lists of the issues and warnings. This attribute was added in
vSphere API 6.7.
issues If None N/A</p></li>
<li><p><strong>questions</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.update_client.Pending.Question"title="com.vmware.appliance.update_client.Pending.Question"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Pending.Question</span></code></a>) – List of questions that must be answered to install the update. This
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Pending.Question</span></code> class describes a item of information that must be
provided by the user in order to install the update. This class was added
in vSphere API 6.7.</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>data_item</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – ID of the data item. This attribute was added in vSphere API 6.7.
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.applicance.update.pending.dataitem</span></code>. When methods
return a value of this class as a return value, the attribute will
<li><p><strong>text</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Label for the item to be used in GUI/CLI. This attribute was added
in vSphere API 6.7.</p></li>
<li><p><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Description of the item. This attribute was added in vSphere API
6.7.</p></li>
<li><p><strong>type</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.Pending.Question.InputType"title="com.vmware.appliance.update_client.Pending.Question.InputType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Pending.Question.InputType</span></code></a>) – How this field shoudl be represented in GUI or CLI. This attribute
was added in vSphere API 6.7.</p></li>
<li><p><strong>allowed_values</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – List of allowed values. This attribute was added in vSphere API
6.7.
allowedValues If None any value is valid.</p></li>
<li><p><strong>regexp</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Regexp to validate the input. This attribute was added in vSphere
API 6.7.
regexp If None no validation will be performed.</p></li>
<li><p><strong>default_answer</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Default answer. This attribute was added in vSphere API 6.7.
defaultAnswer If None then there is no default answer, so an
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">InputType</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.Question.InputType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Pending.Question.InputType</span></code> class defines representation of field
fields in GUI or CLI. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">InputType</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">BOOLEAN</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">InputType(string='BOOLEAN')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.Question.InputType.BOOLEAN"title="Permalink to this definition">¶</a></dt>
<dd><p>Yes/No,On/Off,Checkbox answer. This class attribute was added in vSphere
<codeclass="sig-name descname"><spanclass="pre">PASSWORD</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">InputType(string='PASSWORD')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.Question.InputType.PASSWORD"title="Permalink to this definition">¶</a></dt>
<dd><p>Password (masked) answer. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">PLAIN_TEXT</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">InputType(string='PLAIN_TEXT')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.Question.InputType.PLAIN_TEXT"title="Permalink to this definition">¶</a></dt>
<dd><p>plain text answer. This class attribute was added in vSphere API 6.7.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">SourceType</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.SourceType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Pending.SourceType</span></code> class defines the supported types of sources of
updates. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">SourceType</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">LAST_CHECK</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">SourceType(string='LAST_CHECK')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.SourceType.LAST_CHECK"title="Permalink to this definition">¶</a></dt>
<dd><p>Do not perform a new check, return the previous result. This class
<codeclass="sig-name descname"><spanclass="pre">LOCAL</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">SourceType(string='LOCAL')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.SourceType.LOCAL"title="Permalink to this definition">¶</a></dt>
<dd><p>Check the local sources, ISO devices, staged area. This class attribute was
<codeclass="sig-name descname"><spanclass="pre">LOCAL_AND_ONLINE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">SourceType(string='LOCAL_AND_ONLINE')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.SourceType.LOCAL_AND_ONLINE"title="Permalink to this definition">¶</a></dt>
<dd><p>Check the local sources, ISO devices, staged area, then online repository
as stated in update policy. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">version</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Gets update information. This method was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Update version
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">install</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">version</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">user_data</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.install"title="Permalink to this definition">¶</a></dt>
<dd><p>Starts operation of installing the appliance update. Will fail is the
update is not staged. This method was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Update version
The parameter must be an identifier for the resource type:
<li><p><strong>user_data</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – map of user provided data with IDs
The key in the parameter <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> must be an identifier for
<codeclass="sig-name descname"><spanclass="pre">list</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">source_type</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">url</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.appliance.update_client.Pending.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Checks if new updates are available. This method was added in vSphere
API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>source_type</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.Pending.SourceType"title="com.vmware.appliance.update_client.Pending.SourceType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Pending.SourceType</span></code></a>) – type of the source</p></li>
<li><p><strong>url</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – specific URL to check at
If None then URL is taken from the policy settings</p></li>
<codeclass="sig-name descname"><spanclass="pre">precheck</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">version</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.precheck"title="Permalink to this definition">¶</a></dt>
<dd><p>Runs update precheck. This method was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Update version
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">stage</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">version</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.stage"title="Permalink to this definition">¶</a></dt>
<dd><p>Starts staging the appliance update. The updates are searched for in
the following order: staged, CDROM, URL. This method was added in
vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Update version
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">stage_and_install</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">version</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">user_data</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.stage_and_install"title="Permalink to this definition">¶</a></dt>
<dd><p>Starts operation of installing the appliance update. Will stage update
if not already staged The updates are searched for in the following
order: staged, CDROM, URL. This method was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Update version
The parameter must be an identifier for the resource type:
<li><p><strong>user_data</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – map of user provided data with IDs
The key in the parameter <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> must be an identifier for
<codeclass="sig-name descname"><spanclass="pre">validate</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">version</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">user_data</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Pending.validate"title="Permalink to this definition">¶</a></dt>
<dd><p>Validates the user provided data before the update installation. This
method was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Update version
The parameter must be an identifier for the resource type:
<li><p><strong>user_data</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – map of user provided data with IDs
The key in the parameter <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> must be an identifier for
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.update_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Policy</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.appliance.update_client.Policy"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Policy</span></code> class provides methods to set/get background check for the
new updates. This class was added in vSphere API 6.7.</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">Config</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">custom_url</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">username</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">password</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">check_schedule</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">auto_stage</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">certificate_check</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.appliance.update_client.Policy.Config"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Policy.Config</span></code> class defines automatic update checking and staging
policy. This class was added in vSphere API 6.7.</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>custom_url</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Current appliance update repository URL. This attribute was added
in vSphere API 6.7.
If None then default URL is assumed</p></li>
<li><p><strong>username</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Username for the update repository. This attribute was added in
vSphere API 6.7.
If None username will not be used to login</p></li>
<li><p><strong>password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for the update repository. This attribute was added in
vSphere API 6.7.
password If None password will not be used to login</p></li>
<li><p><strong>check_schedule</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.update_client.Policy.Time"title="com.vmware.appliance.update_client.Policy.Time"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Policy.Time</span></code></a>) – Schedule when the automatic check will be run. This attribute was
added in vSphere API 6.7.</p></li>
<li><p><strong>auto_stage</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Automatically stage the latest update if available. This attribute
was added in vSphere API 6.7.</p></li>
<li><p><strong>certificate_check</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Indicates whether certificates will be checked during patching.</p>
<p>Warning: Setting this attribute to false will result in an insecure
connection to update repository which can potentially put the
appliance security at risk.. This attribute was added in vSphere
API 6.7.
certificateCheck If None the certificate checks are enabled.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">DayOfWeek</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.DayOfWeek"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Policy.DayOfWeek</span></code> class defines the set of days. This enumeration
was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">DayOfWeek</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">FRIDAY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">DayOfWeek(string='FRIDAY')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.DayOfWeek.FRIDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Friday. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">MONDAY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">DayOfWeek(string='MONDAY')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.DayOfWeek.MONDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Monday. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">SATURDAY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">DayOfWeek(string='SATURDAY')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.DayOfWeek.SATURDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Saturday. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">SUNDAY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">DayOfWeek(string='SUNDAY')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.DayOfWeek.SUNDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Sunday. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">THURSDAY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">DayOfWeek(string='THURSDAY')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.DayOfWeek.THURSDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Thursday. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">TUESDAY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">DayOfWeek(string='TUESDAY')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.DayOfWeek.TUESDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Tuesday. This class attribute was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">WEDNESDAY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">DayOfWeek(string='WEDNESDAY')</span></em><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.DayOfWeek.WEDNESDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Wednesday. This class attribute was added in vSphere API 6.7.</p>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Policy.Info</span></code> class defines automatic update checking and staging
policy. This class was added in vSphere API 6.7.</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>custom_url</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Current appliance update custom repository URL. This attribute was
added in vSphere API 6.7.
If None update is checked at defaut URL.</p></li>
<li><p><strong>default_url</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Current appliance update default repository URL. This attribute was
added in vSphere API 6.7.</p></li>
<li><p><strong>username</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Username for the update repository. This attribute was added in
vSphere API 6.7.
If None username will not be used to login</p></li>
<li><p><strong>check_schedule</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.update_client.Policy.Time"title="com.vmware.appliance.update_client.Policy.Time"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Policy.Time</span></code></a>) – Schedule when the automatic check will be run. This attribute was
added in vSphere API 6.7.</p></li>
<li><p><strong>auto_stage</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Automatically stage the latest update if available. This attribute
was added in vSphere API 6.7.</p></li>
<li><p><strong>auto_update</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is the appliance updated automatically. If <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> the
appliance may ignore the check schedule or auto-stage settings.
This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>manual_control</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Whether API client should allow the user to start update manually.
This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>certificate_check</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) –<p>Indicates whether certificates will be checked during patching.</p>
<p>Warning: If this attribute is set to false, an insecure connection
is made to the update repository which can potentially put the
appliance security at risk.. This attribute was added in vSphere
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Time</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">day</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">hour</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">minute</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.appliance.update_client.Policy.Time"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Policy.Time</span></code> class defines weekday and time the automatic check for
new updates will be run. This class was added in vSphere API 6.7.</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>day</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.Policy.DayOfWeek"title="com.vmware.appliance.update_client.Policy.DayOfWeek"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Policy.DayOfWeek</span></code></a>) – weekday to check for updates. This attribute was added in vSphere
API 6.7.</p></li>
<li><p><strong>hour</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Hour: 0-24. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>minute</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Minute: 0-59. This attribute was added in vSphere API 6.7.</p></li>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Gets the automatic update checking and staging policy. This method was
<codeclass="sig-name descname"><spanclass="pre">set</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">policy</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Policy.set"title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the automatic update checking and staging policy. This method was
added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>policy</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.Policy.Config"title="com.vmware.appliance.update_client.Policy.Config"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Policy.Config</span></code></a>) – Info structure containing the policy for the appliance update.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.update_client.</span></code><codeclass="sig-name descname"><spanclass="pre">ServiceInfo</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">service</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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.ServiceInfo"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">ServiceInfo</span></code> class describes a service to be stopped and started
during the update installation. This class was added in vSphere API 6.7.</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>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Service ID. This attribute was added in vSphere API 6.7.
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.appliance.service</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.service</span></code>.</p></li>
<li><p><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Service description. This attribute was added in vSphere API 6.7.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.update_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Staged</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.appliance.update_client.Staged"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Staged</span></code> class provides methods to get the status of the staged
update. This class was added in vSphere API 6.7.</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>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Staged.Info</span></code> class contains information about the staged update.
This class was added in vSphere API 6.7.</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>staging_complete</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is staging complete. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Version in form of X.Y.Z.P. e.g. 6.5.1.5400. This attribute was
added in vSphere API 6.7.
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.appliance.update.pending</span></code>. When methods return a
value of this class as a return value, the attribute will be an
<li><p><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the update. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Description of the update. The short information what this update
is. E.g. “Update2 for vCenter Server Appliance 6.5”. This attribute
was added in vSphere API 6.7.</p></li>
<li><p><strong>priority</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Priority"title="com.vmware.appliance.update_client.CommonInfo.Priority"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Priority</span></code></a>) – Update priority. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>severity</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Severity"title="com.vmware.appliance.update_client.CommonInfo.Severity"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Severity</span></code></a>) – Update severity. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>update_type</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Category"title="com.vmware.appliance.update_client.CommonInfo.Category"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Category</span></code></a>) – Update category. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>release_date</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Update release date. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>reboot_required</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Flag indicating whether reboot is required after update. This
attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Download Size of update in Megabytes. This attribute was added in
<codeclass="sig-name descname"><spanclass="pre">delete</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Staged.delete"title="Permalink to this definition">¶</a></dt>
<dd><p>Deletes the staged update. This method was added in vSphere API 6.7.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.update_client.Staged.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Gets the current status of the staged update. This method was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.update_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.appliance.update_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Summary</span></code> class contains the essential information about the update.
This class was added in vSphere API 6.7.</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>version</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Version in form of X.Y.Z.P. e.g. 6.5.1.5400. This attribute was
added in vSphere API 6.7.
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.appliance.update.pending</span></code>. When methods return a
value of this class as a return value, the attribute will be an
<li><p><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the update. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Description of the update. The short information what this update
is. E.g. “Update2 for vCenter Server Appliance 6.5”. This attribute
was added in vSphere API 6.7.</p></li>
<li><p><strong>priority</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Priority"title="com.vmware.appliance.update_client.CommonInfo.Priority"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Priority</span></code></a>) – Update priority. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>severity</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Severity"title="com.vmware.appliance.update_client.CommonInfo.Severity"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Severity</span></code></a>) – Update severity. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>update_type</strong> (<aclass="reference internal"href="#com.vmware.appliance.update_client.CommonInfo.Category"title="com.vmware.appliance.update_client.CommonInfo.Category"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CommonInfo.Category</span></code></a>) – Update category. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>release_date</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Update release date. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>reboot_required</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Flag indicating whether reboot is required after update. This
attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Download Size of update in Megabytes. This attribute was added in
<spanid="com-vmware-appliance-vmon-client-module"></span><h2>com.vmware.appliance.vmon_client module<aclass="headerlink"href="#module-com.vmware.appliance.vmon_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.vmon_client</span></code> module provides classes to manage a
set of services that are part of the vCenter Server.</p>
<dlclass="py class">
<dtid="com.vmware.appliance.vmon_client.Service">
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.vmon_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Service</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.appliance.vmon_client.Service"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Service</span></code> class provides methods to manage a single/set of services
that are managed by vMon.</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">Health</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.Health"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Service.Health</span></code> class defines the possible values for health of a
service.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Health</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">DEGRADED</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Health(string='DEGRADED')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.Health.DEGRADED"title="Permalink to this definition">¶</a></dt>
<dd><p>Service is in degraded state, it is not functional.</p>
<codeclass="sig-name descname"><spanclass="pre">HEALTHY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Health(string='HEALTHY')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.Health.HEALTHY"title="Permalink to this definition">¶</a></dt>
<dd><p>Service is in a healthy state and is fully functional.</p>
<codeclass="sig-name descname"><spanclass="pre">HEALTHY_WITH_WARNINGS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Health(string='HEALTHY_WITH_WARNINGS')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.Health.HEALTHY_WITH_WARNINGS"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Info</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">name_key</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_key</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">startup_type</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">state</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">health</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">health_messages</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.appliance.vmon_client.Service.Info"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Service.Info</span></code> class contains information about a service.</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>name_key</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Service name key. Can be used to lookup resource bundle</p></li>
<li><p><strong>description_key</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Service description key. Can be used to lookup resource bundle</p></li>
<li><p><strong>health</strong> (<aclass="reference internal"href="#com.vmware.appliance.vmon_client.Service.Health"title="com.vmware.appliance.vmon_client.Service.Health"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Service.Health</span></code></a>) – Health of service.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">state</span></code> is <aclass="reference internal"href="#com.vmware.appliance.vmon_client.Service.State.STARTED"title="com.vmware.appliance.vmon_client.Service.State.STARTED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.State.STARTED</span></code></a>.</p></li>
<li><p><strong>health_messages</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Localizable messages associated with the health of the service
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">state</span></code> is <aclass="reference internal"href="#com.vmware.appliance.vmon_client.Service.State.STARTED"title="com.vmware.appliance.vmon_client.Service.State.STARTED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.State.STARTED</span></code></a>.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">StartupType</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.StartupType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Service.StartupType</span></code> class defines valid Startup Type for services
managed by vMon.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">StartupType</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">AUTOMATIC</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">StartupType(string='AUTOMATIC')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.StartupType.AUTOMATIC"title="Permalink to this definition">¶</a></dt>
<dd><p>Service Startup type is Automatic, thus during starting all services or
issuing explicit start on the service will start it.</p>
<codeclass="sig-name descname"><spanclass="pre">DISABLED</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">StartupType(string='DISABLED')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.StartupType.DISABLED"title="Permalink to this definition">¶</a></dt>
<dd><p>Service Startup type is Disabled, thus it will not start unless the startup
<codeclass="sig-name descname"><spanclass="pre">MANUAL</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">StartupType(string='MANUAL')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.StartupType.MANUAL"title="Permalink to this definition">¶</a></dt>
<dd><p>Service Startup type is Manual, thus issuing an explicit start on the
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">State</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.State"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Service.State</span></code> class defines valid Run State for services.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">State</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">STARTED</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">State(string='STARTED')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.State.STARTED"title="Permalink to this definition">¶</a></dt>
<dd><p>Service Run State is Started, it is fully functional</p>
<codeclass="sig-name descname"><spanclass="pre">STARTING</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">State(string='STARTING')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.State.STARTING"title="Permalink to this definition">¶</a></dt>
<dd><p>Service Run State is Starting, it is still not functional</p>
<codeclass="sig-name descname"><spanclass="pre">STOPPED</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">State(string='STOPPED')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.State.STOPPED"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">STOPPING</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">State(string='STOPPING')</span></em><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.State.STOPPING"title="Permalink to this definition">¶</a></dt>
<dd><p>Service Run State is Stopping, it is not functional</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">UpdateSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">startup_type</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.appliance.vmon_client.Service.UpdateSpec"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">service</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the state of a service.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service whose state is being queried.
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">list_details</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.list_details"title="Permalink to this definition">¶</a></dt>
<dd><p>Lists details of services managed by vMon.</p>
<codeclass="sig-name descname"><spanclass="pre">restart</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">service</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.restart"title="Permalink to this definition">¶</a></dt>
<dd><p>Restarts a service</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service to restart
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">start</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">service</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.start"title="Permalink to this definition">¶</a></dt>
<dd><p>Starts a service</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service to start
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">stop</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">service</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.stop"title="Permalink to this definition">¶</a></dt>
<dd><p>Stops a service</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service to stop
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">update</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">service</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">spec</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.vmon_client.Service.update"title="Permalink to this definition">¶</a></dt>
<dd><p>Updates the properties of a service.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service whose properties are being updated.
The parameter must be an identifier for the resource type:
if a request to set the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.UpdateSpec.startup_type</span></code>
attribute of <codeclass="docutils literal notranslate"><spanclass="pre">spec</span></code> to <aclass="reference internal"href="#com.vmware.appliance.vmon_client.Service.StartupType.DISABLED"title="com.vmware.appliance.vmon_client.Service.StartupType.DISABLED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.StartupType.DISABLED</span></code></a> comes
in for a service that is not in <aclass="reference internal"href="#com.vmware.appliance.vmon_client.Service.State.STOPPED"title="com.vmware.appliance.vmon_client.Service.State.STOPPED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.State.STOPPED</span></code></a>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.appliance.vmon_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.appliance.vmon_client.StubFactory"title="Permalink to this definition">¶</a></dt>