1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-25 02:39:59 -05:00
vsphere-automation-sdk-python/vsphere/cloud/com.vmware.vcenter.html

9523 lines
742 KiB
HTML
Raw Normal View History

2018-08-07 19:42:25 -04:00
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>com.vmware.vcenter package &mdash; vSphere Automation SDK for Python 6.8.0 documentation</title>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="com.vmware.vcenter.deployment package" href="com.vmware.vcenter.deployment.html" />
<link rel="prev" title="com.vmware.vapi.std package" href="com.vmware.vapi.std.html" />
<script src="_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="index.html" class="icon icon-home"> vSphere Automation SDK for Python
</a>
<div class="version">
6.8.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="com.html">com package</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="com.html#subpackages">Subpackages</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="com.vmware.html">com.vmware package</a><ul class="current">
<li class="toctree-l4 current"><a class="reference internal" href="com.vmware.html#subpackages">Subpackages</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#module-com.vmware.appliance_client">com.vmware.appliance_client module</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#module-com.vmware.cis_client">com.vmware.cis_client module</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#module-com.vmware.content_client">com.vmware.content_client module</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#module-com.vmware.vcenter_client">com.vmware.vcenter_client module</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="vmware.html">vmware package</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">vSphere Automation SDK for Python</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> &raquo;</li>
<li><a href="com.html">com package</a> &raquo;</li>
<li><a href="com.vmware.html">com.vmware package</a> &raquo;</li>
<li>com.vmware.vcenter package</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/com.vmware.vcenter.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="module-com.vmware.vcenter">
<span id="com-vmware-vcenter-package"></span><h1>com.vmware.vcenter package<a class="headerlink" href="#module-com.vmware.vcenter" title="Permalink to this headline"></a></h1>
<div class="section" id="subpackages">
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline"></a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="com.vmware.vcenter.deployment.html">com.vmware.vcenter.deployment package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.deployment.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.deployment.install.html">com.vmware.vcenter.deployment.install package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.deployment.install.html#subpackages">Subpackages</a><ul>
<li class="toctree-l5"><a class="reference internal" href="com.vmware.vcenter.deployment.install.initial_config.html">com.vmware.vcenter.deployment.install.initial_config package</a><ul>
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vcenter.deployment.install.initial_config.html#submodules">Submodules</a></li>
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vcenter.deployment.install.initial_config.html#module-com.vmware.vcenter.deployment.install.initial_config.remote_psc_client">com.vmware.vcenter.deployment.install.initial_config.remote_psc_client module</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.deployment.install.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.deployment.install.html#module-com.vmware.vcenter.deployment.install.psc_client">com.vmware.vcenter.deployment.install.psc_client module</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.deployment.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.deployment.html#module-com.vmware.vcenter.deployment.install_client">com.vmware.vcenter.deployment.install_client module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="com.vmware.vcenter.hvc.html">com.vmware.vcenter.hvc package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.hvc.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.hvc.links.html">com.vmware.vcenter.hvc.links package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.hvc.links.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.hvc.links.html#module-com.vmware.vcenter.hvc.links.sync_client">com.vmware.vcenter.hvc.links.sync_client module</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.hvc.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.hvc.html#module-com.vmware.vcenter.hvc.links_client">com.vmware.vcenter.hvc.links_client module</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.hvc.html#module-com.vmware.vcenter.hvc.management_client">com.vmware.vcenter.hvc.management_client module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="com.vmware.vcenter.storage.html">com.vmware.vcenter.storage package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.storage.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.storage.policies.html">com.vmware.vcenter.storage.policies package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.storage.policies.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.storage.policies.html#module-com.vmware.vcenter.storage.policies.compliance_client">com.vmware.vcenter.storage.policies.compliance_client module</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.storage.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.storage.html#module-com.vmware.vcenter.storage.policies_client">com.vmware.vcenter.storage.policies_client module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="com.vmware.vcenter.vm.html">com.vmware.vcenter.vm package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.vm.hardware.html">com.vmware.vcenter.vm.hardware package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.hardware.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.hardware.html#module-com.vmware.vcenter.vm.hardware.adapter_client">com.vmware.vcenter.vm.hardware.adapter_client module</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.hardware.html#module-com.vmware.vcenter.vm.hardware.boot_client">com.vmware.vcenter.vm.hardware.boot_client module</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.vm.storage.html">com.vmware.vcenter.vm.storage package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.storage.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.storage.html#module-com.vmware.vcenter.vm.storage.policy_client">com.vmware.vcenter.vm.storage.policy_client module</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#module-com.vmware.vcenter.vm.guest_client">com.vmware.vcenter.vm.guest_client module</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#module-com.vmware.vcenter.vm.hardware_client">com.vmware.vcenter.vm.hardware_client module</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#module-com.vmware.vcenter.vm.storage_client">com.vmware.vcenter.vm.storage_client module</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2>
</div>
<div class="section" id="module-com.vmware.vcenter.datastore_client">
<span id="com-vmware-vcenter-datastore-client-module"></span><h2>com.vmware.vcenter.datastore_client module<a class="headerlink" href="#module-com.vmware.vcenter.datastore_client" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="com.vmware.vcenter.datastore_client.DefaultPolicy">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.datastore_client.</code><code class="descname">DefaultPolicy</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.datastore_client.DefaultPolicy" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">DefaultPolicy</span></code> class provides methods related to storage policies
associated with datastore object. The <a class="reference internal" href="#com.vmware.vcenter.datastore_client.DefaultPolicy.get" title="com.vmware.vcenter.datastore_client.DefaultPolicy.get"><code class="xref py py-func docutils literal notranslate"><span class="pre">DefaultPolicy.get()</span></code></a> method
provides information about the default storage policy associated with the
specific datastore. This class was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="com.vmware.vcenter.datastore_client.DefaultPolicy.get">
<code class="descname">get</code><span class="sig-paren">(</span><em>datastore</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.datastore_client.DefaultPolicy.get" title="Permalink to this definition"></a></dt>
<dd><p>Returns the identifier of the current default storage policy associated
with the specified datastore. This method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>datastore</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the datastore for which the default policy is
requested.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Identifier of the default storage policy associated with the
specified datastore.
The return value will be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.StoragePolicy</span></code>.
this field is None if there is no default storage policy associated
with the datastore.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the specified datastore does not exist.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user does not have the required priveleges.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.datastore_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.datastore_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.datastore_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.deployment_client">
<span id="com-vmware-vcenter-deployment-client-module"></span><h2>com.vmware.vcenter.deployment_client module<a class="headerlink" href="#module-com.vmware.vcenter.deployment_client" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.ApplianceState">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ApplianceState</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ApplianceState</span></code> class defines the various states the vCenter
Appliance can be in. This enumeration was added in vSphere API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <a class="reference internal" href="#com.vmware.vcenter.deployment_client.ApplianceState" title="com.vmware.vcenter.deployment_client.ApplianceState"><code class="xref py py-class docutils literal notranslate"><span class="pre">ApplianceState</span></code></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.CONFIGURED">
<code class="descname">CONFIGURED</code><em class="property"> = ApplianceState(string='CONFIGURED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.CONFIGURED" title="Permalink to this definition"></a></dt>
<dd><p>The appliance has been configured. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.CONFIG_IN_PROGRESS">
<code class="descname">CONFIG_IN_PROGRESS</code><em class="property"> = ApplianceState(string='CONFIG_IN_PROGRESS')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.CONFIG_IN_PROGRESS" title="Permalink to this definition"></a></dt>
<dd><p>The appliance is in the process of being configured. This class attribute
was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.FAILED">
<code class="descname">FAILED</code><em class="property"> = ApplianceState(string='FAILED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.FAILED" title="Permalink to this definition"></a></dt>
<dd><p>The appliance configuration has failed. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.INITIALIZED">
<code class="descname">INITIALIZED</code><em class="property"> = ApplianceState(string='INITIALIZED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.INITIALIZED" title="Permalink to this definition"></a></dt>
<dd><p>The appliance is initialized and ready to be configured. This class
attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.NOT_INITIALIZED">
<code class="descname">NOT_INITIALIZED</code><em class="property"> = ApplianceState(string='NOT_INITIALIZED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.NOT_INITIALIZED" title="Permalink to this definition"></a></dt>
<dd><p>The appliance is in the process of being initialized and not ready for
configuration. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.QUESTION_RAISED">
<code class="descname">QUESTION_RAISED</code><em class="property"> = ApplianceState(string='QUESTION_RAISED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.QUESTION_RAISED" title="Permalink to this definition"></a></dt>
<dd><p>The deployment script has raised a question and is waiting for an answer to
continue with the appliance configuration. This class attribute was added
in vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.ApplianceType">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ApplianceType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceType" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ApplianceType</span></code> class defines the vCenter appliance types. This
enumeration was added in vSphere API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <a class="reference internal" href="#com.vmware.vcenter.deployment_client.ApplianceType" title="com.vmware.vcenter.deployment_client.ApplianceType"><code class="xref py py-class docutils literal notranslate"><span class="pre">ApplianceType</span></code></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.ApplianceType.PSC_EXTERNAL">
<code class="descname">PSC_EXTERNAL</code><em class="property"> = ApplianceType(string='PSC_EXTERNAL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceType.PSC_EXTERNAL" title="Permalink to this definition"></a></dt>
<dd><p>An external Platform Services Controller. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.ApplianceType.VCSA_EMBEDDED">
<code class="descname">VCSA_EMBEDDED</code><em class="property"> = ApplianceType(string='VCSA_EMBEDDED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceType.VCSA_EMBEDDED" title="Permalink to this definition"></a></dt>
<dd><p>vCenter Server Appliance with an embedded Platform Services Controller.
This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.ApplianceType.VCSA_EXTERNAL">
<code class="descname">VCSA_EXTERNAL</code><em class="property"> = ApplianceType(string='VCSA_EXTERNAL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceType.VCSA_EXTERNAL" title="Permalink to this definition"></a></dt>
<dd><p>vCenter Server Appliance with an external Platform Services Controller.
This class attribute was added in vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.CheckInfo">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">CheckInfo</code><span class="sig-paren">(</span><em>status=None</em>, <em>result=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.CheckInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">CheckInfo</span></code> class describes the result of the appliance deployment
check. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>status</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.CheckStatus" title="com.vmware.vcenter.deployment_client.CheckStatus"><code class="xref py py-class docutils literal notranslate"><span class="pre">CheckStatus</span></code></a>) Status of the check. This attribute was added in vSphere API 6.7</li>
<li><strong>result</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Notifications" title="com.vmware.vcenter.deployment_client.Notifications"><code class="xref py py-class docutils literal notranslate"><span class="pre">Notifications</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Result of the check. This attribute was added in vSphere API 6.7
This attribute will be None if result is not available at the
current step of the task.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.CheckStatus">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">CheckStatus</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.CheckStatus" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">CheckStatus</span></code> class defines the status of the checks. This
enumeration was added in vSphere API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <a class="reference internal" href="#com.vmware.vcenter.deployment_client.CheckStatus" title="com.vmware.vcenter.deployment_client.CheckStatus"><code class="xref py py-class docutils literal notranslate"><span class="pre">CheckStatus</span></code></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.CheckStatus.FAILED">
<code class="descname">FAILED</code><em class="property"> = CheckStatus(string='FAILED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.CheckStatus.FAILED" title="Permalink to this definition"></a></dt>
<dd><p>A fatal error was encountered when running the sanity checks. This class
attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.CheckStatus.SUCCESS">
<code class="descname">SUCCESS</code><em class="property"> = CheckStatus(string='SUCCESS')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.CheckStatus.SUCCESS" title="Permalink to this definition"></a></dt>
<dd><p>All checks have completed successfully. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.HistoryMigrationOption">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">HistoryMigrationOption</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">HistoryMigrationOption</span></code> class defines the vCenter history migration
option choices. This enumeration was added in vSphere API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <a class="reference internal" href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption" title="com.vmware.vcenter.deployment_client.HistoryMigrationOption"><code class="xref py py-class docutils literal notranslate"><span class="pre">HistoryMigrationOption</span></code></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.HistoryMigrationOption.ALL">
<code class="descname">ALL</code><em class="property"> = HistoryMigrationOption(string='ALL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption.ALL" title="Permalink to this definition"></a></dt>
<dd><p>All history data will be migrated along with the core data. This class
attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.HistoryMigrationOption.EVENTS_TASKS">
<code class="descname">EVENTS_TASKS</code><em class="property"> = HistoryMigrationOption(string='EVENTS_TASKS')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption.EVENTS_TASKS" title="Permalink to this definition"></a></dt>
<dd><p>Only event data and task data will be migrated along with the core data.
This class attribute was added in vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.HistoryMigrationSpec">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">HistoryMigrationSpec</code><span class="sig-paren">(</span><em>data_set=None</em>, <em>defer_import=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.HistoryMigrationSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">HistoryMigrationSpec</span></code> class defines how vCenter history data will be
migrated. vCenter History data includes</p>
<ul class="simple">
<li>Statistics</li>
<li>Events</li>
<li>Tasks</li>
</ul>
<p>. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>data_set</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption" title="com.vmware.vcenter.deployment_client.HistoryMigrationOption"><code class="xref py py-class docutils literal notranslate"><span class="pre">HistoryMigrationOption</span></code></a>) Defines what part of vCenter historical data will be migrated along
with core data. This attribute was added in vSphere API 6.7</li>
<li><strong>defer_import</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Defines how vCenter history will be migrated. If set to true,
vCenter history will be migrated separately after successful
upgrade or migration, otherwise it will be migrated along with core
data during the upgrade or migration process. This attribute was
added in vSphere API 6.7
If None, vCenter historical data wont be deferred and will be
migrated along with core data.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.ImportHistory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ImportHistory</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ImportHistory</span></code> class provides methods for managing the import of
vCenter historical data, e.g. Tasks, Events and Statistics, when is is
imported separately from the upgrade or migration process. This class was
added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec">
<em class="property">class </em><code class="descname">CreateSpec</code><span class="sig-paren">(</span><em>name=None</em>, <em>description=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ImportHistory.CreateSpec</span></code> class contains information to create and
start vCenter historical data lazy-import. This class was added in vSphere
API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Name of the vCenter history import task. This attribute was added
in vSphere API 6.7</li>
<li><strong>description</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Description of the vCenter history import task. This attribute was
added in vSphere API 6.7</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>progress=None</em>, <em>result=None</em>, <em>description=None</em>, <em>service=None</em>, <em>operation=None</em>, <em>parent=None</em>, <em>target=None</em>, <em>status=None</em>, <em>cancelable=None</em>, <em>error=None</em>, <em>start_time=None</em>, <em>end_time=None</em>, <em>user=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ImportHistory.Info</span></code> class contains attributes to describe the state
of vCenter history import task. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>progress</strong> (<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Progress" title="com.vmware.cis.task_client.Progress"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Progress</span></code></a>) The progress info of this task. This attribute was added in vSphere
API 6.7
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">#status</span></code> is one of
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.RUNNING" title="com.vmware.cis.task_client.Status.RUNNING"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.RUNNING</span></code></a>,
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.FAILED" title="com.vmware.cis.task_client.Status.FAILED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.FAILED</span></code></a>,
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.BLOCKED" title="com.vmware.cis.task_client.Status.BLOCKED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.BLOCKED</span></code></a>, or
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.SUCCEEDED" title="com.vmware.cis.task_client.Status.SUCCEEDED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.SUCCEEDED</span></code></a>.</li>
<li><strong>result</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Notifications" title="com.vmware.vcenter.deployment_client.Notifications"><code class="xref py py-class docutils literal notranslate"><span class="pre">Notifications</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Result of the operation. If an operation reports partial results
before it completes, this attribute could be <code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> before
the null has the value null. The value could change as the
operation progresses. This attribute was added in vSphere API 6.7
This attribute will be None if result is not available at the
current step of the operation.</li>
<li><strong>description</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) Description of the operation associated with the task.</li>
<li><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Name 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:
<code class="docutils literal notranslate"><span class="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: <code class="docutils literal notranslate"><span class="pre">com.vmware.vapi.service</span></code>.</li>
<li><strong>operation</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Name 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:
<code class="docutils literal notranslate"><span class="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: <code class="docutils literal notranslate"><span class="pre">com.vmware.vapi.operation</span></code>.</li>
<li><strong>parent</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="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:
<code class="docutils literal notranslate"><span class="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
resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.cis.task</span></code>.
This attribute will be None if the task has no parent.</li>
<li><strong>target</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.DynamicID" title="com.vmware.vapi.std_client.DynamicID"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.DynamicID</span></code></a> or <code class="docutils literal notranslate"><span class="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.</li>
<li><strong>status</strong> (<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status" title="com.vmware.cis.task_client.Status"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status</span></code></a>) Status of the operation associated with the task.</li>
<li><strong>cancelable</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Flag to indicate whether or not the operation can be cancelled. The
value may change as the operation progresses.</li>
<li><strong>error</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">Exception</span></code> or <code class="docutils literal notranslate"><span class="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
included in the result of the operation (see
<code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Info.result</span></code>).</li>
<li><strong>start_time</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">datetime.datetime</span></code>) Time when the operation is started.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">status</span></code> is one of
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.RUNNING" title="com.vmware.cis.task_client.Status.RUNNING"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.RUNNING</span></code></a>,
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.BLOCKED" title="com.vmware.cis.task_client.Status.BLOCKED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.BLOCKED</span></code></a>,
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.SUCCEEDED" title="com.vmware.cis.task_client.Status.SUCCEEDED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.SUCCEEDED</span></code></a>, or
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.FAILED" title="com.vmware.cis.task_client.Status.FAILED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.FAILED</span></code></a>.</li>
<li><strong>end_time</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">datetime.datetime</span></code>) Time when the operation is completed.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">status</span></code> is one of
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.SUCCEEDED" title="com.vmware.cis.task_client.Status.SUCCEEDED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.SUCCEEDED</span></code></a> or
<a class="reference internal" href="com.vmware.cis.html#com.vmware.cis.task_client.Status.FAILED" title="com.vmware.cis.task_client.Status.FAILED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">com.vmware.cis.task_client.Status.FAILED</span></code></a>.</li>
<li><strong>user</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Name of the user who performed the operation.
This attribute will be None if the operation is performed by the
system.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.cancel">
<code class="descname">cancel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.cancel" title="Permalink to this definition"></a></dt>
<dd><p>Cancels the task for importing vCenter historical data. This method was
added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the caller is not authorized to perform the method.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if vCenter historical data import task cannot be canceled at this
state. This can happen in the following cases:</p>
<ul class="simple">
<li>If historical data import has not been started yet because a not
running task cannot be canceled</li>
<li>If historical data import has already been completed because a
completed task cannot be canceled</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
if vCenter historical data import task is already canceled.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
Generic error.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.get">
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.get" title="Permalink to this definition"></a></dt>
<dd><p>Get the current status of the vCenter historical data import. This
method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.ImportHistory.Info" title="com.vmware.vcenter.deployment_client.ImportHistory.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">ImportHistory.Info</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Info structure containing the status information about the
historical data import status.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the caller is not authorized to perform the method.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
Generic error</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.pause">
<code class="descname">pause</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.pause" title="Permalink to this definition"></a></dt>
<dd><p>Pauses the task for importing vCenter historical data. This method was
added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the caller is not authorized to perform the method.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if vCenter historical data import task cannot be paused at this
time. Pause can be accepted only in null state</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
if vCenter historical data import task is already paused</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
Generic error</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.resume">
<code class="descname">resume</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.resume" title="Permalink to this definition"></a></dt>
<dd><p>Resumes the task for importing vCenter historical data. This method was
added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the caller is not authorized to perform the method.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if vCenter historical data import task cannot be resumed at this
state. Resume can be accepted only in null state</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
if vCenter historical data import task is already resumed.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
Generic error.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.start">
<code class="descname">start</code><span class="sig-paren">(</span><em>spec=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.start" title="Permalink to this definition"></a></dt>
<dd><p>Creates and starts task for importing vCenter historical data. This
method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec" title="com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">ImportHistory.CreateSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>An optional <code class="docutils literal notranslate"><span class="pre">ImportHistory.CreateSpec</span></code> info that can be passed
for creating a new historical data import task and starts it.
If None, default value will be:</p>
<ul class="simple">
<li>name : vcenter.deployment.history.import</li>
<li>description : vCenter Server history import</li>
</ul>
</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the caller is not authorized to perform the method.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if vCenter historical data import task cannot be started at this
time. This can happen in the following cases:</p>
<ul class="simple">
<li>If historical data import has already been canceled because a
canceled task cannot be re-started</li>
<li>If historical data import has already been completed because a
completed task cannot be re-started</li>
<li>If historical data import has already been paused because a
paused task can only be resumed or canceled</li>
</ul>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
if vCenter historical data import task has already being started.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
Generic error</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Install">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Install</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Install</span></code> class provides methods to configure the installation of the
appliance. This class was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Install.InstallSpec">
<em class="property">class </em><code class="descname">InstallSpec</code><span class="sig-paren">(</span><em>vcsa_embedded=None</em>, <em>psc=None</em>, <em>vcsa_external=None</em>, <em>auto_answer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.InstallSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Install.InstallSpec</span></code> class contains information used to configure
the appliance installation. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>vcsa_embedded</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Install.VcsaEmbeddedSpec" title="com.vmware.vcenter.deployment_client.Install.VcsaEmbeddedSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Install.VcsaEmbeddedSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Spec used to configure an embedded vCenter Server. This field
describes how the embedded vCenter Server appliance should be
configured. This attribute was added in vSphere API 6.7
If None, will not configure this appliance as Embedded vCenter
Server. If None, either <code class="docutils literal notranslate"><span class="pre">vcsaExternal</span></code> or <code class="docutils literal notranslate"><span class="pre">psc</span></code> must be
provided.</li>
<li><strong>psc</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Install.PscSpec" title="com.vmware.vcenter.deployment_client.Install.PscSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Install.PscSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Spec used to configure a Platform Services Controller. This field
describes how the Platform Services Controller appliance should be
configured. This attribute was added in vSphere API 6.7
If None, will not configure this appliance as Platform Services
Controller. If None, either <code class="docutils literal notranslate"><span class="pre">vcsaEmbedded</span></code> or <code class="docutils literal notranslate"><span class="pre">vcsaExternal</span></code>
must be provided.</li>
<li><strong>vcsa_external</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.RemotePscSpec" title="com.vmware.vcenter.deployment_client.RemotePscSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">RemotePscSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Spec used to configure a vCenter Server registered with an external
PSC. This fields represent the remote external PSC that the
configuring vCenter Server will be registering with. This attribute
was added in vSphere API 6.7
If None, will not configure this appliance as external vCenter
Server. If None, either <code class="docutils literal notranslate"><span class="pre">vcsaEmbedded</span></code> or <code class="docutils literal notranslate"><span class="pre">psc</span></code> must be
provided.</li>
<li><strong>auto_answer</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Use the default option for any questions that may come up during
appliance configuration. This attribute was added in vSphere API
6.7
If None, will default to false.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Install.PscSpec">
<em class="property">class </em><code class="descname">PscSpec</code><span class="sig-paren">(</span><em>standalone=None</em>, <em>replicated=None</em>, <em>ceip_enabled=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.PscSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Install.PscSpec</span></code> class contains information used to configure a
standalone or replicated PSC. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>standalone</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.StandalonePscSpec" title="com.vmware.vcenter.deployment_client.StandalonePscSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">StandalonePscSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Spec used to configure a standalone Platform Services Controller.
This field describes how the standalone PSC should be configured.
This attribute was added in vSphere API 6.7
If None, will default to None.</li>
<li><strong>replicated</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.ReplicatedPscSpec" title="com.vmware.vcenter.deployment_client.ReplicatedPscSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">ReplicatedPscSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Spec used to configure a replicated Platform Services Controller.
This field describes how the replicated PSC should be configured.
This attribute was added in vSphere API 6.7
If None, will default to None.</li>
<li><strong>ceip_enabled</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Customer experience improvement program should be enabled or
disabled. This attribute was added in vSphere API 6.7</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Install.VcsaEmbeddedSpec">
<em class="property">class </em><code class="descname">VcsaEmbeddedSpec</code><span class="sig-paren">(</span><em>standalone=None</em>, <em>replicated=None</em>, <em>ceip_enabled=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.VcsaEmbeddedSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Install.VcsaEmbeddedSpec</span></code> class contains information used to
configure an embedded standalone or replicated vCenter Server. This class
was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>standalone</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.StandaloneSpec" title="com.vmware.vcenter.deployment_client.StandaloneSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">StandaloneSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Spec used to configure a standalone embedded vCenter Server. This
field describes how the standalone vCenter Server appliance should
be configured. This attribute was added in vSphere API 6.7
If None, will default to None.</li>
<li><strong>replicated</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.ReplicatedSpec" title="com.vmware.vcenter.deployment_client.ReplicatedSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">ReplicatedSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Spec used to configure a replicated embedded vCenter Server. This
field describes how the replicated vCenter Server appliance should
be configured. This attribute was added in vSphere API 6.7
If None, will default to None.</li>
<li><strong>ceip_enabled</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Whether CEIP should be enabled or disabled. This attribute was
added in vSphere API 6.7</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Install.cancel">
<code class="descname">cancel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.cancel" title="Permalink to this definition"></a></dt>
<dd><p>Cancel the appliance installation that is in progress. This method was
added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is not in CONFIG_IN_PROGRESS state and if the
operation is not INSTALL.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Install.check">
<code class="descname">check</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.check" title="Permalink to this definition"></a></dt>
<dd><p>Run sanity checks using the InstallSpec parameters passed. This method
was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Install.InstallSpec" title="com.vmware.vcenter.deployment_client.Install.InstallSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Install.InstallSpec</span></code></a>) InstallSpec parameters to run sanity check with.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.CheckInfo" title="com.vmware.vcenter.deployment_client.CheckInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">CheckInfo</span></code></a></td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">CheckInfo containing the check results.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if external PSC credentials are not valid when configuring PSC to
replicate with an external existing PSC.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if external PSC credentials are not valid when configuring a
VCSA_EXTERNAL appliance.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if passed arguments are invalid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is not in INITIALIZED state.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Install.get">
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.get" title="Permalink to this definition"></a></dt>
<dd><p>Get the parameters used to configure the ongoing appliance
installation. This method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.Install.InstallSpec" title="com.vmware.vcenter.deployment_client.Install.InstallSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Install.InstallSpec</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">InstallSpec parameters being used to configure appliance install.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if appliance is not in INSTALL_PROGRESS state.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Install.start">
<code class="descname">start</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.start" title="Permalink to this definition"></a></dt>
<dd><p>Start the appliance installation. This method was added in vSphere API
6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Install.InstallSpec" title="com.vmware.vcenter.deployment_client.Install.InstallSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Install.InstallSpec</span></code></a>) InstallSpec parameters to configure the appliance install.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the partner PSC credentials are not valid when configuring PSC
to replicate with partner PSC.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if external PSC credentials are not valid when configuring a
VCSA_EXTERNAL appliance.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if passed arguments are invalid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is not in INITIALIZED state.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.LocationSpec">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">LocationSpec</code><span class="sig-paren">(</span><em>hostname=None</em>, <em>https_port=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em>, <em>username=None</em>, <em>password=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.LocationSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LocationSpec</span></code> class is used to pass the container ESXi or vCenter
server of the VM to patch the size of this appliance. This class was added
in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>hostname</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The IP address or DNS resolvable name of the container. This
attribute was added in vSphere API 6.7</li>
<li><strong>https_port</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The HTTPS port of the container. This attribute was added in
vSphere API 6.7
If None, port 443 will be used.</li>
<li><strong>ssl_thumbprint</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SHA1 thumbprint of the server SSL certificate will be used for
verification. This attribute was added in vSphere API 6.7
This attribute is only relevant if <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SSL verification should be enabled or disabled. If <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> is
true and and <code class="docutils literal notranslate"><span class="pre">sslThumbprint</span></code> is None, the CA certificate will be
used for verification. If <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> is true and
<code class="docutils literal notranslate"><span class="pre">sslThumbprint</span></code> is set then the thumbprint will be used for
verification. No verification will be performed if <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code>
value is set to false. This attribute was added in vSphere API 6.7
If None, ssl_verify true will be used.</li>
<li><strong>username</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The administrator account on the host. This attribute was added in
vSphere API 6.7</li>
<li><strong>password</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The administrator account password. This attribute was added in
vSphere API 6.7</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Notification">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Notification</code><span class="sig-paren">(</span><em>id=None</em>, <em>time=None</em>, <em>message=None</em>, <em>resolution=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Notification" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Notification</span></code> class contains attributes to describe any
info/warning/error messages that Tasks can raise. This class was added in
vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The notification id. This attribute was added in vSphere API 6.7</li>
<li><strong>time</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">datetime.datetime</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The time the notification was raised/found. This attribute was
added in vSphere API 6.7
Only <code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> if the time information is available.</li>
<li><strong>message</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) The notification message. This attribute was added in vSphere API
6.7</li>
<li><strong>resolution</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The resolution message, if any. This attribute was added in vSphere
API 6.7
Only <code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> for warnings and errors.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Notifications">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Notifications</code><span class="sig-paren">(</span><em>info=None</em>, <em>warnings=None</em>, <em>errors=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Notifications" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Notifications</span></code> class contains info/warning/error messages that can
be reported be the task. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>info</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.deployment_client.Notification" title="com.vmware.vcenter.deployment_client.Notification"><code class="xref py py-class docutils literal notranslate"><span class="pre">Notification</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Info notification messages reported. This attribute was added in
vSphere API 6.7
Only <code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> if an info was reported by the task.</li>
<li><strong>warnings</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.deployment_client.Notification" title="com.vmware.vcenter.deployment_client.Notification"><code class="xref py py-class docutils literal notranslate"><span class="pre">Notification</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Warning notification messages reported. This attribute was added in
vSphere API 6.7
Only <code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> if an warning was reported by the task.</li>
<li><strong>errors</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.deployment_client.Notification" title="com.vmware.vcenter.deployment_client.Notification"><code class="xref py py-class docutils literal notranslate"><span class="pre">Notification</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Error notification messages reported. This attribute was added in
vSphere API 6.7
Only <code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> if an error was reported by the task.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Operation">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Operation</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Operation</span></code> class defines the supported vCenter appliance deployment
operations. This enumeration was added in vSphere API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <a class="reference internal" href="#com.vmware.vcenter.deployment_client.Operation" title="com.vmware.vcenter.deployment_client.Operation"><code class="xref py py-class docutils literal notranslate"><span class="pre">Operation</span></code></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.Operation.INSTALL">
<code class="descname">INSTALL</code><em class="property"> = Operation(string='INSTALL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.INSTALL" title="Permalink to this definition"></a></dt>
<dd><p>The appliance installation is in progress. This class attribute was added
in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.Operation.MIGRATE">
<code class="descname">MIGRATE</code><em class="property"> = Operation(string='MIGRATE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.MIGRATE" title="Permalink to this definition"></a></dt>
<dd><p>The appliance migration is in progress. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.Operation.RESTORE">
<code class="descname">RESTORE</code><em class="property"> = Operation(string='RESTORE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.RESTORE" title="Permalink to this definition"></a></dt>
<dd><p>The appliance restoration is in progress. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.Operation.ROLLBACK">
<code class="descname">ROLLBACK</code><em class="property"> = Operation(string='ROLLBACK')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.ROLLBACK" title="Permalink to this definition"></a></dt>
<dd><p>The appliance is being rolled back to an unconfigured state. This class
attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.Operation.UPGRADE">
<code class="descname">UPGRADE</code><em class="property"> = Operation(string='UPGRADE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.UPGRADE" title="Permalink to this definition"></a></dt>
<dd><p>The appliance upgrade is in progress. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Question">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Question</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Question</span></code> class provides methods to get the question raised during
deployment and to answer them. This class was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Question.AnswerSpec">
<em class="property">class </em><code class="descname">AnswerSpec</code><span class="sig-paren">(</span><em>question_id=None</em>, <em>answer_val=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.AnswerSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Question.AnswerSpec</span></code> class contains attributes to describe the
answer to a raised question. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>question_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Id of the question being answered. This attribute was added in
vSphere API 6.7</li>
<li><strong>answer_val</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The answer value. This attribute was added in vSphere API 6.7</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Question.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>questions=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Question.Info</span></code> class contains attributes to describe questions
raised during the deployment process. This class was added in vSphere API
6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>questions</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.deployment_client.Question.Question" title="com.vmware.vcenter.deployment_client.Question.Question"><code class="xref py py-class docutils literal notranslate"><span class="pre">Question.Question</span></code></a>) One or more questions raised during the deployment. This attribute
was added in vSphere API 6.7</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Question.Question">
<em class="property">class </em><code class="descname">Question</code><span class="sig-paren">(</span><em>id=None</em>, <em>question=None</em>, <em>type=None</em>, <em>default_answer=None</em>, <em>possible_answers=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.Question" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Question.Question</span></code> class contains attributes to describe a
deployment question. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Id of the question raised. This attribute was added in vSphere API
6.7</li>
<li><strong>question</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) Message describing the question. This attribute was added in
vSphere API 6.7</li>
<li><strong>type</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Question.QuestionType" title="com.vmware.vcenter.deployment_client.Question.QuestionType"><code class="xref py py-class docutils literal notranslate"><span class="pre">Question.QuestionType</span></code></a>) Type of the question raised. This attribute was added in vSphere
API 6.7</li>
<li><strong>default_answer</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Default answer value. This attribute was added in vSphere API 6.7</li>
<li><strong>possible_answers</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Possible answers values. This attribute was added in vSphere API
6.7</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Question.QuestionType">
<em class="property">class </em><code class="descname">QuestionType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.QuestionType" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Question.QuestionType</span></code> class defines the type of the question
raised. This enumeration was added in vSphere API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">QuestionType</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.Question.QuestionType.ABORT_RETRY_IGNORE">
<code class="descname">ABORT_RETRY_IGNORE</code><em class="property"> = QuestionType(string='ABORT_RETRY_IGNORE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.QuestionType.ABORT_RETRY_IGNORE" title="Permalink to this definition"></a></dt>
<dd><p>Question with answer values Abort/Retry/Ignore. This class attribute was
added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.Question.QuestionType.OK_CANCEL">
<code class="descname">OK_CANCEL</code><em class="property"> = QuestionType(string='OK_CANCEL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.QuestionType.OK_CANCEL" title="Permalink to this definition"></a></dt>
<dd><p>Question with answer values Ok/Cancel. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.Question.QuestionType.YES_NO">
<code class="descname">YES_NO</code><em class="property"> = QuestionType(string='YES_NO')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.QuestionType.YES_NO" title="Permalink to this definition"></a></dt>
<dd><p>Question with answer values Yes/No. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Question.answer">
<code class="descname">answer</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.answer" title="Permalink to this definition"></a></dt>
<dd><p>Supply answer to the raised question. This method was added in vSphere
API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Question.AnswerSpec" title="com.vmware.vcenter.deployment_client.Question.AnswerSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Question.AnswerSpec</span></code></a>) AnswerSpec with the answer to the raised question.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if passed arguments are invalid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is NOT in QUESTION_RAISED state.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InternalServerError</span></code>
if answer file could not be created.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Question.get">
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.get" title="Permalink to this definition"></a></dt>
<dd><p>Get the question that was raised during the configuration. This method
was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.Question.Info" title="com.vmware.vcenter.deployment_client.Question.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Question.Info</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Info structure containing the question.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is not in QUESTION_RAISED state.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InternalServerError</span></code>
if questions could not be retrieved although the appliance is in
QUESTION_RAISED state.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.RemotePscSpec">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">RemotePscSpec</code><span class="sig-paren">(</span><em>psc_hostname=None</em>, <em>https_port=None</em>, <em>sso_admin_password=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.RemotePscSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">RemotePscSpec</span></code> class contains information used to configure an
external vCenter Server that registers with a remote PSC. This class was
added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>psc_hostname</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The IP address or DNS resolvable name of the remote PSC to which
this configuring vCenter Server will be registered to. This
attribute was added in vSphere API 6.7</li>
<li><strong>https_port</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The HTTPS port of the external PSC appliance. This attribute was
added in vSphere API 6.7
If None, port 443 will be used.</li>
<li><strong>sso_admin_password</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The SSO administrator account password. This attribute was added in
vSphere API 6.7</li>
<li><strong>ssl_thumbprint</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SHA1 thumbprint of the server SSL certificate will be used for
verification when ssl_verify field is set to true. This attribute
was added in vSphere API 6.7
This attribute is only relevant if <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SSL verification should be enabled or disabled. If <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> is
true and and <code class="docutils literal notranslate"><span class="pre">sslThumbprint</span></code> is None, the CA certificate will be
used for verification. If <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> is true and
<code class="docutils literal notranslate"><span class="pre">sslThumbprint</span></code> is set then the thumbprint will be used for
verification. No verification will be performed if <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code>
value is set to false. This attribute was added in vSphere API 6.7
If None, <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> true will be used.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.ReplicatedPscSpec">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ReplicatedPscSpec</code><span class="sig-paren">(</span><em>sso_site_name=None</em>, <em>partner_hostname=None</em>, <em>https_port=None</em>, <em>sso_admin_password=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ReplicatedPscSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ReplicatedPscSpec</span></code> class contains information used to check if the
configuring PSC can be replicated to the remote PSC. This class was added
in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>sso_site_name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The SSO sitename that will be used in PSC replication. This
attribute was added in vSphere API 6.7
If None, default-first-site will be used.</li>
<li><strong>partner_hostname</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The IP address or DNS resolvable name of the partner PSC appliance.
This attribute was added in vSphere API 6.7</li>
<li><strong>https_port</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The HTTPS port of the external PSC appliance. This attribute was
added in vSphere API 6.7
If None, port 443 will be used.</li>
<li><strong>sso_admin_password</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The SSO administrator account password. This attribute was added in
vSphere API 6.7</li>
<li><strong>ssl_thumbprint</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SHA1 thumbprint of the server SSL certificate will be used for
verification. This attribute was added in vSphere API 6.7
This attribute is only relevant if <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SSL verification should be enabled or disabled. This attribute was
added in vSphere API 6.7
If None, ssl_verify true will be used.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.ReplicatedSpec">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ReplicatedSpec</code><span class="sig-paren">(</span><em>partner_hostname=None</em>, <em>https_port=None</em>, <em>sso_admin_password=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ReplicatedSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ReplicatedSpec</span></code> class contains information used to check if the
configuring vCenter Server can be replicated to the remote PSC. This class
was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>partner_hostname</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The IP address or DNS resolvable name of the partner PSC appliance.
This attribute was added in vSphere API 6.7</li>
<li><strong>https_port</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The HTTPS port of the external PSC appliance. This attribute was
added in vSphere API 6.7
If None, port 443 will be used.</li>
<li><strong>sso_admin_password</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The SSO administrator account password. This attribute was added in
vSphere API 6.7</li>
<li><strong>ssl_thumbprint</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SHA1 thumbprint of the server SSL certificate will be used for
verification. This attribute was added in vSphere API 6.7
This attribute is only relevant if <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SSL verification should be enabled or disabled. This attribute was
added in vSphere API 6.7
If None, ssl_verify true will be used.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.StandalonePscSpec">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">StandalonePscSpec</code><span class="sig-paren">(</span><em>sso_site_name=None</em>, <em>sso_admin_password=None</em>, <em>sso_domain_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.StandalonePscSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">StandalonePscSpec</span></code> class contains information used to configure a
standalone PSC appliance. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>sso_site_name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The SSO site name used for this PSC. This attribute was added in
vSphere API 6.7
If None, default-first-site will be used.</li>
<li><strong>sso_admin_password</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The SSO administrator account password. This attribute was added in
vSphere API 6.7</li>
<li><strong>sso_domain_name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The SSO domain name to be used to configure this appliance. This
attribute was added in vSphere API 6.7
If None, vsphere.local will be used.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.StandaloneSpec">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">StandaloneSpec</code><span class="sig-paren">(</span><em>sso_admin_password=None</em>, <em>sso_domain_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.StandaloneSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">StandaloneSpec</span></code> class contains information used to configure a
standalone embedded vCenter Server appliance. This class was added in
vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>sso_admin_password</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The SSO administrator account password. This attribute was added in
vSphere API 6.7</li>
<li><strong>sso_domain_name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The SSO domain name to be used to configure this appliance. This
attribute was added in vSphere API 6.7
If None, vsphere.local will be used.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Upgrade">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Upgrade</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade</span></code> class provides methods to configure the upgrade of this
appliance from an existing vCenter appliance. This class was added in
vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Upgrade.PscSpec">
<em class="property">class </em><code class="descname">PscSpec</code><span class="sig-paren">(</span><em>ceip_enabled=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.PscSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade.PscSpec</span></code> class contains information used to upgrade a
Platform Service Controller appliance. This class was added in vSphere API
6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ceip_enabled</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Customer experience improvement program should be enabled or
disabled for this Platform Services Controller upgrade. This
attribute was added in vSphere API 6.7</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Upgrade.SourceApplianceSpec">
<em class="property">class </em><code class="descname">SourceApplianceSpec</code><span class="sig-paren">(</span><em>hostname=None</em>, <em>https_port=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em>, <em>sso_admin_username=None</em>, <em>sso_admin_password=None</em>, <em>root_password=None</em>, <em>ssh_verify=None</em>, <em>ssh_thumbprint=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.SourceApplianceSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade.SourceApplianceSpec</span></code> class contains information used to
connect to the appliance used as the source for an upgrade. This class was
added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>hostname</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The IP address or DNS resolvable name of the source appliance. This
attribute was added in vSphere API 6.7</li>
<li><strong>https_port</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The HTTPS port of the source appliance. This attribute was added in
vSphere API 6.7
If None, port 443 will be used.</li>
<li><strong>ssl_thumbprint</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SHA1 thumbprint of the server SSL certificate will be used for
verification. This attribute was added in vSphere API 6.7
This attribute is only relevant if <code class="docutils literal notranslate"><span class="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) SSL verification should be enabled or disabled for the source
appliance validations. By default it is enabled and will use SSL
certificate for verification. If thumbprint is provided, will use
thumbprint for the verification. This attribute was added in
vSphere API 6.7
If None, ssl_verify true will be used.</li>
<li><strong>sso_admin_username</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The SSO administrator account on the source appliance. This
attribute was added in vSphere API 6.7</li>
<li><strong>sso_admin_password</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The SSO administrator account password. This attribute was added in
vSphere API 6.7</li>
<li><strong>root_password</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The password of the root user on the source appliance. This
attribute was added in vSphere API 6.7</li>
<li><strong>ssh_verify</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Appliance SSH verification should be enabled or disabled. By
default it is disabled and will not use any verification. If
thumbprint is provided, thumbprint verification will be performed.
This attribute was added in vSphere API 6.7
If None, ssh_verify true will be used.</li>
<li><strong>ssh_thumbprint</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) MD5 thumbprint of the server SSH key will be used for verification.
This attribute was added in vSphere API 6.7
This attribute is only relevant if <code class="docutils literal notranslate"><span class="pre">sshVerify</span></code> is None or has the
value true.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec">
<em class="property">class </em><code class="descname">UpgradeSpec</code><span class="sig-paren">(</span><em>source_appliance=None</em>, <em>source_location=None</em>, <em>history=None</em>, <em>vcsa_embedded=None</em>, <em>psc=None</em>, <em>auto_answer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade.UpgradeSpec</span></code> class contains information used to configure
the appliance upgrade. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>source_appliance</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Upgrade.SourceApplianceSpec" title="com.vmware.vcenter.deployment_client.Upgrade.SourceApplianceSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Upgrade.SourceApplianceSpec</span></code></a>) Source appliance spec. This attribute was added in vSphere API 6.7</li>
<li><strong>source_location</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.LocationSpec" title="com.vmware.vcenter.deployment_client.LocationSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LocationSpec</span></code></a>) Source location spec. This attribute was added in vSphere API 6.7</li>
<li><strong>history</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.HistoryMigrationSpec" title="com.vmware.vcenter.deployment_client.HistoryMigrationSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">HistoryMigrationSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Determines how vCenter history will be migrated during the upgrade
process. vCenter history consists of:</p>
<ul>
<li>Statistics</li>
<li>Events</li>
<li>Tasks</li>
</ul>
<p>By default only core data will be migrated. Use this spec to define
which part of vCenter history data will be migrated and when. This
attribute was added in vSphere API 6.7
If None, only core database content will be migrated.</p>
</li>
<li><strong>vcsa_embedded</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Upgrade.VcsaEmbeddedSpec" title="com.vmware.vcenter.deployment_client.Upgrade.VcsaEmbeddedSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Upgrade.VcsaEmbeddedSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Information that are specific to this embedded vCenter Server. This
attribute was added in vSphere API 6.7
If None, ceip_enabled for embedded vcenter server upgrade will
default to enabled.</li>
<li><strong>psc</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Upgrade.PscSpec" title="com.vmware.vcenter.deployment_client.Upgrade.PscSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Upgrade.PscSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Information that are specific to this Platform Services Controller.
This attribute was added in vSphere API 6.7
If None, ceip_enabled for psc upgrade will default to enabled.</li>
<li><strong>auto_answer</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Use the default option for any questions that may come up during
appliance configuration. This attribute was added in vSphere API
6.7
If None, will default to false.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.Upgrade.VcsaEmbeddedSpec">
<em class="property">class </em><code class="descname">VcsaEmbeddedSpec</code><span class="sig-paren">(</span><em>ceip_enabled=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.VcsaEmbeddedSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade.VcsaEmbeddedSpec</span></code> class contains information used to upgrade
a Embedded vCenter Server appliance. This class was added in vSphere API
6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ceip_enabled</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Customer experience improvement program should be enabled or
disabled for this embedded vCenter Server upgrade. This attribute
was added in vSphere API 6.7</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Upgrade.cancel">
<code class="descname">cancel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.cancel" title="Permalink to this definition"></a></dt>
<dd><p>Cancel the appliance upgrade that is in progress. This method was added
in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is not in CONFIG_IN_PROGRESS state and if the
operation is not INSTALL.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Upgrade.check">
<code class="descname">check</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.check" title="Permalink to this definition"></a></dt>
<dd><p>Run sanity checks using the UpgradeSpec parameters passed. This method
was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec" title="com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Upgrade.UpgradeSpec</span></code></a>) UpgradeSpec parameters to run sanity check on.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.CheckInfo" title="com.vmware.vcenter.deployment_client.CheckInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">CheckInfo</span></code></a></td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">CheckInfo containing the check results.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if source credentials are not valid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if source container credentials are not valid.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if passed arguments are invalid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is not in INITIALIZED state.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Upgrade.get">
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.get" title="Permalink to this definition"></a></dt>
<dd><p>Get the UpgradeSpec parameters used to configure the ongoing appliance
upgrade. This method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec" title="com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Upgrade.UpgradeSpec</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">UpgradeSpec parameters being used to configure appliance upgrade.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if appliance is not in UPGRADE_PROGRESS state.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.deployment_client.Upgrade.start">
<code class="descname">start</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.start" title="Permalink to this definition"></a></dt>
<dd><p>Start the appliance installation. This method was added in vSphere API
6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec" title="com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Upgrade.UpgradeSpec</span></code></a>) UpgradeSpec parameters to configure the appliance upgrade.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if source credentials are not valid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if source container credentials are not valid.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if passed arguments are invalid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is not in INITIALIZED state.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.deployment_client.VerificationMode">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">VerificationMode</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.VerificationMode" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">VerificationMode</span></code> class defines the verification modes for SSL
certificates or SSH connections. This enumeration was added in vSphere API
6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <a class="reference internal" href="#com.vmware.vcenter.deployment_client.VerificationMode" title="com.vmware.vcenter.deployment_client.VerificationMode"><code class="xref py py-class docutils literal notranslate"><span class="pre">VerificationMode</span></code></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.VerificationMode.NONE">
<code class="descname">NONE</code><em class="property"> = VerificationMode(string='NONE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.VerificationMode.NONE" title="Permalink to this definition"></a></dt>
<dd><p>No verification will be performed. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.deployment_client.VerificationMode.THUMBPRINT">
<code class="descname">THUMBPRINT</code><em class="property"> = VerificationMode(string='THUMBPRINT')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.VerificationMode.THUMBPRINT" title="Permalink to this definition"></a></dt>
<dd><p>Passed thumbprint will be used for verification. This class attribute was
added in vSphere API 6.7</p>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.hvc_client">
<span id="com-vmware-vcenter-hvc-client-module"></span><h2>com.vmware.vcenter.hvc_client module<a class="headerlink" href="#module-com.vmware.vcenter.hvc_client" title="Permalink to this headline"></a></h2>
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.hvc_client</span></code> module provides classes to manage hybrid
links between a local and remote Platform Service Controller.</p>
<dl class="class">
<dt id="com.vmware.vcenter.hvc_client.Links">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.hvc_client.</code><code class="descname">Links</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Links</span></code> class provides methods to create, delete, get information,
and list hybrid links between the local and foreign Platform Service
Controller (PSC). <strong>Warning:</strong> This class is available as technical
preview. It may be changed in a future release.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.hvc_client.Links.CertificateInfo">
<em class="property">class </em><code class="descname">CertificateInfo</code><span class="sig-paren">(</span><em>ssl_thumbprint=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.CertificateInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Links.CertificateInfo</span></code> class contains information about the SSL
certificate for a destination PSC endpoint. <strong>Warning:</strong> This class is
available as technical preview. It may be changed in a future release.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ssl_thumbprint</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The SHA-256 thumbprint of the SSL certificate for the destination
PSC endpoint. <strong>Warning:</strong> This attribute is available as technical
preview. It may be changed in a future release.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.hvc_client.Links.CreateSpec">
<em class="property">class </em><code class="descname">CreateSpec</code><span class="sig-paren">(</span><em>psc_hostname=None</em>, <em>port=None</em>, <em>domain_name=None</em>, <em>username=None</em>, <em>password=None</em>, <em>ssl_thumbprint=None</em>, <em>admin_groups=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.CreateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Links.CreateSpec</span></code> class is the specification used for the hybrid
link creation. <strong>Warning:</strong> This class is available as technical preview.
It may be changed in a future release.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>psc_hostname</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The PSC hostname for the domain to be linked. <strong>Warning:</strong> This
attribute is available as technical preview. It may be changed in a
future release.</li>
<li><strong>port</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The HTTPS port of the PSC to be linked. <strong>Warning:</strong> This attribute
is available as technical preview. It may be changed in a future
release.
If None 443 will be used as default.</li>
<li><strong>domain_name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The domain to which the PSC belongs. <strong>Warning:</strong> This attribute is
available as technical preview. It may be changed in a future
release.</li>
<li><strong>username</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The administrator username of the PSC. <strong>Warning:</strong> This attribute
is available as technical preview. It may be changed in a future
release.</li>
<li><strong>password</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The administrator password of the PSC. <strong>Warning:</strong> This attribute
is available as technical preview. It may be changed in a future
release.</li>
<li><strong>ssl_thumbprint</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The ssl thumbprint of the server. <strong>Warning:</strong> This attribute is
available as technical preview. It may be changed in a future
release.
if None no thumbprint is passed.</li>
<li><strong>admin_groups</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) List of groups to be added to enable administrator access to.
<strong>Warning:</strong> This attribute is available as technical preview. It
may be changed in a future release.
if None administrator access will not be set.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.hvc_client.Links.Summary">
<em class="property">class </em><code class="descname">Summary</code><span class="sig-paren">(</span><em>link=None</em>, <em>display_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.Summary" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Links.Summary</span></code> class contains information about the hybrid link.
<strong>Warning:</strong> This class is available as technical preview. It may be
changed in a future release.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>link</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier for the link. <strong>Warning:</strong> This attribute is
available as technical preview. It may be changed in a future
release.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.hvc.Links</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.hvc.Links</span></code>.</li>
<li><strong>display_name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The display name is set to the domain name which was set during
create. <strong>Warning:</strong> This attribute is available as technical
preview. It may be changed in a future release.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.hvc_client.Links.create">
<code class="descname">create</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.create" title="Permalink to this definition"></a></dt>
<dd><p>Creates a new hybrid link between the local and foreign PSC.
<strong>Warning:</strong> This method is available as technical preview. It may be
changed in a future release.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.CreateSpec" title="com.vmware.vcenter.hvc_client.Links.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Links.CreateSpec</span></code></a>) Specification for the new link to be created.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">The identifier of the newly linked domain.
The return value will be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.hvc.Links</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyExists</span></code>
If the link already exists.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
If the values of any of the attributes of the <code class="docutils literal notranslate"><span class="pre">spec</span></code> parameter
are not valid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
If the PSC or the VC version is not supported.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
If the user is not authorized.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
If the SSL certificate of the foreign PSC cannot be validated by
comparing with the thumbprint provided in
<code class="xref py py-attr docutils literal notranslate"><span class="pre">Links.CreateSpec.ssl_thumbprint</span></code> or if
<code class="xref py py-attr docutils literal notranslate"><span class="pre">Links.CreateSpec.ssl_thumbprint</span></code> is None. The value of the
{\&#64;link InvalidRequest#data) attribute will be a class that
contains all the attributes defined in
<a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.CertificateInfo" title="com.vmware.vcenter.hvc_client.Links.CertificateInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">Links.CertificateInfo</span></code></a>.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.hvc_client.Links.delete">
<code class="descname">delete</code><span class="sig-paren">(</span><em>link</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.delete" title="Permalink to this definition"></a></dt>
<dd><p>Deletes an existing hybrid link. <strong>Warning:</strong> This method is available
as technical preview. It may be changed in a future release.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>link</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the hybrid link.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.hvc.Links</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
If the hybrid link associated with <code class="docutils literal notranslate"><span class="pre">link</span></code> does not exist.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
If the user is not authorized.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.hvc_client.Links.list">
<code class="descname">list</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.list" title="Permalink to this definition"></a></dt>
<dd><p>Enumerates the list of registered hybrid links. <strong>Warning:</strong> This
method is available as technical preview. It may be changed in a future
release.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.list" title="com.vmware.vcenter.hvc_client.Links.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of <a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.Summary" title="com.vmware.vcenter.hvc_client.Links.Summary"><code class="xref py py-class docutils literal notranslate"><span class="pre">Links.Summary</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The <a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.list" title="com.vmware.vcenter.hvc_client.Links.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of hybrid link information.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.hvc_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.hvc_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.inventory_client">
<span id="com-vmware-vcenter-inventory-client-module"></span><h2>com.vmware.vcenter.inventory_client module<a class="headerlink" href="#module-com.vmware.vcenter.inventory_client" title="Permalink to this headline"></a></h2>
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.inventory_client</span></code> component provides methods and
classes for retrieving vCenter datastore and network information for a given
<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of identifiers.</p>
<dl class="class">
<dt id="com.vmware.vcenter.inventory_client.Datastore">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.inventory_client.</code><code class="descname">Datastore</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Datastore" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> class provides methods to retrieve information about
datastores.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.inventory_client.Datastore.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Datastore.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Datastore.Info</span></code> class contains information about a datastore.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Type of the datastore.
When clients pass a value of this class as a parameter, the
attribute must be one of <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> or <code class="docutils literal notranslate"><span class="pre">StoragePod</span></code>. When
methods return a value of this class as a return value, the
attribute will be one of <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> or <code class="docutils literal notranslate"><span class="pre">StoragePod</span></code>.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.inventory_client.Datastore.find">
<code class="descname">find</code><span class="sig-paren">(</span><em>datastores</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Datastore.find" title="Permalink to this definition"></a></dt>
<dd><p>Returns datastore information for the specified datastores. The key in
the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the datastore identifier and the
value in the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the datastore information.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>datastores</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifiers of the datastores for which information will be
returned.
The parameter must contain identifiers for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and (<a class="reference internal" href="#com.vmware.vcenter.inventory_client.Datastore.Info" title="com.vmware.vcenter.inventory_client.Datastore.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Datastore.Info</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>)</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Datastore information for the specified datastores. The key in the
return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the datastore identifier and the
value in the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the datastore information.
The key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for
the resource type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if no datastore can be found for one or more of the datastore
identifiers in <code class="docutils literal notranslate"><span class="pre">datastores</span></code></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the parameter
<code class="docutils literal notranslate"><span class="pre">datastores</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.inventory_client.Network">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.inventory_client.</code><code class="descname">Network</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Network" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Network</span></code> class provides methods to retrieve information about
vCenter Server networks.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.inventory_client.Network.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Network.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Network.Info</span></code> class contains information about a vCenter Server
network.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Type of the vCenter Server network.
When clients pass a value of this class as a parameter, the
attribute must be one of <code class="docutils literal notranslate"><span class="pre">Network</span></code>,
<code class="docutils literal notranslate"><span class="pre">DistributedVirtualPortgroup</span></code>, or <code class="docutils literal notranslate"><span class="pre">OpaqueNetwork</span></code>. When methods
return a value of this class as a return value, the attribute will
be one of <code class="docutils literal notranslate"><span class="pre">Network</span></code>, <code class="docutils literal notranslate"><span class="pre">DistributedVirtualPortgroup</span></code>, or
<code class="docutils literal notranslate"><span class="pre">OpaqueNetwork</span></code>.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.inventory_client.Network.find">
<code class="descname">find</code><span class="sig-paren">(</span><em>networks</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Network.find" title="Permalink to this definition"></a></dt>
<dd><p>Returns network information for the specified vCenter Server networks.
The key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the network identifier and
the value in the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the network information.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>networks</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifiers of the vCenter Server networks for which information
will be returned.
The parameter must contain identifiers for the resource type:
<code class="docutils literal notranslate"><span class="pre">Network</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and (<a class="reference internal" href="#com.vmware.vcenter.inventory_client.Network.Info" title="com.vmware.vcenter.inventory_client.Network.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Network.Info</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>)</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Network information for the specified vCenter Server networks. The
key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the network identifier and
the value in the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the network information.
The key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for
the resource type: <code class="docutils literal notranslate"><span class="pre">Network</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if no datastore can be found for one or more of the vCenter Server
network identifiers in <code class="docutils literal notranslate"><span class="pre">networks</span></code></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Network</span></code> referenced by the parameter <code class="docutils literal notranslate"><span class="pre">networks</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.inventory_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.inventory_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.iso_client">
<span id="com-vmware-vcenter-iso-client-module"></span><h2>com.vmware.vcenter.iso_client module<a class="headerlink" href="#module-com.vmware.vcenter.iso_client" title="Permalink to this headline"></a></h2>
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.iso_client</span></code> module provides classes and classes that
will let its client mount or unmount an ISO image on a virtual machine as a
CD-ROM.</p>
<dl class="class">
<dt id="com.vmware.vcenter.iso_client.Image">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.iso_client.</code><code class="descname">Image</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.iso_client.Image" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>Provides an interface to mount and unmount an ISO image on a virtual
machine.</p>
<p>This is an API that will let its client mount or unmount an ISO image on a
virtual machine as a CD-ROM.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="com.vmware.vcenter.iso_client.Image.mount">
<code class="descname">mount</code><span class="sig-paren">(</span><em>library_item</em>, <em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.iso_client.Image.mount" title="Permalink to this definition"></a></dt>
<dd><p>Mounts an ISO image from a content library on a virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>library_item</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The identifier of the library item having the ISO image to mount on
the virtual machine.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</li>
<li><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The identifier of the virtual machine where the specified ISO image
will be mounted.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The identifier of the newly created virtual CD-ROM backed by the
specified ISO image.
The return value will be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Cdrom</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
If either <code class="docutils literal notranslate"><span class="pre">vm</span></code> or the <code class="docutils literal notranslate"><span class="pre">library_item</span></code> is not found.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
If no .iso file is present on the library item.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
When the operation is not allowed on the virtual machine in its
current state.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code> referenced by the parameter
<code class="docutils literal notranslate"><span class="pre">vm</span></code> requires <code class="docutils literal notranslate"><span class="pre">VirtualMachine.Config.AddRemoveDevice</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
the parameter <code class="docutils literal notranslate"><span class="pre">library_item</span></code> requires
<code class="docutils literal notranslate"><span class="pre">ContentLibrary.DownloadSession</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.iso_client.Image.unmount">
<code class="descname">unmount</code><span class="sig-paren">(</span><em>vm</em>, <em>cdrom</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.iso_client.Image.unmount" title="Permalink to this definition"></a></dt>
<dd><p>Unmounts a previously mounted CD-ROM using an ISO image as a backing.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The identifier of the virtual machine from which to unmount the
virtual CD-ROM.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
<li><strong>cdrom</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The device identifier of the CD-ROM.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Cdrom</span></code>.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
If the virtual machine identified by <code class="docutils literal notranslate"><span class="pre">vm</span></code> is not found or the
<code class="docutils literal notranslate"><span class="pre">cdrom</span></code> does not identify a virtual CD-ROM in the virtual
machine.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
When the operation is not allowed on the virtual machine in its
current state.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code> referenced by the parameter
<code class="docutils literal notranslate"><span class="pre">vm</span></code> requires <code class="docutils literal notranslate"><span class="pre">VirtualMachine.Config.AddRemoveDevice</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Cdrom</span></code> referenced
by the parameter <code class="docutils literal notranslate"><span class="pre">cdrom</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.iso_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.iso_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.iso_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.ovf_client">
<span id="com-vmware-vcenter-ovf-client-module"></span><h2>com.vmware.vcenter.ovf_client module<a class="headerlink" href="#module-com.vmware.vcenter.ovf_client" title="Permalink to this headline"></a></h2>
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.ovf_client</span></code> module provides services to capture and
deploy Open Virtualization Format (OVF) packages to and from the content
library.</p>
<p>It provides the ability to deploy OVF packages from the content library with
support for advanced network topologies, network services, creating virtual
appliances and virtual machines in hosts, resource pools or clusters. It also
provides the ability to export virtual appliances and virtual machines from
hosts, resource pools or clusters as OVF packages to the content library.</p>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.CertificateParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">CertificateParams</code><span class="sig-paren">(</span><em>issuer=None</em>, <em>subject=None</em>, <em>is_valid=None</em>, <em>is_self_signed=None</em>, <em>x509=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.CertificateParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">CertificateParams</span></code> class contains information about the public key
certificate used to sign the OVF package. This class will only be returned
if the OVF package is signed.</p>
<blockquote>
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>issuer</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Certificate issuer. For example: /C=US/ST=California/L=Palo
Alto/O=VMware, Inc.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>subject</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Certificate subject. For example:
/C=US/ST=Massachusetts/L=Hopkinton/O=EMC Corporation/OU=EMC
Avamar/CN=EMC Corporation.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>is_valid</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Is the certificate chain validated.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>is_self_signed</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Is the certificate self-signed.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>x509</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The X509 representation of the certificate.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.DeploymentOption">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">DeploymentOption</code><span class="sig-paren">(</span><em>key=None</em>, <em>label=None</em>, <em>description=None</em>, <em>default_choice=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DeploymentOption" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentOption</span></code> class contains the information about a deployment
option as defined in the OVF specification.</p>
<p>This corresponds to the ovf:Configuration element of the
ovf:DeploymentOptionSection in the specification. The
ovf:DeploymentOptionSection specifies a discrete set of intended resource
allocation configurations. This class represents one item from that set.</p>
<blockquote>
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>key</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The key of the deployment option, corresponding to the ovf:id
attribute in the OVF descriptor.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>label</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) A localizable label for the deployment option.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>description</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) A localizable description for the deployment option.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>default_choice</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) A <code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> flag indicates whether this deployment option is
the default choice.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. If None or false, it
is not the default.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.DeploymentOptionParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">DeploymentOptionParams</code><span class="sig-paren">(</span><em>deployment_options=None</em>, <em>selected_key=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DeploymentOptionParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentOptionParams</span></code> class describes the possible deployment
options as well as the choice provided by the user.</p>
<blockquote>
<div><p>This information based on the ovf:DeploymentOptionSection.</p>
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>deployment_options</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.DeploymentOption" title="com.vmware.vcenter.ovf_client.DeploymentOption"><code class="xref py py-class docutils literal notranslate"><span class="pre">DeploymentOption</span></code></a>) <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of deployment options. This attribute corresponds to
the ovf:Configuration elements of the ovf:DeploymentOptionSection
in the specification. It is a discrete set of intended resource
allocation configurations from which one can be selected.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>selected_key</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The selected deployment option. Identifies the
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.DeploymentOption" title="com.vmware.vcenter.ovf_client.DeploymentOption"><code class="xref py py-class docutils literal notranslate"><span class="pre">DeploymentOption</span></code></a> in the list in the <code class="docutils literal notranslate"><span class="pre">deploymentOptions</span></code>
attribute with a matching value in the <code class="xref py py-attr docutils literal notranslate"><span class="pre">DeploymentOption.key</span></code>
attribute.
This attribute is optional in the input parameters when deploying
an OVF package. If None the server will use the default deployment
configuration, usually its the first one in
<code class="xref py py-attr docutils literal notranslate"><span class="pre">DeploymentOptionParams.deployment_options</span></code> <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code>.
This attribute is optional in the result when retrieving
information about an OVF package. The value will be set only if it
is specified with the optional ovf:default attribute.</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.DiskProvisioningType">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">DiskProvisioningType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">DiskProvisioningType</span></code> class defines the virtual disk provisioning
types that can be set for a disk on the target platform.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <a class="reference internal" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType" title="com.vmware.vcenter.ovf_client.DiskProvisioningType"><code class="xref py py-class docutils literal notranslate"><span class="pre">DiskProvisioningType</span></code></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.DiskProvisioningType.eagerZeroedThick">
<code class="descname">eagerZeroedThick</code><em class="property"> = DiskProvisioningType(string='eagerZeroedThick')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType.eagerZeroedThick" title="Permalink to this definition"></a></dt>
<dd><p>An eager zeroed thick provisioned virtual disk has all space allocated and
wiped clean of any previous contents on the physical media at creation
time.</p>
<p>Disks specified as eager zeroed thick may take longer time to create than
disks specified with the other disk provisioning types.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.DiskProvisioningType.thick">
<code class="descname">thick</code><em class="property"> = DiskProvisioningType(string='thick')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType.thick" title="Permalink to this definition"></a></dt>
<dd><p>A thick provisioned virtual disk has all space allocated at creation time
and the space is zeroed on demand as the space is used.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.DiskProvisioningType.thin">
<code class="descname">thin</code><em class="property"> = DiskProvisioningType(string='thin')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType.thin" title="Permalink to this definition"></a></dt>
<dd><p>A thin provisioned virtual disk has space allocated and zeroed on demand as
the space is used.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ExportFlag">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ExportFlag</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExportFlag" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ExportFlag</span></code> class provides methods for retrieving information about
the export flags supported by the server. Export flags can be specified in
a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateSpec</span></code></a> to customize an OVF export.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ExportFlag.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>option=None</em>, <em>description=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExportFlag.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ExportFlag.Info</span></code> class describes an export flag supported by the
server.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>option</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The name of the export flag that is supported by the server.</li>
<li><strong>description</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) Localizable description of the export flag.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.ovf_client.ExportFlag.list">
<code class="descname">list</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExportFlag.list" title="Permalink to this definition"></a></dt>
<dd><p>Returns information about the supported export flags by the server.</p>
<blockquote>
<div>The supported flags are:</div></blockquote>
<dl class="docutils">
<dt>PRESERVE_MAC</dt>
<dd>Include MAC addresses for network adapters.</dd>
<dt>EXTRA_CONFIG</dt>
<dd><blockquote class="first">
<div>Include extra configuration in OVF export.</div></blockquote>
<p class="last">Future server versions might support additional flags.</p>
</dd>
</dl>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExportFlag.list" title="com.vmware.vcenter.ovf_client.ExportFlag.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExportFlag.Info" title="com.vmware.vcenter.ovf_client.ExportFlag.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">ExportFlag.Info</span></code></a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExportFlag.list" title="com.vmware.vcenter.ovf_client.ExportFlag.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of supported export flags.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ExtraConfig">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ExtraConfig</code><span class="sig-paren">(</span><em>key=None</em>, <em>value=None</em>, <em>virtual_system_id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExtraConfig" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ExtraConfig</span></code> class contains the information about a vmw:ExtraConfig
element which can be used to specify configuration settings that are
transferred directly to the <code class="docutils literal notranslate"><span class="pre">.vmx</span></code> file. The behavior of the
vmw:ExtraConfig element is similar to the <code class="docutils literal notranslate"><span class="pre">extraConfig</span></code> property of the
<code class="docutils literal notranslate"><span class="pre">VirtualMachineConfigSpec</span></code> object in the VMware vSphere API. Thus, the
same restrictions apply, such as you cannot set values that could otherwise
be set with other properties in the <code class="docutils literal notranslate"><span class="pre">VirtualMachineConfigSpec</span></code> object.
See the VMware vSphere API reference for details on this.</p>
<p>vmw:ExtraConfig elements may occur as direct child elements of a
VirtualHardwareSection, or as child elements of individual virtual hardware
items.</p>
<blockquote>
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>key</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The key of the ExtraConfig element.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<li><strong>value</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The value of the ExtraConfig element.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<li><strong>virtual_system_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The identifier of the virtual system containing the vmw:ExtraConfig
element.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ExtraConfigParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ExtraConfigParams</code><span class="sig-paren">(</span><em>extra_configs=None</em>, <em>exclude_keys=None</em>, <em>include_keys=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExtraConfigParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ExtraConfigParams</span></code> class contains the parameters with information
about the vmw:ExtraConfig elements in an OVF package.</p>
<p>vmw:ExtraConfig elements can be used to specify configuration settings that
are transferred directly to the <code class="docutils literal notranslate"><span class="pre">.vmx</span></code> file.</p>
<p>The behavior of the vmw:ExtraConfig element is similar to the
<code class="docutils literal notranslate"><span class="pre">extraConfig</span></code> property of the <code class="docutils literal notranslate"><span class="pre">VirtualMachineConfigSpec</span></code> object in the
VMware vSphere API. Thus, the same restrictions apply, such as you cannot
set values that could otherwise be set with other properties in the
<code class="docutils literal notranslate"><span class="pre">VirtualMachineConfigSpec</span></code> object. See the VMware vSphere API reference
for details on this.</p>
<blockquote>
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>extra_configs</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExtraConfig" title="com.vmware.vcenter.ovf_client.ExtraConfig"><code class="xref py py-class docutils literal notranslate"><span class="pre">ExtraConfig</span></code></a>) <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of vmw:ExtraConfig elements in the OVF package.
This attribute is optional in the input parameters when deploying
an OVF package. If None there are no extra configuration elements
to use for this OVF package deployment. This attribute will always
be present in the result when retrieving information about an OVF
package. It will be an empty <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> if there are no extra
configuration elements in the OVF package.</li>
<li><strong>exclude_keys</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) <p>Specifies which extra configuration items in the <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> in
the <code class="docutils literal notranslate"><span class="pre">extraConfigs</span></code> <code class="docutils literal notranslate"><span class="pre">field</span></code> should be ignored during deployment.</p>
<p>If set, the given keys for extra configurations will be ignored
during deployment. The key is defined in the
<code class="xref py py-attr docutils literal notranslate"><span class="pre">ExtraConfig.key</span></code> attribute.
This attribute is optional in the input parameters when deploying
an OVF package. It is an error to set both this and
<code class="xref py py-attr docutils literal notranslate"><span class="pre">ExtraConfigParams.include_keys</span></code>. This attribute is optional
in the result when retrieving information about an OVF package. It
is an error to set both this and
<code class="xref py py-attr docutils literal notranslate"><span class="pre">ExtraConfigParams.include_keys</span></code>.</p>
</li>
<li><strong>include_keys</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) <p>Specifies which extra configuration items in the <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> in
the <code class="docutils literal notranslate"><span class="pre">extraConfigs</span></code> <code class="docutils literal notranslate"><span class="pre">field</span></code> should be included during
deployment.</p>
<p>If set, all but the given keys for extra configurations will be
ignored during deployment. The key is defined in the
<code class="xref py py-attr docutils literal notranslate"><span class="pre">ExtraConfig.key</span></code> attribute.
This attribute is optional in the input parameters when deploying
an OVF package. It is an error to set both this and
<code class="xref py py-attr docutils literal notranslate"><span class="pre">ExtraConfigParams.exclude_keys</span></code>. This attribute is optional
in the result when retrieving information about an OVF package. It
is an error to set both this and
<code class="xref py py-attr docutils literal notranslate"><span class="pre">ExtraConfigParams.exclude_keys</span></code>.</p>
</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ImportFlag">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ImportFlag</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ImportFlag" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ImportFlag</span></code> class provides methods for retrieving information about
the import flags supported by the deployment platform. Import flags can be
specified in a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a> to customize
an OVF deployment.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ImportFlag.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>option=None</em>, <em>description=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ImportFlag.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ImportFlag.Info</span></code> class describes an import flag supported by the
deployment platform.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>option</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The name of the import flag that is supported by the deployment
platform.</li>
<li><strong>description</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) Localizable description of the import flag.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.ovf_client.ImportFlag.list">
<code class="descname">list</code><span class="sig-paren">(</span><em>rp</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ImportFlag.list" title="Permalink to this definition"></a></dt>
<dd><p>Returns information about the import flags supported by the deployment
platform.</p>
<blockquote>
<div>The supported flags are:</div></blockquote>
<dl class="docutils">
<dt>LAX</dt>
<dd><blockquote class="first">
<div>Lax mode parsing of the OVF descriptor.</div></blockquote>
<p class="last">Future server versions might support additional flags.</p>
</dd>
</dl>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>rp</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The identifier of resource pool target for retrieving the import
flag(s).
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.ImportFlag.list" title="com.vmware.vcenter.ovf_client.ImportFlag.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ImportFlag.Info" title="com.vmware.vcenter.ovf_client.ImportFlag.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">ImportFlag.Info</span></code></a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ImportFlag.list" title="com.vmware.vcenter.ovf_client.ImportFlag.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of supported import flags.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
If the resource pool associated with <code class="docutils literal notranslate"><span class="pre">rp</span></code> does not exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the parameter <code class="docutils literal notranslate"><span class="pre">rp</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">IpAllocationParams</code><span class="sig-paren">(</span><em>supported_allocation_scheme=None</em>, <em>supported_ip_allocation_policy=None</em>, <em>ip_allocation_policy=None</em>, <em>supported_ip_protocol=None</em>, <em>ip_protocol=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">IpAllocationParams</span></code> class specifies how IP addresses are allocated
to OVF properties. In particular, it informs the deployment platform
whether the guest supports IPv4, IPv6, or both. It also specifies whether
the IP addresses can be obtained through DHCP or through the properties
provided in the OVF environment.</p>
<p>Ovf Property elements are exposed to the guest software through the OVF
environment. Each Property element exposed in the OVF environment shall be
constructed from the value of the ovf:key attribute. A Property element
contains a key/value pair, it may optionally specify type qualifiers using
the ovf:qualifiers attribute with multiple qualifiers separated by commas.</p>
<p>The settings in <code class="docutils literal notranslate"><span class="pre">IpAllocationParams</span></code> class are global to a deployment.
Thus, if a virtual machine is part of a virtual appliance, then its
settings are ignored and the settings for the virtual appliance is used.</p>
<blockquote>
<div><p>This information is based on the vmw:IpAssignmentSection in OVF package.</p>
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>supported_allocation_scheme</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme" title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme"><code class="xref py py-class docutils literal notranslate"><span class="pre">IpAllocationParams.IpAllocationScheme</span></code></a>) Specifies the IP allocation schemes supported by the guest
software. This attribute defines the valid values for the IP
allocation policy. This setting is often configured by the virtual
appliance template author or OVF package author to reflect what the
guest software supports, and the IP allocation policy is configured
at deployment time. See
<code class="xref py py-attr docutils literal notranslate"><span class="pre">IpAllocationParams.ip_allocation_policy</span></code>.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>supported_ip_allocation_policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy" title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy"><code class="xref py py-class docutils literal notranslate"><span class="pre">IpAllocationParams.IpAllocationPolicy</span></code></a>) Specifies the IP allocation policies supported. The set of valid
options for the policy is based on the capabilities of the virtual
appliance software, as specified by the
<code class="xref py py-attr docutils literal notranslate"><span class="pre">IpAllocationParams.supported_allocation_scheme</span></code> attribute.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>ip_allocation_policy</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy" title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy"><code class="xref py py-class docutils literal notranslate"><span class="pre">IpAllocationParams.IpAllocationPolicy</span></code></a>) Specifies how IP allocation is done through an IP Pool. This is
typically specified by the deployer.
This attribute is optional in the input parameters when deploying
an OVF package. If None there is no IP allocation policy. This
attribute will always be present in the result when retrieving
information about an OVF package.</li>
<li><strong>supported_ip_protocol</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol" title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol"><code class="xref py py-class docutils literal notranslate"><span class="pre">IpAllocationParams.IpProtocol</span></code></a>) Specifies the IP protocols supported by the guest.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>ip_protocol</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol" title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol"><code class="xref py py-class docutils literal notranslate"><span class="pre">IpAllocationParams.IpProtocol</span></code></a>) Specifies the chosen IP protocol for this deployment. This must be
one of the IP protocols supported by the guest software. See
<code class="xref py py-attr docutils literal notranslate"><span class="pre">IpAllocationParams.supported_ip_protocol</span></code>.
This attribute is optional in the input parameters when deploying
an OVF package. If None there is no IP protocol chosen. This
attribute will always be present in the result when retrieving
information about an OVF package.</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy">
<em class="property">class </em><code class="descname">IpAllocationPolicy</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">IpAllocationParams.IpAllocationPolicy</span></code> class defines the possible IP
allocation policy for a deployment.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">IpAllocationPolicy</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.DHCP">
<code class="descname">DHCP</code><em class="property"> = IpAllocationPolicy(string='DHCP')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.DHCP" title="Permalink to this definition"></a></dt>
<dd><p>Specifies that DHCP will be used to allocate IP addresses.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.STATIC_IPPOOL">
<code class="descname">STATIC_IPPOOL</code><em class="property"> = IpAllocationPolicy(string='STATIC_IPPOOL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.STATIC_IPPOOL" title="Permalink to this definition"></a></dt>
<dd><p>Specifies that IP addresses are allocated from the range managed by an IP
pool. The IP addresses are allocated at first power-on, and remain
allocated at power-off. This ensures that a virtual appliance gets a
consistent IP for its life-time.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.STATIC_MANUAL">
<code class="descname">STATIC_MANUAL</code><em class="property"> = IpAllocationPolicy(string='STATIC_MANUAL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.STATIC_MANUAL" title="Permalink to this definition"></a></dt>
<dd><p>Specifies that IP addresses are configured manually upon deployment, and
will be kept until reconfigured or the virtual appliance destroyed. This
ensures that a property gets a consistent IP for its lifetime.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.TRANSIENT_IPPOOL">
<code class="descname">TRANSIENT_IPPOOL</code><em class="property"> = IpAllocationPolicy(string='TRANSIENT_IPPOOL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.TRANSIENT_IPPOOL" title="Permalink to this definition"></a></dt>
<dd><p>Specifies that IP addresses are allocated from an IP pool. The IP addresses
are allocated when needed, typically at power-on, and deallocated during
power-off. There is no guarantee that a property will receive same IP
address when restarted.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme">
<em class="property">class </em><code class="descname">IpAllocationScheme</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">IpAllocationParams.IpAllocationScheme</span></code> class defines the possible IP
allocation schemes that can be supported by the guest software.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">IpAllocationScheme</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme.DHCP">
<code class="descname">DHCP</code><em class="property"> = IpAllocationScheme(string='DHCP')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme.DHCP" title="Permalink to this definition"></a></dt>
<dd><p>It supports DHCP to acquire IP configuration.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme.OVF_ENVIRONMENT">
<code class="descname">OVF_ENVIRONMENT</code><em class="property"> = IpAllocationScheme(string='OVF_ENVIRONMENT')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme.OVF_ENVIRONMENT" title="Permalink to this definition"></a></dt>
<dd><p>It supports setting the IP configuration through the properties provided in
the OVF environment.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol">
<em class="property">class </em><code class="descname">IpProtocol</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">IpAllocationParams.IpProtocol</span></code> class defines the IP protocols
supported by the guest software.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">IpProtocol</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV4">
<code class="descname">IPV4</code><em class="property"> = IpProtocol(string='IPV4')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV4" title="Permalink to this definition"></a></dt>
<dd><p>It supports the IPv4 protocol.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV6">
<code class="descname">IPV6</code><em class="property"> = IpProtocol(string='IPV6')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV6" title="Permalink to this definition"></a></dt>
<dd><p>It supports the IPv6 protocol.</p>
</dd></dl>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">LibraryItem</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem</span></code> class provides methods to deploy virtual machines and
virtual appliances from library items containing Open Virtualization Format
(OVF) packages in content library, as well as methods to create library
items in content library from virtual machines and virtual appliances.</p>
<blockquote>
<div>To deploy a virtual machine or a virtual appliance from a library item:</div></blockquote>
<ol class="arabic simple">
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a> to specify the target
deployment type and target deployment designation.</li>
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a> to specify the
parameters for the target deployment.</li>
<li>Use the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method with the created target and parameter
specifications, along with the identifier of the specified source content
library item. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</li>
</ol>
<p>To create a library item in content library from a virtual machine or
virtual appliance:</p>
<ol class="arabic simple">
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity" title="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeployableIdentity</span></code></a> to specify the source
virtual machine or virtual appliance to be used as the OVF template source.</li>
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget</span></code></a> to specify the target library
and library item.</li>
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateSpec</span></code></a> to specify the settings for the
OVF package to be created.</li>
<li>Use the <code class="docutils literal notranslate"><span class="pre">create</span></code> method with the created target and parameter
specifications, along with the specified source entity. See
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.create" title="com.vmware.vcenter.ovf_client.LibraryItem.create"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.create()</span></code></a>.</li>
</ol>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.CreateResult">
<em class="property">class </em><code class="descname">CreateResult</code><span class="sig-paren">(</span><em>succeeded=None</em>, <em>ovf_library_item_id=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateResult" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.CreateResult</span></code> class defines the result of the <code class="docutils literal notranslate"><span class="pre">create</span></code>
method. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.create" title="com.vmware.vcenter.ovf_client.LibraryItem.create"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.create()</span></code></a>.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>succeeded</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Whether the <code class="docutils literal notranslate"><span class="pre">create</span></code> method completed successfully.</li>
<li><strong>ovf_library_item_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifier of the created or updated library item.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.
If None, the <code class="docutils literal notranslate"><span class="pre">create</span></code> method failed and
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.CreateResult.error</span></code> will describe the error(s)
that caused the failure.</li>
<li><strong>error</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo" title="com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResultInfo</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Errors, warnings, and informational messages produced by the
<code class="docutils literal notranslate"><span class="pre">create</span></code> method.
If None, no errors, warnings, or informational messages were
reported by the <code class="docutils literal notranslate"><span class="pre">create</span></code> method.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec">
<em class="property">class </em><code class="descname">CreateSpec</code><span class="sig-paren">(</span><em>name=None</em>, <em>description=None</em>, <em>flags=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.CreateSpec</span></code> class defines the information used to create
or update a library item containing an OVF package.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Name to use in the OVF descriptor stored in the library item.
If None, the server will use sources current name.</li>
<li><strong>description</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Description to use in the OVF descriptor stored in the library
item.
If None, the server will use sources current annotation.</li>
<li><strong>flags</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Flags to use for OVF package creation. The supported flags can be
obtained using <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExportFlag.list" title="com.vmware.vcenter.ovf_client.ExportFlag.list"><code class="xref py py-func docutils literal notranslate"><span class="pre">ExportFlag.list()</span></code></a>.
If None, no flags will be used.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget">
<em class="property">class </em><code class="descname">CreateTarget</code><span class="sig-paren">(</span><em>library_id=None</em>, <em>library_item_id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget</span></code> class specifies the target library item
when capturing a virtual machine or virtual appliance as an OVF package in
a library item in a content library. The target can be an existing library
item, which will be updated, creating a new version, or it can be a newly
created library item in a specified library. See
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.create" title="com.vmware.vcenter.ovf_client.LibraryItem.create"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.create()</span></code></a>.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>library_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifier of the library in which a new library item should be
created. This attribute is not used if the <code class="docutils literal notranslate"><span class="pre">libraryItemId</span></code>
attribute is specified.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.Library</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.content.Library</span></code>.
If None, the <code class="docutils literal notranslate"><span class="pre">libraryItemId</span></code> attribute must be specified.</li>
<li><strong>library_item_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifier of the library item that should be should be updated.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.
If None, a new library item will be created. The <code class="docutils literal notranslate"><span class="pre">libraryId</span></code>
attribute must be specified if this attribute is None.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.DEPLOYABLE">
<code class="descname">DEPLOYABLE</code><em class="property"> = ['VirtualMachine', 'VirtualApp']</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DEPLOYABLE" title="Permalink to this definition"></a></dt>
<dd><p>The types of resources that can be created by deploying an OVF package and can
be captured to create a library item using the <code class="docutils literal notranslate"><span class="pre">LibraryItem</span></code> class.</p>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity">
<em class="property">class </em><code class="descname">DeployableIdentity</code><span class="sig-paren">(</span><em>type=None</em>, <em>id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.DeployableIdentity</span></code> class describes the resource created
by a deployment, or the source resource from which library item can be
created, by specifying its resource type and resource identifier.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Type of the deployable resource.
When clients pass a value of this class as a parameter, the
attribute must be one of <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code> or <code class="docutils literal notranslate"><span class="pre">VirtualApp</span></code>. When
methods return a value of this class as a return value, the
attribute will be one of <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code> or <code class="docutils literal notranslate"><span class="pre">VirtualApp</span></code>.</li>
<li><strong>id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the deployable resource.
When clients pass a value of this class as a parameter, the
attribute <code class="docutils literal notranslate"><span class="pre">type</span></code> must contain the actual resource type. When
methods return a value of this class as a return value, the
attribute <code class="docutils literal notranslate"><span class="pre">type</span></code> will contain the actual resource type.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult">
<em class="property">class </em><code class="descname">DeploymentResult</code><span class="sig-paren">(</span><em>succeeded=None</em>, <em>resource_id=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.DeploymentResult</span></code> class defines the result of the
<code class="docutils literal notranslate"><span class="pre">deploy</span></code> method. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>succeeded</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Whether the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method completed successfully.</li>
<li><strong>resource_id</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity" title="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeployableIdentity</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifier of the deployed resource entity.
If None, the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method failed and
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentResult.error</span></code> will describe the
error(s) that caused the failure.</li>
<li><strong>error</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo" title="com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResultInfo</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Errors, warnings, and informational messages produced by the
<code class="docutils literal notranslate"><span class="pre">deploy</span></code> method.
If None, no errors, warnings, or informational messages were
reported by the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget">
<em class="property">class </em><code class="descname">DeploymentTarget</code><span class="sig-paren">(</span><em>resource_pool_id=None</em>, <em>host_id=None</em>, <em>folder_id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code> class describes the location (target)
where a virtual machine or virtual appliance should be deployed. It is used
in the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> and <code class="docutils literal notranslate"><span class="pre">filter</span></code> methods. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>
and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>resource_pool_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the resource pool to which the virtual machine or
virtual appliance should be attached.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code>.</li>
<li><strong>host_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifier of the target host on which the virtual machine or
virtual appliance will run. The target host must be a member of the
cluster that contains the resource pool identified by
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></code>.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">HostSystem</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code>.
If None, the server will automatically select a target host from
the resource pool if
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></code> is a
stand-alone host or a cluster with Distributed Resource Scheduling
(DRS) enabled.</li>
<li><strong>folder_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifier of the vCenter folder that should contain the virtual
machine or virtual appliance. The folder must be virtual machine
folder.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Folder</span></code>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Folder</span></code>.
If None, the server will choose the deployment folder.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary">
<em class="property">class </em><code class="descname">OvfSummary</code><span class="sig-paren">(</span><em>name=None</em>, <em>annotation=None</em>, <em>eulas=None</em>, <em>networks=None</em>, <em>storage_groups=None</em>, <em>additional_params=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.OvfSummary</span></code> class defines the result of the <code class="docutils literal notranslate"><span class="pre">filter</span></code>
method. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>. The attributes in the class
describe parameterizable information in the OVF descriptor, with respect to
a deployment target, for the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method. See
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Default name for the virtual machine or virtual appliance.
If None, the OVF descriptor did not specify a name.</li>
<li><strong>annotation</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Default annotation for the virtual machine or virtual appliance.
If None, the OVF descriptor did not specify an annotation.</li>
<li><strong>eulas</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) End User License Agreements specified in the OVF descriptor. All
end user license agreements must be accepted in order for the
<code class="docutils literal notranslate"><span class="pre">deploy</span></code> method to succeed. See
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.accept_all_eula</span></code>.</li>
<li><strong>networks</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Section identifiers for sections of type ovf:NetworkSection in the
OVF descriptor. These identifiers can be used as keys in
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.network_mappings</span></code>.
If None, the OVF descriptor did not specify any networks.</li>
<li><strong>storage_groups</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Section identifiers for sections of type vmw:StorageGroupSection in
the OVF descriptor. These identifiers can be used as keys in
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.storage_mappings</span></code>.
If None, the OVF descriptor did not specify any storage groups.</li>
<li><strong>additional_params</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.struct.VapiStruct</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Additional OVF parameters which can be specified for the deployment
target. These OVF parameters can be inspected, optionally modified,
and used as values in
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.additional_parameters</span></code>
for the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method.
When clients pass a value of this class as a parameter, the
attribute must contain all the attributes defined in
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfParams" title="com.vmware.vcenter.ovf_client.OvfParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfParams</span></code></a>. When methods return a value of this class as a
return value, the attribute will contain all the attributes defined
in <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfParams" title="com.vmware.vcenter.ovf_client.OvfParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfParams</span></code></a>.
If None, the OVF descriptor does not require addtional parameters
or does not have additional parameters suitable for the deployment
target.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec">
<em class="property">class </em><code class="descname">ResourcePoolDeploymentSpec</code><span class="sig-paren">(</span><em>name=None</em>, <em>annotation=None</em>, <em>accept_all_eula=None</em>, <em>network_mappings=None</em>, <em>storage_mappings=None</em>, <em>storage_provisioning=None</em>, <em>storage_profile_id=None</em>, <em>locale=None</em>, <em>flags=None</em>, <em>additional_parameters=None</em>, <em>default_datastore_id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code> class defines the deployment
parameters that can be specified for the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method where the
deployment target is a resource pool. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Name assigned to the deployed target virtual machine or virtual
appliance.
If None, the server will use the name from the OVF package.</li>
<li><strong>annotation</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Annotation assigned to the deployed target virtual machine or
virtual appliance.
If None, the server will use the annotation from the OVF package.</li>
<li><strong>accept_all_eula</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Whether to accept all End User License Agreements. See
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.OvfSummary.eulas</span></code>.</li>
<li><strong>network_mappings</strong> ((<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Specification of the target network to use for sections of type
ovf:NetworkSection in the OVF descriptor. The key in the
<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the section identifier of the ovf:NetworkSection
section in the OVF descriptor and the value is the target network
to be used for deployment.
When clients pass a value of this class as a parameter, the value
in the attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> must be an identifier for the
resource type: <code class="docutils literal notranslate"><span class="pre">Network</span></code>. When methods return a value of this
class as a return value, the value in the attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code>
will be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Network</span></code>.
If None, the server will choose a network mapping.</li>
<li><strong>storage_mappings</strong> ((<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping" title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping</span></code></a>) or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Specification of the target storage to use for sections of type
vmw:StorageGroupSection in the OVF descriptor. The key in the
<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the section identifier of the
ovf:StorageGroupSection section in the OVF descriptor and the value
is the target storage specification to be used for deployment. See
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping" title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping</span></code></a>.
If None, the server will choose a storage mapping.</li>
<li><strong>storage_provisioning</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType" title="com.vmware.vcenter.ovf_client.DiskProvisioningType"><code class="xref py py-class docutils literal notranslate"><span class="pre">DiskProvisioningType</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Default storage provisioning type to use for all sections of type
vmw:StorageSection in the OVF descriptor.
If None, the server will choose the provisioning type.</li>
<li><strong>storage_profile_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Default storage profile to use for all sections of type
vmw:StorageSection in the OVF descriptor.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">StorageProfile</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">StorageProfile</span></code>.
If None, the server will choose the default profile.</li>
<li><strong>locale</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) The locale to use for parsing the OVF descriptor.
If None, the server locale will be used.</li>
<li><strong>flags</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Flags to be use for deployment. The supported flag values can be
obtained using <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ImportFlag.list" title="com.vmware.vcenter.ovf_client.ImportFlag.list"><code class="xref py py-func docutils literal notranslate"><span class="pre">ImportFlag.list()</span></code></a>.
If None, no flags will be used.</li>
<li><strong>additional_parameters</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.struct.VapiStruct</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Additional OVF parameters that may be needed for the deployment.
Additional OVF parameters may be required by the OVF descriptor of
the OVF package in the library item. Examples of OVF parameters
that can be specified through this attribute include, but are not
limited to:</p>
<ul>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.DeploymentOptionParams" title="com.vmware.vcenter.ovf_client.DeploymentOptionParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">DeploymentOptionParams</span></code></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExtraConfigParams" title="com.vmware.vcenter.ovf_client.ExtraConfigParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">ExtraConfigParams</span></code></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams" title="com.vmware.vcenter.ovf_client.IpAllocationParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">IpAllocationParams</span></code></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.PropertyParams" title="com.vmware.vcenter.ovf_client.PropertyParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">PropertyParams</span></code></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.ScaleOutParams" title="com.vmware.vcenter.ovf_client.ScaleOutParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">ScaleOutParams</span></code></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.VcenterExtensionParams" title="com.vmware.vcenter.ovf_client.VcenterExtensionParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">VcenterExtensionParams</span></code></a></li>
</ul>
<p>When clients pass a value of this class as a parameter, the
attribute must contain all the attributes defined in
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfParams" title="com.vmware.vcenter.ovf_client.OvfParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfParams</span></code></a>. When methods return a value of this class as a
return value, the attribute will contain all the attributes defined
in <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfParams" title="com.vmware.vcenter.ovf_client.OvfParams"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfParams</span></code></a>.
If None, the server will choose default settings for all parameters
necessary for the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method. See
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</p>
</li>
<li><strong>default_datastore_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Default datastore to use for all sections of type
vmw:StorageSection in the OVF descriptor.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.
If None, the server will choose the default datastore.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo">
<em class="property">class </em><code class="descname">ResultInfo</code><span class="sig-paren">(</span><em>errors=None</em>, <em>warnings=None</em>, <em>information=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.ResultInfo</span></code> class defines the information returned along
with the result of a <code class="docutils literal notranslate"><span class="pre">create</span></code> or <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method to describe errors,
warnings, and informational messages produced by the server.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>errors</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfError" title="com.vmware.vcenter.ovf_client.OvfError"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfError</span></code></a>) Errors reported by the <code class="docutils literal notranslate"><span class="pre">create</span></code> or <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method. These
errors would have prevented the <code class="docutils literal notranslate"><span class="pre">create</span></code> or <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method
from completing successfully.</li>
<li><strong>warnings</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfWarning" title="com.vmware.vcenter.ovf_client.OvfWarning"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfWarning</span></code></a>) Warnings reported by the <code class="docutils literal notranslate"><span class="pre">create</span></code> or <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method. These
warnings would not have prevented the <code class="docutils literal notranslate"><span class="pre">create</span></code> or <code class="docutils literal notranslate"><span class="pre">deploy</span></code>
method from completing successfully, but there might be issues that
warrant attention.</li>
<li><strong>information</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfInfo" title="com.vmware.vcenter.ovf_client.OvfInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfInfo</span></code></a>) Information messages reported by the <code class="docutils literal notranslate"><span class="pre">create</span></code> or <code class="docutils literal notranslate"><span class="pre">deploy</span></code>
method. For example, a non-required parameter was ignored.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping">
<em class="property">class </em><code class="descname">StorageGroupMapping</code><span class="sig-paren">(</span><em>type=None</em>, <em>datastore_id=None</em>, <em>storage_profile_id=None</em>, <em>provisioning=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping</span></code> class defines the storage
deployment target and storage provisioning type for a section of type
vmw:StorageGroupSection in the OVF descriptor.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>type</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type" title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping.Type</span></code></a>) Type of storage deployment target to use for the
vmw:StorageGroupSection section. The specified value must be
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE" title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE"><code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping.Type.DATASTORE</span></code></a> or
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE" title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE"><code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE</span></code></a>.</li>
<li><strong>datastore_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Target datastore to be used for the storage group.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">type</span></code> is
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE" title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE"><code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping.Type.DATASTORE</span></code></a>.</li>
<li><strong>storage_profile_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Target storage profile to be used for the storage group.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">StorageProfile</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">StorageProfile</span></code>.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">type</span></code> is
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE" title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE"><code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE</span></code></a>.</li>
<li><strong>provisioning</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType" title="com.vmware.vcenter.ovf_client.DiskProvisioningType"><code class="xref py py-class docutils literal notranslate"><span class="pre">DiskProvisioningType</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Target provisioning type to use for the storage group.
If None,
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.storage_provisioning</span></code>
will be used.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type">
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping.Type</span></code> class defines the supported
types of storage targets for sections of type vmw:StorageGroupSection in
the OVF descriptor.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">Type</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE">
<code class="descname">DATASTORE</code><em class="property"> = Type(string='DATASTORE')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE" title="Permalink to this definition"></a></dt>
<dd><p>Storage deployment target is a datastore.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE">
<code class="descname">STORAGE_PROFILE</code><em class="property"> = Type(string='STORAGE_PROFILE')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE" title="Permalink to this definition"></a></dt>
<dd><p>Storage deployment target is a storage profile.</p>
</dd></dl>
</dd></dl>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.create">
<code class="descname">create</code><span class="sig-paren">(</span><em>source</em>, <em>target</em>, <em>create_spec</em>, <em>client_token=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.create" title="Permalink to this definition"></a></dt>
<dd><p>Creates a library item in content library from a virtual machine or
virtual appliance.</p>
<p>This method creates a library item in content library whose content is
an OVF package derived from a source virtual machine or virtual
appliance, using the supplied create specification. The OVF package may
be stored as in a newly created library item or in an in an existing
library item. For an existing library item whose content is updated by
this method, the original content is overwritten.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>client_token</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Client-generated token used to retry a request if the client fails
to get a response from the server. If the original request
succeeded, the result of that request will be returned, otherwise
the operation will be retried.
If None, the server will create a token.</li>
<li><strong>source</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity" title="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeployableIdentity</span></code></a>) Identifier of the virtual machine or virtual appliance to use as
the source.</li>
<li><strong>target</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget</span></code></a>) Specification of the target content library and library item.</li>
<li><strong>create_spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateSpec</span></code></a>) Information used to create the OVF package from the source virtual
machine or virtual appliance.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateResult" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateResult"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateResult</span></code></a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Information about the success or failure of the method, along with
the details of the result or failure.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if <code class="docutils literal notranslate"><span class="pre">create_spec</span></code> contains invalid arguments.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if <code class="docutils literal notranslate"><span class="pre">source</span></code> describes an unexpected resource type.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the virtual machine or virtual appliance specified by <code class="docutils literal notranslate"><span class="pre">source</span></code>
does not exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the library or library item specified by <code class="docutils literal notranslate"><span class="pre">target</span></code> does not
exist.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the operation cannot be performed because of the specified
virtual machine or virtual appliances current state. For example,
if the virtual machine configuration information is not available,
or if the virtual appliance is running.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if there was an error accessing a file from the source virtual
machine or virtual appliance.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
if the specified virtual machine or virtual appliance is busy.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeployableIdentity.id</span></code> requires
<code class="docutils literal notranslate"><span class="pre">VApp.Export</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.Library</span></code> referenced by the
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget.library_id</span></code> requires
<code class="docutils literal notranslate"><span class="pre">ContentLibrary.AddLibraryItem</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
the attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget.library_item_id</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.deploy">
<code class="descname">deploy</code><span class="sig-paren">(</span><em>ovf_library_item_id</em>, <em>target</em>, <em>deployment_spec</em>, <em>client_token=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="Permalink to this definition"></a></dt>
<dd><p>Deploys an OVF package stored in content library to a newly created
virtual machine or virtual appliance.</p>
<p>This method deploys an OVF package which is stored in the library item
specified by <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code>. It uses the deployment
specification in <code class="docutils literal notranslate"><span class="pre">deployment_spec</span></code> to deploy the OVF package to the
location specified by <code class="docutils literal notranslate"><span class="pre">target</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>client_token</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Client-generated token used to retry a request if the client fails
to get a response from the server. If the original request
succeeded, the result of that request will be returned, otherwise
the operation will be retried.
If None, the server will create a token.</li>
<li><strong>ovf_library_item_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the content library item containing the OVF package
to be deployed.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</li>
<li><strong>target</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a>) Specification of the deployment target.</li>
<li><strong>deployment_spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a>) Specification of how the OVF package should be deployed to the
target.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentResult</span></code></a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Information about the success or failure of the method, along with
the details of the result or failure.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if <code class="docutils literal notranslate"><span class="pre">target</span></code> contains invalid arguments.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if <code class="docutils literal notranslate"><span class="pre">deployment_spec</span></code> contains invalid arguments or has attributes
that are inconsistent with <code class="docutils literal notranslate"><span class="pre">target</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the library item specified by <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code> does not
exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if any resource specified by a attribute of the
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a> class, specified by
<code class="docutils literal notranslate"><span class="pre">target</span></code>, does not exist.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if there was an error accessing the OVF package stored in the
library item specified by <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code>.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><dl class="first docutils">
<dt><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code> </dt>
<dd><p class="first last">if you do not have all of the privileges described as follows :</p>
</dd>
</dl>
<ul class="simple">
<li>Method execution requires VirtualMachine.Config.AddNewDisk if the
OVF descriptor has a disk drive (type 17) section.</li>
<li>Method execution requires VirtualMachine.Config.AdvancedConfig if
the OVF descriptor has an ExtraConfig section.</li>
<li>Method execution requires Extension.Register for specified
resource group if the OVF descriptor has a vServiceDependency
section.</li>
<li>Method execution requires Network.Assign for target network if
specified.</li>
<li>Method execution requires Datastore.AllocateSpace for target
datastore if specified.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
the parameter <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.host_id</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Network</span></code> referenced by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> value of
attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.network_mappings</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">StorageProfile</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.storage_profile_id</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.default_datastore_id</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></code> requires
<code class="docutils literal notranslate"><span class="pre">VApp.Import</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Folder</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.folder_id</span></code> requires
<code class="docutils literal notranslate"><span class="pre">VApp.Import</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.filter">
<code class="descname">filter</code><span class="sig-paren">(</span><em>ovf_library_item_id</em>, <em>target</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="Permalink to this definition"></a></dt>
<dd><p>Queries an OVF package stored in content library to retrieve
information to use when deploying the package. See
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</p>
<p>This method retrieves information from the descriptor of the OVF
package stored in the library item specified by
<code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code>. The information returned by the method can be
used to populate the deployment specification (see
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a> when deploying the OVF
package to the deployment target specified by <code class="docutils literal notranslate"><span class="pre">target</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>ovf_library_item_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the content library item containing the OVF package
to query.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</li>
<li><strong>target</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a>) Specification of the deployment target.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary" title="com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.OvfSummary</span></code></a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Information that can be used to populate the deployment
specification (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a>)
when deploying the OVF package to the deployment target specified
by <code class="docutils literal notranslate"><span class="pre">target</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if <code class="docutils literal notranslate"><span class="pre">target</span></code> contains invalid arguments.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the library item specified by <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code> does not
exist.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if any resource specified by a attribute of the
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a> class, specified by
<code class="docutils literal notranslate"><span class="pre">target</span></code>, does not exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if there was an error accessing the OVF package at the specified
<code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
the parameter <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.host_id</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Folder</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.folder_id</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.OvfError">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfError</code><span class="sig-paren">(</span><em>category=None</em>, <em>issues=None</em>, <em>name=None</em>, <em>value=None</em>, <em>message=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">OvfError</span></code> class describes an error related to accessing, validating,
deploying, or exporting an OVF package.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>category</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category" title="com.vmware.vcenter.ovf_client.OvfMessage.Category"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfMessage.Category</span></code></a>) The message category.</li>
<li><strong>issues</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><code class="xref py py-class docutils literal notranslate"><span class="pre">ParseIssue</span></code></a>) <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of parse issues (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><code class="xref py py-class docutils literal notranslate"><span class="pre">ParseIssue</span></code></a>).
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.VALIDATION</span></code></a>.</li>
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The name of input parameter.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>value</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The value of input parameter.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>message</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) A localizable message.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>error</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.struct.VapiStruct</span></code>) Represents a server
<code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>.
When clients pass a value of this class as a parameter, the
attribute must contain all the attributes defined in
<code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>. When methods
return a value of this class as a return value, the attribute will
contain all the attributes defined in
<code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.SERVER</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.OvfInfo">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfInfo</code><span class="sig-paren">(</span><em>messages=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">OvfInfo</span></code> class contains informational messages related to accessing,
validating, deploying, or exporting an OVF package.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>messages</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) A <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of localizable messages (see
<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>).</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.OvfMessage">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfMessage</code><span class="sig-paren">(</span><em>category=None</em>, <em>issues=None</em>, <em>name=None</em>, <em>value=None</em>, <em>message=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">OvfMessage</span></code> class describes a base OVF handling error message
related to accessing, validating, deploying, or exporting an OVF package.</p>
<p>These messages fall into different categories defined in
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category" title="com.vmware.vcenter.ovf_client.OvfMessage.Category"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfMessage.Category</span></code></a>:</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>category</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category" title="com.vmware.vcenter.ovf_client.OvfMessage.Category"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfMessage.Category</span></code></a>) The message category.</li>
<li><strong>issues</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><code class="xref py py-class docutils literal notranslate"><span class="pre">ParseIssue</span></code></a>) <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of parse issues (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><code class="xref py py-class docutils literal notranslate"><span class="pre">ParseIssue</span></code></a>).
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.VALIDATION</span></code></a>.</li>
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The name of input parameter.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>value</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The value of input parameter.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>message</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) A localizable message.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>error</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.struct.VapiStruct</span></code>) Represents a server
<code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>.
When clients pass a value of this class as a parameter, the
attribute must contain all the attributes defined in
<code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>. When methods
return a value of this class as a return value, the attribute will
contain all the attributes defined in
<code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.SERVER</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category">
<em class="property">class </em><code class="descname">Category</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">OvfMessage.Category</span></code> class defines the categories of messages (see
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage" title="com.vmware.vcenter.ovf_client.OvfMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfMessage</span></code></a>).</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">Category</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT">
<code class="descname">INPUT</code><em class="property"> = Category(string='INPUT')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="Permalink to this definition"></a></dt>
<dd><p>The user provided input parameters are invalid.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER">
<code class="descname">SERVER</code><em class="property"> = Category(string='SERVER')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER" title="Permalink to this definition"></a></dt>
<dd><p>Server error.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION">
<code class="descname">VALIDATION</code><em class="property"> = Category(string='VALIDATION')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION" title="Permalink to this definition"></a></dt>
<dd><p>The OVF descriptor is invalid, for example, syntax errors or schema errors.</p>
</dd></dl>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.OvfParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfParams</code><span class="sig-paren">(</span><em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">OvfParams</span></code> class defines the common attributes for all OVF
deployment parameters. OVF parameters serve several purposes:</p>
<ul class="simple">
<li>Describe information about a given OVF package.</li>
<li>Describe default deployment configuration.</li>
<li>Describe possible deployment values based on the deployment environment.</li>
<li>Provide deployment-specific configuration.</li>
</ul>
<p>Each OVF parameters class specifies a particular configurable aspect of OVF
deployment. An aspect has both a query-model and a deploy-model. The
query-model is used when the OVF package is queried, and the deploy-model
is used when deploying an OVF package.</p>
<p>Most OVF parameter classes provide both informational and deployment
parameters. However, some are purely informational (for example, download
size) and some are purely deployment parameters (for example, the flag to
indicate whether registration as a vCenter extension is accepted).</p>
<blockquote>
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.OvfWarning">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfWarning</code><span class="sig-paren">(</span><em>category=None</em>, <em>issues=None</em>, <em>name=None</em>, <em>value=None</em>, <em>message=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfWarning" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">OvfWarning</span></code> class describes a warning related to accessing,
validating, deploying, or exporting an OVF package.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>category</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category" title="com.vmware.vcenter.ovf_client.OvfMessage.Category"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfMessage.Category</span></code></a>) The message category.</li>
<li><strong>issues</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><code class="xref py py-class docutils literal notranslate"><span class="pre">ParseIssue</span></code></a>) <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of parse issues (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><code class="xref py py-class docutils literal notranslate"><span class="pre">ParseIssue</span></code></a>).
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.VALIDATION</span></code></a>.</li>
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The name of input parameter.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>value</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The value of input parameter.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>message</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) A localizable message.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>error</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.struct.VapiStruct</span></code>) Represents a server
<code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>.
When clients pass a value of this class as a parameter, the
attribute must contain all the attributes defined in
<code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>. When methods
return a value of this class as a return value, the attribute will
contain all the attributes defined in
<code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">category</span></code> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"><code class="xref py py-attr docutils literal notranslate"><span class="pre">OvfMessage.Category.SERVER</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ParseIssue</code><span class="sig-paren">(</span><em>category=None</em>, <em>file=None</em>, <em>line_number=None</em>, <em>column_number=None</em>, <em>message=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ParseIssue</span></code> class contains the information about the issue found
when parsing an OVF package during deployment or exporting an OVF package
including:</p>
<ul class="simple">
<li>Parsing and validation error on OVF descriptor (which is an XML
document), manifest and certificate files.</li>
<li>OVF descriptor generating and device error.</li>
<li>Unexpected server error.</li>
</ul>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>category</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category" title="com.vmware.vcenter.ovf_client.ParseIssue.Category"><code class="xref py py-class docutils literal notranslate"><span class="pre">ParseIssue.Category</span></code></a>) The category of the parse issue.</li>
<li><strong>file</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The name of the file in which the parse issue was found.</li>
<li><strong>line_number</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) The line number of the line in the file (see
<code class="xref py py-attr docutils literal notranslate"><span class="pre">ParseIssue.file</span></code>) where the parse issue was found (or -1 if
not applicable).</li>
<li><strong>column_number</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) The position in the line (see <code class="xref py py-attr docutils literal notranslate"><span class="pre">ParseIssue.line_number</span></code>) (or
-1 if not applicable).</li>
<li><strong>message</strong> (<a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) A localizable message describing the parse issue.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category">
<em class="property">class </em><code class="descname">Category</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ParseIssue.Category</span></code> class defines the categories of issues that can
be found when parsing files inside an OVF package (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><code class="xref py py-class docutils literal notranslate"><span class="pre">ParseIssue</span></code></a>)
including OVF descriptor (which is an XML document), manifest and
certificate files, or exporting an OVF package.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">Category</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ATTRIBUTE_ILLEGAL">
<code class="descname">ATTRIBUTE_ILLEGAL</code><em class="property"> = Category(string='ATTRIBUTE_ILLEGAL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ATTRIBUTE_ILLEGAL" title="Permalink to this definition"></a></dt>
<dd><p>Illegal attribute error. It indicates that an illegal attribute is set for
an element in the OVF descriptor. For example, empty disks do not use
format, parentRef, and populatedSize attributes, if these attributes are
present in an empty disk element then will get this pasrse issue.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ATTRIBUTE_REQUIRED">
<code class="descname">ATTRIBUTE_REQUIRED</code><em class="property"> = Category(string='ATTRIBUTE_REQUIRED')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ATTRIBUTE_REQUIRED" title="Permalink to this definition"></a></dt>
<dd><p>Required attribute error. It indicates that a required attribute is missing
from an element in the OVF descriptor.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_ILLEGAL">
<code class="descname">ELEMENT_ILLEGAL</code><em class="property"> = Category(string='ELEMENT_ILLEGAL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_ILLEGAL" title="Permalink to this definition"></a></dt>
<dd><p>Illegal element error. It indicates that an element is present in a
location which is not allowed, or found multiple elements but only one is
allowed at the location in the OVF descriptor.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_REQUIRED">
<code class="descname">ELEMENT_REQUIRED</code><em class="property"> = Category(string='ELEMENT_REQUIRED')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_REQUIRED" title="Permalink to this definition"></a></dt>
<dd><p>Required element error. It indicates that a required element is missing
from the OVF descriptor.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_UNKNOWN">
<code class="descname">ELEMENT_UNKNOWN</code><em class="property"> = Category(string='ELEMENT_UNKNOWN')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_UNKNOWN" title="Permalink to this definition"></a></dt>
<dd><p>Unknown element error. It indicates that an element is unsupported when
parsing an OVF descriptor.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.EXPORT_ERROR">
<code class="descname">EXPORT_ERROR</code><em class="property"> = Category(string='EXPORT_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.EXPORT_ERROR" title="Permalink to this definition"></a></dt>
<dd><p>Issue during OVF export, for example, malformed deviceId, controller not
found, or file backing for a device not found.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.GENERATE_ERROR">
<code class="descname">GENERATE_ERROR</code><em class="property"> = Category(string='GENERATE_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.GENERATE_ERROR" title="Permalink to this definition"></a></dt>
<dd><p>OVF descriptor (which is an XML document) generating error, for example,
well-formedness errors as well as unexpected processing conditions.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.INTERNAL_ERROR">
<code class="descname">INTERNAL_ERROR</code><em class="property"> = Category(string='INTERNAL_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.INTERNAL_ERROR" title="Permalink to this definition"></a></dt>
<dd><p>Server encountered an unexpected error which prevented it from fulfilling
the request.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.PARSE_ERROR">
<code class="descname">PARSE_ERROR</code><em class="property"> = Category(string='PARSE_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.PARSE_ERROR" title="Permalink to this definition"></a></dt>
<dd><p>OVF package parsing error, including:</p>
<ul class="simple">
<li>OVF descriptor parsing errors, for example, syntax errors or schema
errors.</li>
<li>Manifest file parsing and verification errors.</li>
<li>Certificate file parsing and verification errors.</li>
</ul>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.SECTION_RESTRICTION">
<code class="descname">SECTION_RESTRICTION</code><em class="property"> = Category(string='SECTION_RESTRICTION')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.SECTION_RESTRICTION" title="Permalink to this definition"></a></dt>
<dd><p>Section restriction error. It indicates that a section appears in place in
the OVF descriptor where it is not allowed, a section appears fewer times
than is required, or a section appears more times than is allowed.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.SECTION_UNKNOWN">
<code class="descname">SECTION_UNKNOWN</code><em class="property"> = Category(string='SECTION_UNKNOWN')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.SECTION_UNKNOWN" title="Permalink to this definition"></a></dt>
<dd><p>Section unknown error. It indicates that a section is unsupported when
parsing an OVF descriptor.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.VALIDATION_ERROR">
<code class="descname">VALIDATION_ERROR</code><em class="property"> = Category(string='VALIDATION_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.VALIDATION_ERROR" title="Permalink to this definition"></a></dt>
<dd><p>An issue with the manifest and signing.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.VALUE_ILLEGAL">
<code class="descname">VALUE_ILLEGAL</code><em class="property"> = Category(string='VALUE_ILLEGAL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.VALUE_ILLEGAL" title="Permalink to this definition"></a></dt>
<dd><p>Illegal value error. For example, the value is malformed, not a number, or
outside of the given range, and so on.</p>
</dd></dl>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.Property">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">Property</code><span class="sig-paren">(</span><em>class_id=None</em>, <em>id=None</em>, <em>instance_id=None</em>, <em>category=None</em>, <em>ui_optional=None</em>, <em>label=None</em>, <em>description=None</em>, <em>type=None</em>, <em>value=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.Property" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Property</span></code> class contains the information about a property in an OVF
package.</p>
<p>A property is uniquely identified by its [classid.]id[.instanceid]
fully-qualified name (see <code class="xref py py-attr docutils literal notranslate"><span class="pre">Property.class_id</span></code>, <code class="xref py py-attr docutils literal notranslate"><span class="pre">Property.id</span></code>,
and <code class="xref py py-attr docutils literal notranslate"><span class="pre">Property.instance_id</span></code>). If multiple properties in an OVF package
have the same fully-qualified name, then the property is excluded and
cannot be set. We do warn about this during import.</p>
<blockquote>
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>class_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The classId of this OVF property.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The identifier of this OVF property.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<li><strong>instance_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The instanceId of this OVF property.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>category</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) If this is set to a non-empty string, this property starts a new
category.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. If None, the property
is in the same category as the previous item, otherwise, it starts
a new category.</li>
<li><strong>ui_optional</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) <p>Whether a category is UI optional. This is only used if this
property starts a new category (see <code class="xref py py-attr docutils literal notranslate"><span class="pre">Property.category</span></code>).</p>
<p>The value is stored in an optional attribute vmw:uioptional to the
ovf:Category element. The default value is false. If this value is
true, the properties within this category are optional. The UI
renders this as a group with a check box, and the group is grayed
out until the check box is selected. When the check box is
selected, the input values are read and used in deployment. If
properties within the same category specify conflicting values the
default is used. Only implemented in vSphere Web Client 5.1 and
later as of Nov 2012.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package.</p>
</li>
<li><strong>label</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The display name of this OVF property.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>description</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) A description of this OVF property.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package.</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The type of this OVF property. Refer to the configuration of a
virtual appliance/virtual machine for the valid values.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>value</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The OVF property value. This contains the default value from
ovf:defaultValue if ovf:value is not present when read.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.PropertyParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">PropertyParams</code><span class="sig-paren">(</span><em>properties=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.PropertyParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">PropertyParams</span></code> class contains a <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of OVF properties
that can be configured when the OVF package is deployed.</p>
<blockquote>
<div><p>This is based on the ovf:ProductSection.</p>
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>properties</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.Property" title="com.vmware.vcenter.ovf_client.Property"><code class="xref py py-class docutils literal notranslate"><span class="pre">Property</span></code></a>) <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of OVF properties.
This attribute is optional in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ScaleOutGroup">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ScaleOutGroup</code><span class="sig-paren">(</span><em>id=None</em>, <em>description=None</em>, <em>instance_count=None</em>, <em>minimum_instance_count=None</em>, <em>maximum_instance_count=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ScaleOutGroup" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ScaleOutGroup</span></code> class contains information about a scale-out group.</p>
<p>It allows a virtual system collection to contain a set of children that are
homogeneous with respect to a prototypical virtual system or virtual system
collection. It shall cause the deployment function to replicate the
prototype a number of times, thus allowing the number of instantiated
virtual systems to be configured dynamically at deployment time.</p>
<blockquote>
<div><p>This is based on the ovf2:ScaleOutSection.</p>
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The identifier of the scale-out group.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<li><strong>description</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The description of the scale-out group.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>instance_count</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) The scaling factor to use. It defines the number of replicas of the
prototypical virtual system or virtual system collection.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<li><strong>minimum_instance_count</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) The minimum scaling factor.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package. This will be 1 if
there is no explicit limit.</li>
<li><strong>maximum_instance_count</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) The maximum scaling factor.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. This will be None if
there is no explicit limit.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.ScaleOutParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ScaleOutParams</code><span class="sig-paren">(</span><em>groups=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ScaleOutParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">ScaleOutParams</span></code> class contains information about the scale-out
groups described in the OVF package.</p>
<p>When deploying an OVF package, a deployment specific instance count can be
specified (see <code class="xref py py-attr docutils literal notranslate"><span class="pre">ScaleOutGroup.instance_count</span></code>.</p>
<blockquote>
<div><p>This is based on the ovf2:ScaleOutSection.</p>
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>groups</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ScaleOutGroup" title="com.vmware.vcenter.ovf_client.ScaleOutGroup"><code class="xref py py-class docutils literal notranslate"><span class="pre">ScaleOutGroup</span></code></a>) The <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of scale-out groups.
This attribute is optional in the input parameters when deploying
an OVF package. If None there are no scale-out groups. This
attribute will always be present in the result when retrieving
information about an OVF package.</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.SizeParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">SizeParams</code><span class="sig-paren">(</span><em>approximate_download_size=None</em>, <em>approximate_flat_deployment_size=None</em>, <em>approximate_sparse_deployment_size=None</em>, <em>variable_disk_size=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.SizeParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">SizeParams</span></code> class contains estimates of the download and deployment
sizes.</p>
<p>This information is based on the file references and the ovf:DiskSection in
the OVF descriptor.</p>
<blockquote>
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>approximate_download_size</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) <p>A best guess as to the total amount of data that must be
transferred to download the OVF package.</p>
<blockquote>
<div>This may be inaccurate due to disk compression etc.</div></blockquote>
<p>This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. It will be None if
there is insufficient information to provide a proper estimate.</p>
</li>
<li><strong>approximate_flat_deployment_size</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) A best guess as to the total amount of space required to deploy the
OVF package if using flat disks.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. It will be None if
there is insufficient information to provide a proper estimate.</li>
<li><strong>approximate_sparse_deployment_size</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) A best guess as to the total amount of space required to deploy the
OVF package using sparse disks.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. It will be None if
there is insufficient information to provide a proper estimate.</li>
<li><strong>variable_disk_size</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) <p>Whether the OVF uses variable disk sizes.</p>
<p>For empty disks, rather than specifying a fixed virtual disk
capacity, the capacity may be given using a reference to a
ovf:Property element in a ovf:ProductSection element in OVF
package.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. If None or false, the
OVF does not use variable disk sizes.</p>
</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.UnknownSection">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">UnknownSection</code><span class="sig-paren">(</span><em>tag=None</em>, <em>info=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.UnknownSection" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">UnknownSection</span></code> class contains information about an unknown section
in an OVF package.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>tag</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) A namespace-qualified tag in the form <code class="docutils literal notranslate"><span class="pre">{ns}tag</span></code>.</li>
<li><strong>info</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The description of the Info element.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.UnknownSectionParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">UnknownSectionParams</code><span class="sig-paren">(</span><em>unknown_sections=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.UnknownSectionParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">UnknownSectionParams</span></code> class contains a <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of unknown,
non-required sections.</p>
<blockquote>
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>unknown_sections</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.UnknownSection" title="com.vmware.vcenter.ovf_client.UnknownSection"><code class="xref py py-class docutils literal notranslate"><span class="pre">UnknownSection</span></code></a>) <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of unknown, non-required sections.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.VcenterExtensionParams">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">VcenterExtensionParams</code><span class="sig-paren">(</span><em>required=None</em>, <em>registration_accepted=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.VcenterExtensionParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">VcenterExtensionParams</span></code> class specifies that the OVF package should
be registered as a vCenter extension. The virtual machine or virtual
appliance will gain unrestricted access to the vCenter Server APIs. It must
be connected to a network with connectivity to the vCenter server.</p>
<blockquote>
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>required</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Whether registration as a vCenter extension is required.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>registration_accepted</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) <p>Whether registration as a vCenter extension is accepted.</p>
<p>If registration as a vCenter extension is required (see
<code class="xref py py-attr docutils literal notranslate"><span class="pre">VcenterExtensionParams.required</span></code>), this must be set to true
during deployment. Defaults to false when returned from server.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</p>
</li>
<li><strong>type</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.services_client">
<span id="com-vmware-vcenter-services-client-module"></span><h2>com.vmware.vcenter.services_client module<a class="headerlink" href="#module-com.vmware.vcenter.services_client" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="com.vmware.vcenter.services_client.Service">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.services_client.</code><code class="descname">Service</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Service</span></code> class provides methods to manage a single/set of vCenter
Server services. This class was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.services_client.Service.Health">
<em class="property">class </em><code class="descname">Health</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Health" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Service.Health</span></code> class defines the possible values for health of a
service. This enumeration was added in vSphere API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">Health</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.Health.DEGRADED">
<code class="descname">DEGRADED</code><em class="property"> = Health(string='DEGRADED')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Health.DEGRADED" title="Permalink to this definition"></a></dt>
<dd><p>Service is in degraded state, it is not functional. This class attribute
was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.Health.HEALTHY">
<code class="descname">HEALTHY</code><em class="property"> = Health(string='HEALTHY')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Health.HEALTHY" title="Permalink to this definition"></a></dt>
<dd><p>Service is in a healthy state and is fully functional. This class attribute
was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.Health.HEALTHY_WITH_WARNINGS">
<code class="descname">HEALTHY_WITH_WARNINGS</code><em class="property"> = Health(string='HEALTHY_WITH_WARNINGS')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Health.HEALTHY_WITH_WARNINGS" title="Permalink to this definition"></a></dt>
<dd><p>Service is healthy with warnings. This class attribute was added in vSphere
API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.services_client.Service.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>name_key=None</em>, <em>description_key=None</em>, <em>startup_type=None</em>, <em>state=None</em>, <em>health=None</em>, <em>health_messages=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Service.Info</span></code> class contains information about a service. This class
was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>name_key</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Service name key. Can be used to lookup resource bundle. This
attribute was added in vSphere API 6.7</li>
<li><strong>description_key</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Service description key. Can be used to lookup resource bundle.
This attribute was added in vSphere API 6.7</li>
<li><strong>startup_type</strong> (<a class="reference internal" href="#com.vmware.vcenter.services_client.Service.StartupType" title="com.vmware.vcenter.services_client.Service.StartupType"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.StartupType</span></code></a>) Startup Type. This attribute was added in vSphere API 6.7</li>
<li><strong>state</strong> (<a class="reference internal" href="#com.vmware.vcenter.services_client.Service.State" title="com.vmware.vcenter.services_client.Service.State"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.State</span></code></a>) Running State. This attribute was added in vSphere API 6.7</li>
<li><strong>health</strong> (<a class="reference internal" href="#com.vmware.vcenter.services_client.Service.Health" title="com.vmware.vcenter.services_client.Service.Health"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.Health</span></code></a>) Health of service. This attribute was added in vSphere API 6.7
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">state</span></code> is <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.State.STARTED" title="com.vmware.vcenter.services_client.Service.State.STARTED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.State.STARTED</span></code></a>.</li>
<li><strong>health_messages</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) Localizable messages associated with the health of the service.
This attribute was added in vSphere API 6.7
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">state</span></code> is <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.State.STARTED" title="com.vmware.vcenter.services_client.Service.State.STARTED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.State.STARTED</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.services_client.Service.StartupType">
<em class="property">class </em><code class="descname">StartupType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.StartupType" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Service.StartupType</span></code> class defines valid Startup Type for vCenter
Server services. This enumeration was added in vSphere API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">StartupType</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.StartupType.AUTOMATIC">
<code class="descname">AUTOMATIC</code><em class="property"> = StartupType(string='AUTOMATIC')</em><a class="headerlink" href="#com.vmware.vcenter.services_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. This class attribute
was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.StartupType.DISABLED">
<code class="descname">DISABLED</code><em class="property"> = StartupType(string='DISABLED')</em><a class="headerlink" href="#com.vmware.vcenter.services_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
type changes to manual or automatic. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.StartupType.MANUAL">
<code class="descname">MANUAL</code><em class="property"> = StartupType(string='MANUAL')</em><a class="headerlink" href="#com.vmware.vcenter.services_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
service will start it. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.services_client.Service.State">
<em class="property">class </em><code class="descname">State</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Service.State</span></code> class defines valid Run State for services. This
enumeration was added in vSphere API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">State</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.State.STARTED">
<code class="descname">STARTED</code><em class="property"> = State(string='STARTED')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State.STARTED" title="Permalink to this definition"></a></dt>
<dd><p>Service Run State is Started, it is fully functional. This class attribute
was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.State.STARTING">
<code class="descname">STARTING</code><em class="property"> = State(string='STARTING')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State.STARTING" title="Permalink to this definition"></a></dt>
<dd><p>Service Run State is Starting, it is still not functional. This class
attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.State.STOPPED">
<code class="descname">STOPPED</code><em class="property"> = State(string='STOPPED')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State.STOPPED" title="Permalink to this definition"></a></dt>
<dd><p>Service Run State is Stopped. This class attribute was added in vSphere API
6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.services_client.Service.State.STOPPING">
<code class="descname">STOPPING</code><em class="property"> = State(string='STOPPING')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State.STOPPING" title="Permalink to this definition"></a></dt>
<dd><p>Service Run State is Stopping, it is not functional. This class attribute
was added in vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.services_client.Service.UpdateSpec">
<em class="property">class </em><code class="descname">UpdateSpec</code><span class="sig-paren">(</span><em>startup_type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.UpdateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Service.UpdateSpec</span></code> class describes the changes to be made to the
configuration of the service. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>startup_type</strong> (<a class="reference internal" href="#com.vmware.vcenter.services_client.Service.StartupType" title="com.vmware.vcenter.services_client.Service.StartupType"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.StartupType</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Startup Type. This attribute was added in vSphere API 6.7
If unspecified, leaves value unchanged.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.services_client.Service.get">
<code class="descname">get</code><span class="sig-paren">(</span><em>service</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.get" title="Permalink to this definition"></a></dt>
<dd><p>Returns the state of a service. This method was added in vSphere API
6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) identifier of the service whose state is being queried.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.services_client.Service.Info" title="com.vmware.vcenter.services_client.Service.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.Info</span></code></a></td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Service Info structure.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if any other error occurs during the execution of the operation.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.services_client.Service.list_details">
<code class="descname">list_details</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.list_details" title="Permalink to this definition"></a></dt>
<dd><p>Lists details of vCenter services. This method was added in vSphere API
6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.Info" title="com.vmware.vcenter.services_client.Service.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.Info</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Map of service identifiers to service Info structures.
The key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for
the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if any error occurs during the execution of the operation.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.services_client.Service.restart">
<code class="descname">restart</code><span class="sig-paren">(</span><em>service</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.restart" title="Permalink to this definition"></a></dt>
<dd><p>Restarts a service. This method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) identifier of the service to restart
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.TimedOut</span></code>
if any timeout occurs during the execution of the restart
operation.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the operation is denied in the current state of the service. If
a stop or start operation is in progress, issuing a restart
operation will lead to this error.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if a restart operation is issued on a service which has startup
type <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.StartupType.DISABLED" title="com.vmware.vcenter.services_client.Service.StartupType.DISABLED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.StartupType.DISABLED</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if any other error occurs during the execution of the operation.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.services_client.Service.start">
<code class="descname">start</code><span class="sig-paren">(</span><em>service</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.start" title="Permalink to this definition"></a></dt>
<dd><p>Starts a service. This method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) identifier of the service to start
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the operation is denied in the current state of the service. If
a stop or restart operation is in progress, the start operation
will not be allowed.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if start operation is issued on a service which has startup type
<a class="reference internal" href="#com.vmware.vcenter.services_client.Service.StartupType.DISABLED" title="com.vmware.vcenter.services_client.Service.StartupType.DISABLED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.StartupType.DISABLED</span></code></a>.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.TimedOut</span></code>
if any timeout occurs during the execution of the start operation.
Timeout occurs when the service takes longer than StartTimeout to
start.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if any other error occurs during the execution of the operation.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.services_client.Service.stop">
<code class="descname">stop</code><span class="sig-paren">(</span><em>service</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.stop" title="Permalink to this definition"></a></dt>
<dd><p>Stops a service. This method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) identifier of the service to stop
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if any other error occurs during the execution of the operation.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the operation is denied in the current state of the service. If
a stop operation is in progress, issuing another stop operation
will lead to this error.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.services_client.Service.update">
<code class="descname">update</code><span class="sig-paren">(</span><em>service</em>, <em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.update" title="Permalink to this definition"></a></dt>
<dd><p>Updates the properties of a service. This method was added in vSphere
API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) identifier of the service whose properties are being updated.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</li>
<li><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.services_client.Service.UpdateSpec" title="com.vmware.vcenter.services_client.Service.UpdateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.UpdateSpec</span></code></a>) Service Update specification.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if any other error occurs during the execution of the operation.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the operation is denied in the current state of the service. If
a start, stop or restart operation is in progress, update operation
will fail with this error.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if a request to set the <code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.UpdateSpec.startup_type</span></code>
attribute of <code class="docutils literal notranslate"><span class="pre">spec</span></code> to <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.StartupType.DISABLED" title="com.vmware.vcenter.services_client.Service.StartupType.DISABLED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.StartupType.DISABLED</span></code></a> comes
in for a service that is not in <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.State.STOPPED" title="com.vmware.vcenter.services_client.Service.State.STOPPED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.State.STOPPED</span></code></a>
state.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.services_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.services_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.storage_client">
<span id="com-vmware-vcenter-storage-client-module"></span><h2>com.vmware.vcenter.storage_client module<a class="headerlink" href="#module-com.vmware.vcenter.storage_client" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="com.vmware.vcenter.storage_client.Policies">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.storage_client.</code><code class="descname">Policies</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Policies</span></code> class provides methods for managing the storage policies.
This class was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.storage_client.Policies.CompatibilityInfo">
<em class="property">class </em><code class="descname">CompatibilityInfo</code><span class="sig-paren">(</span><em>compatible_datastores=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.CompatibilityInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Policies.CompatibilityInfo</span></code> class contains info about a list of
datastores compatible with a specific storage policy. This class was added
in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>compatible_datastores</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.CompatibleDatastoreInfo" title="com.vmware.vcenter.storage_client.Policies.CompatibleDatastoreInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.CompatibleDatastoreInfo</span></code></a>) Info about a list of datastores compatible with a specific storage
policy. This attribute was added in vSphere API 6.7</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.storage_client.Policies.CompatibleDatastoreInfo">
<em class="property">class </em><code class="descname">CompatibleDatastoreInfo</code><span class="sig-paren">(</span><em>datastore=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.CompatibleDatastoreInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Policies.CompatibleDatastoreInfo</span></code> class contains compatible
datastores information. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>datastore</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the datastore. 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:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.storage_client.Policies.FilterSpec">
<em class="property">class </em><code class="descname">FilterSpec</code><span class="sig-paren">(</span><em>policies=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.FilterSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Policies.FilterSpec</span></code> class contains attributes used to filter the
results when listing the storage policies (see <a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.list" title="com.vmware.vcenter.storage_client.Policies.list"><code class="xref py py-func docutils literal notranslate"><span class="pre">Policies.list()</span></code></a>). This
class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>policies</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifiers of storage policies that can match the filter. This
attribute was added in vSphere API 6.7
When clients pass a value of this class as a parameter, the
attribute must contain identifiers for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.StoragePolicy</span></code>. When methods return a value
of this class as a return value, the attribute will contain
identifiers for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.StoragePolicy</span></code>.
If None or empty, storage policies with any identifiers match the
filter.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.storage_client.Policies.RESOURCE_TYPE">
<code class="descname">RESOURCE_TYPE</code><em class="property"> = 'com.vmware.vcenter.StoragePolicy'</em><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.RESOURCE_TYPE" title="Permalink to this definition"></a></dt>
<dd><p>Resource type for vAPI metadata policy. This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.storage_client.Policies.Summary">
<em class="property">class </em><code class="descname">Summary</code><span class="sig-paren">(</span><em>policy=None</em>, <em>name=None</em>, <em>description=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.Summary" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Policies.Summary</span></code> class contains commonly used information about a
storage policy. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the storage policy. 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:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.StoragePolicy</span></code>. When methods return a value
of this class as a return value, the attribute will be an
identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.StoragePolicy</span></code>.</li>
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Name of the storage policy. This attribute was added in vSphere API
6.7</li>
<li><strong>description</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Description of the storage policy. This attribute was added in
vSphere API 6.7</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.storage_client.Policies.check_compatibility">
<code class="descname">check_compatibility</code><span class="sig-paren">(</span><em>policy</em>, <em>datastores</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.check_compatibility" title="Permalink to this definition"></a></dt>
<dd><p>Returns datastore compatibility summary about a specific storage
policy. This method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The storage policy identifier
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.StoragePolicy</span></code>.</li>
<li><strong>datastores</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Datastores used to check compatibility against a storage policy.
The number of datastores is limited to 1024.
The parameter must contain identifiers for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.CompatibilityInfo" title="com.vmware.vcenter.storage_client.Policies.CompatibilityInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.CompatibilityInfo</span></code></a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">datastore compatibility summary about a specific storage policy.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the storage policy specified does not exist.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
if input more than 1024 datastores.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.storage_client.Policies.list">
<code class="descname">list</code><span class="sig-paren">(</span><em>filter=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.list" title="Permalink to this definition"></a></dt>
<dd><p>Returns information about at most 1024 visible (subject to permission
checks) storage solicies availabe in vCenter. These storage policies
can be used for provisioning virtual machines or disks. This method was
added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>filter</strong> (<a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.FilterSpec" title="com.vmware.vcenter.storage_client.Policies.FilterSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.FilterSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Specification of matching storage policies for which information
should be returned.
If None, the behavior is equivalent to a
<a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.FilterSpec" title="com.vmware.vcenter.storage_client.Policies.FilterSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.FilterSpec</span></code></a> with all attributes None which means
all storage policies match the filter</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.list" title="com.vmware.vcenter.storage_client.Policies.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of <a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.Summary" title="com.vmware.vcenter.storage_client.Policies.Summary"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.Summary</span></code></a></td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Commonly used Information about the storage policies.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if the <a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.FilterSpec" title="com.vmware.vcenter.storage_client.Policies.FilterSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.FilterSpec</span></code></a> contains a value that is not
supported by the server.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
if more than 1024 storage policies exist.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.storage_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.storage_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.system_config_client">
<span id="com-vmware-vcenter-system-config-client-module"></span><h2>com.vmware.vcenter.system_config_client module<a class="headerlink" href="#module-com.vmware.vcenter.system_config_client" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="com.vmware.vcenter.system_config_client.DeploymentType">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.system_config_client.</code><code class="descname">DeploymentType</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentType</span></code> class provides methods to get/set the type of the
appliance. This class was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.system_config_client.DeploymentType.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentType.Info</span></code> class contains the fields used to get the
appliance type. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>type</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.ApplianceType" title="com.vmware.vcenter.deployment_client.ApplianceType"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vcenter.deployment_client.ApplianceType</span></code></a>) The type of the appliance. This attribute was added in vSphere API
6.7</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.system_config_client.DeploymentType.ReconfigureSpec">
<em class="property">class </em><code class="descname">ReconfigureSpec</code><span class="sig-paren">(</span><em>type=None</em>, <em>remote_psc=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType.ReconfigureSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentType.ReconfigureSpec</span></code> class contains the fields used to
get and set the appliance type. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>type</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.ApplianceType" title="com.vmware.vcenter.deployment_client.ApplianceType"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vcenter.deployment_client.ApplianceType</span></code></a>) The type of the appliance. This attribute was added in vSphere API
6.7</li>
<li><strong>remote_psc</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.RemotePscSpec" title="com.vmware.vcenter.deployment_client.RemotePscSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vcenter.deployment_client.RemotePscSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) External PSC to register with when reconfiguring a VCSA_EMBEDDED
appliance to a VCSA_EXTERNAL appliance. This attribute was added in
vSphere API 6.7
Only required when reconfiguring an VCSA_EMBEDDED node to a
VCSA_EXTERNAL.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.system_config_client.DeploymentType.get">
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType.get" title="Permalink to this definition"></a></dt>
<dd><p>Get the type of the vCenter appliance. This method was added in vSphere
API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.system_config_client.DeploymentType.Info" title="com.vmware.vcenter.system_config_client.DeploymentType.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">DeploymentType.Info</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The type of the vCenter appliance.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if appliance is not in CONFIGURED state.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.system_config_client.DeploymentType.reconfigure">
<code class="descname">reconfigure</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType.reconfigure" title="Permalink to this definition"></a></dt>
<dd><p>Reconfigure the type of the vCenter appliance. This method was added in
vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.system_config_client.DeploymentType.ReconfigureSpec" title="com.vmware.vcenter.system_config_client.DeploymentType.ReconfigureSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">DeploymentType.ReconfigureSpec</span></code></a>) ReconfigureSpec to set the appliance type.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
if the appliance is in CONFIGURED state and if not changing the
type form VCSA_EMBEDDED to VCSA_EXTERNAL.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if passed arguments are invalid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if external PSC credentials are not valid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is not in INITIALIZED or CONFIGURED state.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.system_config_client.PscRegistration">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.system_config_client.</code><code class="descname">PscRegistration</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.PscRegistration" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">PscRegistration</span></code> class provides methods to get and set the
PSC_EXTERNAL appliance a VCSA_EXTERNAL appliance is registered with. This
class was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.system_config_client.PscRegistration.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>address=None</em>, <em>https_port=None</em>, <em>sso_domain=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.PscRegistration.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">PscRegistration.Info</span></code> class has fields to specify information about
the PSC node. This class was added in vSphere API 6.7</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>address</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The IP address or DNS resolvable name of the PSC this appliance is
registered with. This attribute was added in vSphere API 6.7</li>
<li><strong>https_port</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) The HTTPs port used by the external PSC. This attribute was added
in vSphere API 6.7</li>
<li><strong>sso_domain</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) The Single Sign-On domain name of the external PSC. This attribute
was added in vSphere API 6.7</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.system_config_client.PscRegistration.get">
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.PscRegistration.get" title="Permalink to this definition"></a></dt>
<dd><p>Get information of the PSC that this appliance is registered with. This
method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.system_config_client.PscRegistration.Info" title="com.vmware.vcenter.system_config_client.PscRegistration.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">PscRegistration.Info</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Info structure containing information about the external PSC node
this appliance is registered with.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is in NOT_INITIALIZED state.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.system_config_client.PscRegistration.repoint">
<code class="descname">repoint</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.PscRegistration.repoint" title="Permalink to this definition"></a></dt>
<dd><p>Repoint this vCenter Server appliance to a different external PSC. This
method was added in vSphere API 6.7</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.RemotePscSpec" title="com.vmware.vcenter.deployment_client.RemotePscSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vcenter.deployment_client.RemotePscSpec</span></code></a>) RemotePscSpec structure containing information about the external
PSC node to repoint this vCenter Server appliance to.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the caller is not authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the passed external PSC credentials is invalid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if the passed external PSC is not a replicating with the current
PSC this appliance is registered with.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if passed arguments are invalid.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
if the current appliance is not of the type VCSA_EXTERNAL.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the appliance is NOT in CONFIGURED state.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.system_config_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.system_config_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.vm_client">
<span id="com-vmware-vcenter-vm-client-module"></span><h2>com.vmware.vcenter.vm_client module<a class="headerlink" href="#module-com.vmware.vcenter.vm_client" title="Permalink to this headline"></a></h2>
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm_client</span></code> module provides classes for managing
virtual machines.</p>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.GuestOS">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">GuestOS</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">GuestOS</span></code> class defines the valid guest operating system types used
for configuring a virtual machine.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <a class="reference internal" href="#com.vmware.vcenter.vm_client.GuestOS" title="com.vmware.vcenter.vm_client.GuestOS"><code class="xref py py-class docutils literal notranslate"><span class="pre">GuestOS</span></code></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3">
<code class="descname">ASIANUX_3</code><em class="property"> = GuestOS(string='ASIANUX_3')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3" title="Permalink to this definition"></a></dt>
<dd><p>Asianux Server 3</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3_64">
<code class="descname">ASIANUX_3_64</code><em class="property"> = GuestOS(string='ASIANUX_3_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3_64" title="Permalink to this definition"></a></dt>
<dd><p>Asianux Server 3 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4">
<code class="descname">ASIANUX_4</code><em class="property"> = GuestOS(string='ASIANUX_4')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4" title="Permalink to this definition"></a></dt>
<dd><p>Asianux Server 4</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4_64">
<code class="descname">ASIANUX_4_64</code><em class="property"> = GuestOS(string='ASIANUX_4_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4_64" title="Permalink to this definition"></a></dt>
<dd><p>Asianux Server 4 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_5_64">
<code class="descname">ASIANUX_5_64</code><em class="property"> = GuestOS(string='ASIANUX_5_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_5_64" title="Permalink to this definition"></a></dt>
<dd><p>Asianux Server 5 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_7_64">
<code class="descname">ASIANUX_7_64</code><em class="property"> = GuestOS(string='ASIANUX_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_7_64" title="Permalink to this definition"></a></dt>
<dd><p>Asianux Server 7 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_8_64">
<code class="descname">ASIANUX_8_64</code><em class="property"> = GuestOS(string='ASIANUX_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_8_64" title="Permalink to this definition"></a></dt>
<dd><p>Asianux Server 8 (64 bit). This class attribute was added in vSphere API
6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS">
<code class="descname">CENTOS</code><em class="property"> = GuestOS(string='CENTOS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS" title="Permalink to this definition"></a></dt>
<dd><p>CentOS 4/5</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_6">
<code class="descname">CENTOS_6</code><em class="property"> = GuestOS(string='CENTOS_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_6" title="Permalink to this definition"></a></dt>
<dd><p>CentOS 6</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_64">
<code class="descname">CENTOS_64</code><em class="property"> = GuestOS(string='CENTOS_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_64" title="Permalink to this definition"></a></dt>
<dd><p>CentOS 4/5 (64-bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_6_64">
<code class="descname">CENTOS_6_64</code><em class="property"> = GuestOS(string='CENTOS_6_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_6_64" title="Permalink to this definition"></a></dt>
<dd><p>CentOS 6 (64-bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_7">
<code class="descname">CENTOS_7</code><em class="property"> = GuestOS(string='CENTOS_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_7" title="Permalink to this definition"></a></dt>
<dd><p>CentOS 7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_7_64">
<code class="descname">CENTOS_7_64</code><em class="property"> = GuestOS(string='CENTOS_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_7_64" title="Permalink to this definition"></a></dt>
<dd><p>CentOS 7 (64-bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_8_64">
<code class="descname">CENTOS_8_64</code><em class="property"> = GuestOS(string='CENTOS_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_8_64" title="Permalink to this definition"></a></dt>
<dd><p>CentOS 8 (64-bit). This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.COREOS_64">
<code class="descname">COREOS_64</code><em class="property"> = GuestOS(string='COREOS_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.COREOS_64" title="Permalink to this definition"></a></dt>
<dd><p>CoreOS Linux (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN">
<code class="descname">DARWIN</code><em class="property"> = GuestOS(string='DARWIN')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.5</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_10">
<code class="descname">DARWIN_10</code><em class="property"> = GuestOS(string='DARWIN_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_10" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.6</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_10_64">
<code class="descname">DARWIN_10_64</code><em class="property"> = GuestOS(string='DARWIN_10_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_10_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.6 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_11">
<code class="descname">DARWIN_11</code><em class="property"> = GuestOS(string='DARWIN_11')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_11" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_11_64">
<code class="descname">DARWIN_11_64</code><em class="property"> = GuestOS(string='DARWIN_11_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_11_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.7 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_12_64">
<code class="descname">DARWIN_12_64</code><em class="property"> = GuestOS(string='DARWIN_12_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_12_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.8 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_13_64">
<code class="descname">DARWIN_13_64</code><em class="property"> = GuestOS(string='DARWIN_13_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_13_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.9 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_14_64">
<code class="descname">DARWIN_14_64</code><em class="property"> = GuestOS(string='DARWIN_14_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_14_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.10 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_15_64">
<code class="descname">DARWIN_15_64</code><em class="property"> = GuestOS(string='DARWIN_15_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_15_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.11 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_16_64">
<code class="descname">DARWIN_16_64</code><em class="property"> = GuestOS(string='DARWIN_16_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_16_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.12 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_17_64">
<code class="descname">DARWIN_17_64</code><em class="property"> = GuestOS(string='DARWIN_17_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_17_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.13 (64 bit). This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_18_64">
<code class="descname">DARWIN_18_64</code><em class="property"> = GuestOS(string='DARWIN_18_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_18_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.14 (64 bit). This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_64">
<code class="descname">DARWIN_64</code><em class="property"> = GuestOS(string='DARWIN_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_64" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS 10.5 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10">
<code class="descname">DEBIAN_10</code><em class="property"> = GuestOS(string='DEBIAN_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 10</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10_64">
<code class="descname">DEBIAN_10_64</code><em class="property"> = GuestOS(string='DEBIAN_10_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10_64" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 10 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4">
<code class="descname">DEBIAN_4</code><em class="property"> = GuestOS(string='DEBIAN_4')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 4</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4_64">
<code class="descname">DEBIAN_4_64</code><em class="property"> = GuestOS(string='DEBIAN_4_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4_64" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 4 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5">
<code class="descname">DEBIAN_5</code><em class="property"> = GuestOS(string='DEBIAN_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 5</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5_64">
<code class="descname">DEBIAN_5_64</code><em class="property"> = GuestOS(string='DEBIAN_5_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5_64" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 5 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6">
<code class="descname">DEBIAN_6</code><em class="property"> = GuestOS(string='DEBIAN_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 6</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6_64">
<code class="descname">DEBIAN_6_64</code><em class="property"> = GuestOS(string='DEBIAN_6_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6_64" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 6 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7">
<code class="descname">DEBIAN_7</code><em class="property"> = GuestOS(string='DEBIAN_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7_64">
<code class="descname">DEBIAN_7_64</code><em class="property"> = GuestOS(string='DEBIAN_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7_64" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 7 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8">
<code class="descname">DEBIAN_8</code><em class="property"> = GuestOS(string='DEBIAN_8')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8_64">
<code class="descname">DEBIAN_8_64</code><em class="property"> = GuestOS(string='DEBIAN_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8_64" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 8 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_9">
<code class="descname">DEBIAN_9</code><em class="property"> = GuestOS(string='DEBIAN_9')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_9" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 9</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_9_64">
<code class="descname">DEBIAN_9_64</code><em class="property"> = GuestOS(string='DEBIAN_9_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_9_64" title="Permalink to this definition"></a></dt>
<dd><p>Debian GNU/Linux 9 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.DOS">
<code class="descname">DOS</code><em class="property"> = GuestOS(string='DOS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DOS" title="Permalink to this definition"></a></dt>
<dd><p>MS-DOS.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION">
<code class="descname">ECOMSTATION</code><em class="property"> = GuestOS(string='ECOMSTATION')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION" title="Permalink to this definition"></a></dt>
<dd><p>eComStation 1.x</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION_2">
<code class="descname">ECOMSTATION_2</code><em class="property"> = GuestOS(string='ECOMSTATION_2')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION_2" title="Permalink to this definition"></a></dt>
<dd><p>eComStation 2.0</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.FEDORA">
<code class="descname">FEDORA</code><em class="property"> = GuestOS(string='FEDORA')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FEDORA" title="Permalink to this definition"></a></dt>
<dd><p>Fedora Linux</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.FEDORA_64">
<code class="descname">FEDORA_64</code><em class="property"> = GuestOS(string='FEDORA_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FEDORA_64" title="Permalink to this definition"></a></dt>
<dd><p>Fedora Linux (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD">
<code class="descname">FREEBSD</code><em class="property"> = GuestOS(string='FREEBSD')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD" title="Permalink to this definition"></a></dt>
<dd><p>FreeBSD 10 or earlier</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_11">
<code class="descname">FREEBSD_11</code><em class="property"> = GuestOS(string='FREEBSD_11')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_11" title="Permalink to this definition"></a></dt>
<dd><p>FreeBSD 11. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_11_64">
<code class="descname">FREEBSD_11_64</code><em class="property"> = GuestOS(string='FREEBSD_11_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_11_64" title="Permalink to this definition"></a></dt>
<dd><p>FreeBSD 11 x64. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_12">
<code class="descname">FREEBSD_12</code><em class="property"> = GuestOS(string='FREEBSD_12')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_12" title="Permalink to this definition"></a></dt>
<dd><p>FreeBSD 12 or later. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_12_64">
<code class="descname">FREEBSD_12_64</code><em class="property"> = GuestOS(string='FREEBSD_12_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_12_64" title="Permalink to this definition"></a></dt>
<dd><p>FreeBSD 12 x64 or later. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_64">
<code class="descname">FREEBSD_64</code><em class="property"> = GuestOS(string='FREEBSD_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_64" title="Permalink to this definition"></a></dt>
<dd><p>FreeBSD 10 x64 or earlier</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.GENERIC_LINUX">
<code class="descname">GENERIC_LINUX</code><em class="property"> = GuestOS(string='GENERIC_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.GENERIC_LINUX" title="Permalink to this definition"></a></dt>
<dd><p>Other Linux</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.MANDRAKE">
<code class="descname">MANDRAKE</code><em class="property"> = GuestOS(string='MANDRAKE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.MANDRAKE" title="Permalink to this definition"></a></dt>
<dd><p>Mandrake Linux</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.MANDRIVA">
<code class="descname">MANDRIVA</code><em class="property"> = GuestOS(string='MANDRIVA')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.MANDRIVA" title="Permalink to this definition"></a></dt>
<dd><p>Mandriva Linux</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.MANDRIVA_64">
<code class="descname">MANDRIVA_64</code><em class="property"> = GuestOS(string='MANDRIVA_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.MANDRIVA_64" title="Permalink to this definition"></a></dt>
<dd><p>Mandriva Linux (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.NETWARE_4">
<code class="descname">NETWARE_4</code><em class="property"> = GuestOS(string='NETWARE_4')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.NETWARE_4" title="Permalink to this definition"></a></dt>
<dd><p>Novell NetWare 4</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.NETWARE_5">
<code class="descname">NETWARE_5</code><em class="property"> = GuestOS(string='NETWARE_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.NETWARE_5" title="Permalink to this definition"></a></dt>
<dd><p>Novell NetWare 5.1</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.NETWARE_6">
<code class="descname">NETWARE_6</code><em class="property"> = GuestOS(string='NETWARE_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.NETWARE_6" title="Permalink to this definition"></a></dt>
<dd><p>Novell NetWare 6.x</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.NLD_9">
<code class="descname">NLD_9</code><em class="property"> = GuestOS(string='NLD_9')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.NLD_9" title="Permalink to this definition"></a></dt>
<dd><p>Novell Linux Desktop 9</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OES">
<code class="descname">OES</code><em class="property"> = GuestOS(string='OES')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OES" title="Permalink to this definition"></a></dt>
<dd><p>Open Enterprise Server</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_5">
<code class="descname">OPENSERVER_5</code><em class="property"> = GuestOS(string='OPENSERVER_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_5" title="Permalink to this definition"></a></dt>
<dd><p>SCO OpenServer 5</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_6">
<code class="descname">OPENSERVER_6</code><em class="property"> = GuestOS(string='OPENSERVER_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_6" title="Permalink to this definition"></a></dt>
<dd><p>SCO OpenServer 6</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OPENSUSE">
<code class="descname">OPENSUSE</code><em class="property"> = GuestOS(string='OPENSUSE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OPENSUSE" title="Permalink to this definition"></a></dt>
<dd><p>OpenSUSE Linux</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OPENSUSE_64">
<code class="descname">OPENSUSE_64</code><em class="property"> = GuestOS(string='OPENSUSE_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OPENSUSE_64" title="Permalink to this definition"></a></dt>
<dd><p>OpenSUSE Linux (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX">
<code class="descname">ORACLE_LINUX</code><em class="property"> = GuestOS(string='ORACLE_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX" title="Permalink to this definition"></a></dt>
<dd><p>Oracle Linux 4/5</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6">
<code class="descname">ORACLE_LINUX_6</code><em class="property"> = GuestOS(string='ORACLE_LINUX_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6" title="Permalink to this definition"></a></dt>
<dd><p>Oracle Linux 6</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_64">
<code class="descname">ORACLE_LINUX_64</code><em class="property"> = GuestOS(string='ORACLE_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_64" title="Permalink to this definition"></a></dt>
<dd><p>Oracle Linux 4/5 (64-bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6_64">
<code class="descname">ORACLE_LINUX_6_64</code><em class="property"> = GuestOS(string='ORACLE_LINUX_6_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6_64" title="Permalink to this definition"></a></dt>
<dd><p>Oracle Linux 6 (64-bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7">
<code class="descname">ORACLE_LINUX_7</code><em class="property"> = GuestOS(string='ORACLE_LINUX_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7" title="Permalink to this definition"></a></dt>
<dd><p>Oracle Linux 7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7_64">
<code class="descname">ORACLE_LINUX_7_64</code><em class="property"> = GuestOS(string='ORACLE_LINUX_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7_64" title="Permalink to this definition"></a></dt>
<dd><p>Oracle Linux 7 (64-bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_8_64">
<code class="descname">ORACLE_LINUX_8_64</code><em class="property"> = GuestOS(string='ORACLE_LINUX_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_8_64" title="Permalink to this definition"></a></dt>
<dd><p>Oracle Linux 8 (64-bit). This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OS2">
<code class="descname">OS2</code><em class="property"> = GuestOS(string='OS2')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OS2" title="Permalink to this definition"></a></dt>
<dd><p>OS/2</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER">
<code class="descname">OTHER</code><em class="property"> = GuestOS(string='OTHER')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER" title="Permalink to this definition"></a></dt>
<dd><p>Other Operating System</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX">
<code class="descname">OTHER_24X_LINUX</code><em class="property"> = GuestOS(string='OTHER_24X_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX" title="Permalink to this definition"></a></dt>
<dd><p>Linux 2.4x Kernel</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX_64">
<code class="descname">OTHER_24X_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_24X_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX_64" title="Permalink to this definition"></a></dt>
<dd><p>Linux 2.4x Kernel (64 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX">
<code class="descname">OTHER_26X_LINUX</code><em class="property"> = GuestOS(string='OTHER_26X_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX" title="Permalink to this definition"></a></dt>
<dd><p>Linux 2.6x Kernel</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX_64">
<code class="descname">OTHER_26X_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_26X_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX_64" title="Permalink to this definition"></a></dt>
<dd><p>Linux 2.6x Kernel (64 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX">
<code class="descname">OTHER_3X_LINUX</code><em class="property"> = GuestOS(string='OTHER_3X_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX" title="Permalink to this definition"></a></dt>
<dd><p>Linux 3.x Kernel</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX_64">
<code class="descname">OTHER_3X_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_3X_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX_64" title="Permalink to this definition"></a></dt>
<dd><p>Linux 3.x Kernel (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_4X_LINUX">
<code class="descname">OTHER_4X_LINUX</code><em class="property"> = GuestOS(string='OTHER_4X_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_4X_LINUX" title="Permalink to this definition"></a></dt>
<dd><p>Linux 4.x Kernel. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_4X_LINUX_64">
<code class="descname">OTHER_4X_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_4X_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_4X_LINUX_64" title="Permalink to this definition"></a></dt>
<dd><p>Linux 4.x Kernel (64 bit). This class attribute was added in vSphere API
6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_64">
<code class="descname">OTHER_64</code><em class="property"> = GuestOS(string='OTHER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_64" title="Permalink to this definition"></a></dt>
<dd><p>Other Operating System (64 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX">
<code class="descname">OTHER_LINUX</code><em class="property"> = GuestOS(string='OTHER_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX" title="Permalink to this definition"></a></dt>
<dd><p>Linux 2.2x Kernel</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX_64">
<code class="descname">OTHER_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX_64" title="Permalink to this definition"></a></dt>
<dd><p>Linux (64 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.REDHAT">
<code class="descname">REDHAT</code><em class="property"> = GuestOS(string='REDHAT')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.REDHAT" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Linux 2.1</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_2">
<code class="descname">RHEL_2</code><em class="property"> = GuestOS(string='RHEL_2')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_2" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 2</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_3">
<code class="descname">RHEL_3</code><em class="property"> = GuestOS(string='RHEL_3')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_3" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 3</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_3_64">
<code class="descname">RHEL_3_64</code><em class="property"> = GuestOS(string='RHEL_3_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_3_64" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 3 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_4">
<code class="descname">RHEL_4</code><em class="property"> = GuestOS(string='RHEL_4')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_4" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 4</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_4_64">
<code class="descname">RHEL_4_64</code><em class="property"> = GuestOS(string='RHEL_4_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_4_64" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 4 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_5">
<code class="descname">RHEL_5</code><em class="property"> = GuestOS(string='RHEL_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_5" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 5</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_5_64">
<code class="descname">RHEL_5_64</code><em class="property"> = GuestOS(string='RHEL_5_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_5_64" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 5 (64 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_6">
<code class="descname">RHEL_6</code><em class="property"> = GuestOS(string='RHEL_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_6" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 6</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_6_64">
<code class="descname">RHEL_6_64</code><em class="property"> = GuestOS(string='RHEL_6_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_6_64" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 6 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_7">
<code class="descname">RHEL_7</code><em class="property"> = GuestOS(string='RHEL_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_7" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_7_64">
<code class="descname">RHEL_7_64</code><em class="property"> = GuestOS(string='RHEL_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_7_64" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 7 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_8_64">
<code class="descname">RHEL_8_64</code><em class="property"> = GuestOS(string='RHEL_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_8_64" title="Permalink to this definition"></a></dt>
<dd><p>Red Hat Enterprise Linux 8 (64 bit). This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SJDS">
<code class="descname">SJDS</code><em class="property"> = GuestOS(string='SJDS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SJDS" title="Permalink to this definition"></a></dt>
<dd><p>Sun Java Desktop System</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES">
<code class="descname">SLES</code><em class="property"> = GuestOS(string='SLES')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES" title="Permalink to this definition"></a></dt>
<dd><p>Suse Linux Enterprise Server 9</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_10">
<code class="descname">SLES_10</code><em class="property"> = GuestOS(string='SLES_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_10" title="Permalink to this definition"></a></dt>
<dd><p>Suse linux Enterprise Server 10</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_10_64">
<code class="descname">SLES_10_64</code><em class="property"> = GuestOS(string='SLES_10_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_10_64" title="Permalink to this definition"></a></dt>
<dd><p>Suse Linux Enterprise Server 10 (64 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_11">
<code class="descname">SLES_11</code><em class="property"> = GuestOS(string='SLES_11')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_11" title="Permalink to this definition"></a></dt>
<dd><p>Suse linux Enterprise Server 11</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_11_64">
<code class="descname">SLES_11_64</code><em class="property"> = GuestOS(string='SLES_11_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_11_64" title="Permalink to this definition"></a></dt>
<dd><p>Suse Linux Enterprise Server 11 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_12">
<code class="descname">SLES_12</code><em class="property"> = GuestOS(string='SLES_12')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_12" title="Permalink to this definition"></a></dt>
<dd><p>Suse linux Enterprise Server 12</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_12_64">
<code class="descname">SLES_12_64</code><em class="property"> = GuestOS(string='SLES_12_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_12_64" title="Permalink to this definition"></a></dt>
<dd><p>Suse Linux Enterprise Server 12 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_15_64">
<code class="descname">SLES_15_64</code><em class="property"> = GuestOS(string='SLES_15_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_15_64" title="Permalink to this definition"></a></dt>
<dd><p>Suse Linux Enterprise Server 15 (64 bit). This class attribute was added in
vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_64">
<code class="descname">SLES_64</code><em class="property"> = GuestOS(string='SLES_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_64" title="Permalink to this definition"></a></dt>
<dd><p>Suse Linux Enterprise Server 9 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10">
<code class="descname">SOLARIS_10</code><em class="property"> = GuestOS(string='SOLARIS_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10" title="Permalink to this definition"></a></dt>
<dd><p>Solaris 10 (32 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10_64">
<code class="descname">SOLARIS_10_64</code><em class="property"> = GuestOS(string='SOLARIS_10_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10_64" title="Permalink to this definition"></a></dt>
<dd><p>Solaris 10 (64 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_11_64">
<code class="descname">SOLARIS_11_64</code><em class="property"> = GuestOS(string='SOLARIS_11_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_11_64" title="Permalink to this definition"></a></dt>
<dd><p>Solaris 11 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_6">
<code class="descname">SOLARIS_6</code><em class="property"> = GuestOS(string='SOLARIS_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_6" title="Permalink to this definition"></a></dt>
<dd><p>Solaris 6</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_7">
<code class="descname">SOLARIS_7</code><em class="property"> = GuestOS(string='SOLARIS_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_7" title="Permalink to this definition"></a></dt>
<dd><p>Solaris 7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_8">
<code class="descname">SOLARIS_8</code><em class="property"> = GuestOS(string='SOLARIS_8')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_8" title="Permalink to this definition"></a></dt>
<dd><p>Solaris 8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_9">
<code class="descname">SOLARIS_9</code><em class="property"> = GuestOS(string='SOLARIS_9')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_9" title="Permalink to this definition"></a></dt>
<dd><p>Solaris 9</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SUSE">
<code class="descname">SUSE</code><em class="property"> = GuestOS(string='SUSE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SUSE" title="Permalink to this definition"></a></dt>
<dd><p>Suse Linux</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.SUSE_64">
<code class="descname">SUSE_64</code><em class="property"> = GuestOS(string='SUSE_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SUSE_64" title="Permalink to this definition"></a></dt>
<dd><p>Suse Linux (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX">
<code class="descname">TURBO_LINUX</code><em class="property"> = GuestOS(string='TURBO_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX" title="Permalink to this definition"></a></dt>
<dd><p>Turbolinux</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX_64">
<code class="descname">TURBO_LINUX_64</code><em class="property"> = GuestOS(string='TURBO_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX_64" title="Permalink to this definition"></a></dt>
<dd><p>Turbolinux (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.UBUNTU">
<code class="descname">UBUNTU</code><em class="property"> = GuestOS(string='UBUNTU')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.UBUNTU" title="Permalink to this definition"></a></dt>
<dd><p>Ubuntu Linux</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.UBUNTU_64">
<code class="descname">UBUNTU_64</code><em class="property"> = GuestOS(string='UBUNTU_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.UBUNTU_64" title="Permalink to this definition"></a></dt>
<dd><p>Ubuntu Linux (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.UNIXWARE_7">
<code class="descname">UNIXWARE_7</code><em class="property"> = GuestOS(string='UNIXWARE_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.UNIXWARE_7" title="Permalink to this definition"></a></dt>
<dd><p>SCO UnixWare 7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMKERNEL">
<code class="descname">VMKERNEL</code><em class="property"> = GuestOS(string='VMKERNEL')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL" title="Permalink to this definition"></a></dt>
<dd><p>VMware ESX 4</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_5">
<code class="descname">VMKERNEL_5</code><em class="property"> = GuestOS(string='VMKERNEL_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_5" title="Permalink to this definition"></a></dt>
<dd><p>VMware ESX 5</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_6">
<code class="descname">VMKERNEL_6</code><em class="property"> = GuestOS(string='VMKERNEL_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_6" title="Permalink to this definition"></a></dt>
<dd><p>VMware ESX 6</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_65">
<code class="descname">VMKERNEL_65</code><em class="property"> = GuestOS(string='VMKERNEL_65')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_65" title="Permalink to this definition"></a></dt>
<dd><p>VMware ESX 6.5</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMWARE_PHOTON_64">
<code class="descname">VMWARE_PHOTON_64</code><em class="property"> = GuestOS(string='VMWARE_PHOTON_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMWARE_PHOTON_64" title="Permalink to this definition"></a></dt>
<dd><p>VMware Photon (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7">
<code class="descname">WINDOWS_7</code><em class="property"> = GuestOS(string='WINDOWS_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7" title="Permalink to this definition"></a></dt>
<dd><p>Windows 7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_64">
<code class="descname">WINDOWS_7_64</code><em class="property"> = GuestOS(string='WINDOWS_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows 7 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_SERVER_64">
<code class="descname">WINDOWS_7_SERVER_64</code><em class="property"> = GuestOS(string='WINDOWS_7_SERVER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_SERVER_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows Server 2008 R2 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8">
<code class="descname">WINDOWS_8</code><em class="property"> = GuestOS(string='WINDOWS_8')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8" title="Permalink to this definition"></a></dt>
<dd><p>Windows 8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_64">
<code class="descname">WINDOWS_8_64</code><em class="property"> = GuestOS(string='WINDOWS_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows 8 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_SERVER_64">
<code class="descname">WINDOWS_8_SERVER_64</code><em class="property"> = GuestOS(string='WINDOWS_8_SERVER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_SERVER_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows 8 Server (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9">
<code class="descname">WINDOWS_9</code><em class="property"> = GuestOS(string='WINDOWS_9')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9" title="Permalink to this definition"></a></dt>
<dd><p>Windows 10</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_64">
<code class="descname">WINDOWS_9_64</code><em class="property"> = GuestOS(string='WINDOWS_9_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows 10 (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_SERVER_64">
<code class="descname">WINDOWS_9_SERVER_64</code><em class="property"> = GuestOS(string='WINDOWS_9_SERVER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_SERVER_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows 10 Server (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_HYPERV">
<code class="descname">WINDOWS_HYPERV</code><em class="property"> = GuestOS(string='WINDOWS_HYPERV')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_HYPERV" title="Permalink to this definition"></a></dt>
<dd><p>Windows Hyper-V</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_2000_ADV_SERV">
<code class="descname">WIN_2000_ADV_SERV</code><em class="property"> = GuestOS(string='WIN_2000_ADV_SERV')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_2000_ADV_SERV" title="Permalink to this definition"></a></dt>
<dd><p>Windows 2000 Advanced Server</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_2000_PRO">
<code class="descname">WIN_2000_PRO</code><em class="property"> = GuestOS(string='WIN_2000_PRO')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_2000_PRO" title="Permalink to this definition"></a></dt>
<dd><p>Windows 2000 Professional</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_2000_SERV">
<code class="descname">WIN_2000_SERV</code><em class="property"> = GuestOS(string='WIN_2000_SERV')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_2000_SERV" title="Permalink to this definition"></a></dt>
<dd><p>Windows 2000 Server</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_31">
<code class="descname">WIN_31</code><em class="property"> = GuestOS(string='WIN_31')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_31" title="Permalink to this definition"></a></dt>
<dd><p>Windows 3.1</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_95">
<code class="descname">WIN_95</code><em class="property"> = GuestOS(string='WIN_95')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_95" title="Permalink to this definition"></a></dt>
<dd><p>Windows 95</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_98">
<code class="descname">WIN_98</code><em class="property"> = GuestOS(string='WIN_98')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_98" title="Permalink to this definition"></a></dt>
<dd><p>Windows 98</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN">
<code class="descname">WIN_LONGHORN</code><em class="property"> = GuestOS(string='WIN_LONGHORN')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN" title="Permalink to this definition"></a></dt>
<dd><p>Windows Longhorn (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN_64">
<code class="descname">WIN_LONGHORN_64</code><em class="property"> = GuestOS(string='WIN_LONGHORN_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows Longhorn (64 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_ME">
<code class="descname">WIN_ME</code><em class="property"> = GuestOS(string='WIN_ME')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_ME" title="Permalink to this definition"></a></dt>
<dd><p>Windows Millennium Edition</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_BUSINESS">
<code class="descname">WIN_NET_BUSINESS</code><em class="property"> = GuestOS(string='WIN_NET_BUSINESS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_BUSINESS" title="Permalink to this definition"></a></dt>
<dd><p>Windows Small Business Server 2003</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_DATACENTER">
<code class="descname">WIN_NET_DATACENTER</code><em class="property"> = GuestOS(string='WIN_NET_DATACENTER')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_DATACENTER" title="Permalink to this definition"></a></dt>
<dd><p>Windows Server 2003, Datacenter Edition</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_DATACENTER_64">
<code class="descname">WIN_NET_DATACENTER_64</code><em class="property"> = GuestOS(string='WIN_NET_DATACENTER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_DATACENTER_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows Server 2003, Datacenter Edition (64 bit) (experimental)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_ENTERPRISE">
<code class="descname">WIN_NET_ENTERPRISE</code><em class="property"> = GuestOS(string='WIN_NET_ENTERPRISE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_ENTERPRISE" title="Permalink to this definition"></a></dt>
<dd><p>Windows Server 2003, Enterprise Edition</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_ENTERPRISE_64">
<code class="descname">WIN_NET_ENTERPRISE_64</code><em class="property"> = GuestOS(string='WIN_NET_ENTERPRISE_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_ENTERPRISE_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows Server 2003, Enterprise Edition (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_STANDARD">
<code class="descname">WIN_NET_STANDARD</code><em class="property"> = GuestOS(string='WIN_NET_STANDARD')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_STANDARD" title="Permalink to this definition"></a></dt>
<dd><p>Windows Server 2003, Standard Edition</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_STANDARD_64">
<code class="descname">WIN_NET_STANDARD_64</code><em class="property"> = GuestOS(string='WIN_NET_STANDARD_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_STANDARD_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows Server 2003, Standard Edition (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_WEB">
<code class="descname">WIN_NET_WEB</code><em class="property"> = GuestOS(string='WIN_NET_WEB')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_WEB" title="Permalink to this definition"></a></dt>
<dd><p>Windows Server 2003, Web Edition</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NT">
<code class="descname">WIN_NT</code><em class="property"> = GuestOS(string='WIN_NT')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NT" title="Permalink to this definition"></a></dt>
<dd><p>Windows NT 4</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA">
<code class="descname">WIN_VISTA</code><em class="property"> = GuestOS(string='WIN_VISTA')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA" title="Permalink to this definition"></a></dt>
<dd><p>Windows Vista</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA_64">
<code class="descname">WIN_VISTA_64</code><em class="property"> = GuestOS(string='WIN_VISTA_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows Vista (64 bit)</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_XP_HOME">
<code class="descname">WIN_XP_HOME</code><em class="property"> = GuestOS(string='WIN_XP_HOME')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_XP_HOME" title="Permalink to this definition"></a></dt>
<dd><p>Windows XP Home Edition</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_XP_PRO">
<code class="descname">WIN_XP_PRO</code><em class="property"> = GuestOS(string='WIN_XP_PRO')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_XP_PRO" title="Permalink to this definition"></a></dt>
<dd><p>Windows XP Professional</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_XP_PRO_64">
<code class="descname">WIN_XP_PRO_64</code><em class="property"> = GuestOS(string='WIN_XP_PRO_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_XP_PRO_64" title="Permalink to this definition"></a></dt>
<dd><p>Windows XP Professional Edition (64 bit)</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">GuestOSFamily</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">GuestOSFamily</span></code> class defines the valid guest operating system family
types reported by a virtual machine. This enumeration was added in vSphere
API 6.7</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <a class="reference internal" href="#com.vmware.vcenter.vm_client.GuestOSFamily" title="com.vmware.vcenter.vm_client.GuestOSFamily"><code class="xref py py-class docutils literal notranslate"><span class="pre">GuestOSFamily</span></code></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.DARWIN">
<code class="descname">DARWIN</code><em class="property"> = GuestOSFamily(string='DARWIN')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.DARWIN" title="Permalink to this definition"></a></dt>
<dd><p>Mac OS operating system. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.LINUX">
<code class="descname">LINUX</code><em class="property"> = GuestOSFamily(string='LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.LINUX" title="Permalink to this definition"></a></dt>
<dd><p>Linux operating system. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.NETWARE">
<code class="descname">NETWARE</code><em class="property"> = GuestOSFamily(string='NETWARE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.NETWARE" title="Permalink to this definition"></a></dt>
<dd><p>Novell Netware. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.OTHER">
<code class="descname">OTHER</code><em class="property"> = GuestOSFamily(string='OTHER')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.OTHER" title="Permalink to this definition"></a></dt>
<dd><p>Other operating systems. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.SOLARIS">
<code class="descname">SOLARIS</code><em class="property"> = GuestOSFamily(string='SOLARIS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.SOLARIS" title="Permalink to this definition"></a></dt>
<dd><p>Solaris operating system. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.WINDOWS">
<code class="descname">WINDOWS</code><em class="property"> = GuestOSFamily(string='WINDOWS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.WINDOWS" title="Permalink to this definition"></a></dt>
<dd><p>Windows operating system. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.Hardware">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">Hardware</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware</span></code> class provides methods for configuring the virtual
hardware of a virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.Hardware.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>version=None</em>, <em>upgrade_policy=None</em>, <em>upgrade_version=None</em>, <em>upgrade_status=None</em>, <em>upgrade_error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.Info</span></code> class contains information related to the virtual
hardware of a virtual machine.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>version</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.Version" title="com.vmware.vcenter.vm_client.Hardware.Version"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.Version</span></code></a>) Virtual hardware version.</li>
<li><strong>upgrade_policy</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy" title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.UpgradePolicy</span></code></a>) Scheduled upgrade policy.</li>
<li><strong>upgrade_version</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.Version" title="com.vmware.vcenter.vm_client.Hardware.Version"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.Version</span></code></a>) Target hardware version to be used on the next scheduled virtual
hardware upgrade.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">upgradePolicy</span></code> is one of
<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN" title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN</span></code></a> or
<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.ALWAYS" title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.ALWAYS"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Hardware.UpgradePolicy.ALWAYS</span></code></a>.</li>
<li><strong>upgrade_status</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus" title="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.UpgradeStatus</span></code></a>) Scheduled upgrade status.</li>
<li><strong>upgrade_error</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">Exception</span></code>) Reason for the scheduled upgrade failure.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">upgradeStatus</span></code> is <a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.FAILED" title="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.FAILED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Hardware.UpgradeStatus.FAILED</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpdateSpec">
<em class="property">class </em><code class="descname">UpdateSpec</code><span class="sig-paren">(</span><em>upgrade_policy=None</em>, <em>upgrade_version=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpdateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.UpdateSpec</span></code> class describes the updates to virtual hardware
settings of a virtual machine.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>upgrade_policy</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy" title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.UpgradePolicy</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Scheduled upgrade policy.</p>
<p>If set to <a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER" title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Hardware.UpgradePolicy.NEVER</span></code></a>, the
<code class="xref py py-attr docutils literal notranslate"><span class="pre">Hardware.Info.upgrade_version</span></code> attribute will be reset to
None.
If None, the value is unchanged.</p>
</li>
<li><strong>upgrade_version</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.Version" title="com.vmware.vcenter.vm_client.Hardware.Version"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.Version</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Target hardware version to be used on the next scheduled virtual
hardware upgrade.</p>
<p>If specified, this attribute must represent a newer virtual
hardware version than the current virtual hardware version reported
in <code class="xref py py-attr docutils literal notranslate"><span class="pre">Hardware.Info.version</span></code>.
If <code class="xref py py-attr docutils literal notranslate"><span class="pre">Hardware.UpdateSpec.upgrade_policy</span></code> is set to
<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER" title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Hardware.UpgradePolicy.NEVER</span></code></a>, this attribute must be None.
Otherwise, if this attribute is None, default to the most recent
virtual hardware version supported by the server.</p>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy">
<em class="property">class </em><code class="descname">UpgradePolicy</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.UpgradePolicy</span></code> class defines the valid virtual hardware
upgrade policies for a virtual machine.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">UpgradePolicy</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN">
<code class="descname">AFTER_CLEAN_SHUTDOWN</code><em class="property"> = UpgradePolicy(string='AFTER_CLEAN_SHUTDOWN')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN" title="Permalink to this definition"></a></dt>
<dd><p>Run scheduled upgrade when the virtual machine is powered on after a clean
shutdown of the guest operating system.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.ALWAYS">
<code class="descname">ALWAYS</code><em class="property"> = UpgradePolicy(string='ALWAYS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.ALWAYS" title="Permalink to this definition"></a></dt>
<dd><p>Run scheduled upgrade when the virtual machine is powered on.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER">
<code class="descname">NEVER</code><em class="property"> = UpgradePolicy(string='NEVER')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER" title="Permalink to this definition"></a></dt>
<dd><p>Do not upgrade the virtual machine when it is powered on.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus">
<em class="property">class </em><code class="descname">UpgradeStatus</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.UpgradeStatus</span></code> class defines the valid virtual hardware
upgrade statuses for a virtual machine.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">UpgradeStatus</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.FAILED">
<code class="descname">FAILED</code><em class="property"> = UpgradeStatus(string='FAILED')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.FAILED" title="Permalink to this definition"></a></dt>
<dd><p>The most recent scheduled upgrade was not successful.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.NONE">
<code class="descname">NONE</code><em class="property"> = UpgradeStatus(string='NONE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.NONE" title="Permalink to this definition"></a></dt>
<dd><p>No scheduled upgrade has been attempted.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.PENDING">
<code class="descname">PENDING</code><em class="property"> = UpgradeStatus(string='PENDING')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.PENDING" title="Permalink to this definition"></a></dt>
<dd><p>Upgrade is scheduled but has not yet been run.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.SUCCESS">
<code class="descname">SUCCESS</code><em class="property"> = UpgradeStatus(string='SUCCESS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.SUCCESS" title="Permalink to this definition"></a></dt>
<dd><p>The most recent scheduled upgrade was successful.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version">
<em class="property">class </em><code class="descname">Version</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.Version</span></code> class defines the valid virtual hardware versions
for a virtual machine.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">Version</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_03">
<code class="descname">VMX_03</code><em class="property"> = Version(string='VMX_03')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_03" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 3.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_04">
<code class="descname">VMX_04</code><em class="property"> = Version(string='VMX_04')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_04" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 4.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_06">
<code class="descname">VMX_06</code><em class="property"> = Version(string='VMX_06')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_06" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 6.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_07">
<code class="descname">VMX_07</code><em class="property"> = Version(string='VMX_07')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_07" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 7.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_08">
<code class="descname">VMX_08</code><em class="property"> = Version(string='VMX_08')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_08" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 8.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_09">
<code class="descname">VMX_09</code><em class="property"> = Version(string='VMX_09')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_09" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 9.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_10">
<code class="descname">VMX_10</code><em class="property"> = Version(string='VMX_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_10" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 10.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_11">
<code class="descname">VMX_11</code><em class="property"> = Version(string='VMX_11')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_11" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 11.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_12">
<code class="descname">VMX_12</code><em class="property"> = Version(string='VMX_12')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_12" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 12.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_13">
<code class="descname">VMX_13</code><em class="property"> = Version(string='VMX_13')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_13" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 13.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_14">
<code class="descname">VMX_14</code><em class="property"> = Version(string='VMX_14')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_14" title="Permalink to this definition"></a></dt>
<dd><p>Hardware version 14. This class attribute was added in vSphere API 6.7</p>
</dd></dl>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Hardware.get">
<code class="descname">get</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.get" title="Permalink to this definition"></a></dt>
<dd><p>Returns the virtual hardware settings of a virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Virtual machine identifier.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.Info" title="com.vmware.vcenter.vm_client.Hardware.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.Info</span></code></a></td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Virtual hardware settings of the virtual machine.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if the virtual machines configuration state cannot be accessed.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Hardware.update">
<code class="descname">update</code><span class="sig-paren">(</span><em>vm</em>, <em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.update" title="Permalink to this definition"></a></dt>
<dd><p>Updates the virtual hardware settings of a virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Virtual machine identifier.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
<li><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpdateSpec" title="com.vmware.vcenter.vm_client.Hardware.UpdateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.UpdateSpec</span></code></a>) Specification for updating the virtual hardware settings of the
virtual machine.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the virtual machine is not found.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
if the virtual machine is already configured for the desired
hardware version.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if the requested virtual hardware version is not newer than the
current version.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
if the requested virtual hardware version is not supported by the
server.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
if the virtual machine is busy performing another operation.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if the virtual machines configuration state cannot be accessed.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Hardware.upgrade">
<code class="descname">upgrade</code><span class="sig-paren">(</span><em>vm</em>, <em>version=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.upgrade" title="Permalink to this definition"></a></dt>
<dd><p>Upgrades the virtual machine to a newer virtual hardware version.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Virtual machine identifier.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
<li><strong>version</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.Version" title="com.vmware.vcenter.vm_client.Hardware.Version"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.Version</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) New virtual machine version.
If None, defaults to the most recent virtual hardware version
supported by the server.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the virtual machine is not found.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the virtual machine is not powered off.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
if the virtual machine is already configured for the desired
hardware version.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if <code class="docutils literal notranslate"><span class="pre">version</span></code> is older than the current virtual hardware version.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
if <code class="docutils literal notranslate"><span class="pre">version</span></code> is not supported by the server.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
if the virtual machine is busy performing another operation.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if the virtual machines configuration state cannot be accessed.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.Power">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">Power</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Power</span></code> class provides methods for managing the power state of a
virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.Power.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>state=None</em>, <em>clean_power_off=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Power.Info</span></code> class contains information about the power state of a
virtual machine.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>state</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Power.State" title="com.vmware.vcenter.vm_client.Power.State"><code class="xref py py-class docutils literal notranslate"><span class="pre">Power.State</span></code></a>) Power state of the virtual machine.</li>
<li><strong>clean_power_off</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Flag indicating whether the virtual machine was powered off
cleanly. This attribute may be used to detect that the virtual
machine crashed unexpectedly and should be restarted.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">state</span></code> is <a class="reference internal" href="#com.vmware.vcenter.vm_client.Power.State.POWERED_OFF" title="com.vmware.vcenter.vm_client.Power.State.POWERED_OFF"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Power.State.POWERED_OFF</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.Power.State">
<em class="property">class </em><code class="descname">State</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.State" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">Power.State</span></code> class defines the valid power states for a virtual
machine.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">State</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Power.State.POWERED_OFF">
<code class="descname">POWERED_OFF</code><em class="property"> = State(string='POWERED_OFF')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.State.POWERED_OFF" title="Permalink to this definition"></a></dt>
<dd><p>The virtual machine is powered off.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Power.State.POWERED_ON">
<code class="descname">POWERED_ON</code><em class="property"> = State(string='POWERED_ON')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.State.POWERED_ON" title="Permalink to this definition"></a></dt>
<dd><p>The virtual machine is powered on.</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Power.State.SUSPENDED">
<code class="descname">SUSPENDED</code><em class="property"> = State(string='SUSPENDED')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.State.SUSPENDED" title="Permalink to this definition"></a></dt>
<dd><p>The virtual machine is suspended.</p>
</dd></dl>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Power.get">
<code class="descname">get</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.get" title="Permalink to this definition"></a></dt>
<dd><p>Returns the power state information of a virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Virtual machine identifier.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.vm_client.Power.Info" title="com.vmware.vcenter.vm_client.Power.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Power.Info</span></code></a></td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Power state information for the specified virtual machine.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if the virtual machines configuration or execution state cannot be
accessed.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Power.reset">
<code class="descname">reset</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.reset" title="Permalink to this definition"></a></dt>
<dd><p>Resets a powered-on virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Virtual machine identifier.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the virtual machine is powered off or suspended.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
if the virtual machine is performing another operation</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Power.start">
<code class="descname">start</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.start" title="Permalink to this definition"></a></dt>
<dd><p>Powers on a powered-off or suspended virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Virtual machine identifier.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
if the virtual machine is already powered on.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
if the virtual machine does not support being powered on (e.g.
marked as a template, serving as a fault-tolerance secondary
virtual machine).</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
if resources cannot be allocated for the virtual machine (e.g.
physical resource allocation policy cannot be satisfied,
insufficient licenses are available to run the virtual machine).</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if resources required by the virtual machine are not accessible
(e.g. virtual machine configuration files or virtual disks are on
inaccessible storage, no hosts are available to run the virtual
machine).</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInUse</span></code>
if resources required by the virtual machine are in use (e.g.
virtual machine configuration files or virtual disks are locked,
host containing the virtual machine is an HA failover host).</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
if the virtual machine is performing another operation.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Power.stop">
<code class="descname">stop</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.stop" title="Permalink to this definition"></a></dt>
<dd><p>Powers off a powered-on or suspended virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Virtual machine identifier.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
if the virtual machine is already powered off.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
if the virtual machine is performing another operation.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Power.suspend">
<code class="descname">suspend</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.suspend" title="Permalink to this definition"></a></dt>
<dd><p>Suspends a powered-on virtual machine.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Virtual machine identifier.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
if the virtual machine is already suspended.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the virtual machine is powered off.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
if the virtual machine is performing another operation.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if the system is unable to communicate with a service to complete
the request.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user can not be authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user doesnt have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.vm_template_client">
<span id="com-vmware-vcenter-vm-template-client-module"></span><h2>com.vmware.vcenter.vm_template_client module<a class="headerlink" href="#module-com.vmware.vcenter.vm_template_client" title="Permalink to this headline"></a></h2>
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm_template_client</span></code> module provides classes and
classes that will let its client manage VMTX template in Content Library.</p>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_template_client.</code><code class="descname">LibraryItems</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems</span></code> class provides methods to deploy virtual machines from
library items containing virtual machine templates, as well as methods to
create library items containing virtual machine templates. The
<code class="docutils literal notranslate"><span class="pre">LibraryItems</span></code> class also provides an operation to retrieve information
about the template contained in the library item. This class was added in
vSphere API 6.8</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CpuInfo">
<em class="property">class </em><code class="descname">CpuInfo</code><span class="sig-paren">(</span><em>count=None</em>, <em>cores_per_socket=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CpuInfo</span></code> class contains CPU related information about
the virtual machine template. This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>count</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) Number of CPU cores. This attribute was added in vSphere API 6.8</li>
<li><strong>cores_per_socket</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) Number of CPU cores per socket. This attribute was added in vSphere
API 6.8</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CpuUpdateSpec">
<em class="property">class </em><code class="descname">CpuUpdateSpec</code><span class="sig-paren">(</span><em>num_cpus=None</em>, <em>num_cores_per_socket=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuUpdateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CpuUpdateSpec</span></code> class describes updates to the CPU
configuration of the deployed virtual machine. This class was added in
vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>num_cpus</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Number of virtual processors in the deployed virtual machine. This
attribute was added in vSphere API 6.8
If {\&#64;term.unset}, the deployed virtual machine has the same CPU
count as the source virtual machine template contained in the
library item.</li>
<li><strong>num_cores_per_socket</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Number of cores among which to distribute CPUs in the deployed
virtual machine. This attribute was added in vSphere API 6.8
If {\&#64;term.unset}, the deployed virtual machine has the same
number of cores per socket as the source virtual machine template
contained in the library item.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreatePlacementSpec">
<em class="property">class </em><code class="descname">CreatePlacementSpec</code><span class="sig-paren">(</span><em>folder=None</em>, <em>resource_pool=None</em>, <em>host=None</em>, <em>cluster=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreatePlacementSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec</span></code> class contains information used to
place a virtual machine template onto resources within the vCenter
inventory. This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>folder</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Virtual machine folder into which the virtual machine template
should be placed. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Folder</span></code>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Folder</span></code>.
If None, the virtual machine template will be placed in the same
folder as the source virtual machine.</li>
<li><strong>resource_pool</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Resource pool into which the virtual machine template should be
placed. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code>.
If None, the system will attempt to choose a suitable resource pool
for the virtual machine template; if a resource pool cannot be
chosen, the library item creation operation will fail.</li>
<li><strong>host</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Host onto which the virtual machine template should be placed. If
<code class="docutils literal notranslate"><span class="pre">host</span></code> and <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> are both specified, <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code>
must belong to <code class="docutils literal notranslate"><span class="pre">host</span></code>. If <code class="docutils literal notranslate"><span class="pre">host</span></code> and <code class="docutils literal notranslate"><span class="pre">cluster</span></code> are both
specified, <code class="docutils literal notranslate"><span class="pre">host</span></code> must be a member of <code class="docutils literal notranslate"><span class="pre">cluster</span></code>. This attribute
was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">HostSystem</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code>.
This attribute may be None if <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> or <code class="docutils literal notranslate"><span class="pre">cluster</span></code> is
specified. If None, the system will attempt to choose a suitable
host for the virtual machine template; if a host cannot be chosen,
the library item creation operation will fail.</li>
<li><strong>cluster</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Cluster onto which the virtual machine template should be placed.
If <code class="docutils literal notranslate"><span class="pre">cluster</span></code> and <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> are both specified,
<code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> must belong to <code class="docutils literal notranslate"><span class="pre">cluster</span></code>. If <code class="docutils literal notranslate"><span class="pre">cluster</span></code> and
<code class="docutils literal notranslate"><span class="pre">host</span></code> are both specified, <code class="docutils literal notranslate"><span class="pre">host</span></code> must be a member of
<code class="docutils literal notranslate"><span class="pre">cluster</span></code>. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">ClusterComputeResource</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <code class="docutils literal notranslate"><span class="pre">ClusterComputeResource</span></code>.
If <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> or <code class="docutils literal notranslate"><span class="pre">host</span></code> is specified, it is recommended
that this attribute be None.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec">
<em class="property">class </em><code class="descname">CreateSpec</code><span class="sig-paren">(</span><em>source_vm=None</em>, <em>name=None</em>, <em>description=None</em>, <em>library=None</em>, <em>vm_home_storage=None</em>, <em>disk_storage=None</em>, <em>disk_storage_overrides=None</em>, <em>placement=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec</span></code> class defines the information required to
create a library item containing a virtual machine template. This class was
added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>source_vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the source virtual machine to create the library item
from. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Name of the library item. This attribute was added in vSphere API
6.8</li>
<li><strong>description</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Description of the library item. This attribute was added in
vSphere API 6.8
If None, the newly created library item has the same description as
the source virtual machine.</li>
<li><strong>library</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the library in which the new library item should be
created. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.Library</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.content.Library</span></code>.</li>
<li><strong>vm_home_storage</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStorage" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStorage"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStorage</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Storage location for the virtual machine templates configuration
and log files. This attribute was added in vSphere API 6.8
If None, the virtual machine templates configuration and log files
are placed on the default storage backing associated with the
library specified by <code class="docutils literal notranslate"><span class="pre">library</span></code>.</li>
<li><strong>disk_storage</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStorage</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Storage specification for the virtual machine templates disks.
This attribute was added in vSphere API 6.8
If both <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> are None, the
virtual machine templates disks are placed in the default storage
backing associated with the library specified by <code class="docutils literal notranslate"><span class="pre">library</span></code>.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> is None and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> is
specified, all of the virtual machine templates disks are created
with the storage spec specified by <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code>.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> is specified and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> is
None, disks with identifiers that are not in
<code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> are placed in the default storage backing
associated with the library specified by <code class="docutils literal notranslate"><span class="pre">library</span></code>.</p>
<p>If both <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> are specified,
disks with identifiers that are not in <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> are
created with the storage spec specified by <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code>.</p>
</li>
<li><strong>disk_storage_overrides</strong> ((<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStorage</span></code></a>) or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Storage specification for individual disks in the virtual machine
template. This is specified as a mapping between disk identifiers
in the source virtual machine and their respective storage
specifications. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the key in
the attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> must be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>. When methods return
a value of this class as a return value, the key in the attribute
<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>.
If both <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> are None, the
virtual machine templates disks are placed in the default storage
backing associated with the library specified by <code class="docutils literal notranslate"><span class="pre">library</span></code>.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> is None and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> is
specified, all of the virtual machine templates disks are created
with the storage spec specified by <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code>.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> is specified and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> is
None, disks with identifiers that are not in
<code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> are placed in the default storage backing
associated with the library specified by <code class="docutils literal notranslate"><span class="pre">library</span></code>.</p>
<p>If both <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> are specified,
disks with identifiers that are not in <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> are
created with the storage spec specified by <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code>.</p>
</li>
<li><strong>placement</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreatePlacementSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreatePlacementSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Information used to place the virtual machine template. This
attribute was added in vSphere API 6.8
This attribute is currently required. In the future, if this
attribute is None, the system will place the virtual machine
template on a suitable resource.</p>
<p>If specified, each attribute will be used for placement. If the
attributes result in disjoint placement, the operation will fail.
If the attributes along with the placement values of the source
virtual machine result in disjoint placement, the operation will
fail.</p>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage">
<em class="property">class </em><code class="descname">CreateSpecDiskStorage</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStorage</span></code> class defines the storage
specification for a virtual machine templates disks. This class was added
in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>datastore</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Identifier for the datastore associated with a virtual machine
templates disk. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.
This attribute is currently required. If None, <code class="docutils literal notranslate"><span class="pre">storagePolicy</span></code>
must be set. The server picks a datastore that is compatible with
the specified storage policy.</p>
<p>If both <code class="docutils literal notranslate"><span class="pre">datastore</span></code> and <code class="docutils literal notranslate"><span class="pre">storagePolicy</span></code> are specified, and the
storage policy is incompatible with the <code class="docutils literal notranslate"><span class="pre">datastore</span></code>, then the
disk will be flagged as being out of compliance with the specified
storage policy.</p>
</li>
<li><strong>storage_policy</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStoragePolicy</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Storage policy for a virtual machine templates disk. This
attribute was added in vSphere API 6.8
If None, <code class="docutils literal notranslate"><span class="pre">datastore</span></code> must be specified and the virtual machine
templates disk is created with the default storage policy
associated with the <code class="docutils literal notranslate"><span class="pre">datastore</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy">
<em class="property">class </em><code class="descname">CreateSpecDiskStoragePolicy</code><span class="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStoragePolicy</span></code> class defines the storage
policy specification for a virtual machine templates disks. This class was
added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>type</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStoragePolicy.Type</span></code></a>) Policy type to be used when creating a virtual machine templates
disk. This attribute was added in vSphere API 6.8</li>
<li><strong>policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier for the storage policy to use. This attribute was added
in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">type</span></code> is
<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY"><code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type">
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>Policy type for a virtual machine templates disk. This enumeration was
added in vSphere API 6.8</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">Type</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY">
<code class="descname">USE_SPECIFIED_POLICY</code><em class="property"> = Type(string='USE_SPECIFIED_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY" title="Permalink to this definition"></a></dt>
<dd><p>Use the specified policy. This class attribute was added in vSphere API 6.8</p>
</dd></dl>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStorage">
<em class="property">class </em><code class="descname">CreateSpecVmHomeStorage</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStorage" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStorage</span></code> class defines the storage
specification for a virtual machine templates configuration and log files.
This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>datastore</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Identifier of the datastore for the virtual machine templates
configuration and log files. This attribute was added in vSphere
API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.
This attribute is currently required. If None, <code class="docutils literal notranslate"><span class="pre">storagePolicy</span></code>
must be set. The server picks a datastore that is compatible with
the specified storage policy.</p>
<p>If both <code class="docutils literal notranslate"><span class="pre">datastore</span></code> and <code class="docutils literal notranslate"><span class="pre">storagePolicy</span></code> are specified, and the
storage policy is incompatible with the <code class="docutils literal notranslate"><span class="pre">datastore</span></code>, then the
virtual machine template will be flagged as being out of compliance
with the specified storage policy.</p>
</li>
<li><strong>storage_policy</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStoragePolicy</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Storage policy for the virtual machine templates configuration and
log files. This attribute was added in vSphere API 6.8
If None, <code class="docutils literal notranslate"><span class="pre">datastore</span></code> must be specified and the virtual machine
templates configuration and log files are created with the default
storage policy associated with the <code class="docutils literal notranslate"><span class="pre">datastore</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy">
<em class="property">class </em><code class="descname">CreateSpecVmHomeStoragePolicy</code><span class="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStoragePolicy</span></code> class defines the
storage policy specification for a virtual machine templates configuration
and log files. This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>type</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStoragePolicy.Type</span></code></a>) Policy type to be used when creating the virtual machine templates
configuration and log files. This attribute was added in vSphere
API 6.8</li>
<li><strong>policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier for the storage policy to use. This attribute was added
in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">type</span></code> is
<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY"><code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type">
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>Policy type for the virtual machine templates configuration and log files.
This enumeration was added in vSphere API 6.8</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">Type</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY">
<code class="descname">USE_SPECIFIED_POLICY</code><em class="property"> = Type(string='USE_SPECIFIED_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY" title="Permalink to this definition"></a></dt>
<dd><p>Use the specified policy. This class attribute was added in vSphere API 6.8</p>
</dd></dl>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeployPlacementSpec">
<em class="property">class </em><code class="descname">DeployPlacementSpec</code><span class="sig-paren">(</span><em>folder=None</em>, <em>resource_pool=None</em>, <em>host=None</em>, <em>cluster=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeployPlacementSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec</span></code> class contains information used to
place a virtual machine onto resources within the vCenter inventory. This
class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>folder</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Virtual machine folder into which the deployed virtual machine
should be placed. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Folder</span></code>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Folder</span></code>.
This attribute is currently required.</p>
<p>If None, the system will attempt to choose a suitable folder for
the virtual machine; if a folder cannot be chosen, the virtual
machine deployment operation will fail.</p>
</li>
<li><strong>resource_pool</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Resource pool into which the deployed virtual machine should be
placed. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code>.
If None, the system will attempt to choose a suitable resource pool
for the virtual machine; if a resource pool cannot be chosen, the
virtual machine deployment operation will fail.</li>
<li><strong>host</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Host onto which the virtual machine should be placed. If <code class="docutils literal notranslate"><span class="pre">host</span></code>
and <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> are both specified, <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> must
belong to <code class="docutils literal notranslate"><span class="pre">host</span></code>. If <code class="docutils literal notranslate"><span class="pre">host</span></code> and <code class="docutils literal notranslate"><span class="pre">cluster</span></code> are both specified,
<code class="docutils literal notranslate"><span class="pre">host</span></code> must be a member of <code class="docutils literal notranslate"><span class="pre">cluster</span></code>. This attribute was added
in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">HostSystem</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code>.
This attribute may be None if <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> or <code class="docutils literal notranslate"><span class="pre">cluster</span></code> is
specified. If None, the system will attempt to choose a suitable
host for the virtual machine; if a host cannot be chosen, the
virtual machine deployment operation will fail.</li>
<li><strong>cluster</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Cluster onto which the deployed virtual machine should be placed.
If <code class="docutils literal notranslate"><span class="pre">cluster</span></code> and <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> are both specified,
<code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> must belong to <code class="docutils literal notranslate"><span class="pre">cluster</span></code>. If <code class="docutils literal notranslate"><span class="pre">cluster</span></code> and
<code class="docutils literal notranslate"><span class="pre">host</span></code> are both specified, <code class="docutils literal notranslate"><span class="pre">host</span></code> must be a member of
<code class="docutils literal notranslate"><span class="pre">cluster</span></code>. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">ClusterComputeResource</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <code class="docutils literal notranslate"><span class="pre">ClusterComputeResource</span></code>.
If <code class="docutils literal notranslate"><span class="pre">resourcePool</span></code> or <code class="docutils literal notranslate"><span class="pre">host</span></code> is specified, it is recommended
that this attribute be None.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec">
<em class="property">class </em><code class="descname">DeploySpec</code><span class="sig-paren">(</span><em>name=None</em>, <em>description=None</em>, <em>vm_home_storage=None</em>, <em>disk_storage=None</em>, <em>disk_storage_overrides=None</em>, <em>placement=None</em>, <em>powered_on=None</em>, <em>guest_customization=None</em>, <em>hardware_customization=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec</span></code> class defines the deployment parameters
that can be specified for the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method. This class was added in
vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Name of the deployed virtual machine. This attribute was added in
vSphere API 6.8</li>
<li><strong>description</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Description of the deployed virtual machine. This attribute was
added in vSphere API 6.8
If None, the deployed virtual machine has the same description as
the source library item.</li>
<li><strong>vm_home_storage</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStorage" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStorage"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStorage</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Storage location for the deployed virtual machines configuration
and log files. This attribute was added in vSphere API 6.8
If None, the deployed virtual machines configuration and log files
are created with the same storage spec as the source virtual
machine templates configuration and log files.</li>
<li><strong>disk_storage</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStorage</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Storage specification for the deployed virtual machines disks.
This attribute was added in vSphere API 6.8
If both <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> are None, the
deployed virtual machines disks are created with the same storage
spec as the corresponding disks in the source virtual machine
template contained in the library item.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> is None and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> is
specified, all of the deployed virtual machines disks are created
with the storage spec specified by <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code>.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> is specified and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> is
None, disks with identifiers that are not in
<code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> are created with the same storage spec as
the corresponding disks in the source virtual machine template
contained in the library item.</p>
<p>If both <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> are specified,
disks with identifiers that are not in <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> are
created with the storage spec specified by <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code>.</p>
</li>
<li><strong>disk_storage_overrides</strong> ((<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStorage</span></code></a>) or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Storage specification for individual disks in the deployed virtual
machine. This is specified as a mapping between disk identifiers in
the source virtual machine template contained in the library item
and their storage specifications. This attribute was added in
vSphere API 6.8
When clients pass a value of this class as a parameter, the key in
the attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> must be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>. When methods return
a value of this class as a return value, the key in the attribute
<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>.
If both <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> are None, the
deployed virtual machines disks are created with the same storage
spec as the corresponding disks in the source virtual machine
template contained in the library item.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> is None and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> is
specified, all of the deployed virtual machines disks are created
with the storage spec specified by <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code>.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> is specified and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> is
None, disks with identifiers that are not in
<code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> are created with the same storage spec as
the corresponding disks in the source virtual machine template
contained in the library item.</p>
<p>If both <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> and <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code> are specified,
disks with identifiers that are not in <code class="docutils literal notranslate"><span class="pre">diskStorageOverrides</span></code> are
created with the storage spec specified by <code class="docutils literal notranslate"><span class="pre">diskStorage</span></code>.</p>
</li>
<li><strong>placement</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeployPlacementSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeployPlacementSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Information used to place the deployed virtual machine. This
attribute was added in vSphere API 6.8
This attribute is currently required. In the future, if this
attribute is None, the system will use the values from the source
virtual machine template contained in the library item.</p>
<p>If specified, each attribute will be used for placement. If the
attributes result in disjoint placement, the operation will fail.
If the attributes along with the placement values of the source
virtual machine template result in disjoint placement, the
operation will fail.</p>
</li>
<li><strong>powered_on</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Specifies whether the deployed virtual machine should be powered on
after deployment. This attribute was added in vSphere API 6.8
If None, the virtual machine will not be powered on after
deployment.</li>
<li><strong>guest_customization</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.GuestCustomizationSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.GuestCustomizationSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.GuestCustomizationSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Guest customization spec to apply to the deployed virtual machine.
This attribute was added in vSphere API 6.8
If None, the guest operating system is not customized after
deployment.</li>
<li><strong>hardware_customization</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.HardwareCustomizationSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.HardwareCustomizationSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.HardwareCustomizationSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Hardware customization spec which specifies updates to the deployed
virtual machine. This attribute was added in vSphere API 6.8
If None, the deployed virtual machine has the same hardware
configuration as the source virtual machine template contained in
the library item.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage">
<em class="property">class </em><code class="descname">DeploySpecDiskStorage</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStorage</span></code> class contains the storage
specification for disks in the virtual machine. This class was added in
vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>datastore</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Identifier for the datastore associated the deployed virtual
machines disk. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.
This attribute is currently required. If None, <code class="docutils literal notranslate"><span class="pre">storagePolicy</span></code>
must be set. The server picks a datastore that is compatible with
the specified storage policy.</p>
<p>If both <code class="docutils literal notranslate"><span class="pre">datastore</span></code> and <code class="docutils literal notranslate"><span class="pre">storagePolicy</span></code> are specified, and the
storage policy is incompatible with the <code class="docutils literal notranslate"><span class="pre">datastore</span></code>, then the
disk will be flagged as being out of compliance with the specified
storage policy.</p>
</li>
<li><strong>storage_policy</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStoragePolicy</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Storage policy for the deployed virtual machines disk. This
attribute was added in vSphere API 6.8
If None, <code class="docutils literal notranslate"><span class="pre">datastore</span></code> must be specified and the deployed virtual
machines disk is created with the default storage policy
associated with the <code class="docutils literal notranslate"><span class="pre">datastore</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy">
<em class="property">class </em><code class="descname">DeploySpecDiskStoragePolicy</code><span class="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStoragePolicy</span></code> class describes the
storage policy specification for the deployed virtual machines disks. This
class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>type</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStoragePolicy.Type</span></code></a>) Policy type to be used when creating the deployed virtual machines
disk. This attribute was added in vSphere API 6.8</li>
<li><strong>policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the storage policy to use. This attribute was added
in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">type</span></code> is
<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY"><code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type">
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>Policy type for the deployed virtual machines disk. This enumeration was
added in vSphere API 6.8</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">Type</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SOURCE_POLICY">
<code class="descname">USE_SOURCE_POLICY</code><em class="property"> = Type(string='USE_SOURCE_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SOURCE_POLICY" title="Permalink to this definition"></a></dt>
<dd><p>Use the storage policy that is associated with the corresponding disk in
the source virtual machine template. This class attribute was added in
vSphere API 6.8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY">
<code class="descname">USE_SPECIFIED_POLICY</code><em class="property"> = Type(string='USE_SPECIFIED_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY" title="Permalink to this definition"></a></dt>
<dd><p>Use the specified policy. This class attribute was added in vSphere API 6.8</p>
</dd></dl>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStorage">
<em class="property">class </em><code class="descname">DeploySpecVmHomeStorage</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStorage" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStorage</span></code> class defines the storage
specification for a deployed virtual machines configuration and log files.
This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>datastore</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Identifier of the datastore for the deployed virtual machines
configuration and log files. This attribute was added in vSphere
API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.
This attribute is currently required. If None, <code class="docutils literal notranslate"><span class="pre">storagePolicy</span></code>
must be set. The server picks a datastore that is compatible with
the specified storage policy.</p>
<p>If both <code class="docutils literal notranslate"><span class="pre">datastore</span></code> and <code class="docutils literal notranslate"><span class="pre">storagePolicy</span></code> are specified, and the
storage policy is incompatible with the <code class="docutils literal notranslate"><span class="pre">datastore</span></code>, then the
deployed virtual machine will be flagged as being out of compliance
with the specified storage policy.</p>
</li>
<li><strong>storage_policy</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStoragePolicy</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Storage policy for the deployed virtual machines configuration and
log files. This attribute was added in vSphere API 6.8
If None, <code class="docutils literal notranslate"><span class="pre">datastore</span></code> must be specified and the deployed virtual
machines configuration and log files are created with the default
storage policy associated with the <code class="docutils literal notranslate"><span class="pre">datastore</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy">
<em class="property">class </em><code class="descname">DeploySpecVmHomeStoragePolicy</code><span class="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStoragePolicy</span></code> class defines the
storage policy specification for the deployed virtual machines
configuration and log files. This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>type</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStoragePolicy.Type</span></code></a>) Policy type to be used when creating the deployed virtual machines
configuration and log files. This attribute was added in vSphere
API 6.8</li>
<li><strong>policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier for the storage policy to use. This attribute was added
in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>.
This attribute is optional and it is only relevant when the value
of <code class="docutils literal notranslate"><span class="pre">type</span></code> is
<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY"><code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type">
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>Policy type for the deployed virtual machines configuration and log files.
This enumeration was added in vSphere API 6.8</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">Type</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SOURCE_POLICY">
<code class="descname">USE_SOURCE_POLICY</code><em class="property"> = Type(string='USE_SOURCE_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SOURCE_POLICY" title="Permalink to this definition"></a></dt>
<dd><p>Use the storage policy that is associated with the source virtual machine
templates configuration and log files. This class attribute was added in
vSphere API 6.8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY">
<code class="descname">USE_SPECIFIED_POLICY</code><em class="property"> = Type(string='USE_SPECIFIED_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY" title="Permalink to this definition"></a></dt>
<dd><p>Use the specified policy. This class attribute was added in vSphere API 6.8</p>
</dd></dl>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DiskInfo">
<em class="property">class </em><code class="descname">DiskInfo</code><span class="sig-paren">(</span><em>capacity=None</em>, <em>disk_storage=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DiskInfo</span></code> class contains information about the virtual
machine templates virtual disk. This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>capacity</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Capacity of the virtual disk in bytes. This attribute was added in
vSphere API 6.8
This attribute will be None if the virtual disk is inaccessible.</li>
<li><strong>disk_storage</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskStorageInfo" title="com.vmware.vcenter.vm_template_client.LibraryItems.DiskStorageInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DiskStorageInfo</span></code></a>) Disk storage related information. This attribute was added in
vSphere API 6.8</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DiskStorageInfo">
<em class="property">class </em><code class="descname">DiskStorageInfo</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskStorageInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DiskStorageInfo</span></code> class contains storage related
information about a virtual machine templates virtual disk. This class was
added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>datastore</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the datastore where the disk is stored. This
attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</li>
<li><strong>storage_policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifier of the storage policy associated with the virtual disk.
This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>.
If None, the virtual disk does not have a storage policy associated
with it.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DiskUpdateSpec">
<em class="property">class </em><code class="descname">DiskUpdateSpec</code><span class="sig-paren">(</span><em>capacity=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskUpdateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DiskUpdateSpec</span></code> class describes updates to the
configuration of a virtual disk in the deployed virtual machine. This class
was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>capacity</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) Updated capacity of the virtual disk backing in bytes. This value
has to be larger than the original capacity of the disk. This
attribute was added in vSphere API 6.8</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo">
<em class="property">class </em><code class="descname">EthernetInfo</code><span class="sig-paren">(</span><em>backing_type=None</em>, <em>mac_type=None</em>, <em>network=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.EthernetInfo</span></code> class contains information about a
virtual machine templates virtual Ethernet adapter. This class was added
in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>backing_type</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType" title="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.EthernetInfo.NetworkBackingType</span></code></a>) Network backing type for the virtual Ethernet adapter. This
attribute was added in vSphere API 6.8</li>
<li><strong>mac_type</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType" title="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.EthernetInfo.MacAddressType</span></code></a>) MAC address type of the ethernet adapter. This attribute was added
in vSphere API 6.8</li>
<li><strong>network</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifier of the network backing the virtual Ethernet adapter.
This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Network</span></code>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Network</span></code>.
This attribute will be None if the identifier of the network
backing could not be determined.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType">
<em class="property">class </em><code class="descname">MacAddressType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.EthernetInfo.MacAddressType</span></code> class defines the valid
MAC address origins for a virtual Ethernet adapter. This enumeration was
added in vSphere API 6.8</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">MacAddressType</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.ASSIGNED">
<code class="descname">ASSIGNED</code><em class="property"> = MacAddressType(string='ASSIGNED')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.ASSIGNED" title="Permalink to this definition"></a></dt>
<dd><p>MAC address is assigned by vCenter Server. This class attribute was added
in vSphere API 6.8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.GENERATED">
<code class="descname">GENERATED</code><em class="property"> = MacAddressType(string='GENERATED')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.GENERATED" title="Permalink to this definition"></a></dt>
<dd><p>MAC address is generated automatically. This class attribute was added in
vSphere API 6.8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.MANUAL">
<code class="descname">MANUAL</code><em class="property"> = MacAddressType(string='MANUAL')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.MANUAL" title="Permalink to this definition"></a></dt>
<dd><p>MAC address is assigned statically. This class attribute was added in
vSphere API 6.8</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType">
<em class="property">class </em><code class="descname">NetworkBackingType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.EthernetInfo.NetworkBackingType</span></code> class defines valid
network backing types for a virtual Ethernet adapter. This enumeration was
added in vSphere API 6.8</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">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 <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) String value for the <code class="xref py py-class docutils literal notranslate"><span class="pre">NetworkBackingType</span></code> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.DISTRIBUTED_PORTGROUP">
<code class="descname">DISTRIBUTED_PORTGROUP</code><em class="property"> = NetworkBackingType(string='DISTRIBUTED_PORTGROUP')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.DISTRIBUTED_PORTGROUP" title="Permalink to this definition"></a></dt>
<dd><p>Distributed virtual switch backing. This class attribute was added in
vSphere API 6.8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.HOST_DEVICE">
<code class="descname">HOST_DEVICE</code><em class="property"> = NetworkBackingType(string='HOST_DEVICE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.HOST_DEVICE" title="Permalink to this definition"></a></dt>
<dd><p>Legacy host device network backing. Imported VMs may have virtual Ethernet
adapters with this type of backing, but this type of backing cannot be used
to create or to update a virtual Ethernet adapter. This class attribute was
added in vSphere API 6.8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.OPAQUE_NETWORK">
<code class="descname">OPAQUE_NETWORK</code><em class="property"> = NetworkBackingType(string='OPAQUE_NETWORK')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.OPAQUE_NETWORK" title="Permalink to this definition"></a></dt>
<dd><p>Opaque network backing. This class attribute was added in vSphere API 6.8</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.STANDARD_PORTGROUP">
<code class="descname">STANDARD_PORTGROUP</code><em class="property"> = NetworkBackingType(string='STANDARD_PORTGROUP')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.STANDARD_PORTGROUP" title="Permalink to this definition"></a></dt>
<dd><p>vSphere standard portgroup network backing. This class attribute was added
in vSphere API 6.8</p>
</dd></dl>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetUpdateSpec">
<em class="property">class </em><code class="descname">EthernetUpdateSpec</code><span class="sig-paren">(</span><em>network=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetUpdateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.EthernetUpdateSpec</span></code> class describes the network that
the ethernet adapter of the deployed virtual machine should be connected
to. This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>network</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) <p>Identifier of the network backing the virtual Ethernet adapter.
This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Network</span></code>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <code class="docutils literal notranslate"><span class="pre">Network</span></code>.
This attribute is currently required.</p>
<p>If None, the virtual Ethernet adapter will be connected to same
network as it was in the source virtual machine template.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.GuestCustomizationSpec">
<em class="property">class </em><code class="descname">GuestCustomizationSpec</code><span class="sig-paren">(</span><em>name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.GuestCustomizationSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.GuestCustomizationSpec</span></code> class contains information
required to customize the deployed virtual machine. This class was added in
vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Name of the customization specification. This attribute was added
in vSphere API 6.8
If None, no guest customization is performed.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.HardwareCustomizationSpec">
<em class="property">class </em><code class="descname">HardwareCustomizationSpec</code><span class="sig-paren">(</span><em>nics=None</em>, <em>disks_to_remove=None</em>, <em>disks_to_update=None</em>, <em>cpu_update=None</em>, <em>memory_update=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.HardwareCustomizationSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.HardwareCustomizationSpec</span></code> class defines the hardware
customization options that are applied to the deployed virtual machine.
This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>nics</strong> ((<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetUpdateSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetUpdateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.EthernetUpdateSpec</span></code></a>) or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Map of Ethernet network adapters to update. This attribute was
added in vSphere API 6.8
When clients pass a value of this class as a parameter, the key in
the attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> must be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Ethernet</span></code>. When methods
return a value of this class as a return value, the key in the
attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Ethernet</span></code>.
If None, all Ethernet adapters will remain connected to the same
network as they were in the source virtual machine template. An
Ethernet adapter with a MacAddressType of MANUAL will not change.
An Ethernet adapter with a MacAddressType of GENERATED or ASSIGNED
will receive a new address.</li>
<li><strong>disks_to_remove</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Idenfiers of disks to remove from the deployed virtual machine.
This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must contain identifiers for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>. When methods return a
value of this class as a return value, the attribute will contain
identifiers for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>.
If None, all disks will be copied.</li>
<li><strong>disks_to_update</strong> ((<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskUpdateSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.DiskUpdateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DiskUpdateSpec</span></code></a>) or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Disk update specification for individual disks in the deployed
virtual machine. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the key in
the attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> must be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>. When methods return
a value of this class as a return value, the key in the attribute
<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>.
If None, disks in the deployed virtual machine will have the same
settings as the corresponding disks in the source virtual machine
template contained in the library item.</li>
<li><strong>cpu_update</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuUpdateSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.CpuUpdateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CpuUpdateSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) CPU update specification for the deployed virtual machine. This
attribute was added in vSphere API 6.8
If {\&#64;term.unset}, the deployed virtual machine has the same CPU
settings as the source virtual machine template contained in the
library item.</li>
<li><strong>memory_update</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryUpdateSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.MemoryUpdateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.MemoryUpdateSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Memory update specification for the deployed virtual machine. This
attribute was added in vSphere API 6.8
If {\&#64;term.unset}, the deployed virtual machine has the same
memory settings as the source virtual machine template contained in
the library item.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.Info">
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>guest_os=None</em>, <em>cpu=None</em>, <em>memory=None</em>, <em>vm_home_storage=None</em>, <em>disks=None</em>, <em>nics=None</em>, <em>vm_template=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.Info</span></code> class contains information about a virtual
machine template item in content library. This class was added in vSphere
API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>guest_os</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.GuestOS" title="com.vmware.vcenter.vm_client.GuestOS"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm_client.GuestOS</span></code></a>) Configured guest operating system of the virtual machine template.
This attribute was added in vSphere API 6.8</li>
<li><strong>cpu</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuInfo" title="com.vmware.vcenter.vm_template_client.LibraryItems.CpuInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CpuInfo</span></code></a>) CPU configuration of the virtual machine template. This attribute
was added in vSphere API 6.8</li>
<li><strong>memory</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryInfo" title="com.vmware.vcenter.vm_template_client.LibraryItems.MemoryInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.MemoryInfo</span></code></a>) Memory configuration of the virtual machine template. This
attribute was added in vSphere API 6.8</li>
<li><strong>vm_home_storage</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.VmHomeStorageInfo" title="com.vmware.vcenter.vm_template_client.LibraryItems.VmHomeStorageInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.VmHomeStorageInfo</span></code></a>) Storage information about the virtual machine templates
configuration and log files. This attribute was added in vSphere
API 6.8</li>
<li><strong>disks</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskInfo" title="com.vmware.vcenter.vm_template_client.LibraryItems.DiskInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DiskInfo</span></code></a>) Storage information about the virtual machine templates virtual
disks. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the key in
the attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> must be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>. When methods return
a value of this class as a return value, the key in the attribute
<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>.</li>
<li><strong>nics</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo" title="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.EthernetInfo</span></code></a>) Information about the virtual machine templates virtual ethernet
adapters. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the key in
the attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> must be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Ethernet</span></code>. When methods
return a value of this class as a return value, the key in the
attribute <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Ethernet</span></code>.</li>
<li><strong>vm_template</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the virtual machine template contained in the library
item. This field is used to identify the virtual machine template
in legacy APIs. This attribute was added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.MemoryInfo">
<em class="property">class </em><code class="descname">MemoryInfo</code><span class="sig-paren">(</span><em>size_mib=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.MemoryInfo</span></code> class contains memory related information
about the virtual machine template. This class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>size_mib</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code>) Memory size in mebibytes. This attribute was added in vSphere API
6.8</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.MemoryUpdateSpec">
<em class="property">class </em><code class="descname">MemoryUpdateSpec</code><span class="sig-paren">(</span><em>memory=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryUpdateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.MemoryUpdateSpec</span></code> class describes updates to the memory
configuration of the deployed virtual machine. This class was added in
vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>memory</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">long</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Size of a virtual machines memory in MB. This attribute was added
in vSphere API 6.8
If {\&#64;term.unset}, the deployed virtual machine has the same
memory size as the source virtual machine template.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.VmHomeStorageInfo">
<em class="property">class </em><code class="descname">VmHomeStorageInfo</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.VmHomeStorageInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.VmHomeStorageInfo</span></code> class contains storage information
about the virtual machine templates configuration and log files. This
class was added in vSphere API 6.8</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">The arguments are used to initialize data attributes with the same
names.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>datastore</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Identifier of the datastore where the virtual machine templates
configuration and log files are stored. This attribute was added in
vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</li>
<li><strong>storage_policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Identifier of the storage policy associated with the virtual
machine templates configuration and log files. This attribute was
added in vSphere API 6.8
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code>.
If None, the virtual machine templates configuration and log files
do not have a storage policy associated with them.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.create">
<code class="descname">create</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.create" title="Permalink to this definition"></a></dt>
<dd><p>Creates a library item in content library from a virtual machine. This
method creates a library item in content library whose content is a
virtual machine template created from the source virtual machine, using
the supplied create specification. The virtual machine template is
stored in a newly created library item. This method was added in
vSphere API 6.8</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec</span></code></a>) information used to create the library item from the source virtual
machine.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Identifier of the newly created library item.
The return value will be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyExists</span></code>
if an entity with the name specified by
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.name</span></code> already exists in the folder
specified by <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.folder</span></code>.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if <a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec</span></code></a> contains invalid arguments.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if the operation cannot be performed because of the source virtual
machines current state.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the source virtual machine specified by
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.source_vm</span></code> does not exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the library specified by <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.library</span></code>
does not exist.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if there was an error accessing a file from the source virtual
machine.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInUse</span></code>
if the source virtual machine is busy.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if any of the services involved in the method are unavailable.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
if any of the resources needed to create the virtual machine
template could not be allocated.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user that requested the method cannot be authenticated.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user that requested the method is not authorized to perform
the method.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.Library</span></code> referenced by the
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.library</span></code> requires
<code class="docutils literal notranslate"><span class="pre">ContentLibrary.AddLibraryItem</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.source_vm</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStorage.datastore</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code> referenced by the
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStoragePolicy.policy</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStorage.datastore</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code> referenced by the
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStoragePolicy.policy</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code> referenced
by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> key of attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.disk_storage_overrides</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Folder</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.folder</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.resource_pool</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.host</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">ClusterComputeResource</span></code> referenced by the
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.cluster</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.deploy">
<code class="descname">deploy</code><span class="sig-paren">(</span><em>template_library_item</em>, <em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.deploy" title="Permalink to this definition"></a></dt>
<dd><p>Deploys a virtual machine as a copy of the source virtual machine
template contained in the library item specified by
<code class="docutils literal notranslate"><span class="pre">template_library_item</span></code>. It uses the deployment specification in
<code class="docutils literal notranslate"><span class="pre">spec</span></code>. If <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec.powered_on</span></code> and/or
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec.guest_customization</span></code> are specified, the
server triggers the power on and/or guest customization operations,
which are executed asynchronously. This method was added in vSphere API
6.8</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>template_library_item</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) identifier of the content library item containing the source
virtual machine template to be deployed.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</li>
<li><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec</span></code></a>) specification of how the virtual machine should be deployed.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Identifier of the deployed virtual machine.
The return value will be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyExists</span></code>
if a virtual machine with the name specified by
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec.name</span></code> already exists.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
if <code class="docutils literal notranslate"><span class="pre">spec</span></code> contains invalid arguments.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
if either a specified host or a specified datastore is in an
invalid state for the deployment, such as maintenance mode.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the library item specified by <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code> cannot
be found.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if any resource specified by a attribute of the
<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec</span></code></a> class, specified by <code class="docutils literal notranslate"><span class="pre">spec</span></code>
cannot be found.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if there was an error accessing the source virtual machine template
contained in the library item specified by
<code class="docutils literal notranslate"><span class="pre">template_library_item</span></code>.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if there an error accessing any of the resources specified in the
<code class="docutils literal notranslate"><span class="pre">spec</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if any of the services involved in the method are unavailable.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
if there was an error in allocating any of the resources required
by the method.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user that requested the method cannot be authenticated.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user that requested the method is not authorized to perform
the method.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
the parameter <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code> requires
<code class="docutils literal notranslate"><span class="pre">VirtualMachine.Provisioning.DeployTemplate</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStorage.datastore</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code> referenced by the
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStoragePolicy.policy</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStorage.datastore</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code> referenced by the
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStoragePolicy.policy</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code> referenced
by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> key of attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec.disk_storage_overrides</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Folder</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec.folder</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec.resource_pool</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec.host</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">ClusterComputeResource</span></code> referenced by the
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec.cluster</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Ethernet</span></code>
referenced by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> key of attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.HardwareCustomizationSpec.nics</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">Network</span></code> referenced by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.EthernetUpdateSpec.network</span></code> requires
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code> referenced
by the attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.HardwareCustomizationSpec.disks_to_remove</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code> referenced
by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> key of attribute
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.HardwareCustomizationSpec.disks_to_update</span></code>
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.get">
<code class="descname">get</code><span class="sig-paren">(</span><em>template_library_item</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.get" title="Permalink to this definition"></a></dt>
<dd><p>Returns information about a virtual machine template contained in the
library item specified by <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code>. This method was
added in vSphere API 6.8</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>template_library_item</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) identifier of the library item containing the virtual machine
template.
The parameter must be an identifier for the resource type:
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.Info" title="com.vmware.vcenter.vm_template_client.LibraryItems.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.Info</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Information about the virtual machine template item contained in
the library item.
If None, the library item specified by <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code>
does not contain a virtual machine template.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
if the system reports an error while responding to the request.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
if the library item could not be found.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
if the virtual machine templates configuration state cannot be
accessed.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
if any of the services involved in the method are unavailable.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
if the user that requested the method cannot be authenticated.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if the user that requested the method is not authorized to perform
the method.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
the parameter <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.vm_template_client.StubFactory">
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_template_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="com.vmware.vcenter.deployment.html" class="btn btn-neutral float-right" title="com.vmware.vcenter.deployment package" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="com.vmware.vapi.std.html" class="btn btn-neutral" title="com.vmware.vapi.std package" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
&copy; Copyright 2018, VMware, Inc..
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'6.8.0',
LANGUAGE:'en',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>