1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-29 20:09:58 -05:00
vsphere-automation-sdk-python/vsphere/6.5/com.vmware.vcenter.html

4442 lines
365 KiB
HTML
Raw Normal View History

2018-08-07 19:42:25 -04:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>vcenter Package &mdash; vSphere Automation SDK for Python 6.5.0 documentation</title>
<link rel="stylesheet" href="_static/vapitheme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '6.5.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</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>
<link rel="top" title="vSphere Automation SDK for Python 6.5.0 documentation" href="index.html" />
<link rel="up" title="vmware Package" href="com.vmware.html" />
<link rel="next" title="vm Package" href="com.vmware.vcenter.vm.html" />
<link rel="prev" title="std Package" href="com.vmware.vapi.std.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="com.vmware.vcenter.vm.html" title="vm Package"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="com.vmware.vapi.std.html" title="std Package"
accesskey="P">previous</a> |</li>
<li><a href="index.html">vSphere Automation SDK for Python 6.5.0 documentation</a> &raquo;</li>
<li><a href="com.html" >com Package</a> &raquo;</li>
<li><a href="com.vmware.html" accesskey="U">vmware Package</a> &raquo;</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="vcenter-package">
<h1>vcenter Package<a class="headerlink" href="#vcenter-package" title="Permalink to this headline"></a></h1>
<div class="section" id="id1">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">vcenter</span></tt> Package<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h2>
<span class="target" id="module-com.vmware.vcenter"></span></div>
<div class="section" id="module-com.vmware.vcenter.inventory_client">
<span id="inventory-client-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">inventory_client</span></tt> Module<a class="headerlink" href="#module-com.vmware.vcenter.inventory_client" title="Permalink to this headline"></a></h2>
<p>The <tt class="docutils literal"><span class="pre">com.vmware.vcenter.inventory_client</span></tt> component provides methods and
classes for retrieving vCenter datastore and network information for a given
<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of identifiers.</p>
<dl class="class">
<dt id="com.vmware.vcenter.inventory_client.Datastore">
<em class="property">class </em><tt class="descclassname">com.vmware.vcenter.inventory_client.</tt><tt class="descname">Datastore</tt><big>(</big><em>config</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/inventory_client.html#Datastore"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Datastore" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.VapiInterface" title="vmware.vapi.bindings.stub.VapiInterface"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Datastore</span></tt> 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> (<a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.StubConfiguration" title="vmware.vapi.bindings.stub.StubConfiguration"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></tt></a>) &#8211; 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><tt class="descname">Info</tt><big>(</big><em>type=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/inventory_client.html#Datastore.Info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Datastore.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Datastore.Info</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Type of the datastore.
When clients pass a value of this class as a parameter, the
attribute must be one of <tt class="docutils literal"><span class="pre">Datastore</span></tt> or <tt class="docutils literal"><span class="pre">StoragePod</span></tt>. When
methods return a value of this class as a return value, the
attribute will be one of <tt class="docutils literal"><span class="pre">Datastore</span></tt> or <tt class="docutils literal"><span class="pre">StoragePod</span></tt>.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.inventory_client.Datastore.find">
<tt class="descclassname">Datastore.</tt><tt class="descname">find</tt><big>(</big><em>datastores</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/inventory_client.html#Datastore.find"><span class="viewcode-link">[source]</span></a><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 <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> is the datastore identifier and the
value in the <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Identifiers of the datastores for which information will be
returned.
The parameter must contain identifiers for the resource type:
<tt class="docutils literal"><span class="pre">Datastore</span></tt>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> and (<a class="reference internal" href="#com.vmware.vcenter.inventory_client.Datastore.Info" title="com.vmware.vcenter.inventory_client.Datastore.Info"><tt class="xref py py-class docutils literal"><span class="pre">Datastore.Info</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>)</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 <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> is the datastore identifier and the
value in the <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> is the datastore information.
The key in the return value <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> will be an identifier for
the resource type: <tt class="docutils literal"><span class="pre">Datastore</span></tt>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if no datastore can be found for one or more of the datastore
identifiers in <tt class="docutils literal"><span class="pre">datastores</span></tt></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">Datastore</span></tt> referenced by the parameter
<tt class="docutils literal"><span class="pre">datastores</span></tt> requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</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><tt class="descclassname">com.vmware.vcenter.inventory_client.</tt><tt class="descname">Network</tt><big>(</big><em>config</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/inventory_client.html#Network"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Network" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.VapiInterface" title="vmware.vapi.bindings.stub.VapiInterface"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Network</span></tt> 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> (<a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.StubConfiguration" title="vmware.vapi.bindings.stub.StubConfiguration"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></tt></a>) &#8211; 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><tt class="descname">Info</tt><big>(</big><em>type=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/inventory_client.html#Network.Info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Network.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Network.Info</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Type of the vCenter Server network.
When clients pass a value of this class as a parameter, the
attribute must be one of <tt class="docutils literal"><span class="pre">Network</span></tt>,
<tt class="docutils literal"><span class="pre">DistributedVirtualPortgroup</span></tt>, or <tt class="docutils literal"><span class="pre">OpaqueNetwork</span></tt>. When methods
return a value of this class as a return value, the attribute will
be one of <tt class="docutils literal"><span class="pre">Network</span></tt>, <tt class="docutils literal"><span class="pre">DistributedVirtualPortgroup</span></tt>, or
<tt class="docutils literal"><span class="pre">OpaqueNetwork</span></tt>.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.inventory_client.Network.find">
<tt class="descclassname">Network.</tt><tt class="descname">find</tt><big>(</big><em>networks</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/inventory_client.html#Network.find"><span class="viewcode-link">[source]</span></a><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 <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> is the network identifier and
the value in the <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Identifiers of the vCenter Server networks for which information
will be returned.
The parameter must contain identifiers for the resource type:
<tt class="docutils literal"><span class="pre">Network</span></tt>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> and (<a class="reference internal" href="#com.vmware.vcenter.inventory_client.Network.Info" title="com.vmware.vcenter.inventory_client.Network.Info"><tt class="xref py py-class docutils literal"><span class="pre">Network.Info</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>)</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 <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> is the network identifier and
the value in the <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> is the network information.
The key in the return value <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> will be an identifier for
the resource type: <tt class="docutils literal"><span class="pre">Network</span></tt>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if no datastore can be found for one or more of the vCenter Server
network identifiers in <tt class="docutils literal"><span class="pre">networks</span></tt></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">Network</span></tt> referenced by the parameter <tt class="docutils literal"><span class="pre">networks</span></tt>
requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.iso_client">
<span id="iso-client-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">iso_client</span></tt> Module<a class="headerlink" href="#module-com.vmware.vcenter.iso_client" title="Permalink to this headline"></a></h2>
<p>The <tt class="docutils literal"><span class="pre">com.vmware.vcenter.iso_client</span></tt> 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><tt class="descclassname">com.vmware.vcenter.iso_client.</tt><tt class="descname">Image</tt><big>(</big><em>config</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/iso_client.html#Image"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.iso_client.Image" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.VapiInterface" title="vmware.vapi.bindings.stub.VapiInterface"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></tt></a></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> (<a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.StubConfiguration" title="vmware.vapi.bindings.stub.StubConfiguration"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></tt></a>) &#8211; Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="com.vmware.vcenter.iso_client.Image.mount">
<tt class="descname">mount</tt><big>(</big><em>library_item</em>, <em>vm</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/iso_client.html#Image.mount"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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:
<tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt>.</li>
<li><strong>vm</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The identifier of the virtual machine where the specified ISO image
will be mounted.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><tt class="xref py py-class docutils literal"><span class="pre">str</span></tt></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:
<tt class="docutils literal"><span class="pre">com.vmware.vcenter.vm.hardware.Cdrom</span></tt>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
If either <tt class="docutils literal"><span class="pre">vm</span></tt> or the <tt class="docutils literal"><span class="pre">library_item</span></tt> is not found.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.InvalidArgument" title="com.vmware.vapi.std.errors_client.InvalidArgument"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></tt></a>
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 last"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotAllowedInCurrentState" title="com.vmware.vapi.std.errors_client.NotAllowedInCurrentState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></tt></a>
When the operation is not allowed on the virtual machine in its
current state.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.iso_client.Image.unmount">
<tt class="descname">unmount</tt><big>(</big><em>vm</em>, <em>cdrom</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/iso_client.html#Image.unmount"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The identifier of the virtual machine from which to unmount the
virtual CD-ROM.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</li>
<li><strong>cdrom</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The device identifier of the CD-ROM.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">com.vmware.vcenter.vm.hardware.Cdrom</span></tt>.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
If the virtual machine identified by <tt class="docutils literal"><span class="pre">vm</span></tt> is not found or the
<tt class="docutils literal"><span class="pre">cdrom</span></tt> 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 last"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotAllowedInCurrentState" title="com.vmware.vapi.std.errors_client.NotAllowedInCurrentState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></tt></a>
When the operation is not allowed on the virtual machine in its
current state.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="module-com.vmware.vcenter.ovf_client">
<span id="ovf-client-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">ovf_client</span></tt> Module<a class="headerlink" href="#module-com.vmware.vcenter.ovf_client" title="Permalink to this headline"></a></h2>
<p>The <tt class="docutils literal"><span class="pre">com.vmware.vcenter.ovf_client</span></tt> 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">CertificateParams</tt><big>(</big><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><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#CertificateParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.CertificateParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">CertificateParams</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">DeploymentOption</tt><big>(</big><em>key=None</em>, <em>label=None</em>, <em>description=None</em>, <em>default_choice=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#DeploymentOption"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DeploymentOption" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">DeploymentOption</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; A <tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt> 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">DeploymentOptionParams</tt><big>(</big><em>deployment_options=None</em>, <em>selected_key=None</em>, <em>type=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#DeploymentOptionParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DeploymentOptionParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">DeploymentOptionParams</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.DeploymentOption" title="com.vmware.vcenter.ovf_client.DeploymentOption"><tt class="xref py py-class docutils literal"><span class="pre">DeploymentOption</span></tt></a>) &#8211; <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The selected deployment option. Identifies the
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.DeploymentOption" title="com.vmware.vcenter.ovf_client.DeploymentOption"><tt class="xref py py-class docutils literal"><span class="pre">DeploymentOption</span></tt></a> in the list in the <tt class="docutils literal"><span class="pre">deploymentOptions</span></tt>
attribute with a matching value in the <tt class="xref py py-attr docutils literal"><span class="pre">DeploymentOption.key</span></tt>
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 it&#8217;s the first one in
<tt class="xref py py-attr docutils literal"><span class="pre">DeploymentOptionParams.deployment_options</span></tt> <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt>.
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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">DiskProvisioningType</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#DiskProvisioningType"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">DiskProvisioningType</span></tt> 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <a class="reference internal" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType" title="com.vmware.vcenter.ovf_client.DiskProvisioningType"><tt class="xref py py-class docutils literal"><span class="pre">DiskProvisioningType</span></tt></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.DiskProvisioningType.eagerZeroedThick">
<tt class="descname">eagerZeroedThick</tt><em class="property"> = DiskProvisioningType(string=u'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">
<tt class="descname">thick</tt><em class="property"> = DiskProvisioningType(string=u'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">
<tt class="descname">thin</tt><em class="property"> = DiskProvisioningType(string=u'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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">ExportFlag</tt><big>(</big><em>config</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ExportFlag"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExportFlag" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.VapiInterface" title="vmware.vapi.bindings.stub.VapiInterface"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ExportFlag</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.CreateSpec</span></tt></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> (<a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.StubConfiguration" title="vmware.vapi.bindings.stub.StubConfiguration"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></tt></a>) &#8211; 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><tt class="descname">Info</tt><big>(</big><em>option=None</em>, <em>description=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ExportFlag.Info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExportFlag.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ExportFlag.Info</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></tt></a>) &#8211; 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">
<tt class="descclassname">ExportFlag.</tt><tt class="descname">list</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ExportFlag.list"><span class="viewcode-link">[source]</span></a><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"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></a> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExportFlag.Info" title="com.vmware.vcenter.ovf_client.ExportFlag.Info"><tt class="xref py py-class docutils literal"><span class="pre">ExportFlag.Info</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">ExtraConfig</tt><big>(</big><em>key=None</em>, <em>value=None</em>, <em>virtual_system_id=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ExtraConfig"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExtraConfig" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ExtraConfig</span></tt> class contains the information about a vmw:ExtraConfig
element which can be used to specify configuration settings that are
transferred directly to the <tt class="docutils literal"><span class="pre">.vmx</span></tt> file. The behavior of the
vmw:ExtraConfig element is similar to the <tt class="docutils literal"><span class="pre">extraConfig</span></tt> property of the
<tt class="docutils literal"><span class="pre">VirtualMachineConfigSpec</span></tt> 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 <tt class="docutils literal"><span class="pre">VirtualMachineConfigSpec</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">ExtraConfigParams</tt><big>(</big><em>extra_configs=None</em>, <em>exclude_keys=None</em>, <em>include_keys=None</em>, <em>type=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ExtraConfigParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExtraConfigParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ExtraConfigParams</span></tt> 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 <tt class="docutils literal"><span class="pre">.vmx</span></tt> file.</p>
<p>The behavior of the vmw:ExtraConfig element is similar to the
<tt class="docutils literal"><span class="pre">extraConfig</span></tt> property of the <tt class="docutils literal"><span class="pre">VirtualMachineConfigSpec</span></tt> 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
<tt class="docutils literal"><span class="pre">VirtualMachineConfigSpec</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExtraConfig" title="com.vmware.vcenter.ovf_client.ExtraConfig"><tt class="xref py py-class docutils literal"><span class="pre">ExtraConfig</span></tt></a>) &#8211; <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> 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 <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> if there are no extra
configuration elements in the OVF package.</li>
<li><strong>exclude_keys</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; <p>Specifies which extra configuration items in the <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> in
the <tt class="docutils literal"><span class="pre">extraConfigs</span></tt> <tt class="docutils literal"><span class="pre">field</span></tt> 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
<tt class="xref py py-attr docutils literal"><span class="pre">ExtraConfig.key</span></tt> attribute.
This attribute is optional in the input parameters when deploying
an OVF package. It is an error to set both this and
<tt class="xref py py-attr docutils literal"><span class="pre">ExtraConfigParams.include_keys</span></tt>. This attribute is optional
in the result when retrieving information about an OVF package. It
is an error to set both this and
<tt class="xref py py-attr docutils literal"><span class="pre">ExtraConfigParams.include_keys</span></tt>.</p>
</li>
<li><strong>include_keys</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; <p>Specifies which extra configuration items in the <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> in
the <tt class="docutils literal"><span class="pre">extraConfigs</span></tt> <tt class="docutils literal"><span class="pre">field</span></tt> 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
<tt class="xref py py-attr docutils literal"><span class="pre">ExtraConfig.key</span></tt> attribute.
This attribute is optional in the input parameters when deploying
an OVF package. It is an error to set both this and
<tt class="xref py py-attr docutils literal"><span class="pre">ExtraConfigParams.exclude_keys</span></tt>. This attribute is optional
in the result when retrieving information about an OVF package. It
is an error to set both this and
<tt class="xref py py-attr docutils literal"><span class="pre">ExtraConfigParams.exclude_keys</span></tt>.</p>
</li>
<li><strong>type</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">ImportFlag</tt><big>(</big><em>config</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ImportFlag"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ImportFlag" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.VapiInterface" title="vmware.vapi.bindings.stub.VapiInterface"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ImportFlag</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></tt></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> (<a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.StubConfiguration" title="vmware.vapi.bindings.stub.StubConfiguration"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></tt></a>) &#8211; 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><tt class="descname">Info</tt><big>(</big><em>option=None</em>, <em>description=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ImportFlag.Info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ImportFlag.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ImportFlag.Info</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></tt></a>) &#8211; 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">
<tt class="descclassname">ImportFlag.</tt><tt class="descname">list</tt><big>(</big><em>rp</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ImportFlag.list"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The identifier of resource pool target for retrieving the import
flag(s).
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">ResourcePool</span></tt>.</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"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></a> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ImportFlag.Info" title="com.vmware.vcenter.ovf_client.ImportFlag.Info"><tt class="xref py py-class docutils literal"><span class="pre">ImportFlag.Info</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
If the resource pool associated with <tt class="docutils literal"><span class="pre">rp</span></tt> does not exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">ResourcePool</span></tt> referenced by the parameter <tt class="docutils literal"><span class="pre">rp</span></tt>
requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">IpAllocationParams</tt><big>(</big><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><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#IpAllocationParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">IpAllocationParams</span></tt> 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 <tt class="docutils literal"><span class="pre">IpAllocationParams</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme" title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme"><tt class="xref py py-class docutils literal"><span class="pre">IpAllocationParams.IpAllocationScheme</span></tt></a>) &#8211; 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
<tt class="xref py py-attr docutils literal"><span class="pre">IpAllocationParams.ip_allocation_policy</span></tt>.
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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy" title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy"><tt class="xref py py-class docutils literal"><span class="pre">IpAllocationParams.IpAllocationPolicy</span></tt></a>) &#8211; 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
<tt class="xref py py-attr docutils literal"><span class="pre">IpAllocationParams.supported_allocation_scheme</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">IpAllocationParams.IpAllocationPolicy</span></tt></a>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol" title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol"><tt class="xref py py-class docutils literal"><span class="pre">IpAllocationParams.IpProtocol</span></tt></a>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">IpAllocationParams.IpProtocol</span></tt></a>) &#8211; Specifies the chosen IP protocol for this deployment. This must be
one of the IP protocols supported by the guest software. See
<tt class="xref py py-attr docutils literal"><span class="pre">IpAllocationParams.supported_ip_protocol</span></tt>.
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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descname">IpAllocationPolicy</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#IpAllocationParams.IpAllocationPolicy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">IpAllocationParams.IpAllocationPolicy</span></tt> 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">IpAllocationPolicy</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.DHCP">
<tt class="descname">DHCP</tt><em class="property"> = IpAllocationPolicy(string=u'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">
<tt class="descname">STATIC_IPPOOL</tt><em class="property"> = IpAllocationPolicy(string=u'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">
<tt class="descname">STATIC_MANUAL</tt><em class="property"> = IpAllocationPolicy(string=u'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">
<tt class="descname">TRANSIENT_IPPOOL</tt><em class="property"> = IpAllocationPolicy(string=u'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><tt class="descclassname">IpAllocationParams.</tt><tt class="descname">IpAllocationScheme</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#IpAllocationParams.IpAllocationScheme"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">IpAllocationParams.IpAllocationScheme</span></tt> 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">IpAllocationScheme</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme.DHCP">
<tt class="descname">DHCP</tt><em class="property"> = IpAllocationScheme(string=u'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">
<tt class="descname">OVF_ENVIRONMENT</tt><em class="property"> = IpAllocationScheme(string=u'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><tt class="descclassname">IpAllocationParams.</tt><tt class="descname">IpProtocol</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#IpAllocationParams.IpProtocol"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">IpAllocationParams.IpProtocol</span></tt> 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">IpProtocol</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV4">
<tt class="descname">IPV4</tt><em class="property"> = IpProtocol(string=u'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">
<tt class="descname">IPV6</tt><em class="property"> = IpProtocol(string=u'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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">LibraryItem</tt><big>(</big><em>config</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.VapiInterface" title="vmware.vapi.bindings.stub.VapiInterface"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.DeploymentTarget</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></tt></a> to specify the
parameters for the target deployment.</li>
<li>Use the <tt class="docutils literal"><span class="pre">deploy</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.DeployableIdentity</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.CreateTarget</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.CreateSpec</span></tt></a> to specify the settings for the
OVF package to be created.</li>
<li>Use the <tt class="docutils literal"><span class="pre">create</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.create()</span></tt></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> (<a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.StubConfiguration" title="vmware.vapi.bindings.stub.StubConfiguration"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></tt></a>) &#8211; 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><tt class="descname">CreateResult</tt><big>(</big><em>succeeded=None</em>, <em>ovf_library_item_id=None</em>, <em>error=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.CreateResult"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateResult" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.CreateResult</span></tt> class defines the result of the <tt class="docutils literal"><span class="pre">create</span></tt>
method. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.create" title="com.vmware.vcenter.ovf_client.LibraryItem.create"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.create()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; Whether the <tt class="docutils literal"><span class="pre">create</span></tt> method completed successfully.</li>
<li><strong>ovf_library_item_id</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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:
<tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt>.
If None, the <tt class="docutils literal"><span class="pre">create</span></tt> method failed and
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.CreateResult.error</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.ResultInfo</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Errors, warnings, and informational messages produced by the
<tt class="docutils literal"><span class="pre">create</span></tt> method.
If None, no errors, warnings, or informational messages were
reported by the <tt class="docutils literal"><span class="pre">create</span></tt> 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><tt class="descclassname">LibraryItem.</tt><tt class="descname">CreateSpec</tt><big>(</big><em>name=None</em>, <em>description=None</em>, <em>flags=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.CreateSpec"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.CreateSpec</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Name to use in the OVF descriptor stored in the library item.
If None, the server will use source&#8217;s current name.</li>
<li><strong>description</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Description to use in the OVF descriptor stored in the library
item.
If None, the server will use source&#8217;s current annotation.</li>
<li><strong>flags</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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"><tt class="xref py py-func docutils literal"><span class="pre">ExportFlag.list()</span></tt></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><tt class="descclassname">LibraryItem.</tt><tt class="descname">CreateTarget</tt><big>(</big><em>library_id=None</em>, <em>library_item_id=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.CreateTarget"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.CreateTarget</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.create()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Identifier of the library in which a new library item should be
created. This attribute is not used if the <tt class="docutils literal"><span class="pre">libraryItemId</span></tt>
attribute is specified.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">com.vmware.content.Library</span></tt>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <tt class="docutils literal"><span class="pre">com.vmware.content.Library</span></tt>.
If None, the <tt class="docutils literal"><span class="pre">libraryItemId</span></tt> attribute must be specified.</li>
<li><strong>library_item_id</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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:
<tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt>.
If None, a new library item will be created. The <tt class="docutils literal"><span class="pre">libraryId</span></tt>
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">
<tt class="descclassname">LibraryItem.</tt><tt class="descname">DEPLOYABLE</tt><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 <tt class="docutils literal"><span class="pre">LibraryItem</span></tt> class.</p>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity">
<em class="property">class </em><tt class="descclassname">LibraryItem.</tt><tt class="descname">DeployableIdentity</tt><big>(</big><em>type=None</em>, <em>id=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.DeployableIdentity"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.DeployableIdentity</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Type of the deployable resource.
When clients pass a value of this class as a parameter, the
attribute must be one of <tt class="docutils literal"><span class="pre">VirtualMachine</span></tt> or <tt class="docutils literal"><span class="pre">VirtualApp</span></tt>. When
methods return a value of this class as a return value, the
attribute will be one of <tt class="docutils literal"><span class="pre">VirtualMachine</span></tt> or <tt class="docutils literal"><span class="pre">VirtualApp</span></tt>.</li>
<li><strong>id</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Identifier of the deployable resource.
When clients pass a value of this class as a parameter, the
attribute <tt class="docutils literal"><span class="pre">type</span></tt> must contain the actual resource type. When
methods return a value of this class as a return value, the
attribute <tt class="docutils literal"><span class="pre">type</span></tt> 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><tt class="descclassname">LibraryItem.</tt><tt class="descname">DeploymentResult</tt><big>(</big><em>succeeded=None</em>, <em>resource_id=None</em>, <em>error=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.DeploymentResult"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.DeploymentResult</span></tt> class defines the result of the
<tt class="docutils literal"><span class="pre">deploy</span></tt> method. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; Whether the <tt class="docutils literal"><span class="pre">deploy</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.DeployableIdentity</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Identifier of the deployed resource entity.
If None, the <tt class="docutils literal"><span class="pre">deploy</span></tt> method failed and
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeploymentResult.error</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.ResultInfo</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Errors, warnings, and informational messages produced by the
<tt class="docutils literal"><span class="pre">deploy</span></tt> method.
If None, no errors, warnings, or informational messages were
reported by the <tt class="docutils literal"><span class="pre">deploy</span></tt> 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><tt class="descclassname">LibraryItem.</tt><tt class="descname">DeploymentTarget</tt><big>(</big><em>resource_pool_id=None</em>, <em>host_id=None</em>, <em>folder_id=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.DeploymentTarget"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.DeploymentTarget</span></tt> class describes the location (target)
where a virtual machine or virtual appliance should be deployed. It is used
in the <tt class="docutils literal"><span class="pre">deploy</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt> methods. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a>
and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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:
<tt class="docutils literal"><span class="pre">ResourcePool</span></tt>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <tt class="docutils literal"><span class="pre">ResourcePool</span></tt>.</li>
<li><strong>host_id</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></tt>.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">HostSystem</span></tt>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <tt class="docutils literal"><span class="pre">HostSystem</span></tt>.
If None, the server will automatically select a target host from
the resource pool if
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></tt> is a
stand-alone host or a cluster with Distributed Resource Scheduling
(DRS) enabled.</li>
<li><strong>folder_id</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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: <tt class="docutils literal"><span class="pre">Folder</span></tt>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <tt class="docutils literal"><span class="pre">Folder</span></tt>.
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><tt class="descclassname">LibraryItem.</tt><tt class="descname">OvfSummary</tt><big>(</big><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><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.OvfSummary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.OvfSummary</span></tt> class defines the result of the <tt class="docutils literal"><span class="pre">filter</span></tt>
method. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></a>. The attributes in the class
describe parameterizable information in the OVF descriptor, with respect to
a deployment target, for the <tt class="docutils literal"><span class="pre">deploy</span></tt> method. See
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Default name for the virtual machine or virtual appliance.
If None, the OVF descriptor did not specify a name.</li>
<li><strong>annotation</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Default annotation for the virtual machine or virtual appliance.
If None, the OVF descriptor did not specify an annotation.</li>
<li><strong>eulas</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; End User License Agreements specified in the OVF descriptor. All
end user license agreements must be accepted in order for the
<tt class="docutils literal"><span class="pre">deploy</span></tt> method to succeed. See
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.accept_all_eula</span></tt>.</li>
<li><strong>networks</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Section identifiers for sections of type ovf:NetworkSection in the
OVF descriptor. These identifiers can be used as keys in
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.network_mappings</span></tt>.
If None, the OVF descriptor did not specify any networks.</li>
<li><strong>storage_groups</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Section identifiers for sections of type vmw:StorageGroupSection in
the OVF descriptor. These identifiers can be used as keys in
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.storage_mappings</span></tt>.
If None, the OVF descriptor did not specify any storage groups.</li>
<li><strong>additional_params</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.struct.VapiStruct</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Additional OVF parameters which can be specified for the deployment
target. These OVF parameters can be inspected, optionally modified,
and used as values in
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.additional_parameters</span></tt>
for the <tt class="docutils literal"><span class="pre">deploy</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">OvfParams</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">OvfParams</span></tt></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><tt class="descclassname">LibraryItem.</tt><tt class="descname">ResourcePoolDeploymentSpec</tt><big>(</big><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><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.ResourcePoolDeploymentSpec"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></tt> class defines the deployment
parameters that can be specified for the <tt class="docutils literal"><span class="pre">deploy</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; Whether to accept all End User License Agreements. See
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.OvfSummary.eulas</span></tt>.</li>
<li><strong>network_mappings</strong> ((<tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> and <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Specification of the target network to use for sections of type
ovf:NetworkSection in the OVF descriptor. The key in the
<tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> 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 <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> must be an identifier for the
resource type: <tt class="docutils literal"><span class="pre">Network</span></tt>. When methods return a value of this
class as a return value, the value in the attribute <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt>
will be an identifier for the resource type: <tt class="docutils literal"><span class="pre">Network</span></tt>.
If None, the server will choose a network mapping.</li>
<li><strong>storage_mappings</strong> ((<tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping" title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.StorageGroupMapping</span></tt></a>) or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Specification of the target storage to use for sections of type
vmw:StorageGroupSection in the OVF descriptor. The key in the
<tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.StorageGroupMapping</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">DiskProvisioningType</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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:
<tt class="docutils literal"><span class="pre">StorageProfile</span></tt>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <tt class="docutils literal"><span class="pre">StorageProfile</span></tt>.
If None, the server will choose the default profile.</li>
<li><strong>locale</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; The locale to use for parsing the OVF descriptor.
If None, the server locale will be used.</li>
<li><strong>flags</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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"><tt class="xref py py-func docutils literal"><span class="pre">ImportFlag.list()</span></tt></a>.
If None, no flags will be used.</li>
<li><strong>additional_parameters</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.struct.VapiStruct</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; <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"><tt class="xref py py-class docutils literal"><span class="pre">DeploymentOptionParams</span></tt></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExtraConfigParams" title="com.vmware.vcenter.ovf_client.ExtraConfigParams"><tt class="xref py py-class docutils literal"><span class="pre">ExtraConfigParams</span></tt></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.IpAllocationParams" title="com.vmware.vcenter.ovf_client.IpAllocationParams"><tt class="xref py py-class docutils literal"><span class="pre">IpAllocationParams</span></tt></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.PropertyParams" title="com.vmware.vcenter.ovf_client.PropertyParams"><tt class="xref py py-class docutils literal"><span class="pre">PropertyParams</span></tt></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.ScaleOutParams" title="com.vmware.vcenter.ovf_client.ScaleOutParams"><tt class="xref py py-class docutils literal"><span class="pre">ScaleOutParams</span></tt></a></li>
<li><a class="reference internal" href="#com.vmware.vcenter.ovf_client.VcenterExtensionParams" title="com.vmware.vcenter.ovf_client.VcenterExtensionParams"><tt class="xref py py-class docutils literal"><span class="pre">VcenterExtensionParams</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">OvfParams</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">OvfParams</span></tt></a>.
If None, the server will choose default settings for all parameters
necessary for the <tt class="docutils literal"><span class="pre">deploy</span></tt> method. See
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a>.</p>
</li>
<li><strong>default_datastore_id</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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:
<tt class="docutils literal"><span class="pre">Datastore</span></tt>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <tt class="docutils literal"><span class="pre">Datastore</span></tt>.
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><tt class="descclassname">LibraryItem.</tt><tt class="descname">ResultInfo</tt><big>(</big><em>errors=None</em>, <em>warnings=None</em>, <em>information=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.ResultInfo"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.ResultInfo</span></tt> class defines the information returned along
with the result of a <tt class="docutils literal"><span class="pre">create</span></tt> or <tt class="docutils literal"><span class="pre">deploy</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfError" title="com.vmware.vcenter.ovf_client.OvfError"><tt class="xref py py-class docutils literal"><span class="pre">OvfError</span></tt></a>) &#8211; Errors reported by the <tt class="docutils literal"><span class="pre">create</span></tt> or <tt class="docutils literal"><span class="pre">deploy</span></tt> method. These
errors would have prevented the <tt class="docutils literal"><span class="pre">create</span></tt> or <tt class="docutils literal"><span class="pre">deploy</span></tt> method
from completing successfully.</li>
<li><strong>warnings</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfWarning" title="com.vmware.vcenter.ovf_client.OvfWarning"><tt class="xref py py-class docutils literal"><span class="pre">OvfWarning</span></tt></a>) &#8211; Warnings reported by the <tt class="docutils literal"><span class="pre">create</span></tt> or <tt class="docutils literal"><span class="pre">deploy</span></tt> method. These
warnings would not have prevented the <tt class="docutils literal"><span class="pre">create</span></tt> or <tt class="docutils literal"><span class="pre">deploy</span></tt>
method from completing successfully, but there might be issues that
warrant attention.</li>
<li><strong>information</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfInfo" title="com.vmware.vcenter.ovf_client.OvfInfo"><tt class="xref py py-class docutils literal"><span class="pre">OvfInfo</span></tt></a>) &#8211; Information messages reported by the <tt class="docutils literal"><span class="pre">create</span></tt> or <tt class="docutils literal"><span class="pre">deploy</span></tt>
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><tt class="descclassname">LibraryItem.</tt><tt class="descname">StorageGroupMapping</tt><big>(</big><em>type=None</em>, <em>datastore_id=None</em>, <em>storage_profile_id=None</em>, <em>provisioning=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.StorageGroupMapping"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.StorageGroupMapping</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.StorageGroupMapping.Type</span></tt></a>) &#8211; 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"><tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.StorageGroupMapping.Type.DATASTORE</span></tt></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"><tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE</span></tt></a>.</li>
<li><strong>datastore_id</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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:
<tt class="docutils literal"><span class="pre">Datastore</span></tt>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <tt class="docutils literal"><span class="pre">Datastore</span></tt>.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">type</span></tt> 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"><tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.StorageGroupMapping.Type.DATASTORE</span></tt></a>.</li>
<li><strong>storage_profile_id</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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:
<tt class="docutils literal"><span class="pre">StorageProfile</span></tt>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
type: <tt class="docutils literal"><span class="pre">StorageProfile</span></tt>.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">type</span></tt> 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"><tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE</span></tt></a>.</li>
<li><strong>provisioning</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType" title="com.vmware.vcenter.ovf_client.DiskProvisioningType"><tt class="xref py py-class docutils literal"><span class="pre">DiskProvisioningType</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; Target provisioning type to use for the storage group.
If None,
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.storage_provisioning</span></tt>
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><tt class="descname">Type</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.StorageGroupMapping.Type"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">LibraryItem.StorageGroupMapping.Type</span></tt> class defines the supported
types of storage targets for sections of type vmw:StroageGroupSection 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">Type</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE">
<tt class="descname">DATASTORE</tt><em class="property"> = Type(string=u'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">
<tt class="descname">STORAGE_PROFILE</tt><em class="property"> = Type(string=u'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">
<tt class="descclassname">LibraryItem.</tt><tt class="descname">create</tt><big>(</big><em>source</em>, <em>target</em>, <em>create_spec</em>, <em>client_token=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.create"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.DeployableIdentity</span></tt></a>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.CreateTarget</span></tt></a>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.CreateSpec</span></tt></a>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.CreateResult</span></tt></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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.InvalidArgument" title="com.vmware.vapi.std.errors_client.InvalidArgument"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></tt></a>
if <tt class="docutils literal"><span class="pre">create_spec</span></tt> contains invalid arguments.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.InvalidArgument" title="com.vmware.vapi.std.errors_client.InvalidArgument"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></tt></a>
if <tt class="docutils literal"><span class="pre">source</span></tt> 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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the virtual machine or virtual appliance specified by <tt class="docutils literal"><span class="pre">source</span></tt>
does not exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the library or library item specified by <tt class="docutils literal"><span class="pre">target</span></tt> does not
exist.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotAllowedInCurrentState" title="com.vmware.vapi.std.errors_client.NotAllowedInCurrentState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></tt></a>
if the operation cannot be performed because of the specified
virtual machine or virtual appliance&#8217;s 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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceInaccessible" title="com.vmware.vapi.std.errors_client.ResourceInaccessible"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceBusy" title="com.vmware.vapi.std.errors_client.ResourceBusy"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The attribute <tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeployableIdentity.id</span></tt> requires
<tt class="docutils literal"><span class="pre">VApp.Export</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">com.vmware.content.Library</span></tt> referenced by the
attribute <tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.CreateTarget.library_id</span></tt> requires
<tt class="docutils literal"><span class="pre">ContentLibrary.AddLibraryItem</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt> referenced by
the attribute <tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.CreateTarget.library_item_id</span></tt>
requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.deploy">
<tt class="descclassname">LibraryItem.</tt><tt class="descname">deploy</tt><big>(</big><em>ovf_library_item_id</em>, <em>target</em>, <em>deployment_spec</em>, <em>client_token=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.deploy"><span class="viewcode-link">[source]</span></a><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 <tt class="docutils literal"><span class="pre">ovf_library_item_id</span></tt>. It uses the deployment
specification in <tt class="docutils literal"><span class="pre">deployment_spec</span></tt> to deploy the OVF package to the
location specified by <tt class="docutils literal"><span class="pre">target</span></tt>.</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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Identifier of the content library item containing the OVF package
to be deployed.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt>.</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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.DeploymentTarget</span></tt></a>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></tt></a>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.DeploymentResult</span></tt></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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.InvalidArgument" title="com.vmware.vapi.std.errors_client.InvalidArgument"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></tt></a>
if <tt class="docutils literal"><span class="pre">target</span></tt> contains invalid arguments.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.InvalidArgument" title="com.vmware.vapi.std.errors_client.InvalidArgument"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></tt></a>
if <tt class="docutils literal"><span class="pre">deployment_spec</span></tt> contains invalid arguments or has attributes
that are inconsistent with <tt class="docutils literal"><span class="pre">target</span></tt>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the library item specified by <tt class="docutils literal"><span class="pre">ovf_library_item_id</span></tt> does not
exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.DeploymentTarget</span></tt></a> class, specified by
<tt class="docutils literal"><span class="pre">target</span></tt>, does not exist.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceInaccessible" title="com.vmware.vapi.std.errors_client.ResourceInaccessible"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></tt></a>
if there was an error accessing the OVF package stored in the
library item specified by <tt class="docutils literal"><span class="pre">ovf_library_item_id</span></tt>.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><dl class="first docutils">
<dt><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a> </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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt> referenced by
the parameter <tt class="docutils literal"><span class="pre">ovf_library_item_id</span></tt> requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">HostSystem</span></tt> referenced by the attribute
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeploymentTarget.host_id</span></tt> requires
<tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">Network</span></tt> referenced by the <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt> value of
attribute
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.network_mappings</span></tt>
requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">StorageProfile</span></tt> referenced by the attribute
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.storage_profile_id</span></tt>
requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">Datastore</span></tt> referenced by the attribute
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.default_datastore_id</span></tt>
requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">ResourcePool</span></tt> referenced by the attribute
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></tt> requires
<tt class="docutils literal"><span class="pre">VApp.Import</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">Folder</span></tt> referenced by the attribute
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeploymentTarget.folder_id</span></tt> requires
<tt class="docutils literal"><span class="pre">VApp.Import</span></tt>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.filter">
<tt class="descclassname">LibraryItem.</tt><tt class="descname">filter</tt><big>(</big><em>ovf_library_item_id</em>, <em>target</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#LibraryItem.filter"><span class="viewcode-link">[source]</span></a><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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a>.</p>
<p>This method retrieves information from the descriptor of the OVF
package stored in the library item specified by
<tt class="docutils literal"><span class="pre">ovf_library_item_id</span></tt>. 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></tt></a> when deploying the OVF
package to the deployment target specified by <tt class="docutils literal"><span class="pre">target</span></tt>.</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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Identifier of the content library item containing the OVF package
to query.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt>.</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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.DeploymentTarget</span></tt></a>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.OvfSummary</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></tt></a>)
when deploying the OVF package to the deployment target specified
by <tt class="docutils literal"><span class="pre">target</span></tt>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.InvalidArgument" title="com.vmware.vapi.std.errors_client.InvalidArgument"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></tt></a>
if <tt class="docutils literal"><span class="pre">target</span></tt> contains invalid arguments.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the library item specified by <tt class="docutils literal"><span class="pre">ovf_library_item_id</span></tt> does not
exist.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
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"><tt class="xref py py-class docutils literal"><span class="pre">LibraryItem.DeploymentTarget</span></tt></a> class, specified by
<tt class="docutils literal"><span class="pre">target</span></tt>, does not exist.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceInaccessible" title="com.vmware.vapi.std.errors_client.ResourceInaccessible"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></tt></a>
if there was an error accessing the OVF package at the specified
<tt class="docutils literal"><span class="pre">ovf_library_item_id</span></tt>.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><p class="first"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if you do not have all of the privileges described as follows:</p>
<ul class="last simple">
<li>Method execution requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">com.vmware.content.library.Item</span></tt> referenced by
the parameter <tt class="docutils literal"><span class="pre">ovf_library_item_id</span></tt> requires <tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">ResourcePool</span></tt> referenced by the attribute
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></tt> requires
<tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">HostSystem</span></tt> referenced by the attribute
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeploymentTarget.host_id</span></tt> requires
<tt class="docutils literal"><span class="pre">System.Read</span></tt>.</li>
<li>The resource <tt class="docutils literal"><span class="pre">Folder</span></tt> referenced by the attribute
<tt class="xref py py-attr docutils literal"><span class="pre">LibraryItem.DeploymentTarget.folder_id</span></tt> requires
<tt class="docutils literal"><span class="pre">System.Read</span></tt>.</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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">OvfError</tt><big>(</big><em>category=None</em>, <em>issues=None</em>, <em>name=None</em>, <em>value=None</em>, <em>message=None</em>, <em>error=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#OvfError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">OvfError</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">OvfMessage.Category</span></tt></a>) &#8211; The message category.</li>
<li><strong>issues</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><tt class="xref py py-class docutils literal"><span class="pre">ParseIssue</span></tt></a>) &#8211; <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of parse issues (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><tt class="xref py py-class docutils literal"><span class="pre">ParseIssue</span></tt></a>).
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.VALIDATION</span></tt></a>.</li>
<li><strong>name</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The name of input parameter.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.INPUT</span></tt></a>.</li>
<li><strong>value</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The value of input parameter.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.INPUT</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></tt></a>) &#8211; A localizable message.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.INPUT</span></tt></a>.</li>
<li><strong>error</strong> (<tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.struct.VapiStruct</span></tt>) &#8211; Represents a server
<a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>.
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.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></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.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.SERVER</span></tt></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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">OvfInfo</tt><big>(</big><em>messages=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#OvfInfo"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfInfo" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">OvfInfo</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage" title="com.vmware.vapi.std_client.LocalizableMessage"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></tt></a>) &#8211; A <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></tt></a>).</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.OvfMessage">
<em class="property">class </em><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">OvfMessage</tt><big>(</big><em>category=None</em>, <em>issues=None</em>, <em>name=None</em>, <em>value=None</em>, <em>message=None</em>, <em>error=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#OvfMessage"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">OvfMessage</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">OvfMessage.Category</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">OvfMessage.Category</span></tt></a>) &#8211; The message category.</li>
<li><strong>issues</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><tt class="xref py py-class docutils literal"><span class="pre">ParseIssue</span></tt></a>) &#8211; <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of parse issues (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><tt class="xref py py-class docutils literal"><span class="pre">ParseIssue</span></tt></a>).
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.VALIDATION</span></tt></a>.</li>
<li><strong>name</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The name of input parameter.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.INPUT</span></tt></a>.</li>
<li><strong>value</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The value of input parameter.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.INPUT</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></tt></a>) &#8211; A localizable message.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.INPUT</span></tt></a>.</li>
<li><strong>error</strong> (<tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.struct.VapiStruct</span></tt>) &#8211; Represents a server
<a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>.
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.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></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.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.SERVER</span></tt></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category">
<em class="property">class </em><tt class="descname">Category</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#OvfMessage.Category"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">OvfMessage.Category</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">OvfMessage</span></tt></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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">Category</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT">
<tt class="descname">INPUT</tt><em class="property"> = Category(string=u'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">
<tt class="descname">SERVER</tt><em class="property"> = Category(string=u'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">
<tt class="descname">VALIDATION</tt><em class="property"> = Category(string=u'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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">OvfParams</tt><big>(</big><em>type=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#OvfParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">OvfParams</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">OvfWarning</tt><big>(</big><em>category=None</em>, <em>issues=None</em>, <em>name=None</em>, <em>value=None</em>, <em>message=None</em>, <em>error=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#OvfWarning"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfWarning" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">OvfWarning</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">OvfMessage.Category</span></tt></a>) &#8211; The message category.</li>
<li><strong>issues</strong> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><tt class="xref py py-class docutils literal"><span class="pre">ParseIssue</span></tt></a>) &#8211; <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of parse issues (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><tt class="xref py py-class docutils literal"><span class="pre">ParseIssue</span></tt></a>).
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.VALIDATION</span></tt></a>.</li>
<li><strong>name</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The name of input parameter.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.INPUT</span></tt></a>.</li>
<li><strong>value</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The value of input parameter.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.INPUT</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></tt></a>) &#8211; A localizable message.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.INPUT</span></tt></a>.</li>
<li><strong>error</strong> (<tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.struct.VapiStruct</span></tt>) &#8211; Represents a server
<a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>.
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.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></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.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">category</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER" title="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"><tt class="xref py py-attr docutils literal"><span class="pre">OvfMessage.Category.SERVER</span></tt></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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">ParseIssue</tt><big>(</big><em>category=None</em>, <em>file=None</em>, <em>line_number=None</em>, <em>column_number=None</em>, <em>message=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ParseIssue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ParseIssue</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">ParseIssue.Category</span></tt></a>) &#8211; The category of the parse issue.</li>
<li><strong>file</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; The name of the file in which the parse issue was found.</li>
<li><strong>line_number</strong> (<tt class="xref py py-class docutils literal"><span class="pre">long</span></tt>) &#8211; The line number of the line in the file (see
<tt class="xref py py-attr docutils literal"><span class="pre">ParseIssue.file</span></tt>) where the parse issue was found (or -1 if
not applicable).</li>
<li><strong>column_number</strong> (<tt class="xref py py-class docutils literal"><span class="pre">long</span></tt>) &#8211; The position in the line (see <tt class="xref py py-attr docutils literal"><span class="pre">ParseIssue.line_number</span></tt>) (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"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std_client.LocalizableMessage</span></tt></a>) &#8211; 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><tt class="descname">Category</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ParseIssue.Category"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ParseIssue.Category</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">ParseIssue</span></tt></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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">Category</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ATTRIBUTE_ILLEGAL">
<tt class="descname">ATTRIBUTE_ILLEGAL</tt><em class="property"> = Category(string=u'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">
<tt class="descname">ATTRIBUTE_REQUIRED</tt><em class="property"> = Category(string=u'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">
<tt class="descname">ELEMENT_ILLEGAL</tt><em class="property"> = Category(string=u'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">
<tt class="descname">ELEMENT_REQUIRED</tt><em class="property"> = Category(string=u'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">
<tt class="descname">ELEMENT_UNKNOWN</tt><em class="property"> = Category(string=u'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">
<tt class="descname">EXPORT_ERROR</tt><em class="property"> = Category(string=u'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">
<tt class="descname">GENERATE_ERROR</tt><em class="property"> = Category(string=u'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">
<tt class="descname">INTERNAL_ERROR</tt><em class="property"> = Category(string=u'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">
<tt class="descname">PARSE_ERROR</tt><em class="property"> = Category(string=u'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">
<tt class="descname">SECTION_RESTRICTION</tt><em class="property"> = Category(string=u'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">
<tt class="descname">SECTION_UNKNOWN</tt><em class="property"> = Category(string=u'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">
<tt class="descname">VALIDATION_ERROR</tt><em class="property"> = Category(string=u'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">
<tt class="descname">VALUE_ILLEGAL</tt><em class="property"> = Category(string=u'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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">Property</tt><big>(</big><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><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#Property"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.Property" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Property</span></tt> 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 <tt class="xref py py-attr docutils literal"><span class="pre">Property.class_id</span></tt>, <tt class="xref py py-attr docutils literal"><span class="pre">Property.id</span></tt>,
and <tt class="xref py py-attr docutils literal"><span class="pre">Property.instance_id</span></tt>). 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; <p>Whether a category is UI optional. This is only used if this
property starts a new category (see <tt class="xref py py-attr docutils literal"><span class="pre">Property.category</span></tt>).</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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">PropertyParams</tt><big>(</big><em>properties=None</em>, <em>type=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#PropertyParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.PropertyParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">PropertyParams</span></tt> class contains a <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.Property" title="com.vmware.vcenter.ovf_client.Property"><tt class="xref py py-class docutils literal"><span class="pre">Property</span></tt></a>) &#8211; <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">ScaleOutGroup</tt><big>(</big><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><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ScaleOutGroup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ScaleOutGroup" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ScaleOutGroup</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">long</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">long</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">long</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">ScaleOutParams</tt><big>(</big><em>groups=None</em>, <em>type=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#ScaleOutParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ScaleOutParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">ScaleOutParams</span></tt> 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 <tt class="xref py py-attr docutils literal"><span class="pre">ScaleOutGroup.instance_count</span></tt>.</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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ScaleOutGroup" title="com.vmware.vcenter.ovf_client.ScaleOutGroup"><tt class="xref py py-class docutils literal"><span class="pre">ScaleOutGroup</span></tt></a>) &#8211; The <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">SizeParams</tt><big>(</big><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><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#SizeParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.SizeParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">SizeParams</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">long</span></tt>) &#8211; <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> (<tt class="xref py py-class docutils literal"><span class="pre">long</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">long</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; <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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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.UnknownSection">
<em class="property">class </em><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">UnknownSection</tt><big>(</big><em>tag=None</em>, <em>info=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#UnknownSection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.UnknownSection" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">UnknownSection</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; A namespace-qualified tag in the form <tt class="docutils literal"><span class="pre">{ns}tag</span></tt>.</li>
<li><strong>info</strong> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">UnknownSectionParams</tt><big>(</big><em>unknown_sections=None</em>, <em>type=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#UnknownSectionParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.UnknownSectionParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">UnknownSectionParams</span></tt> class contains a <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.UnknownSection" title="com.vmware.vcenter.ovf_client.UnknownSection"><tt class="xref py py-class docutils literal"><span class="pre">UnknownSection</span></tt></a>) &#8211; <tt class="xref py py-class docutils literal"><span class="pre">list</span></tt> 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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><tt class="descclassname">com.vmware.vcenter.ovf_client.</tt><tt class="descname">VcenterExtensionParams</tt><big>(</big><em>required=None</em>, <em>registration_accepted=None</em>, <em>type=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/ovf_client.html#VcenterExtensionParams"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.ovf_client.VcenterExtensionParams" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">VcenterExtensionParams</span></tt> 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"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.deploy()</span></tt></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><tt class="xref py py-func docutils literal"><span class="pre">LibraryItem.filter()</span></tt></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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; 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> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; <p>Whether registration as a vCenter extension is accepted.</p>
<p>If registration as a vCenter extension is required (see
<tt class="xref py py-attr docutils literal"><span class="pre">VcenterExtensionParams.required</span></tt>), 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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; 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.vm_client">
<span id="vm-client-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">vm_client</span></tt> Module<a class="headerlink" href="#module-com.vmware.vcenter.vm_client" title="Permalink to this headline"></a></h2>
<p>The <tt class="docutils literal"><span class="pre">com.vmware.vcenter.vm_client</span></tt> module provides classes for managing
virtual machines.</p>
<dl class="class">
<dt id="com.vmware.vcenter.vm_client.GuestOS">
<em class="property">class </em><tt class="descclassname">com.vmware.vcenter.vm_client.</tt><tt class="descname">GuestOS</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#GuestOS"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">GuestOS</span></tt> 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <a class="reference internal" href="#com.vmware.vcenter.vm_client.GuestOS" title="com.vmware.vcenter.vm_client.GuestOS"><tt class="xref py py-class docutils literal"><span class="pre">GuestOS</span></tt></a> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3">
<tt class="descname">ASIANUX_3</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ASIANUX_3_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ASIANUX_4</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ASIANUX_4_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ASIANUX_5_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ASIANUX_7_64</tt><em class="property"> = GuestOS(string=u'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.CENTOS">
<tt class="descname">CENTOS</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">CENTOS_6</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">CENTOS_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">CENTOS_6_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">CENTOS_7</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">CENTOS_7_64</tt><em class="property"> = GuestOS(string=u'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.COREOS_64">
<tt class="descname">COREOS_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN_10</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN_10_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN_11</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN_11_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN_12_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN_13_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN_14_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN_15_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DARWIN_16_64</tt><em class="property"> = GuestOS(string=u'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_64">
<tt class="descname">DARWIN_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_10</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_10_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_4</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_4_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_5</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_5_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_6</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_6_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_7</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_7_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_8</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_8_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_9</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DEBIAN_9_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">DOS</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ECOMSTATION</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ECOMSTATION_2</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">FEDORA</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">FEDORA_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">FREEBSD</tt><em class="property"> = GuestOS(string=u'FREEBSD')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD" title="Permalink to this definition"></a></dt>
<dd><p>FreeBSD</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_64">
<tt class="descname">FREEBSD_64</tt><em class="property"> = GuestOS(string=u'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 x64</p>
</dd></dl>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.GuestOS.GENERIC_LINUX">
<tt class="descname">GENERIC_LINUX</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">MANDRAKE</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">MANDRIVA</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">MANDRIVA_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">NETWARE_4</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">NETWARE_5</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">NETWARE_6</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">NLD_9</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OES</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OPENSERVER_5</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OPENSERVER_6</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OPENSUSE</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OPENSUSE_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ORACLE_LINUX</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ORACLE_LINUX_6</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ORACLE_LINUX_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ORACLE_LINUX_6_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ORACLE_LINUX_7</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">ORACLE_LINUX_7_64</tt><em class="property"> = GuestOS(string=u'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.OS2">
<tt class="descname">OS2</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OTHER</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OTHER_24X_LINUX</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OTHER_24X_LINUX_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OTHER_26X_LINUX</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OTHER_26X_LINUX_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OTHER_3X_LINUX</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OTHER_3X_LINUX_64</tt><em class="property"> = GuestOS(string=u'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_64">
<tt class="descname">OTHER_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OTHER_LINUX</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">OTHER_LINUX_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">REDHAT</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_2</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_3</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_3_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_4</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_4_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_5</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_5_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_6</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_6_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_7</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">RHEL_7_64</tt><em class="property"> = GuestOS(string=u'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.SJDS">
<tt class="descname">SJDS</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SLES</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SLES_10</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SLES_10_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SLES_11</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SLES_11_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SLES_12</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SLES_12_64</tt><em class="property"> = GuestOS(string=u'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_64">
<tt class="descname">SLES_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SOLARIS_10</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SOLARIS_10_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SOLARIS_11_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SOLARIS_6</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SOLARIS_7</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SOLARIS_8</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SOLARIS_9</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SUSE</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">SUSE_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">TURBO_LINUX</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">TURBO_LINUX_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">UBUNTU</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">UBUNTU_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">UNIXWARE_7</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">VMKERNEL</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">VMKERNEL_5</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">VMKERNEL_6</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">VMKERNEL_65</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">VMWARE_PHOTON_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_7</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_7_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_7_SERVER_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_8</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_8_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_8_SERVER_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_9</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_9_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_9_SERVER_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WINDOWS_HYPERV</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_2000_ADV_SERV</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_2000_PRO</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_2000_SERV</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_31</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_95</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_98</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_LONGHORN</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_LONGHORN_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_ME</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_NET_BUSINESS</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_NET_DATACENTER</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_NET_DATACENTER_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_NET_ENTERPRISE</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_NET_ENTERPRISE_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_NET_STANDARD</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_NET_STANDARD_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_NET_WEB</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_NT</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_VISTA</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_VISTA_64</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_XP_HOME</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_XP_PRO</tt><em class="property"> = GuestOS(string=u'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">
<tt class="descname">WIN_XP_PRO_64</tt><em class="property"> = GuestOS(string=u'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.Hardware">
<em class="property">class </em><tt class="descclassname">com.vmware.vcenter.vm_client.</tt><tt class="descname">Hardware</tt><big>(</big><em>config</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Hardware"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.VapiInterface" title="vmware.vapi.bindings.stub.VapiInterface"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Hardware</span></tt> 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> (<a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.StubConfiguration" title="vmware.vapi.bindings.stub.StubConfiguration"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></tt></a>) &#8211; 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><tt class="descname">Info</tt><big>(</big><em>version=None</em>, <em>upgrade_policy=None</em>, <em>upgrade_version=None</em>, <em>upgrade_status=None</em>, <em>upgrade_error=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Hardware.Info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Hardware.Info</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">Hardware.Version</span></tt></a>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">Hardware.UpgradePolicy</span></tt></a>) &#8211; 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"><tt class="xref py py-class docutils literal"><span class="pre">Hardware.Version</span></tt></a>) &#8211; 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 <tt class="docutils literal"><span class="pre">upgradePolicy</span></tt> 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"><tt class="xref py py-attr docutils literal"><span class="pre">Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN</span></tt></a> or
<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.ALWAYS" title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.ALWAYS"><tt class="xref py py-attr docutils literal"><span class="pre">Hardware.UpgradePolicy.ALWAYS</span></tt></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"><tt class="xref py py-class docutils literal"><span class="pre">Hardware.UpgradeStatus</span></tt></a>) &#8211; Scheduled upgrade status.</li>
<li><strong>upgrade_error</strong> (<tt class="xref py py-class docutils literal"><span class="pre">Exception</span></tt>) &#8211; Reason for the scheduled upgrade failure.
This attribute is optional and it is only relevant when the value
of <tt class="docutils literal"><span class="pre">upgradeStatus</span></tt> is <a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.FAILED" title="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.FAILED"><tt class="xref py py-attr docutils literal"><span class="pre">Hardware.UpgradeStatus.FAILED</span></tt></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><tt class="descclassname">Hardware.</tt><tt class="descname">UpdateSpec</tt><big>(</big><em>upgrade_policy=None</em>, <em>upgrade_version=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Hardware.UpdateSpec"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpdateSpec" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Hardware.UpdateSpec</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">Hardware.UpgradePolicy</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; <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"><tt class="xref py py-attr docutils literal"><span class="pre">Hardware.UpgradePolicy.NEVER</span></tt></a>, the
<tt class="xref py py-attr docutils literal"><span class="pre">Hardware.Info.upgrade_version</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">Hardware.Version</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; <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 <tt class="xref py py-attr docutils literal"><span class="pre">Hardware.Info.version</span></tt>.
If <tt class="xref py py-attr docutils literal"><span class="pre">Hardware.UpdateSpec.upgrade_policy</span></tt> 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"><tt class="xref py py-attr docutils literal"><span class="pre">Hardware.UpgradePolicy.NEVER</span></tt></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><tt class="descclassname">Hardware.</tt><tt class="descname">UpgradePolicy</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Hardware.UpgradePolicy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Hardware.UpgradePolicy</span></tt> 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">UpgradePolicy</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN">
<tt class="descname">AFTER_CLEAN_SHUTDOWN</tt><em class="property"> = UpgradePolicy(string=u'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">
<tt class="descname">ALWAYS</tt><em class="property"> = UpgradePolicy(string=u'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">
<tt class="descname">NEVER</tt><em class="property"> = UpgradePolicy(string=u'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><tt class="descclassname">Hardware.</tt><tt class="descname">UpgradeStatus</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Hardware.UpgradeStatus"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Hardware.UpgradeStatus</span></tt> 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">UpgradeStatus</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.FAILED">
<tt class="descname">FAILED</tt><em class="property"> = UpgradeStatus(string=u'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">
<tt class="descname">NONE</tt><em class="property"> = UpgradeStatus(string=u'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">
<tt class="descname">PENDING</tt><em class="property"> = UpgradeStatus(string=u'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">
<tt class="descname">SUCCESS</tt><em class="property"> = UpgradeStatus(string=u'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><tt class="descclassname">Hardware.</tt><tt class="descname">Version</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Hardware.Version"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Hardware.Version</span></tt> 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">Version</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_03">
<tt class="descname">VMX_03</tt><em class="property"> = Version(string=u'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">
<tt class="descname">VMX_04</tt><em class="property"> = Version(string=u'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">
<tt class="descname">VMX_06</tt><em class="property"> = Version(string=u'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">
<tt class="descname">VMX_07</tt><em class="property"> = Version(string=u'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">
<tt class="descname">VMX_08</tt><em class="property"> = Version(string=u'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">
<tt class="descname">VMX_09</tt><em class="property"> = Version(string=u'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">
<tt class="descname">VMX_10</tt><em class="property"> = Version(string=u'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">
<tt class="descname">VMX_11</tt><em class="property"> = Version(string=u'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">
<tt class="descname">VMX_12</tt><em class="property"> = Version(string=u'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">
<tt class="descname">VMX_13</tt><em class="property"> = Version(string=u'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>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Hardware.get">
<tt class="descclassname">Hardware.</tt><tt class="descname">get</tt><big>(</big><em>vm</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Hardware.get"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Virtual machine identifier.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</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"><tt class="xref py py-class docutils literal"><span class="pre">Hardware.Info</span></tt></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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceInaccessible" title="com.vmware.vapi.std.errors_client.ResourceInaccessible"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></tt></a>
if the virtual machine&#8217;s configuration state cannot be accessed.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ServiceUnavailable" title="com.vmware.vapi.std.errors_client.ServiceUnavailable"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthenticated" title="com.vmware.vapi.std.errors_client.Unauthenticated"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></tt></a>
if the user can not be authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if the user doesn&#8217;t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Hardware.update">
<tt class="descclassname">Hardware.</tt><tt class="descname">update</tt><big>(</big><em>vm</em>, <em>spec</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Hardware.update"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Virtual machine identifier.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</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"><tt class="xref py py-class docutils literal"><span class="pre">Hardware.UpdateSpec</span></tt></a>) &#8211; 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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.AlreadyInDesiredState" title="com.vmware.vapi.std.errors_client.AlreadyInDesiredState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.InvalidArgument" title="com.vmware.vapi.std.errors_client.InvalidArgument"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unsupported" title="com.vmware.vapi.std.errors_client.Unsupported"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceBusy" title="com.vmware.vapi.std.errors_client.ResourceBusy"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceInaccessible" title="com.vmware.vapi.std.errors_client.ResourceInaccessible"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></tt></a>
if the virtual machine&#8217;s 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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ServiceUnavailable" title="com.vmware.vapi.std.errors_client.ServiceUnavailable"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthenticated" title="com.vmware.vapi.std.errors_client.Unauthenticated"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if the user doesn&#8217;t have the required privileges.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Hardware.upgrade">
<tt class="descclassname">Hardware.</tt><tt class="descname">upgrade</tt><big>(</big><em>vm</em>, <em>version=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Hardware.upgrade"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Virtual machine identifier.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</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"><tt class="xref py py-class docutils literal"><span class="pre">Hardware.Version</span></tt></a> or <tt class="docutils literal"><span class="pre">None</span></tt>) &#8211; 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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotAllowedInCurrentState" title="com.vmware.vapi.std.errors_client.NotAllowedInCurrentState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.AlreadyInDesiredState" title="com.vmware.vapi.std.errors_client.AlreadyInDesiredState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.InvalidArgument" title="com.vmware.vapi.std.errors_client.InvalidArgument"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></tt></a>
if <tt class="docutils literal"><span class="pre">version</span></tt> 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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unsupported" title="com.vmware.vapi.std.errors_client.Unsupported"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></tt></a>
if <tt class="docutils literal"><span class="pre">version</span></tt> 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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceBusy" title="com.vmware.vapi.std.errors_client.ResourceBusy"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceInaccessible" title="com.vmware.vapi.std.errors_client.ResourceInaccessible"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></tt></a>
if the virtual machine&#8217;s 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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ServiceUnavailable" title="com.vmware.vapi.std.errors_client.ServiceUnavailable"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthenticated" title="com.vmware.vapi.std.errors_client.Unauthenticated"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if the user doesn&#8217;t 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><tt class="descclassname">com.vmware.vcenter.vm_client.</tt><tt class="descname">Power</tt><big>(</big><em>config</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Power"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.VapiInterface" title="vmware.vapi.bindings.stub.VapiInterface"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Power</span></tt> 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> (<a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.stub.StubConfiguration" title="vmware.vapi.bindings.stub.StubConfiguration"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></tt></a>) &#8211; 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><tt class="descname">Info</tt><big>(</big><em>state=None</em>, <em>clean_power_off=None</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Power.Info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.Info" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.struct.VapiStruct" title="vmware.vapi.bindings.struct.VapiStruct"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Power.Info</span></tt> 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"><tt class="xref py py-class docutils literal"><span class="pre">Power.State</span></tt></a>) &#8211; Power state of the virtual machine.</li>
<li><strong>clean_power_off</strong> (<tt class="xref py py-class docutils literal"><span class="pre">bool</span></tt>) &#8211; 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 <tt class="docutils literal"><span class="pre">state</span></tt> 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"><tt class="xref py py-attr docutils literal"><span class="pre">Power.State.POWERED_OFF</span></tt></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><tt class="descclassname">Power.</tt><tt class="descname">State</tt><big>(</big><em>string</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Power.State"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.State" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="vmware.vapi.bindings.html#vmware.vapi.bindings.enum.Enum" title="vmware.vapi.bindings.enum.Enum"><tt class="xref py py-class docutils literal"><span class="pre">vmware.vapi.bindings.enum.Enum</span></tt></a></p>
<p>The <tt class="docutils literal"><span class="pre">Power.State</span></tt> 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="custom/rst/enumeration.html#enumeration-description"><em>enumerated
type description page</em></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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; String value for the <tt class="xref py py-class docutils literal"><span class="pre">State</span></tt> instance.</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="com.vmware.vcenter.vm_client.Power.State.POWERED_OFF">
<tt class="descname">POWERED_OFF</tt><em class="property"> = State(string=u'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">
<tt class="descname">POWERED_ON</tt><em class="property"> = State(string=u'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">
<tt class="descname">SUSPENDED</tt><em class="property"> = State(string=u'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">
<tt class="descclassname">Power.</tt><tt class="descname">get</tt><big>(</big><em>vm</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Power.get"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Virtual machine identifier.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</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"><tt class="xref py py-class docutils literal"><span class="pre">Power.Info</span></tt></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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceInaccessible" title="com.vmware.vapi.std.errors_client.ResourceInaccessible"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></tt></a>
if the virtual machine&#8217;s configuration or execution state cannot be
accessed.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ServiceUnavailable" title="com.vmware.vapi.std.errors_client.ServiceUnavailable"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthenticated" title="com.vmware.vapi.std.errors_client.Unauthenticated"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></tt></a>
if the user can not be authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if the user doesn&#8217;t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Power.reset">
<tt class="descclassname">Power.</tt><tt class="descname">reset</tt><big>(</big><em>vm</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Power.reset"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Virtual machine identifier.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotAllowedInCurrentState" title="com.vmware.vapi.std.errors_client.NotAllowedInCurrentState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceBusy" title="com.vmware.vapi.std.errors_client.ResourceBusy"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ServiceUnavailable" title="com.vmware.vapi.std.errors_client.ServiceUnavailable"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthenticated" title="com.vmware.vapi.std.errors_client.Unauthenticated"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></tt></a>
if the user can not be authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if the user doesn&#8217;t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Power.start">
<tt class="descclassname">Power.</tt><tt class="descname">start</tt><big>(</big><em>vm</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Power.start"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Virtual machine identifier.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.AlreadyInDesiredState" title="com.vmware.vapi.std.errors_client.AlreadyInDesiredState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unsupported" title="com.vmware.vapi.std.errors_client.Unsupported"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.UnableToAllocateResource" title="com.vmware.vapi.std.errors_client.UnableToAllocateResource"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceInaccessible" title="com.vmware.vapi.std.errors_client.ResourceInaccessible"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceInUse" title="com.vmware.vapi.std.errors_client.ResourceInUse"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInUse</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceBusy" title="com.vmware.vapi.std.errors_client.ResourceBusy"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ServiceUnavailable" title="com.vmware.vapi.std.errors_client.ServiceUnavailable"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthenticated" title="com.vmware.vapi.std.errors_client.Unauthenticated"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></tt></a>
if the user can not be authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if the user doesn&#8217;t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Power.stop">
<tt class="descclassname">Power.</tt><tt class="descname">stop</tt><big>(</big><em>vm</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Power.stop"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Virtual machine identifier.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.AlreadyInDesiredState" title="com.vmware.vapi.std.errors_client.AlreadyInDesiredState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceBusy" title="com.vmware.vapi.std.errors_client.ResourceBusy"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ServiceUnavailable" title="com.vmware.vapi.std.errors_client.ServiceUnavailable"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthenticated" title="com.vmware.vapi.std.errors_client.Unauthenticated"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></tt></a>
if the user can not be authenticated.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if the user doesn&#8217;t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="com.vmware.vcenter.vm_client.Power.suspend">
<tt class="descclassname">Power.</tt><tt class="descname">suspend</tt><big>(</big><em>vm</em><big>)</big><a class="reference internal" href="_modules/com/vmware/vcenter/vm_client.html#Power.suspend"><span class="viewcode-link">[source]</span></a><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> (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) &#8211; Virtual machine identifier.
The parameter must be an identifier for the resource type:
<tt class="docutils literal"><span class="pre">VirtualMachine</span></tt>.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Error" title="com.vmware.vapi.std.errors_client.Error"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotFound" title="com.vmware.vapi.std.errors_client.NotFound"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></tt></a>
if the virtual machine is not found.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.AlreadyInDesiredState" title="com.vmware.vapi.std.errors_client.AlreadyInDesiredState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></tt></a>
if the virtual machine is already suspended.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.NotAllowedInCurrentState" title="com.vmware.vapi.std.errors_client.NotAllowedInCurrentState"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></tt></a>
if the virtual machine is powered off.</td>
</tr>
<tr class="field-even field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ResourceBusy" title="com.vmware.vapi.std.errors_client.ResourceBusy"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.ServiceUnavailable" title="com.vmware.vapi.std.errors_client.ServiceUnavailable"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></tt></a>
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"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthenticated" title="com.vmware.vapi.std.errors_client.Unauthenticated"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></tt></a>
if the user can not be authenticated.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raise :</th><td class="field-body"><a class="reference internal" href="com.vmware.vapi.std.html#com.vmware.vapi.std.errors_client.Unauthorized" title="com.vmware.vapi.std.errors_client.Unauthorized"><tt class="xref py py-class docutils literal"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></tt></a>
if the user doesn&#8217;t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
</div>
<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.vm.html">vm Package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#id1"><tt class="docutils literal"><span class="pre">vm</span></tt> Package</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#module-com.vmware.vcenter.vm.hardware_client"><tt class="docutils literal"><span class="pre">hardware_client</span></tt> Module</a></li>
<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">hardware Package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.hardware.html#id1"><tt class="docutils literal"><span class="pre">hardware</span></tt> Package</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"><tt class="docutils literal"><span class="pre">adapter_client</span></tt> 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"><tt class="docutils literal"><span class="pre">boot_client</span></tt> Module</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">vcenter Package</a><ul>
<li><a class="reference internal" href="#id1"><tt class="docutils literal"><span class="pre">vcenter</span></tt> Package</a></li>
<li><a class="reference internal" href="#module-com.vmware.vcenter.inventory_client"><tt class="docutils literal"><span class="pre">inventory_client</span></tt> Module</a></li>
<li><a class="reference internal" href="#module-com.vmware.vcenter.iso_client"><tt class="docutils literal"><span class="pre">iso_client</span></tt> Module</a></li>
<li><a class="reference internal" href="#module-com.vmware.vcenter.ovf_client"><tt class="docutils literal"><span class="pre">ovf_client</span></tt> Module</a></li>
<li><a class="reference internal" href="#module-com.vmware.vcenter.vm_client"><tt class="docutils literal"><span class="pre">vm_client</span></tt> Module</a></li>
<li><a class="reference internal" href="#subpackages">Subpackages</a><ul>
</ul>
</li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="com.vmware.vapi.std.html"
title="previous chapter">std Package</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="com.vmware.vcenter.vm.html"
title="next chapter">vm Package</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/com.vmware.vcenter.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="com.vmware.vcenter.vm.html" title="vm Package"
>next</a> |</li>
<li class="right" >
<a href="com.vmware.vapi.std.html" title="std Package"
>previous</a> |</li>
<li><a href="index.html">vSphere Automation SDK for Python 6.5.0 documentation</a> &raquo;</li>
<li><a href="com.html" >com Package</a> &raquo;</li>
<li><a href="com.vmware.html" >vmware Package</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2014, VMware, Inc..
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
</div>
</body>
</html>