mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-25 02:39:59 -05:00
6566 lines
484 KiB
HTML
6566 lines
484 KiB
HTML
|
|
|||
|
|
|||
|
<!DOCTYPE html>
|
|||
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|||
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|||
|
<head>
|
|||
|
<meta charset="utf-8">
|
|||
|
|
|||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|||
|
|
|||
|
<title>com.vmware.vcenter package — vSphere Automation SDK for Python 6.7.0 documentation</title>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<link rel="index" title="Index"
|
|||
|
href="genindex.html"/>
|
|||
|
<link rel="search" title="Search" href="search.html"/>
|
|||
|
<link rel="top" title="vSphere Automation SDK for Python 6.7.0 documentation" href="index.html"/>
|
|||
|
<link rel="up" title="com.vmware package" href="com.vmware.html"/>
|
|||
|
<link rel="next" title="com.vmware.vcenter.deployment package" href="com.vmware.vcenter.deployment.html"/>
|
|||
|
<link rel="prev" title="com.vmware.vapi.std package" href="com.vmware.vapi.std.html"/>
|
|||
|
|
|||
|
|
|||
|
<script src="_static/js/modernizr.min.js"></script>
|
|||
|
|
|||
|
</head>
|
|||
|
|
|||
|
<body class="wy-body-for-nav" role="document">
|
|||
|
|
|||
|
|
|||
|
<div class="wy-grid-for-nav">
|
|||
|
|
|||
|
|
|||
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
|||
|
<div class="wy-side-scroll">
|
|||
|
<div class="wy-side-nav-search">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<a href="index.html" class="icon icon-home"> vSphere Automation SDK for Python
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</a>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div class="version">
|
|||
|
6.7.0
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div role="search">
|
|||
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
|||
|
<input type="text" name="q" placeholder="Search docs" />
|
|||
|
<input type="hidden" name="check_keywords" value="yes" />
|
|||
|
<input type="hidden" name="area" value="default" />
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<p class="caption"><span class="caption-text">Contents:</span></p>
|
|||
|
<ul class="current">
|
|||
|
<li class="toctree-l1 current"><a class="reference internal" href="com.html">com package</a><ul class="current">
|
|||
|
<li class="toctree-l2 current"><a class="reference internal" href="com.html#subpackages">Subpackages</a><ul class="current">
|
|||
|
<li class="toctree-l3 current"><a class="reference internal" href="com.vmware.html">com.vmware package</a><ul class="current">
|
|||
|
<li class="toctree-l4 current"><a class="reference internal" href="com.vmware.html#subpackages">Subpackages</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#module-com.vmware.appliance_client">com.vmware.appliance_client module</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#module-com.vmware.cis_client">com.vmware.cis_client module</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#module-com.vmware.content_client">com.vmware.content_client module</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.html#module-com.vmware.vcenter_client">com.vmware.vcenter_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l1"><a class="reference internal" href="vmware.html">vmware package</a></li>
|
|||
|
</ul>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
|
|||
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|||
|
|
|||
|
|
|||
|
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
|
|||
|
|
|||
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|||
|
<a href="index.html">vSphere Automation SDK for Python</a>
|
|||
|
|
|||
|
</nav>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div class="wy-nav-content">
|
|||
|
<div class="rst-content">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div role="navigation" aria-label="breadcrumbs navigation">
|
|||
|
|
|||
|
<ul class="wy-breadcrumbs">
|
|||
|
|
|||
|
<li><a href="index.html">Docs</a> »</li>
|
|||
|
|
|||
|
<li><a href="com.html">com package</a> »</li>
|
|||
|
|
|||
|
<li><a href="com.vmware.html">com.vmware package</a> »</li>
|
|||
|
|
|||
|
<li>com.vmware.vcenter package</li>
|
|||
|
|
|||
|
|
|||
|
<li class="wy-breadcrumbs-aside">
|
|||
|
|
|||
|
|
|||
|
<a href="_sources/com.vmware.vcenter.rst.txt" rel="nofollow"> View page source</a>
|
|||
|
|
|||
|
|
|||
|
</li>
|
|||
|
|
|||
|
</ul>
|
|||
|
|
|||
|
|
|||
|
<hr/>
|
|||
|
</div>
|
|||
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|||
|
<div itemprop="articleBody">
|
|||
|
|
|||
|
<div class="section" id="module-com.vmware.vcenter">
|
|||
|
<span id="com-vmware-vcenter-package"></span><h1>com.vmware.vcenter package<a class="headerlink" href="#module-com.vmware.vcenter" title="Permalink to this headline">¶</a></h1>
|
|||
|
<div class="section" id="subpackages">
|
|||
|
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
|
|||
|
<div class="toctree-wrapper compound">
|
|||
|
<ul>
|
|||
|
<li class="toctree-l1"><a class="reference internal" href="com.vmware.vcenter.deployment.html">com.vmware.vcenter.deployment package</a><ul>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.deployment.html#subpackages">Subpackages</a><ul>
|
|||
|
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.deployment.install.html">com.vmware.vcenter.deployment.install package</a><ul>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.deployment.install.html#subpackages">Subpackages</a><ul>
|
|||
|
<li class="toctree-l5"><a class="reference internal" href="com.vmware.vcenter.deployment.install.initial_config.html">com.vmware.vcenter.deployment.install.initial_config package</a><ul>
|
|||
|
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vcenter.deployment.install.initial_config.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vcenter.deployment.install.initial_config.html#module-com.vmware.vcenter.deployment.install.initial_config.remote_psc_client">com.vmware.vcenter.deployment.install.initial_config.remote_psc_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.deployment.install.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.deployment.install.html#module-com.vmware.vcenter.deployment.install.psc_client">com.vmware.vcenter.deployment.install.psc_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.deployment.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.deployment.html#module-com.vmware.vcenter.deployment.install_client">com.vmware.vcenter.deployment.install_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l1"><a class="reference internal" href="com.vmware.vcenter.hvc.html">com.vmware.vcenter.hvc package</a><ul>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.hvc.html#subpackages">Subpackages</a><ul>
|
|||
|
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.hvc.links.html">com.vmware.vcenter.hvc.links package</a><ul>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.hvc.links.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.hvc.links.html#module-com.vmware.vcenter.hvc.links.sync_client">com.vmware.vcenter.hvc.links.sync_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.hvc.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.hvc.html#module-com.vmware.vcenter.hvc.links_client">com.vmware.vcenter.hvc.links_client module</a></li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.hvc.html#module-com.vmware.vcenter.hvc.management_client">com.vmware.vcenter.hvc.management_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l1"><a class="reference internal" href="com.vmware.vcenter.storage.html">com.vmware.vcenter.storage package</a><ul>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.storage.html#subpackages">Subpackages</a><ul>
|
|||
|
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.storage.policies.html">com.vmware.vcenter.storage.policies package</a><ul>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.storage.policies.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.storage.policies.html#module-com.vmware.vcenter.storage.policies.compliance_client">com.vmware.vcenter.storage.policies.compliance_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.storage.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.storage.html#module-com.vmware.vcenter.storage.policies_client">com.vmware.vcenter.storage.policies_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l1"><a class="reference internal" href="com.vmware.vcenter.vm.html">com.vmware.vcenter.vm package</a><ul>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#subpackages">Subpackages</a><ul>
|
|||
|
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.vm.hardware.html">com.vmware.vcenter.vm.hardware package</a><ul>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.hardware.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.hardware.html#module-com.vmware.vcenter.vm.hardware.adapter_client">com.vmware.vcenter.vm.hardware.adapter_client module</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.hardware.html#module-com.vmware.vcenter.vm.hardware.boot_client">com.vmware.vcenter.vm.hardware.boot_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vcenter.vm.storage.html">com.vmware.vcenter.vm.storage package</a><ul>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.storage.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vcenter.vm.storage.html#module-com.vmware.vcenter.vm.storage.policy_client">com.vmware.vcenter.vm.storage.policy_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#submodules">Submodules</a></li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#module-com.vmware.vcenter.vm.guest_client">com.vmware.vcenter.vm.guest_client module</a></li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#module-com.vmware.vcenter.vm.hardware_client">com.vmware.vcenter.vm.hardware_client module</a></li>
|
|||
|
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vcenter.vm.html#module-com.vmware.vcenter.vm.storage_client">com.vmware.vcenter.vm.storage_client module</a></li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="section" id="submodules">
|
|||
|
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.datastore_client">
|
|||
|
<span id="com-vmware-vcenter-datastore-client-module"></span><h2>com.vmware.vcenter.datastore_client module<a class="headerlink" href="#module-com.vmware.vcenter.datastore_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.datastore_client.DefaultPolicy">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.datastore_client.</code><code class="descname">DefaultPolicy</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.datastore_client.DefaultPolicy" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">DefaultPolicy</span></code> class provides methods related to storage policies
|
|||
|
associated with datastore object. The <a class="reference internal" href="#com.vmware.vcenter.datastore_client.DefaultPolicy.get" title="com.vmware.vcenter.datastore_client.DefaultPolicy.get"><code class="xref py py-func docutils literal notranslate"><span class="pre">DefaultPolicy.get()</span></code></a> method
|
|||
|
provides information about the default storage policy associated with the
|
|||
|
specific datastore. This class was added in vSphere API 6.7</p>
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.datastore_client.DefaultPolicy.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><em>datastore</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.datastore_client.DefaultPolicy.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns the identifier of the current default storage policy associated
|
|||
|
with the specified datastore. This method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>datastore</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Identifier of the datastore for which the default policy is
|
|||
|
requested.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Identifier of the default storage policy associated with the
|
|||
|
specified datastore.
|
|||
|
The return value will be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.StoragePolicy</span></code>.
|
|||
|
this field is None if there is no default storage policy associated
|
|||
|
with the datastore.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the specified datastore does not exist.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user does not have the required priveleges.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.datastore_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.datastore_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.datastore_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.deployment_client">
|
|||
|
<span id="com-vmware-vcenter-deployment-client-module"></span><h2>com.vmware.vcenter.deployment_client module<a class="headerlink" href="#module-com.vmware.vcenter.deployment_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceState">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ApplianceState</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ApplianceState</span></code> class defines the various states the vCenter
|
|||
|
Appliance can be in. This enumeration was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.CONFIGURED">
|
|||
|
<code class="descname">CONFIGURED</code><em class="property"> = ApplianceState(string='CONFIGURED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.CONFIGURED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance has been configured. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.CONFIG_IN_PROGRESS">
|
|||
|
<code class="descname">CONFIG_IN_PROGRESS</code><em class="property"> = ApplianceState(string='CONFIG_IN_PROGRESS')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.CONFIG_IN_PROGRESS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance is in the process of being configured. This class attribute
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.FAILED">
|
|||
|
<code class="descname">FAILED</code><em class="property"> = ApplianceState(string='FAILED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.FAILED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance configuration has failed. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.INITIALIZED">
|
|||
|
<code class="descname">INITIALIZED</code><em class="property"> = ApplianceState(string='INITIALIZED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.INITIALIZED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance is initialized and ready to be configured. This class
|
|||
|
attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.NOT_INITIALIZED">
|
|||
|
<code class="descname">NOT_INITIALIZED</code><em class="property"> = ApplianceState(string='NOT_INITIALIZED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.NOT_INITIALIZED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance is in the process of being initialized and not ready for
|
|||
|
configuration. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceState.QUESTION_RAISED">
|
|||
|
<code class="descname">QUESTION_RAISED</code><em class="property"> = ApplianceState(string='QUESTION_RAISED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceState.QUESTION_RAISED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The deployment script has raised a question and is waiting for an answer to
|
|||
|
continue with the appliance configuration. This class attribute was added
|
|||
|
in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceType">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ApplianceType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceType" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ApplianceType</span></code> class defines the vCenter appliance types. This
|
|||
|
enumeration was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceType.PSC_EXTERNAL">
|
|||
|
<code class="descname">PSC_EXTERNAL</code><em class="property"> = ApplianceType(string='PSC_EXTERNAL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceType.PSC_EXTERNAL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>An external Platform Services Controller. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceType.VCSA_EMBEDDED">
|
|||
|
<code class="descname">VCSA_EMBEDDED</code><em class="property"> = ApplianceType(string='VCSA_EMBEDDED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceType.VCSA_EMBEDDED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>vCenter Server Appliance with an embedded Platform Services Controller.
|
|||
|
This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ApplianceType.VCSA_EXTERNAL">
|
|||
|
<code class="descname">VCSA_EXTERNAL</code><em class="property"> = ApplianceType(string='VCSA_EXTERNAL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ApplianceType.VCSA_EXTERNAL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>vCenter Server Appliance with an external Platform Services Controller.
|
|||
|
This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.CheckInfo">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">CheckInfo</code><span class="sig-paren">(</span><em>status=None</em>, <em>result=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.CheckInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">CheckInfo</span></code> class describes the result of the appliance deployment
|
|||
|
check. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.CheckStatus">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">CheckStatus</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.CheckStatus" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">CheckStatus</span></code> class defines the status of the checks. This
|
|||
|
enumeration was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.CheckStatus.FAILED">
|
|||
|
<code class="descname">FAILED</code><em class="property"> = CheckStatus(string='FAILED')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.CheckStatus.FAILED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>A fatal error was encountered when running the sanity checks. This class
|
|||
|
attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.CheckStatus.SUCCESS">
|
|||
|
<code class="descname">SUCCESS</code><em class="property"> = CheckStatus(string='SUCCESS')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.CheckStatus.SUCCESS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>All checks have completed successfully. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.HistoryMigrationOption">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">HistoryMigrationOption</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">HistoryMigrationOption</span></code> class defines the vCenter history migration
|
|||
|
option choices. This enumeration was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.HistoryMigrationOption.ALL">
|
|||
|
<code class="descname">ALL</code><em class="property"> = HistoryMigrationOption(string='ALL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption.ALL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>All history data will be migrated along with the core data. This class
|
|||
|
attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.HistoryMigrationOption.EVENTS_TASKS">
|
|||
|
<code class="descname">EVENTS_TASKS</code><em class="property"> = HistoryMigrationOption(string='EVENTS_TASKS')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption.EVENTS_TASKS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Only event data and task data will be migrated along with the core data.
|
|||
|
This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.HistoryMigrationSpec">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">HistoryMigrationSpec</code><span class="sig-paren">(</span><em>data_set=None</em>, <em>defer_import=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.HistoryMigrationSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">HistoryMigrationSpec</span></code> class defines how vCenter history data will be
|
|||
|
migrated. vCenter History data includes</p>
|
|||
|
<ul class="simple">
|
|||
|
<li>Statistics</li>
|
|||
|
<li>Events</li>
|
|||
|
<li>Tasks</li>
|
|||
|
</ul>
|
|||
|
<p>. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ImportHistory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ImportHistory</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ImportHistory</span></code> class provides methods for managing the import of
|
|||
|
vCenter historical data, e.g. Tasks, Events and Statistics, when is is
|
|||
|
imported separately from the upgrade or migration process. This class was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec">
|
|||
|
<em class="property">class </em><code class="descname">CreateSpec</code><span class="sig-paren">(</span><em>name=None</em>, <em>description=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ImportHistory.CreateSpec</span></code> class contains information to create and
|
|||
|
start vCenter historical data lazy-import. This class was added in vSphere
|
|||
|
API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>progress=None</em>, <em>result=None</em>, <em>description=None</em>, <em>service=None</em>, <em>operation=None</em>, <em>parent=None</em>, <em>target=None</em>, <em>status=None</em>, <em>cancelable=None</em>, <em>error=None</em>, <em>start_time=None</em>, <em>end_time=None</em>, <em>user=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ImportHistory.Info</span></code> class contains attributes to describe the state
|
|||
|
of vCenter history import task. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.cancel">
|
|||
|
<code class="descname">cancel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.cancel" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Cancels the task for importing vCenter historical data. This method was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the caller is not authorized to perform the method.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if vCenter historical data import task cannot be canceled at this
|
|||
|
state. This can happen in the following cases:</p>
|
|||
|
<ul class="simple">
|
|||
|
<li>If historical data import has not been started yet because a not
|
|||
|
running task cannot be canceled</li>
|
|||
|
<li>If historical data import has already been completed because a
|
|||
|
completed task cannot be canceled</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
|
|||
|
if vCenter historical data import task is already canceled.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
Generic error.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Get the current status of the vCenter historical data import. This
|
|||
|
method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.ImportHistory.Info" title="com.vmware.vcenter.deployment_client.ImportHistory.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">ImportHistory.Info</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Info structure containing the status information about the
|
|||
|
historical data import status.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the caller is not authorized to perform the method.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
Generic error</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.pause">
|
|||
|
<code class="descname">pause</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.pause" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Pauses the task for importing vCenter historical data. This method was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the caller is not authorized to perform the method.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if vCenter historical data import task cannot be paused at this
|
|||
|
time. Pause can be accepted only in null state</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
|
|||
|
if vCenter historical data import task is already paused</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
Generic error</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.resume">
|
|||
|
<code class="descname">resume</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.resume" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Resumes the task for importing vCenter historical data. This method was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the caller is not authorized to perform the method.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if vCenter historical data import task cannot be resumed at this
|
|||
|
state. Resume can be accepted only in null state</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
|
|||
|
if vCenter historical data import task is already resumed.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
Generic error.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ImportHistory.start">
|
|||
|
<code class="descname">start</code><span class="sig-paren">(</span><em>spec=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ImportHistory.start" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Creates and starts task for importing vCenter historical data. This
|
|||
|
method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec" title="com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">ImportHistory.CreateSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) – <p>An optional <code class="docutils literal notranslate"><span class="pre">ImportHistory.CreateSpec</span></code> info that can be passed
|
|||
|
for creating a new historical data import task and starts it.
|
|||
|
If None, default value will be:</p>
|
|||
|
<ul class="simple">
|
|||
|
<li>name : vcenter.deployment.history.import</li>
|
|||
|
<li>description : vCenter Server history import</li>
|
|||
|
</ul>
|
|||
|
</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the caller is not authorized to perform the method.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if vCenter historical data import task cannot be started at this
|
|||
|
time. This can happen in the following cases:</p>
|
|||
|
<ul class="simple">
|
|||
|
<li>If historical data import has already been canceled because a
|
|||
|
canceled task cannot be re-started</li>
|
|||
|
<li>If historical data import has already been completed because a
|
|||
|
completed task cannot be re-started</li>
|
|||
|
<li>If historical data import has already been paused because a
|
|||
|
paused task can only be resumed or canceled</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
|
|||
|
if vCenter historical data import task has already being started.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
Generic error</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Install">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Install</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Install</span></code> class provides methods to configure the installation of the
|
|||
|
appliance. This class was added in vSphere API 6.7</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Install.InstallSpec">
|
|||
|
<em class="property">class </em><code class="descname">InstallSpec</code><span class="sig-paren">(</span><em>vcsa_embedded=None</em>, <em>psc=None</em>, <em>vcsa_external=None</em>, <em>auto_answer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.InstallSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Install.InstallSpec</span></code> class contains information used to configure
|
|||
|
the appliance installation. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Install.PscSpec">
|
|||
|
<em class="property">class </em><code class="descname">PscSpec</code><span class="sig-paren">(</span><em>standalone=None</em>, <em>replicated=None</em>, <em>ceip_enabled=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.PscSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Install.PscSpec</span></code> class contains information used to configure a
|
|||
|
standalone or replicated PSC. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Install.VcsaEmbeddedSpec">
|
|||
|
<em class="property">class </em><code class="descname">VcsaEmbeddedSpec</code><span class="sig-paren">(</span><em>standalone=None</em>, <em>replicated=None</em>, <em>ceip_enabled=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.VcsaEmbeddedSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Install.VcsaEmbeddedSpec</span></code> class contains information used to
|
|||
|
configure an embedded standalone or replicated vCenter Server. This class
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Install.cancel">
|
|||
|
<code class="descname">cancel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.cancel" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Cancel the appliance installation that is in progress. This method was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is not in CONFIG_IN_PROGRESS state and if the
|
|||
|
operation is not INSTALL.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Install.check">
|
|||
|
<code class="descname">check</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.check" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Run sanity checks using the InstallSpec parameters passed. This method
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Install.InstallSpec" title="com.vmware.vcenter.deployment_client.Install.InstallSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Install.InstallSpec</span></code></a>) – InstallSpec parameters to run sanity check with.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.CheckInfo" title="com.vmware.vcenter.deployment_client.CheckInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">CheckInfo</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">CheckInfo containing the check results.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if external PSC credentials are not valid when configuring PSC to
|
|||
|
replicate with an external existing PSC.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if external PSC credentials are not valid when configuring a
|
|||
|
VCSA_EXTERNAL appliance.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if passed arguments are invalid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is not in INITIALIZED state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Install.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Get the parameters used to configure the ongoing appliance
|
|||
|
installation. This method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.Install.InstallSpec" title="com.vmware.vcenter.deployment_client.Install.InstallSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Install.InstallSpec</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">InstallSpec parameters being used to configure appliance install.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if appliance is not in INSTALL_PROGRESS state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Install.start">
|
|||
|
<code class="descname">start</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Install.start" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Start the appliance installation. This method was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Install.InstallSpec" title="com.vmware.vcenter.deployment_client.Install.InstallSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Install.InstallSpec</span></code></a>) – InstallSpec parameters to configure the appliance install.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the partner PSC credentials are not valid when configuring PSC
|
|||
|
to replicate with partner PSC.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if external PSC credentials are not valid when configuring a
|
|||
|
VCSA_EXTERNAL appliance.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if passed arguments are invalid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is not in INITIALIZED state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.LocationSpec">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">LocationSpec</code><span class="sig-paren">(</span><em>hostname=None</em>, <em>https_port=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em>, <em>username=None</em>, <em>password=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.LocationSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LocationSpec</span></code> class is used to pass the container ESXi or vCenter
|
|||
|
server of the VM to patch the size of this appliance. This class was added
|
|||
|
in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Notification">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Notification</code><span class="sig-paren">(</span><em>id=None</em>, <em>time=None</em>, <em>message=None</em>, <em>resolution=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Notification" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Notification</span></code> class contains attributes to describe any
|
|||
|
info/warning/error messages that Tasks can raise. This class was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Notifications">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Notifications</code><span class="sig-paren">(</span><em>info=None</em>, <em>warnings=None</em>, <em>errors=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Notifications" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Notifications</span></code> class contains info/warning/error messages that can
|
|||
|
be reported be the task. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Operation">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Operation</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Operation</span></code> class defines the supported vCenter appliance deployment
|
|||
|
operations. This enumeration was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Operation.INSTALL">
|
|||
|
<code class="descname">INSTALL</code><em class="property"> = Operation(string='INSTALL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.INSTALL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance installation is in progress. This class attribute was added
|
|||
|
in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Operation.MIGRATE">
|
|||
|
<code class="descname">MIGRATE</code><em class="property"> = Operation(string='MIGRATE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.MIGRATE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance migration is in progress. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Operation.RESTORE">
|
|||
|
<code class="descname">RESTORE</code><em class="property"> = Operation(string='RESTORE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.RESTORE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance restoration is in progress. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Operation.ROLLBACK">
|
|||
|
<code class="descname">ROLLBACK</code><em class="property"> = Operation(string='ROLLBACK')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.ROLLBACK" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance is being rolled back to an unconfigured state. This class
|
|||
|
attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Operation.UPGRADE">
|
|||
|
<code class="descname">UPGRADE</code><em class="property"> = Operation(string='UPGRADE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Operation.UPGRADE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The appliance upgrade is in progress. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Question</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Question</span></code> class provides methods to get the question raised during
|
|||
|
deployment and to answer them. This class was added in vSphere API 6.7</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question.AnswerSpec">
|
|||
|
<em class="property">class </em><code class="descname">AnswerSpec</code><span class="sig-paren">(</span><em>question_id=None</em>, <em>answer_val=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.AnswerSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Question.AnswerSpec</span></code> class contains attributes to describe the
|
|||
|
answer to a raised question. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>questions=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Question.Info</span></code> class contains attributes to describe questions
|
|||
|
raised during the deployment process. This class was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question.Question">
|
|||
|
<em class="property">class </em><code class="descname">Question</code><span class="sig-paren">(</span><em>id=None</em>, <em>question=None</em>, <em>type=None</em>, <em>default_answer=None</em>, <em>possible_answers=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.Question" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Question.Question</span></code> class contains attributes to describe a
|
|||
|
deployment question. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question.QuestionType">
|
|||
|
<em class="property">class </em><code class="descname">QuestionType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.QuestionType" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Question.QuestionType</span></code> class defines the type of the question
|
|||
|
raised. This enumeration was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question.QuestionType.ABORT_RETRY_IGNORE">
|
|||
|
<code class="descname">ABORT_RETRY_IGNORE</code><em class="property"> = QuestionType(string='ABORT_RETRY_IGNORE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.QuestionType.ABORT_RETRY_IGNORE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Question with answer values Abort/Retry/Ignore. This class attribute was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question.QuestionType.OK_CANCEL">
|
|||
|
<code class="descname">OK_CANCEL</code><em class="property"> = QuestionType(string='OK_CANCEL')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.QuestionType.OK_CANCEL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Question with answer values Ok/Cancel. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question.QuestionType.YES_NO">
|
|||
|
<code class="descname">YES_NO</code><em class="property"> = QuestionType(string='YES_NO')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.QuestionType.YES_NO" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Question with answer values Yes/No. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question.answer">
|
|||
|
<code class="descname">answer</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.answer" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Supply answer to the raised question. This method was added in vSphere
|
|||
|
API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Question.AnswerSpec" title="com.vmware.vcenter.deployment_client.Question.AnswerSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Question.AnswerSpec</span></code></a>) – AnswerSpec with the answer to the raised question.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if passed arguments are invalid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is NOT in QUESTION_RAISED state.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InternalServerError</span></code>
|
|||
|
if answer file could not be created.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Question.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Question.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Get the question that was raised during the configuration. This method
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.Question.Info" title="com.vmware.vcenter.deployment_client.Question.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Question.Info</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Info structure containing the question.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is not in QUESTION_RAISED state.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InternalServerError</span></code>
|
|||
|
if questions could not be retrieved although the appliance is in
|
|||
|
QUESTION_RAISED state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.RemotePscSpec">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">RemotePscSpec</code><span class="sig-paren">(</span><em>psc_hostname=None</em>, <em>https_port=None</em>, <em>sso_admin_password=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.RemotePscSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">RemotePscSpec</span></code> class contains information used to configure an
|
|||
|
external vCenter Server that registers with a remote PSC. This class was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ReplicatedPscSpec">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ReplicatedPscSpec</code><span class="sig-paren">(</span><em>sso_site_name=None</em>, <em>partner_hostname=None</em>, <em>https_port=None</em>, <em>sso_admin_password=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ReplicatedPscSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ReplicatedPscSpec</span></code> class contains information used to check if the
|
|||
|
configuring PSC can be replicated to the remote PSC. This class was added
|
|||
|
in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.ReplicatedSpec">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">ReplicatedSpec</code><span class="sig-paren">(</span><em>partner_hostname=None</em>, <em>https_port=None</em>, <em>sso_admin_password=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.ReplicatedSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ReplicatedSpec</span></code> class contains information used to check if the
|
|||
|
configuring vCenter Server can be replicated to the remote PSC. This class
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.StandalonePscSpec">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">StandalonePscSpec</code><span class="sig-paren">(</span><em>sso_site_name=None</em>, <em>sso_admin_password=None</em>, <em>sso_domain_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.StandalonePscSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">StandalonePscSpec</span></code> class contains information used to configure a
|
|||
|
standalone PSC appliance. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.StandaloneSpec">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">StandaloneSpec</code><span class="sig-paren">(</span><em>sso_admin_password=None</em>, <em>sso_domain_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.StandaloneSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">StandaloneSpec</span></code> class contains information used to configure a
|
|||
|
standalone embedded vCenter Server appliance. This class was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Upgrade">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">Upgrade</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade</span></code> class provides methods to configure the upgrade of this
|
|||
|
appliance from an existing vCenter appliance. This class was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Upgrade.PscSpec">
|
|||
|
<em class="property">class </em><code class="descname">PscSpec</code><span class="sig-paren">(</span><em>ceip_enabled=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.PscSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade.PscSpec</span></code> class contains information used to upgrade a
|
|||
|
Platform Service Controller appliance. This class was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Upgrade.SourceApplianceSpec">
|
|||
|
<em class="property">class </em><code class="descname">SourceApplianceSpec</code><span class="sig-paren">(</span><em>hostname=None</em>, <em>https_port=None</em>, <em>ssl_thumbprint=None</em>, <em>ssl_verify=None</em>, <em>sso_admin_username=None</em>, <em>sso_admin_password=None</em>, <em>root_password=None</em>, <em>ssh_verify=None</em>, <em>ssh_thumbprint=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.SourceApplianceSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade.SourceApplianceSpec</span></code> class contains information used to
|
|||
|
connect to the appliance used as the source for an upgrade. This class was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec">
|
|||
|
<em class="property">class </em><code class="descname">UpgradeSpec</code><span class="sig-paren">(</span><em>source_appliance=None</em>, <em>source_location=None</em>, <em>history=None</em>, <em>vcsa_embedded=None</em>, <em>psc=None</em>, <em>auto_answer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade.UpgradeSpec</span></code> class contains information used to configure
|
|||
|
the appliance upgrade. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Upgrade.VcsaEmbeddedSpec">
|
|||
|
<em class="property">class </em><code class="descname">VcsaEmbeddedSpec</code><span class="sig-paren">(</span><em>ceip_enabled=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.VcsaEmbeddedSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Upgrade.VcsaEmbeddedSpec</span></code> class contains information used to upgrade
|
|||
|
a Embedded vCenter Server appliance. This class was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Upgrade.cancel">
|
|||
|
<code class="descname">cancel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.cancel" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Cancel the appliance upgrade that is in progress. This method was added
|
|||
|
in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is not in CONFIG_IN_PROGRESS state and if the
|
|||
|
operation is not INSTALL.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Upgrade.check">
|
|||
|
<code class="descname">check</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.check" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Run sanity checks using the UpgradeSpec parameters passed. This method
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec" title="com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Upgrade.UpgradeSpec</span></code></a>) – UpgradeSpec parameters to run sanity check on.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.CheckInfo" title="com.vmware.vcenter.deployment_client.CheckInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">CheckInfo</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">CheckInfo containing the check results.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if source credentials are not valid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if source container credentials are not valid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if passed arguments are invalid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is not in INITIALIZED state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Upgrade.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Get the UpgradeSpec parameters used to configure the ongoing appliance
|
|||
|
upgrade. This method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec" title="com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Upgrade.UpgradeSpec</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">UpgradeSpec parameters being used to configure appliance upgrade.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if appliance is not in UPGRADE_PROGRESS state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.Upgrade.start">
|
|||
|
<code class="descname">start</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.Upgrade.start" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Start the appliance installation. This method was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec" title="com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Upgrade.UpgradeSpec</span></code></a>) – UpgradeSpec parameters to configure the appliance upgrade.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if source credentials are not valid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if source container credentials are not valid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if passed arguments are invalid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is not in INITIALIZED state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.VerificationMode">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.deployment_client.</code><code class="descname">VerificationMode</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.deployment_client.VerificationMode" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">VerificationMode</span></code> class defines the verification modes for SSL
|
|||
|
certificates or SSH connections. This enumeration was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.VerificationMode.NONE">
|
|||
|
<code class="descname">NONE</code><em class="property"> = VerificationMode(string='NONE')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.VerificationMode.NONE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>No verification will be performed. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.deployment_client.VerificationMode.THUMBPRINT">
|
|||
|
<code class="descname">THUMBPRINT</code><em class="property"> = VerificationMode(string='THUMBPRINT')</em><a class="headerlink" href="#com.vmware.vcenter.deployment_client.VerificationMode.THUMBPRINT" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Passed thumbprint will be used for verification. This class attribute was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.hvc_client">
|
|||
|
<span id="com-vmware-vcenter-hvc-client-module"></span><h2>com.vmware.vcenter.hvc_client module<a class="headerlink" href="#module-com.vmware.vcenter.hvc_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.hvc_client</span></code> module provides classes to manage hybrid
|
|||
|
links between a local and remote Platform Service Controller.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.hvc_client.Links">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.hvc_client.</code><code class="descname">Links</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Links</span></code> class provides methods to create, delete, get information,
|
|||
|
and list hybrid links between the local and foreign Platform Service
|
|||
|
Controller (PSC). <strong>Warning:</strong> This class is available as technical
|
|||
|
preview. It may be changed in a future release.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.hvc_client.Links.CertificateInfo">
|
|||
|
<em class="property">class </em><code class="descname">CertificateInfo</code><span class="sig-paren">(</span><em>ssl_thumbprint=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.CertificateInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Links.CertificateInfo</span></code> class contains information about the SSL
|
|||
|
certificate for a destination PSC endpoint. <strong>Warning:</strong> This class is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.hvc_client.Links.CreateSpec">
|
|||
|
<em class="property">class </em><code class="descname">CreateSpec</code><span class="sig-paren">(</span><em>psc_hostname=None</em>, <em>port=None</em>, <em>domain_name=None</em>, <em>username=None</em>, <em>password=None</em>, <em>ssl_thumbprint=None</em>, <em>admin_groups=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.CreateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Links.CreateSpec</span></code> class is the specification used for the hybrid
|
|||
|
link creation. <strong>Warning:</strong> This class is available as technical preview.
|
|||
|
It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.hvc_client.Links.Summary">
|
|||
|
<em class="property">class </em><code class="descname">Summary</code><span class="sig-paren">(</span><em>link=None</em>, <em>display_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.Summary" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Links.Summary</span></code> class contains information about the hybrid link.
|
|||
|
<strong>Warning:</strong> This class is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.hvc_client.Links.create">
|
|||
|
<code class="descname">create</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.create" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Creates a new hybrid link between the local and foreign PSC.
|
|||
|
<strong>Warning:</strong> This method is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.CreateSpec" title="com.vmware.vcenter.hvc_client.Links.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Links.CreateSpec</span></code></a>) – Specification for the new link to be created.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">The identifier of the newly linked domain.
|
|||
|
The return value will be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.hvc.Links</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyExists</span></code>
|
|||
|
If the link already exists.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
If the spec is not valid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
|
|||
|
If the PSC or the VC version is not supported.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
If the user is not authorized.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
|
|||
|
If the SSL certificate of the foreign PSC cannot be validated by
|
|||
|
comparing with the thumbprint provided in
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">Links.CreateSpec.ssl_thumbprint</span></code> or if
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">Links.CreateSpec.ssl_thumbprint</span></code> is None. The value of the
|
|||
|
{\@link InvalidRequest#data) attribute will be a class that
|
|||
|
contains all the attributes defined in
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.CertificateInfo" title="com.vmware.vcenter.hvc_client.Links.CertificateInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">Links.CertificateInfo</span></code></a>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.hvc_client.Links.delete">
|
|||
|
<code class="descname">delete</code><span class="sig-paren">(</span><em>link</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.delete" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Deletes an existing hybrid link. <strong>Warning:</strong> This method is available
|
|||
|
as technical preview. It may be changed in a future release.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>link</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Identifier of the hybrid link.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.hvc.Links</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
If the hybrid link associated with <code class="docutils literal notranslate"><span class="pre">link</span></code> does not exist.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
If the user is not authorized.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.hvc_client.Links.list">
|
|||
|
<code class="descname">list</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.Links.list" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Enumerates the list of registered hybrid links. <strong>Warning:</strong> This
|
|||
|
method is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.list" title="com.vmware.vcenter.hvc_client.Links.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of <a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.Summary" title="com.vmware.vcenter.hvc_client.Links.Summary"><code class="xref py py-class docutils literal notranslate"><span class="pre">Links.Summary</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The <a class="reference internal" href="#com.vmware.vcenter.hvc_client.Links.list" title="com.vmware.vcenter.hvc_client.Links.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of hybrid link information.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.hvc_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.hvc_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.hvc_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.inventory_client">
|
|||
|
<span id="com-vmware-vcenter-inventory-client-module"></span><h2>com.vmware.vcenter.inventory_client module<a class="headerlink" href="#module-com.vmware.vcenter.inventory_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.inventory_client</span></code> component provides methods and
|
|||
|
classes for retrieving vCenter datastore and network information for a given
|
|||
|
<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of identifiers.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.inventory_client.Datastore">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.inventory_client.</code><code class="descname">Datastore</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Datastore" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> class provides methods to retrieve information about
|
|||
|
datastores.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.inventory_client.Datastore.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Datastore.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Datastore.Info</span></code> class contains information about a datastore.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.inventory_client.Datastore.find">
|
|||
|
<code class="descname">find</code><span class="sig-paren">(</span><em>datastores</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Datastore.find" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns datastore information for the specified datastores. The key in
|
|||
|
the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the datastore identifier and the
|
|||
|
value in the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the datastore information.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>datastores</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Identifiers of the datastores for which information will be
|
|||
|
returned.
|
|||
|
The parameter must contain identifiers for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and (<a class="reference internal" href="#com.vmware.vcenter.inventory_client.Datastore.Info" title="com.vmware.vcenter.inventory_client.Datastore.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Datastore.Info</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>)</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Datastore information for the specified datastores. The key in the
|
|||
|
return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the datastore identifier and the
|
|||
|
value in the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the datastore information.
|
|||
|
The key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for
|
|||
|
the resource type: <code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if no datastore can be found for one or more of the datastore
|
|||
|
identifiers in <code class="docutils literal notranslate"><span class="pre">datastores</span></code></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the parameter
|
|||
|
<code class="docutils literal notranslate"><span class="pre">datastores</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.inventory_client.Network">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.inventory_client.</code><code class="descname">Network</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Network" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Network</span></code> class provides methods to retrieve information about
|
|||
|
vCenter Server networks.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.inventory_client.Network.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Network.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Network.Info</span></code> class contains information about a vCenter Server
|
|||
|
network.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.inventory_client.Network.find">
|
|||
|
<code class="descname">find</code><span class="sig-paren">(</span><em>networks</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.Network.find" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns network information for the specified vCenter Server networks.
|
|||
|
The key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the network identifier and
|
|||
|
the value in the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the network information.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>networks</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Identifiers of the vCenter Server networks for which information
|
|||
|
will be returned.
|
|||
|
The parameter must contain identifiers for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">Network</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and (<a class="reference internal" href="#com.vmware.vcenter.inventory_client.Network.Info" title="com.vmware.vcenter.inventory_client.Network.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Network.Info</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>)</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Network information for the specified vCenter Server networks. The
|
|||
|
key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the network identifier and
|
|||
|
the value in the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> is the network information.
|
|||
|
The key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for
|
|||
|
the resource type: <code class="docutils literal notranslate"><span class="pre">Network</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if no datastore can be found for one or more of the vCenter Server
|
|||
|
network identifiers in <code class="docutils literal notranslate"><span class="pre">networks</span></code></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Network</span></code> referenced by the parameter <code class="docutils literal notranslate"><span class="pre">networks</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.inventory_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.inventory_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.inventory_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.iso_client">
|
|||
|
<span id="com-vmware-vcenter-iso-client-module"></span><h2>com.vmware.vcenter.iso_client module<a class="headerlink" href="#module-com.vmware.vcenter.iso_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.iso_client</span></code> module provides classes and classes that
|
|||
|
will let its client mount or unmount an ISO image on a virtual machine as a
|
|||
|
CD-ROM.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.iso_client.Image">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.iso_client.</code><code class="descname">Image</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.iso_client.Image" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>Provides an interface to mount and unmount an ISO image on a virtual
|
|||
|
machine.</p>
|
|||
|
<p>This is an API that will let its client mount or unmount an ISO image on a
|
|||
|
virtual machine as a CD-ROM.</p>
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.iso_client.Image.mount">
|
|||
|
<code class="descname">mount</code><span class="sig-paren">(</span><em>library_item</em>, <em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.iso_client.Image.mount" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mounts an ISO image from a content library on a virtual machine.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>library_item</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – The identifier of the library item having the ISO image to mount on
|
|||
|
the virtual machine.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</li>
|
|||
|
<li><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – The identifier of the virtual machine where the specified ISO image
|
|||
|
will be mounted.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The identifier of the newly created virtual CD-ROM backed by the
|
|||
|
specified ISO image.
|
|||
|
The return value will be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Cdrom</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
If either <code class="docutils literal notranslate"><span class="pre">vm</span></code> or the <code class="docutils literal notranslate"><span class="pre">library_item</span></code> is not found.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
If no .iso file is present on the library item.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
When the operation is not allowed on the virtual machine in its
|
|||
|
current state.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code> referenced by the parameter
|
|||
|
<code class="docutils literal notranslate"><span class="pre">vm</span></code> requires <code class="docutils literal notranslate"><span class="pre">VirtualMachine.Config.AddRemoveDevice</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
|
|||
|
the parameter <code class="docutils literal notranslate"><span class="pre">library_item</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">ContentLibrary.DownloadSession</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.iso_client.Image.unmount">
|
|||
|
<code class="descname">unmount</code><span class="sig-paren">(</span><em>vm</em>, <em>cdrom</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.iso_client.Image.unmount" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Unmounts a previously mounted CD-ROM using an ISO image as a backing.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – The identifier of the virtual machine from which to unmount the
|
|||
|
virtual CD-ROM.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
|
|||
|
<li><strong>cdrom</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – The device identifier of the CD-ROM.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Cdrom</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
If the virtual machine identified by <code class="docutils literal notranslate"><span class="pre">vm</span></code> is not found or the
|
|||
|
<code class="docutils literal notranslate"><span class="pre">cdrom</span></code> does not identify a virtual CD-ROM in the virtual
|
|||
|
machine.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
When the operation is not allowed on the virtual machine in its
|
|||
|
current state.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code> referenced by the parameter
|
|||
|
<code class="docutils literal notranslate"><span class="pre">vm</span></code> requires <code class="docutils literal notranslate"><span class="pre">VirtualMachine.Config.AddRemoveDevice</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Cdrom</span></code> referenced
|
|||
|
by the parameter <code class="docutils literal notranslate"><span class="pre">cdrom</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.iso_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.iso_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.iso_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.ovf_client">
|
|||
|
<span id="com-vmware-vcenter-ovf-client-module"></span><h2>com.vmware.vcenter.ovf_client module<a class="headerlink" href="#module-com.vmware.vcenter.ovf_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.ovf_client</span></code> module provides services to capture and
|
|||
|
deploy Open Virtualization Format (OVF) packages to and from the content
|
|||
|
library.</p>
|
|||
|
<p>It provides the ability to deploy OVF packages from the content library with
|
|||
|
support for advanced network topologies, network services, creating virtual
|
|||
|
appliances and virtual machines in hosts, resource pools or clusters. It also
|
|||
|
provides the ability to export virtual appliances and virtual machines from
|
|||
|
hosts, resource pools or clusters as OVF packages to the content library.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.CertificateParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">CertificateParams</code><span class="sig-paren">(</span><em>issuer=None</em>, <em>subject=None</em>, <em>is_valid=None</em>, <em>is_self_signed=None</em>, <em>x509=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.CertificateParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">CertificateParams</span></code> class contains information about the public key
|
|||
|
certificate used to sign the OVF package. This class will only be returned
|
|||
|
if the OVF package is signed.</p>
|
|||
|
<blockquote>
|
|||
|
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.DeploymentOption">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">DeploymentOption</code><span class="sig-paren">(</span><em>key=None</em>, <em>label=None</em>, <em>description=None</em>, <em>default_choice=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DeploymentOption" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentOption</span></code> class contains the information about a deployment
|
|||
|
option as defined in the OVF specification.</p>
|
|||
|
<p>This corresponds to the ovf:Configuration element of the
|
|||
|
ovf:DeploymentOptionSection in the specification. The
|
|||
|
ovf:DeploymentOptionSection specifies a discrete set of intended resource
|
|||
|
allocation configurations. This class represents one item from that set.</p>
|
|||
|
<blockquote>
|
|||
|
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.DeploymentOptionParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">DeploymentOptionParams</code><span class="sig-paren">(</span><em>deployment_options=None</em>, <em>selected_key=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DeploymentOptionParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentOptionParams</span></code> class describes the possible deployment
|
|||
|
options as well as the choice provided by the user.</p>
|
|||
|
<blockquote>
|
|||
|
<div><p>This information based on the ovf:DeploymentOptionSection.</p>
|
|||
|
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
|
|||
|
</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.DiskProvisioningType">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">DiskProvisioningType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">DiskProvisioningType</span></code> class defines the virtual disk provisioning
|
|||
|
types that can be set for a disk on the target platform.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.DiskProvisioningType.eagerZeroedThick">
|
|||
|
<code class="descname">eagerZeroedThick</code><em class="property"> = DiskProvisioningType(string='eagerZeroedThick')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType.eagerZeroedThick" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>An eager zeroed thick provisioned virtual disk has all space allocated and
|
|||
|
wiped clean of any previous contents on the physical media at creation
|
|||
|
time.</p>
|
|||
|
<p>Disks specified as eager zeroed thick may take longer time to create than
|
|||
|
disks specified with the other disk provisioning types.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.DiskProvisioningType.thick">
|
|||
|
<code class="descname">thick</code><em class="property"> = DiskProvisioningType(string='thick')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType.thick" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>A thick provisioned virtual disk has all space allocated at creation time
|
|||
|
and the space is zeroed on demand as the space is used.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.DiskProvisioningType.thin">
|
|||
|
<code class="descname">thin</code><em class="property"> = DiskProvisioningType(string='thin')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.DiskProvisioningType.thin" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>A thin provisioned virtual disk has space allocated and zeroed on demand as
|
|||
|
the space is used.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ExportFlag">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ExportFlag</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExportFlag" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ExportFlag</span></code> class provides methods for retrieving information about
|
|||
|
the export flags supported by the server. Export flags can be specified in
|
|||
|
a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateSpec</span></code></a> to customize an OVF export.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ExportFlag.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>option=None</em>, <em>description=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExportFlag.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ExportFlag.Info</span></code> class describes an export flag supported by the
|
|||
|
server.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ExportFlag.list">
|
|||
|
<code class="descname">list</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExportFlag.list" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns information about the supported export flags by the server.</p>
|
|||
|
<blockquote>
|
|||
|
<div>The supported flags are:</div></blockquote>
|
|||
|
<dl class="docutils">
|
|||
|
<dt>PRESERVE_MAC</dt>
|
|||
|
<dd>Include MAC addresses for network adapters.</dd>
|
|||
|
<dt>EXTRA_CONFIG</dt>
|
|||
|
<dd><blockquote class="first">
|
|||
|
<div>Include extra configuration in OVF export.</div></blockquote>
|
|||
|
<p class="last">Future server versions might support additional flags.</p>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExportFlag.list" title="com.vmware.vcenter.ovf_client.ExportFlag.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExportFlag.Info" title="com.vmware.vcenter.ovf_client.ExportFlag.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">ExportFlag.Info</span></code></a></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ExportFlag.list" title="com.vmware.vcenter.ovf_client.ExportFlag.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of supported export flags.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ExtraConfig">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ExtraConfig</code><span class="sig-paren">(</span><em>key=None</em>, <em>value=None</em>, <em>virtual_system_id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExtraConfig" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ExtraConfig</span></code> class contains the information about a vmw:ExtraConfig
|
|||
|
element which can be used to specify configuration settings that are
|
|||
|
transferred directly to the <code class="docutils literal notranslate"><span class="pre">.vmx</span></code> file. The behavior of the
|
|||
|
vmw:ExtraConfig element is similar to the <code class="docutils literal notranslate"><span class="pre">extraConfig</span></code> property of the
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachineConfigSpec</span></code> object in the VMware vSphere API. Thus, the
|
|||
|
same restrictions apply, such as you cannot set values that could otherwise
|
|||
|
be set with other properties in the <code class="docutils literal notranslate"><span class="pre">VirtualMachineConfigSpec</span></code> object.
|
|||
|
See the VMware vSphere API reference for details on this.</p>
|
|||
|
<p>vmw:ExtraConfig elements may occur as direct child elements of a
|
|||
|
VirtualHardwareSection, or as child elements of individual virtual hardware
|
|||
|
items.</p>
|
|||
|
<blockquote>
|
|||
|
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ExtraConfigParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ExtraConfigParams</code><span class="sig-paren">(</span><em>extra_configs=None</em>, <em>exclude_keys=None</em>, <em>include_keys=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ExtraConfigParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ExtraConfigParams</span></code> class contains the parameters with information
|
|||
|
about the vmw:ExtraConfig elements in an OVF package.</p>
|
|||
|
<p>vmw:ExtraConfig elements can be used to specify configuration settings that
|
|||
|
are transferred directly to the <code class="docutils literal notranslate"><span class="pre">.vmx</span></code> file.</p>
|
|||
|
<p>The behavior of the vmw:ExtraConfig element is similar to the
|
|||
|
<code class="docutils literal notranslate"><span class="pre">extraConfig</span></code> property of the <code class="docutils literal notranslate"><span class="pre">VirtualMachineConfigSpec</span></code> object in the
|
|||
|
VMware vSphere API. Thus, the same restrictions apply, such as you cannot
|
|||
|
set values that could otherwise be set with other properties in the
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachineConfigSpec</span></code> object. See the VMware vSphere API reference
|
|||
|
for details on this.</p>
|
|||
|
<blockquote>
|
|||
|
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ImportFlag">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ImportFlag</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ImportFlag" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ImportFlag</span></code> class provides methods for retrieving information about
|
|||
|
the import flags supported by the deployment platform. Import flags can be
|
|||
|
specified in a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a> to customize
|
|||
|
an OVF deployment.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ImportFlag.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>option=None</em>, <em>description=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ImportFlag.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ImportFlag.Info</span></code> class describes an import flag supported by the
|
|||
|
deployment platform.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ImportFlag.list">
|
|||
|
<code class="descname">list</code><span class="sig-paren">(</span><em>rp</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ImportFlag.list" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns information about the import flags supported by the deployment
|
|||
|
platform.</p>
|
|||
|
<blockquote>
|
|||
|
<div>The supported flags are:</div></blockquote>
|
|||
|
<dl class="docutils">
|
|||
|
<dt>LAX</dt>
|
|||
|
<dd><blockquote class="first">
|
|||
|
<div>Lax mode parsing of the OVF descriptor.</div></blockquote>
|
|||
|
<p class="last">Future server versions might support additional flags.</p>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>rp</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – The identifier of resource pool target for retrieving the import
|
|||
|
flag(s).
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.ImportFlag.list" title="com.vmware.vcenter.ovf_client.ImportFlag.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ImportFlag.Info" title="com.vmware.vcenter.ovf_client.ImportFlag.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">ImportFlag.Info</span></code></a></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ImportFlag.list" title="com.vmware.vcenter.ovf_client.ImportFlag.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of supported import flags.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
If the resource pool associated with <code class="docutils literal notranslate"><span class="pre">rp</span></code> does not exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the parameter <code class="docutils literal notranslate"><span class="pre">rp</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">IpAllocationParams</code><span class="sig-paren">(</span><em>supported_allocation_scheme=None</em>, <em>supported_ip_allocation_policy=None</em>, <em>ip_allocation_policy=None</em>, <em>supported_ip_protocol=None</em>, <em>ip_protocol=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">IpAllocationParams</span></code> class specifies how IP addresses are allocated
|
|||
|
to OVF properties. In particular, it informs the deployment platform
|
|||
|
whether the guest supports IPv4, IPv6, or both. It also specifies whether
|
|||
|
the IP addresses can be obtained through DHCP or through the properties
|
|||
|
provided in the OVF environment.</p>
|
|||
|
<p>Ovf Property elements are exposed to the guest software through the OVF
|
|||
|
environment. Each Property element exposed in the OVF environment shall be
|
|||
|
constructed from the value of the ovf:key attribute. A Property element
|
|||
|
contains a key/value pair, it may optionally specify type qualifiers using
|
|||
|
the ovf:qualifiers attribute with multiple qualifiers separated by commas.</p>
|
|||
|
<p>The settings in <code class="docutils literal notranslate"><span class="pre">IpAllocationParams</span></code> class are global to a deployment.
|
|||
|
Thus, if a virtual machine is part of a virtual appliance, then its
|
|||
|
settings are ignored and the settings for the virtual appliance is used.</p>
|
|||
|
<blockquote>
|
|||
|
<div><p>This information is based on the vmw:IpAssignmentSection in OVF package.</p>
|
|||
|
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
|
|||
|
</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy">
|
|||
|
<em class="property">class </em><code class="descname">IpAllocationPolicy</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">IpAllocationParams.IpAllocationPolicy</span></code> class defines the possible IP
|
|||
|
allocation policy for a deployment.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.DHCP">
|
|||
|
<code class="descname">DHCP</code><em class="property"> = IpAllocationPolicy(string='DHCP')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.DHCP" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Specifies that DHCP will be used to allocate IP addresses.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.STATIC_IPPOOL">
|
|||
|
<code class="descname">STATIC_IPPOOL</code><em class="property"> = IpAllocationPolicy(string='STATIC_IPPOOL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.STATIC_IPPOOL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Specifies that IP addresses are allocated from the range managed by an IP
|
|||
|
pool. The IP addresses are allocated at first power-on, and remain
|
|||
|
allocated at power-off. This ensures that a virtual appliance gets a
|
|||
|
consistent IP for its life-time.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.STATIC_MANUAL">
|
|||
|
<code class="descname">STATIC_MANUAL</code><em class="property"> = IpAllocationPolicy(string='STATIC_MANUAL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.STATIC_MANUAL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Specifies that IP addresses are configured manually upon deployment, and
|
|||
|
will be kept until reconfigured or the virtual appliance destroyed. This
|
|||
|
ensures that a property gets a consistent IP for its lifetime.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.TRANSIENT_IPPOOL">
|
|||
|
<code class="descname">TRANSIENT_IPPOOL</code><em class="property"> = IpAllocationPolicy(string='TRANSIENT_IPPOOL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy.TRANSIENT_IPPOOL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Specifies that IP addresses are allocated from an IP pool. The IP addresses
|
|||
|
are allocated when needed, typically at power-on, and deallocated during
|
|||
|
power-off. There is no guarantee that a property will receive same IP
|
|||
|
address when restarted.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme">
|
|||
|
<em class="property">class </em><code class="descname">IpAllocationScheme</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">IpAllocationParams.IpAllocationScheme</span></code> class defines the possible IP
|
|||
|
allocation schemes that can be supported by the guest software.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme.DHCP">
|
|||
|
<code class="descname">DHCP</code><em class="property"> = IpAllocationScheme(string='DHCP')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme.DHCP" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>It supports DHCP to acquire IP configuration.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme.OVF_ENVIRONMENT">
|
|||
|
<code class="descname">OVF_ENVIRONMENT</code><em class="property"> = IpAllocationScheme(string='OVF_ENVIRONMENT')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme.OVF_ENVIRONMENT" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>It supports setting the IP configuration through the properties provided in
|
|||
|
the OVF environment.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol">
|
|||
|
<em class="property">class </em><code class="descname">IpProtocol</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">IpAllocationParams.IpProtocol</span></code> class defines the IP protocols
|
|||
|
supported by the guest software.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV4">
|
|||
|
<code class="descname">IPV4</code><em class="property"> = IpProtocol(string='IPV4')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV4" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>It supports the IPv4 protocol.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV6">
|
|||
|
<code class="descname">IPV6</code><em class="property"> = IpProtocol(string='IPV6')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV6" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>It supports the IPv6 protocol.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">LibraryItem</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem</span></code> class provides methods to deploy virtual machines and
|
|||
|
virtual appliances from library items containing Open Virtualization Format
|
|||
|
(OVF) packages in content library, as well as methods to create library
|
|||
|
items in content library from virtual machines and virtual appliances.</p>
|
|||
|
<blockquote>
|
|||
|
<div>To deploy a virtual machine or a virtual appliance from a library item:</div></blockquote>
|
|||
|
<ol class="arabic simple">
|
|||
|
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a> to specify the target
|
|||
|
deployment type and target deployment designation.</li>
|
|||
|
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a> to specify the
|
|||
|
parameters for the target deployment.</li>
|
|||
|
<li>Use the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method with the created target and parameter
|
|||
|
specifications, along with the identifier of the specified source content
|
|||
|
library item. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</li>
|
|||
|
</ol>
|
|||
|
<p>To create a library item in content library from a virtual machine or
|
|||
|
virtual appliance:</p>
|
|||
|
<ol class="arabic simple">
|
|||
|
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity" title="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeployableIdentity</span></code></a> to specify the source
|
|||
|
virtual machine or virtual appliance to be used as the OVF template source.</li>
|
|||
|
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget</span></code></a> to specify the target library
|
|||
|
and library item.</li>
|
|||
|
<li>Create a <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateSpec</span></code></a> to specify the settings for the
|
|||
|
OVF package to be created.</li>
|
|||
|
<li>Use the <code class="docutils literal notranslate"><span class="pre">create</span></code> method with the created target and parameter
|
|||
|
specifications, along with the specified source entity. See
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.create" title="com.vmware.vcenter.ovf_client.LibraryItem.create"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.create()</span></code></a>.</li>
|
|||
|
</ol>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.CreateResult">
|
|||
|
<em class="property">class </em><code class="descname">CreateResult</code><span class="sig-paren">(</span><em>succeeded=None</em>, <em>ovf_library_item_id=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateResult" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.CreateResult</span></code> class defines the result of the <code class="docutils literal notranslate"><span class="pre">create</span></code>
|
|||
|
method. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.create" title="com.vmware.vcenter.ovf_client.LibraryItem.create"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.create()</span></code></a>.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec">
|
|||
|
<em class="property">class </em><code class="descname">CreateSpec</code><span class="sig-paren">(</span><em>name=None</em>, <em>description=None</em>, <em>flags=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.CreateSpec</span></code> class defines the information used to create
|
|||
|
or update a library item containing an OVF package.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget">
|
|||
|
<em class="property">class </em><code class="descname">CreateTarget</code><span class="sig-paren">(</span><em>library_id=None</em>, <em>library_item_id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget</span></code> class specifies the target library item
|
|||
|
when capturing a virtual machine or virtual appliance as an OVF package in
|
|||
|
a library item in a content library. The target can be an existing library
|
|||
|
item, which will be updated, creating a new version, or it can be a newly
|
|||
|
created library item in a specified library. See
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.create" title="com.vmware.vcenter.ovf_client.LibraryItem.create"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.create()</span></code></a>.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.DEPLOYABLE">
|
|||
|
<code class="descname">DEPLOYABLE</code><em class="property"> = ['VirtualMachine', 'VirtualApp']</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DEPLOYABLE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The types of resources that can be created by deploying an OVF package and can
|
|||
|
be captured to create a library item using the <code class="docutils literal notranslate"><span class="pre">LibraryItem</span></code> class.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity">
|
|||
|
<em class="property">class </em><code class="descname">DeployableIdentity</code><span class="sig-paren">(</span><em>type=None</em>, <em>id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.DeployableIdentity</span></code> class describes the resource created
|
|||
|
by a deployment, or the source resource from which library item can be
|
|||
|
created, by specifying its resource type and resource identifier.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult">
|
|||
|
<em class="property">class </em><code class="descname">DeploymentResult</code><span class="sig-paren">(</span><em>succeeded=None</em>, <em>resource_id=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.DeploymentResult</span></code> class defines the result of the
|
|||
|
<code class="docutils literal notranslate"><span class="pre">deploy</span></code> method. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget">
|
|||
|
<em class="property">class </em><code class="descname">DeploymentTarget</code><span class="sig-paren">(</span><em>resource_pool_id=None</em>, <em>host_id=None</em>, <em>folder_id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code> class describes the location (target)
|
|||
|
where a virtual machine or virtual appliance should be deployed. It is used
|
|||
|
in the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> and <code class="docutils literal notranslate"><span class="pre">filter</span></code> methods. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>
|
|||
|
and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary">
|
|||
|
<em class="property">class </em><code class="descname">OvfSummary</code><span class="sig-paren">(</span><em>name=None</em>, <em>annotation=None</em>, <em>eulas=None</em>, <em>networks=None</em>, <em>storage_groups=None</em>, <em>additional_params=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.OvfSummary</span></code> class defines the result of the <code class="docutils literal notranslate"><span class="pre">filter</span></code>
|
|||
|
method. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>. The attributes in the class
|
|||
|
describe parameterizable information in the OVF descriptor, with respect to
|
|||
|
a deployment target, for the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method. See
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec">
|
|||
|
<em class="property">class </em><code class="descname">ResourcePoolDeploymentSpec</code><span class="sig-paren">(</span><em>name=None</em>, <em>annotation=None</em>, <em>accept_all_eula=None</em>, <em>network_mappings=None</em>, <em>storage_mappings=None</em>, <em>storage_provisioning=None</em>, <em>storage_profile_id=None</em>, <em>locale=None</em>, <em>flags=None</em>, <em>additional_parameters=None</em>, <em>default_datastore_id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code> class defines the deployment
|
|||
|
parameters that can be specified for the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method where the
|
|||
|
deployment target is a resource pool. See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo">
|
|||
|
<em class="property">class </em><code class="descname">ResultInfo</code><span class="sig-paren">(</span><em>errors=None</em>, <em>warnings=None</em>, <em>information=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.ResultInfo</span></code> class defines the information returned along
|
|||
|
with the result of a <code class="docutils literal notranslate"><span class="pre">create</span></code> or <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method to describe errors,
|
|||
|
warnings, and informational messages produced by the server.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping">
|
|||
|
<em class="property">class </em><code class="descname">StorageGroupMapping</code><span class="sig-paren">(</span><em>type=None</em>, <em>datastore_id=None</em>, <em>storage_profile_id=None</em>, <em>provisioning=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping</span></code> class defines the storage
|
|||
|
deployment target and storage provisioning type for a section of type
|
|||
|
vmw:StorageGroupSection in the OVF descriptor.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type">
|
|||
|
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItem.StorageGroupMapping.Type</span></code> class defines the supported
|
|||
|
types of storage targets for sections of type vmw:StorageGroupSection in
|
|||
|
the OVF descriptor.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE">
|
|||
|
<code class="descname">DATASTORE</code><em class="property"> = Type(string='DATASTORE')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Storage deployment target is a datastore.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE">
|
|||
|
<code class="descname">STORAGE_PROFILE</code><em class="property"> = Type(string='STORAGE_PROFILE')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Storage deployment target is a storage profile.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.create">
|
|||
|
<code class="descname">create</code><span class="sig-paren">(</span><em>source</em>, <em>target</em>, <em>create_spec</em>, <em>client_token=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.create" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Creates a library item in content library from a virtual machine or
|
|||
|
virtual appliance.</p>
|
|||
|
<p>This method creates a library item in content library whose content is
|
|||
|
an OVF package derived from a source virtual machine or virtual
|
|||
|
appliance, using the supplied create specification. The OVF package may
|
|||
|
be stored as in a newly created library item or in an in an existing
|
|||
|
library item. For an existing library item whose content is updated by
|
|||
|
this method, the original content is overwritten.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>client_token</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) – Client-generated token used to retry a request if the client fails
|
|||
|
to get a response from the server. If the original request
|
|||
|
succeeded, the result of that request will be returned, otherwise
|
|||
|
the operation will be retried.
|
|||
|
If None, the server will create a token.</li>
|
|||
|
<li><strong>source</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity" title="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeployableIdentity</span></code></a>) – Identifier of the virtual machine or virtual appliance to use as
|
|||
|
the source.</li>
|
|||
|
<li><strong>target</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget</span></code></a>) – Specification of the target content library and library item.</li>
|
|||
|
<li><strong>create_spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateSpec</span></code></a>) – Information used to create the OVF package from the source virtual
|
|||
|
machine or virtual appliance.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateResult" title="com.vmware.vcenter.ovf_client.LibraryItem.CreateResult"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.CreateResult</span></code></a></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Information about the success or failure of the method, along with
|
|||
|
the details of the result or failure.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if <code class="docutils literal notranslate"><span class="pre">create_spec</span></code> contains invalid arguments.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if <code class="docutils literal notranslate"><span class="pre">source</span></code> describes an unexpected resource type.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the virtual machine or virtual appliance specified by <code class="docutils literal notranslate"><span class="pre">source</span></code>
|
|||
|
does not exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the library or library item specified by <code class="docutils literal notranslate"><span class="pre">target</span></code> does not
|
|||
|
exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the operation cannot be performed because of the specified
|
|||
|
virtual machine or virtual appliance’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"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if there was an error accessing a file from the source virtual
|
|||
|
machine or virtual appliance.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
|
|||
|
if the specified virtual machine or virtual appliance is busy.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeployableIdentity.id</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VApp.Export</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.Library</span></code> referenced by the
|
|||
|
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget.library_id</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">ContentLibrary.AddLibraryItem</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
|
|||
|
the attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.CreateTarget.library_item_id</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.deploy">
|
|||
|
<code class="descname">deploy</code><span class="sig-paren">(</span><em>ovf_library_item_id</em>, <em>target</em>, <em>deployment_spec</em>, <em>client_token=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Deploys an OVF package stored in content library to a newly created
|
|||
|
virtual machine or virtual appliance.</p>
|
|||
|
<p>This method deploys an OVF package which is stored in the library item
|
|||
|
specified by <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code>. It uses the deployment
|
|||
|
specification in <code class="docutils literal notranslate"><span class="pre">deployment_spec</span></code> to deploy the OVF package to the
|
|||
|
location specified by <code class="docutils literal notranslate"><span class="pre">target</span></code>.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>client_token</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) – Client-generated token used to retry a request if the client fails
|
|||
|
to get a response from the server. If the original request
|
|||
|
succeeded, the result of that request will be returned, otherwise
|
|||
|
the operation will be retried.
|
|||
|
If None, the server will create a token.</li>
|
|||
|
<li><strong>ovf_library_item_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Identifier of the content library item containing the OVF package
|
|||
|
to be deployed.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</li>
|
|||
|
<li><strong>target</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a>) – Specification of the deployment target.</li>
|
|||
|
<li><strong>deployment_spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a>) – Specification of how the OVF package should be deployed to the
|
|||
|
target.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentResult</span></code></a></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Information about the success or failure of the method, along with
|
|||
|
the details of the result or failure.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if <code class="docutils literal notranslate"><span class="pre">target</span></code> contains invalid arguments.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if <code class="docutils literal notranslate"><span class="pre">deployment_spec</span></code> contains invalid arguments or has attributes
|
|||
|
that are inconsistent with <code class="docutils literal notranslate"><span class="pre">target</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the library item specified by <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code> does not
|
|||
|
exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if any resource specified by a attribute of the
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a> class, specified by
|
|||
|
<code class="docutils literal notranslate"><span class="pre">target</span></code>, does not exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if there was an error accessing the OVF package stored in the
|
|||
|
library item specified by <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><dl class="first docutils">
|
|||
|
<dt><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code> </dt>
|
|||
|
<dd><p class="first last">if you do not have all of the privileges described as follows :</p>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
<ul class="simple">
|
|||
|
<li>Method execution requires VirtualMachine.Config.AddNewDisk if the
|
|||
|
OVF descriptor has a disk drive (type 17) section.</li>
|
|||
|
<li>Method execution requires VirtualMachine.Config.AdvancedConfig if
|
|||
|
the OVF descriptor has an ExtraConfig section.</li>
|
|||
|
<li>Method execution requires Extension.Register for specified
|
|||
|
resource group if the OVF descriptor has a vServiceDependency
|
|||
|
section.</li>
|
|||
|
<li>Method execution requires Network.Assign for target network if
|
|||
|
specified.</li>
|
|||
|
<li>Method execution requires Datastore.AllocateSpace for target
|
|||
|
datastore if specified.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
|
|||
|
the parameter <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.host_id</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Network</span></code> referenced by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> value of
|
|||
|
attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.network_mappings</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">StorageProfile</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.storage_profile_id</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec.default_datastore_id</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VApp.Import</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Folder</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.folder_id</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VApp.Import</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.LibraryItem.filter">
|
|||
|
<code class="descname">filter</code><span class="sig-paren">(</span><em>ovf_library_item_id</em>, <em>target</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Queries an OVF package stored in content library to retrieve
|
|||
|
information to use when deploying the package. See
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a>.</p>
|
|||
|
<p>This method retrieves information from the descriptor of the OVF
|
|||
|
package stored in the library item specified by
|
|||
|
<code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code>. The information returned by the method can be
|
|||
|
used to populate the deployment specification (see
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a> when deploying the OVF
|
|||
|
package to the deployment target specified by <code class="docutils literal notranslate"><span class="pre">target</span></code>.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>ovf_library_item_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Identifier of the content library item containing the OVF package
|
|||
|
to query.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</li>
|
|||
|
<li><strong>target</strong> (<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a>) – Specification of the deployment target.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary" title="com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.OvfSummary</span></code></a></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Information that can be used to populate the deployment
|
|||
|
specification (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec" title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a>)
|
|||
|
when deploying the OVF package to the deployment target specified
|
|||
|
by <code class="docutils literal notranslate"><span class="pre">target</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if <code class="docutils literal notranslate"><span class="pre">target</span></code> contains invalid arguments.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the library item specified by <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code> does not
|
|||
|
exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if any resource specified by a attribute of the
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget" title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget</span></code></a> class, specified by
|
|||
|
<code class="docutils literal notranslate"><span class="pre">target</span></code>, does not exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if there was an error accessing the OVF package at the specified
|
|||
|
<code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
|
|||
|
the parameter <code class="docutils literal notranslate"><span class="pre">ovf_library_item_id</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.host_id</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Folder</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItem.DeploymentTarget.folder_id</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.OvfError">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfError</code><span class="sig-paren">(</span><em>category=None</em>, <em>issues=None</em>, <em>name=None</em>, <em>value=None</em>, <em>message=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfError" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">OvfError</span></code> class describes an error related to accessing, validating,
|
|||
|
deploying, or exporting an OVF package.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.OvfInfo">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfInfo</code><span class="sig-paren">(</span><em>messages=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">OvfInfo</span></code> class contains informational messages related to accessing,
|
|||
|
validating, deploying, or exporting an OVF package.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.OvfMessage">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfMessage</code><span class="sig-paren">(</span><em>category=None</em>, <em>issues=None</em>, <em>name=None</em>, <em>value=None</em>, <em>message=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">OvfMessage</span></code> class describes a base OVF handling error message
|
|||
|
related to accessing, validating, deploying, or exporting an OVF package.</p>
|
|||
|
<p>These messages fall into different categories defined in
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category" title="com.vmware.vcenter.ovf_client.OvfMessage.Category"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfMessage.Category</span></code></a>:</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category">
|
|||
|
<em class="property">class </em><code class="descname">Category</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">OvfMessage.Category</span></code> class defines the categories of messages (see
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.ovf_client.OvfMessage" title="com.vmware.vcenter.ovf_client.OvfMessage"><code class="xref py py-class docutils literal notranslate"><span class="pre">OvfMessage</span></code></a>).</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT">
|
|||
|
<code class="descname">INPUT</code><em class="property"> = Category(string='INPUT')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The user provided input parameters are invalid.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER">
|
|||
|
<code class="descname">SERVER</code><em class="property"> = Category(string='SERVER')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Server error.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION">
|
|||
|
<code class="descname">VALIDATION</code><em class="property"> = Category(string='VALIDATION')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The OVF descriptor is invalid, for example, syntax errors or schema errors.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.OvfParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfParams</code><span class="sig-paren">(</span><em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">OvfParams</span></code> class defines the common attributes for all OVF
|
|||
|
deployment parameters. OVF parameters serve several purposes:</p>
|
|||
|
<ul class="simple">
|
|||
|
<li>Describe information about a given OVF package.</li>
|
|||
|
<li>Describe default deployment configuration.</li>
|
|||
|
<li>Describe possible deployment values based on the deployment environment.</li>
|
|||
|
<li>Provide deployment-specific configuration.</li>
|
|||
|
</ul>
|
|||
|
<p>Each OVF parameters class specifies a particular configurable aspect of OVF
|
|||
|
deployment. An aspect has both a query-model and a deploy-model. The
|
|||
|
query-model is used when the OVF package is queried, and the deploy-model
|
|||
|
is used when deploying an OVF package.</p>
|
|||
|
<p>Most OVF parameter classes provide both informational and deployment
|
|||
|
parameters. However, some are purely informational (for example, download
|
|||
|
size) and some are purely deployment parameters (for example, the flag to
|
|||
|
indicate whether registration as a vCenter extension is accepted).</p>
|
|||
|
<blockquote>
|
|||
|
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.OvfWarning">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">OvfWarning</code><span class="sig-paren">(</span><em>category=None</em>, <em>issues=None</em>, <em>name=None</em>, <em>value=None</em>, <em>message=None</em>, <em>error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.OvfWarning" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">OvfWarning</span></code> class describes a warning related to accessing,
|
|||
|
validating, deploying, or exporting an OVF package.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ParseIssue</code><span class="sig-paren">(</span><em>category=None</em>, <em>file=None</em>, <em>line_number=None</em>, <em>column_number=None</em>, <em>message=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ParseIssue</span></code> class contains the information about the issue found
|
|||
|
when parsing an OVF package during deployment or exporting an OVF package
|
|||
|
including:</p>
|
|||
|
<ul class="simple">
|
|||
|
<li>Parsing and validation error on OVF descriptor (which is an XML
|
|||
|
document), manifest and certificate files.</li>
|
|||
|
<li>OVF descriptor generating and device error.</li>
|
|||
|
<li>Unexpected server error.</li>
|
|||
|
</ul>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category">
|
|||
|
<em class="property">class </em><code class="descname">Category</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ParseIssue.Category</span></code> class defines the categories of issues that can
|
|||
|
be found when parsing files inside an OVF package (see <a class="reference internal" href="#com.vmware.vcenter.ovf_client.ParseIssue" title="com.vmware.vcenter.ovf_client.ParseIssue"><code class="xref py py-class docutils literal notranslate"><span class="pre">ParseIssue</span></code></a>)
|
|||
|
including OVF descriptor (which is an XML document), manifest and
|
|||
|
certificate files, or exporting an OVF package.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ATTRIBUTE_ILLEGAL">
|
|||
|
<code class="descname">ATTRIBUTE_ILLEGAL</code><em class="property"> = Category(string='ATTRIBUTE_ILLEGAL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ATTRIBUTE_ILLEGAL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Illegal attribute error. It indicates that an illegal attribute is set for
|
|||
|
an element in the OVF descriptor. For example, empty disks do not use
|
|||
|
format, parentRef, and populatedSize attributes, if these attributes are
|
|||
|
present in an empty disk element then will get this pasrse issue.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ATTRIBUTE_REQUIRED">
|
|||
|
<code class="descname">ATTRIBUTE_REQUIRED</code><em class="property"> = Category(string='ATTRIBUTE_REQUIRED')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ATTRIBUTE_REQUIRED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Required attribute error. It indicates that a required attribute is missing
|
|||
|
from an element in the OVF descriptor.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_ILLEGAL">
|
|||
|
<code class="descname">ELEMENT_ILLEGAL</code><em class="property"> = Category(string='ELEMENT_ILLEGAL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_ILLEGAL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Illegal element error. It indicates that an element is present in a
|
|||
|
location which is not allowed, or found multiple elements but only one is
|
|||
|
allowed at the location in the OVF descriptor.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_REQUIRED">
|
|||
|
<code class="descname">ELEMENT_REQUIRED</code><em class="property"> = Category(string='ELEMENT_REQUIRED')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_REQUIRED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Required element error. It indicates that a required element is missing
|
|||
|
from the OVF descriptor.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_UNKNOWN">
|
|||
|
<code class="descname">ELEMENT_UNKNOWN</code><em class="property"> = Category(string='ELEMENT_UNKNOWN')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.ELEMENT_UNKNOWN" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Unknown element error. It indicates that an element is unsupported when
|
|||
|
parsing an OVF descriptor.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.EXPORT_ERROR">
|
|||
|
<code class="descname">EXPORT_ERROR</code><em class="property"> = Category(string='EXPORT_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.EXPORT_ERROR" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Issue during OVF export, for example, malformed deviceId, controller not
|
|||
|
found, or file backing for a device not found.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.GENERATE_ERROR">
|
|||
|
<code class="descname">GENERATE_ERROR</code><em class="property"> = Category(string='GENERATE_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.GENERATE_ERROR" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>OVF descriptor (which is an XML document) generating error, for example,
|
|||
|
well-formedness errors as well as unexpected processing conditions.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.INTERNAL_ERROR">
|
|||
|
<code class="descname">INTERNAL_ERROR</code><em class="property"> = Category(string='INTERNAL_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.INTERNAL_ERROR" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Server encountered an unexpected error which prevented it from fulfilling
|
|||
|
the request.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.PARSE_ERROR">
|
|||
|
<code class="descname">PARSE_ERROR</code><em class="property"> = Category(string='PARSE_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.PARSE_ERROR" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>OVF package parsing error, including:</p>
|
|||
|
<ul class="simple">
|
|||
|
<li>OVF descriptor parsing errors, for example, syntax errors or schema
|
|||
|
errors.</li>
|
|||
|
<li>Manifest file parsing and verification errors.</li>
|
|||
|
<li>Certificate file parsing and verification errors.</li>
|
|||
|
</ul>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.SECTION_RESTRICTION">
|
|||
|
<code class="descname">SECTION_RESTRICTION</code><em class="property"> = Category(string='SECTION_RESTRICTION')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.SECTION_RESTRICTION" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Section restriction error. It indicates that a section appears in place in
|
|||
|
the OVF descriptor where it is not allowed, a section appears fewer times
|
|||
|
than is required, or a section appears more times than is allowed.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.SECTION_UNKNOWN">
|
|||
|
<code class="descname">SECTION_UNKNOWN</code><em class="property"> = Category(string='SECTION_UNKNOWN')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.SECTION_UNKNOWN" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Section unknown error. It indicates that a section is unsupported when
|
|||
|
parsing an OVF descriptor.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.VALIDATION_ERROR">
|
|||
|
<code class="descname">VALIDATION_ERROR</code><em class="property"> = Category(string='VALIDATION_ERROR')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.VALIDATION_ERROR" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>An issue with the manifest and signing.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ParseIssue.Category.VALUE_ILLEGAL">
|
|||
|
<code class="descname">VALUE_ILLEGAL</code><em class="property"> = Category(string='VALUE_ILLEGAL')</em><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ParseIssue.Category.VALUE_ILLEGAL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Illegal value error. For example, the value is malformed, not a number, or
|
|||
|
outside of the given range, and so on.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.Property">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">Property</code><span class="sig-paren">(</span><em>class_id=None</em>, <em>id=None</em>, <em>instance_id=None</em>, <em>category=None</em>, <em>ui_optional=None</em>, <em>label=None</em>, <em>description=None</em>, <em>type=None</em>, <em>value=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.Property" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Property</span></code> class contains the information about a property in an OVF
|
|||
|
package.</p>
|
|||
|
<p>A property is uniquely identified by its [classid.]id[.instanceid]
|
|||
|
fully-qualified name (see <code class="xref py py-attr docutils literal notranslate"><span class="pre">Property.class_id</span></code>, <code class="xref py py-attr docutils literal notranslate"><span class="pre">Property.id</span></code>,
|
|||
|
and <code class="xref py py-attr docutils literal notranslate"><span class="pre">Property.instance_id</span></code>). If multiple properties in an OVF package
|
|||
|
have the same fully-qualified name, then the property is excluded and
|
|||
|
cannot be set. We do warn about this during import.</p>
|
|||
|
<blockquote>
|
|||
|
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.PropertyParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">PropertyParams</code><span class="sig-paren">(</span><em>properties=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.PropertyParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">PropertyParams</span></code> class contains a <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of OVF properties
|
|||
|
that can be configured when the OVF package is deployed.</p>
|
|||
|
<blockquote>
|
|||
|
<div><p>This is based on the ovf:ProductSection.</p>
|
|||
|
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
|
|||
|
</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ScaleOutGroup">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ScaleOutGroup</code><span class="sig-paren">(</span><em>id=None</em>, <em>description=None</em>, <em>instance_count=None</em>, <em>minimum_instance_count=None</em>, <em>maximum_instance_count=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ScaleOutGroup" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ScaleOutGroup</span></code> class contains information about a scale-out group.</p>
|
|||
|
<p>It allows a virtual system collection to contain a set of children that are
|
|||
|
homogeneous with respect to a prototypical virtual system or virtual system
|
|||
|
collection. It shall cause the deployment function to replicate the
|
|||
|
prototype a number of times, thus allowing the number of instantiated
|
|||
|
virtual systems to be configured dynamically at deployment time.</p>
|
|||
|
<blockquote>
|
|||
|
<div><p>This is based on the ovf2:ScaleOutSection.</p>
|
|||
|
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
|
|||
|
</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.ScaleOutParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">ScaleOutParams</code><span class="sig-paren">(</span><em>groups=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.ScaleOutParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">ScaleOutParams</span></code> class contains information about the scale-out
|
|||
|
groups described in the OVF package.</p>
|
|||
|
<p>When deploying an OVF package, a deployment specific instance count can be
|
|||
|
specified (see <code class="xref py py-attr docutils literal notranslate"><span class="pre">ScaleOutGroup.instance_count</span></code>.</p>
|
|||
|
<blockquote>
|
|||
|
<div><p>This is based on the ovf2:ScaleOutSection.</p>
|
|||
|
<p>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</p>
|
|||
|
</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.SizeParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">SizeParams</code><span class="sig-paren">(</span><em>approximate_download_size=None</em>, <em>approximate_flat_deployment_size=None</em>, <em>approximate_sparse_deployment_size=None</em>, <em>variable_disk_size=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.SizeParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">SizeParams</span></code> class contains estimates of the download and deployment
|
|||
|
sizes.</p>
|
|||
|
<p>This information is based on the file references and the ovf:DiskSection in
|
|||
|
the OVF descriptor.</p>
|
|||
|
<blockquote>
|
|||
|
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.UnknownSection">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">UnknownSection</code><span class="sig-paren">(</span><em>tag=None</em>, <em>info=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.UnknownSection" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">UnknownSection</span></code> class contains information about an unknown section
|
|||
|
in an OVF package.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.UnknownSectionParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">UnknownSectionParams</code><span class="sig-paren">(</span><em>unknown_sections=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.UnknownSectionParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">UnknownSectionParams</span></code> class contains a <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of unknown,
|
|||
|
non-required sections.</p>
|
|||
|
<blockquote>
|
|||
|
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.ovf_client.VcenterExtensionParams">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.ovf_client.</code><code class="descname">VcenterExtensionParams</code><span class="sig-paren">(</span><em>required=None</em>, <em>registration_accepted=None</em>, <em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.ovf_client.VcenterExtensionParams" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">VcenterExtensionParams</span></code> class specifies that the OVF package should
|
|||
|
be registered as a vCenter extension. The virtual machine or virtual
|
|||
|
appliance will gain unrestricted access to the vCenter Server APIs. It must
|
|||
|
be connected to a network with connectivity to the vCenter server.</p>
|
|||
|
<blockquote>
|
|||
|
<div>See <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy" title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.deploy()</span></code></a> and <a class="reference internal" href="#com.vmware.vcenter.ovf_client.LibraryItem.filter" title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><code class="xref py py-func docutils literal notranslate"><span class="pre">LibraryItem.filter()</span></code></a>.</div></blockquote>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.services_client">
|
|||
|
<span id="com-vmware-vcenter-services-client-module"></span><h2>com.vmware.vcenter.services_client module<a class="headerlink" href="#module-com.vmware.vcenter.services_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.services_client.</code><code class="descname">Service</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Service</span></code> class provides methods to manage a single/set of vCenter
|
|||
|
Server services. This class was added in vSphere API 6.7</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.Health">
|
|||
|
<em class="property">class </em><code class="descname">Health</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Health" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Service.Health</span></code> class defines the possible values for health of a
|
|||
|
service. This enumeration was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.Health.DEGRADED">
|
|||
|
<code class="descname">DEGRADED</code><em class="property"> = Health(string='DEGRADED')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Health.DEGRADED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service is in degraded state, it is not functional. This class attribute
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.Health.HEALTHY">
|
|||
|
<code class="descname">HEALTHY</code><em class="property"> = Health(string='HEALTHY')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Health.HEALTHY" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service is in a healthy state and is fully functional. This class attribute
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.Health.HEALTHY_WITH_WARNINGS">
|
|||
|
<code class="descname">HEALTHY_WITH_WARNINGS</code><em class="property"> = Health(string='HEALTHY_WITH_WARNINGS')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Health.HEALTHY_WITH_WARNINGS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service is healthy with warnings. This class attribute was added in vSphere
|
|||
|
API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>name_key=None</em>, <em>description_key=None</em>, <em>startup_type=None</em>, <em>state=None</em>, <em>health=None</em>, <em>health_messages=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Service.Info</span></code> class contains information about a service. This class
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.StartupType">
|
|||
|
<em class="property">class </em><code class="descname">StartupType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.StartupType" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Service.StartupType</span></code> class defines valid Startup Type for vCenter
|
|||
|
Server services. This enumeration was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.StartupType.AUTOMATIC">
|
|||
|
<code class="descname">AUTOMATIC</code><em class="property"> = StartupType(string='AUTOMATIC')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.StartupType.AUTOMATIC" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service Startup type is Automatic, thus during starting all services or
|
|||
|
issuing explicit start on the service will start it. This class attribute
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.StartupType.DISABLED">
|
|||
|
<code class="descname">DISABLED</code><em class="property"> = StartupType(string='DISABLED')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.StartupType.DISABLED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service Startup type is Disabled, thus it will not start unless the startup
|
|||
|
type changes to manual or automatic. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.StartupType.MANUAL">
|
|||
|
<code class="descname">MANUAL</code><em class="property"> = StartupType(string='MANUAL')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.StartupType.MANUAL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service Startup type is Manual, thus issuing an explicit start on the
|
|||
|
service will start it. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.State">
|
|||
|
<em class="property">class </em><code class="descname">State</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Service.State</span></code> class defines valid Run State for services. This
|
|||
|
enumeration was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.State.STARTED">
|
|||
|
<code class="descname">STARTED</code><em class="property"> = State(string='STARTED')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State.STARTED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service Run State is Started, it is fully functional. This class attribute
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.State.STARTING">
|
|||
|
<code class="descname">STARTING</code><em class="property"> = State(string='STARTING')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State.STARTING" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service Run State is Starting, it is still not functional. This class
|
|||
|
attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.State.STOPPED">
|
|||
|
<code class="descname">STOPPED</code><em class="property"> = State(string='STOPPED')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State.STOPPED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service Run State is Stopped. This class attribute was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.State.STOPPING">
|
|||
|
<code class="descname">STOPPING</code><em class="property"> = State(string='STOPPING')</em><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.State.STOPPING" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Service Run State is Stopping, it is not functional. This class attribute
|
|||
|
was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.UpdateSpec">
|
|||
|
<em class="property">class </em><code class="descname">UpdateSpec</code><span class="sig-paren">(</span><em>startup_type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.UpdateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Service.UpdateSpec</span></code> class describes the changes to be made to the
|
|||
|
configuration of the service. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><em>service</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns the state of a service. This method was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – identifier of the service whose state is being queried.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.services_client.Service.Info" title="com.vmware.vcenter.services_client.Service.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.Info</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Service Info structure.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if any other error occurs during the execution of the operation.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.list_details">
|
|||
|
<code class="descname">list_details</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.list_details" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Lists details of vCenter services. This method was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> and <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.Info" title="com.vmware.vcenter.services_client.Service.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.Info</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Map of service identifiers to service Info structures.
|
|||
|
The key in the return value <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> will be an identifier for
|
|||
|
the resource type: <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if any error occurs during the execution of the operation.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.restart">
|
|||
|
<code class="descname">restart</code><span class="sig-paren">(</span><em>service</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.restart" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Restarts a service. This method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – identifier of the service to restart
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.TimedOut</span></code>
|
|||
|
if any timeout occurs during the execution of the restart
|
|||
|
operation.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the operation is denied in the current state of the service. If
|
|||
|
a stop or start operation is in progress, issuing a restart
|
|||
|
operation will lead to this error.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if a restart operation is issued on a service which has startup
|
|||
|
type <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.StartupType.DISABLED" title="com.vmware.vcenter.services_client.Service.StartupType.DISABLED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.StartupType.DISABLED</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if any other error occurs during the execution of the operation.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.start">
|
|||
|
<code class="descname">start</code><span class="sig-paren">(</span><em>service</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.start" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Starts a service. This method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – identifier of the service to start
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the operation is denied in the current state of the service. If
|
|||
|
a stop or restart operation is in progress, the start operation
|
|||
|
will not be allowed.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if start operation is issued on a service which has startup type
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.services_client.Service.StartupType.DISABLED" title="com.vmware.vcenter.services_client.Service.StartupType.DISABLED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.StartupType.DISABLED</span></code></a>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.TimedOut</span></code>
|
|||
|
if any timeout occurs during the execution of the start operation.
|
|||
|
Timeout occurs when the service takes longer than StartTimeout to
|
|||
|
start.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if any other error occurs during the execution of the operation.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.stop">
|
|||
|
<code class="descname">stop</code><span class="sig-paren">(</span><em>service</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.stop" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Stops a service. This method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – identifier of the service to stop
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if any other error occurs during the execution of the operation.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the operation is denied in the current state of the service. If
|
|||
|
a stop operation is in progress, issuing another stop operation
|
|||
|
will lead to this error.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.services_client.Service.update">
|
|||
|
<code class="descname">update</code><span class="sig-paren">(</span><em>service</em>, <em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.Service.update" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Updates the properties of a service. This method was added in vSphere
|
|||
|
API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>service</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – identifier of the service whose properties are being updated.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.services.Service</span></code>.</li>
|
|||
|
<li><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.services_client.Service.UpdateSpec" title="com.vmware.vcenter.services_client.Service.UpdateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Service.UpdateSpec</span></code></a>) – Service Update specification.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the service associated with <code class="docutils literal notranslate"><span class="pre">service</span></code> does not exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if any other error occurs during the execution of the operation.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the operation is denied in the current state of the service. If
|
|||
|
a start, stop or restart operation is in progress, update operation
|
|||
|
will fail with this error.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if a request to set the <code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.UpdateSpec.startup_type</span></code>
|
|||
|
attribute of <code class="docutils literal notranslate"><span class="pre">spec</span></code> to <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.StartupType.DISABLED" title="com.vmware.vcenter.services_client.Service.StartupType.DISABLED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.StartupType.DISABLED</span></code></a> comes
|
|||
|
in for a service that is not in <a class="reference internal" href="#com.vmware.vcenter.services_client.Service.State.STOPPED" title="com.vmware.vcenter.services_client.Service.State.STOPPED"><code class="xref py py-attr docutils literal notranslate"><span class="pre">Service.State.STOPPED</span></code></a>
|
|||
|
state.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.services_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.services_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.services_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.storage_client">
|
|||
|
<span id="com-vmware-vcenter-storage-client-module"></span><h2>com.vmware.vcenter.storage_client module<a class="headerlink" href="#module-com.vmware.vcenter.storage_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.storage_client.Policies">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.storage_client.</code><code class="descname">Policies</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Policies</span></code> class provides methods for managing the storage policies.
|
|||
|
This class was added in vSphere API 6.7</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.storage_client.Policies.CompatibilityInfo">
|
|||
|
<em class="property">class </em><code class="descname">CompatibilityInfo</code><span class="sig-paren">(</span><em>compatible_datastores=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.CompatibilityInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Policies.CompatibilityInfo</span></code> class contains info about a list of
|
|||
|
datastores compatible with a specific storage policy. This class was added
|
|||
|
in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.storage_client.Policies.CompatibleDatastoreInfo">
|
|||
|
<em class="property">class </em><code class="descname">CompatibleDatastoreInfo</code><span class="sig-paren">(</span><em>datastore=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.CompatibleDatastoreInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Policies.CompatibleDatastoreInfo</span></code> class contains compatible
|
|||
|
datastore’s information. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.storage_client.Policies.FilterSpec">
|
|||
|
<em class="property">class </em><code class="descname">FilterSpec</code><span class="sig-paren">(</span><em>policies=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.FilterSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Policies.FilterSpec</span></code> class contains attributes used to filter the
|
|||
|
results when listing the storage policies (see <a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.list" title="com.vmware.vcenter.storage_client.Policies.list"><code class="xref py py-func docutils literal notranslate"><span class="pre">Policies.list()</span></code></a>). This
|
|||
|
class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.storage_client.Policies.RESOURCE_TYPE">
|
|||
|
<code class="descname">RESOURCE_TYPE</code><em class="property"> = 'com.vmware.vcenter.StoragePolicy'</em><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.RESOURCE_TYPE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Resource type for vAPI metadata policy. This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.storage_client.Policies.Summary">
|
|||
|
<em class="property">class </em><code class="descname">Summary</code><span class="sig-paren">(</span><em>policy=None</em>, <em>name=None</em>, <em>description=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.Summary" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Policies.Summary</span></code> class contains commonly used information about a
|
|||
|
storage policy. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.storage_client.Policies.check_compatibility">
|
|||
|
<code class="descname">check_compatibility</code><span class="sig-paren">(</span><em>policy</em>, <em>datastores</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.check_compatibility" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns datastore compatibility summary about a specific storage
|
|||
|
policy. This method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>policy</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – The storage policy identifier
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.StoragePolicy</span></code>.</li>
|
|||
|
<li><strong>datastores</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">set</span></code> of <code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Datastores used to check compatibility against a storage policy.
|
|||
|
The number of datastores is limited to 1024.
|
|||
|
The parameter must contain identifiers for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">Datastore</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.CompatibilityInfo" title="com.vmware.vcenter.storage_client.Policies.CompatibilityInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.CompatibilityInfo</span></code></a></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">datastore compatibility summary about a specific storage policy.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the storage policy specified does not exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’t have the required privileges.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
|
|||
|
if input more than 1024 datastores.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.storage_client.Policies.list">
|
|||
|
<code class="descname">list</code><span class="sig-paren">(</span><em>filter=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.Policies.list" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns information about at most 1024 visible (subject to permission
|
|||
|
checks) storage solicies availabe in vCenter. These storage policies
|
|||
|
can be used for provisioning virtual machines or disks. This method was
|
|||
|
added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>filter</strong> (<a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.FilterSpec" title="com.vmware.vcenter.storage_client.Policies.FilterSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.FilterSpec</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) – Specification of matching storage policies for which information
|
|||
|
should be returned.
|
|||
|
If None, the behavior is equivalent to a
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.FilterSpec" title="com.vmware.vcenter.storage_client.Policies.FilterSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.FilterSpec</span></code></a> with all attributes None which means
|
|||
|
all storage policies match the filter</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.list" title="com.vmware.vcenter.storage_client.Policies.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of <a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.Summary" title="com.vmware.vcenter.storage_client.Policies.Summary"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.Summary</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Commonly used Information about the storage policies.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if the <a class="reference internal" href="#com.vmware.vcenter.storage_client.Policies.FilterSpec" title="com.vmware.vcenter.storage_client.Policies.FilterSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Policies.FilterSpec</span></code></a> contains a value that is not
|
|||
|
supported by the server.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’t have the required privileges.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
|
|||
|
if more than 1024 storage policies exist.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.storage_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.storage_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.storage_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.system_config_client">
|
|||
|
<span id="com-vmware-vcenter-system-config-client-module"></span><h2>com.vmware.vcenter.system_config_client module<a class="headerlink" href="#module-com.vmware.vcenter.system_config_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.DeploymentType">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.system_config_client.</code><code class="descname">DeploymentType</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentType</span></code> class provides methods to get/set the type of the
|
|||
|
appliance. This class was added in vSphere API 6.7</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.DeploymentType.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentType.Info</span></code> class contains the fields used to get the
|
|||
|
appliance type. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.DeploymentType.ReconfigureSpec">
|
|||
|
<em class="property">class </em><code class="descname">ReconfigureSpec</code><span class="sig-paren">(</span><em>type=None</em>, <em>remote_psc=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType.ReconfigureSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">DeploymentType.ReconfigureSpec</span></code> class contains the fields used to
|
|||
|
get and set the appliance type. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.DeploymentType.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Get the type of the vCenter appliance. This method was added in vSphere
|
|||
|
API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.system_config_client.DeploymentType.Info" title="com.vmware.vcenter.system_config_client.DeploymentType.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">DeploymentType.Info</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The type of the vCenter appliance.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if appliance is not in CONFIGURED state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.DeploymentType.reconfigure">
|
|||
|
<code class="descname">reconfigure</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.DeploymentType.reconfigure" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Reconfigure the type of the vCenter appliance. This method was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.system_config_client.DeploymentType.ReconfigureSpec" title="com.vmware.vcenter.system_config_client.DeploymentType.ReconfigureSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">DeploymentType.ReconfigureSpec</span></code></a>) – ReconfigureSpec to set the appliance type.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
|
|||
|
if the appliance is in CONFIGURED state and if not changing the
|
|||
|
type form VCSA_EMBEDDED to VCSA_EXTERNAL.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if passed arguments are invalid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if external PSC credentials are not valid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is not in INITIALIZED or CONFIGURED state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.PscRegistration">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.system_config_client.</code><code class="descname">PscRegistration</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.PscRegistration" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">PscRegistration</span></code> class provides methods to get and set the
|
|||
|
PSC_EXTERNAL appliance a VCSA_EXTERNAL appliance is registered with. This
|
|||
|
class was added in vSphere API 6.7</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.PscRegistration.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>address=None</em>, <em>https_port=None</em>, <em>sso_domain=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.PscRegistration.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">PscRegistration.Info</span></code> class has fields to specify information about
|
|||
|
the PSC node. This class was added in vSphere API 6.7</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.PscRegistration.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.PscRegistration.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Get information of the PSC that this appliance is registered with. This
|
|||
|
method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.system_config_client.PscRegistration.Info" title="com.vmware.vcenter.system_config_client.PscRegistration.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">PscRegistration.Info</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Info structure containing information about the external PSC node
|
|||
|
this appliance is registered with.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is in NOT_INITIALIZED state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.PscRegistration.repoint">
|
|||
|
<code class="descname">repoint</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.PscRegistration.repoint" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Repoint this vCenter Server appliance to a different external PSC. This
|
|||
|
method was added in vSphere API 6.7</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.deployment_client.RemotePscSpec" title="com.vmware.vcenter.deployment_client.RemotePscSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vcenter.deployment_client.RemotePscSpec</span></code></a>) – RemotePscSpec structure containing information about the external
|
|||
|
PSC node to repoint this vCenter Server appliance to.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the caller is not authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the passed external PSC credentials is invalid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if the passed external PSC is not a replicating with the current
|
|||
|
PSC this appliance is registered with.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if passed arguments are invalid.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
|
|||
|
if the current appliance is not of the type VCSA_EXTERNAL.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the appliance is NOT in CONFIGURED state.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.system_config_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.system_config_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.system_config_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.vm_client">
|
|||
|
<span id="com-vmware-vcenter-vm-client-module"></span><h2>com.vmware.vcenter.vm_client module<a class="headerlink" href="#module-com.vmware.vcenter.vm_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm_client</span></code> module provides classes for managing
|
|||
|
virtual machines.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">GuestOS</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">GuestOS</span></code> class defines the valid guest operating system types used
|
|||
|
for configuring a virtual machine.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3">
|
|||
|
<code class="descname">ASIANUX_3</code><em class="property"> = GuestOS(string='ASIANUX_3')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Asianux Server 3</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3_64">
|
|||
|
<code class="descname">ASIANUX_3_64</code><em class="property"> = GuestOS(string='ASIANUX_3_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Asianux Server 3 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4">
|
|||
|
<code class="descname">ASIANUX_4</code><em class="property"> = GuestOS(string='ASIANUX_4')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Asianux Server 4</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4_64">
|
|||
|
<code class="descname">ASIANUX_4_64</code><em class="property"> = GuestOS(string='ASIANUX_4_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Asianux Server 4 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_5_64">
|
|||
|
<code class="descname">ASIANUX_5_64</code><em class="property"> = GuestOS(string='ASIANUX_5_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_5_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Asianux Server 5 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_7_64">
|
|||
|
<code class="descname">ASIANUX_7_64</code><em class="property"> = GuestOS(string='ASIANUX_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_7_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Asianux Server 7 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ASIANUX_8_64">
|
|||
|
<code class="descname">ASIANUX_8_64</code><em class="property"> = GuestOS(string='ASIANUX_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_8_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Asianux Server 8 (64 bit). This class attribute was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS">
|
|||
|
<code class="descname">CENTOS</code><em class="property"> = GuestOS(string='CENTOS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>CentOS 4/5</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_6">
|
|||
|
<code class="descname">CENTOS_6</code><em class="property"> = GuestOS(string='CENTOS_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_6" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>CentOS 6</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_64">
|
|||
|
<code class="descname">CENTOS_64</code><em class="property"> = GuestOS(string='CENTOS_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>CentOS 4/5 (64-bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_6_64">
|
|||
|
<code class="descname">CENTOS_6_64</code><em class="property"> = GuestOS(string='CENTOS_6_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_6_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>CentOS 6 (64-bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_7">
|
|||
|
<code class="descname">CENTOS_7</code><em class="property"> = GuestOS(string='CENTOS_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_7" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>CentOS 7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_7_64">
|
|||
|
<code class="descname">CENTOS_7_64</code><em class="property"> = GuestOS(string='CENTOS_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_7_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>CentOS 7 (64-bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.CENTOS_8_64">
|
|||
|
<code class="descname">CENTOS_8_64</code><em class="property"> = GuestOS(string='CENTOS_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_8_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>CentOS 8 (64-bit). This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.COREOS_64">
|
|||
|
<code class="descname">COREOS_64</code><em class="property"> = GuestOS(string='COREOS_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.COREOS_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>CoreOS Linux (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN">
|
|||
|
<code class="descname">DARWIN</code><em class="property"> = GuestOS(string='DARWIN')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.5</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_10">
|
|||
|
<code class="descname">DARWIN_10</code><em class="property"> = GuestOS(string='DARWIN_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_10" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.6</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_10_64">
|
|||
|
<code class="descname">DARWIN_10_64</code><em class="property"> = GuestOS(string='DARWIN_10_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_10_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.6 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_11">
|
|||
|
<code class="descname">DARWIN_11</code><em class="property"> = GuestOS(string='DARWIN_11')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_11" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_11_64">
|
|||
|
<code class="descname">DARWIN_11_64</code><em class="property"> = GuestOS(string='DARWIN_11_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_11_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.7 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_12_64">
|
|||
|
<code class="descname">DARWIN_12_64</code><em class="property"> = GuestOS(string='DARWIN_12_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_12_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.8 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_13_64">
|
|||
|
<code class="descname">DARWIN_13_64</code><em class="property"> = GuestOS(string='DARWIN_13_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_13_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.9 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_14_64">
|
|||
|
<code class="descname">DARWIN_14_64</code><em class="property"> = GuestOS(string='DARWIN_14_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_14_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.10 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_15_64">
|
|||
|
<code class="descname">DARWIN_15_64</code><em class="property"> = GuestOS(string='DARWIN_15_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_15_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.11 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_16_64">
|
|||
|
<code class="descname">DARWIN_16_64</code><em class="property"> = GuestOS(string='DARWIN_16_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_16_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.12 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_17_64">
|
|||
|
<code class="descname">DARWIN_17_64</code><em class="property"> = GuestOS(string='DARWIN_17_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_17_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.13 (64 bit). This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_18_64">
|
|||
|
<code class="descname">DARWIN_18_64</code><em class="property"> = GuestOS(string='DARWIN_18_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_18_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.14 (64 bit). This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DARWIN_64">
|
|||
|
<code class="descname">DARWIN_64</code><em class="property"> = GuestOS(string='DARWIN_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS 10.5 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10">
|
|||
|
<code class="descname">DEBIAN_10</code><em class="property"> = GuestOS(string='DEBIAN_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 10</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10_64">
|
|||
|
<code class="descname">DEBIAN_10_64</code><em class="property"> = GuestOS(string='DEBIAN_10_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 10 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4">
|
|||
|
<code class="descname">DEBIAN_4</code><em class="property"> = GuestOS(string='DEBIAN_4')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 4</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4_64">
|
|||
|
<code class="descname">DEBIAN_4_64</code><em class="property"> = GuestOS(string='DEBIAN_4_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 4 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5">
|
|||
|
<code class="descname">DEBIAN_5</code><em class="property"> = GuestOS(string='DEBIAN_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 5</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5_64">
|
|||
|
<code class="descname">DEBIAN_5_64</code><em class="property"> = GuestOS(string='DEBIAN_5_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 5 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6">
|
|||
|
<code class="descname">DEBIAN_6</code><em class="property"> = GuestOS(string='DEBIAN_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 6</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6_64">
|
|||
|
<code class="descname">DEBIAN_6_64</code><em class="property"> = GuestOS(string='DEBIAN_6_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 6 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7">
|
|||
|
<code class="descname">DEBIAN_7</code><em class="property"> = GuestOS(string='DEBIAN_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7_64">
|
|||
|
<code class="descname">DEBIAN_7_64</code><em class="property"> = GuestOS(string='DEBIAN_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 7 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8">
|
|||
|
<code class="descname">DEBIAN_8</code><em class="property"> = GuestOS(string='DEBIAN_8')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 8</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8_64">
|
|||
|
<code class="descname">DEBIAN_8_64</code><em class="property"> = GuestOS(string='DEBIAN_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 8 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_9">
|
|||
|
<code class="descname">DEBIAN_9</code><em class="property"> = GuestOS(string='DEBIAN_9')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_9" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 9</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DEBIAN_9_64">
|
|||
|
<code class="descname">DEBIAN_9_64</code><em class="property"> = GuestOS(string='DEBIAN_9_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_9_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Debian GNU/Linux 9 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.DOS">
|
|||
|
<code class="descname">DOS</code><em class="property"> = GuestOS(string='DOS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.DOS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>MS-DOS.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION">
|
|||
|
<code class="descname">ECOMSTATION</code><em class="property"> = GuestOS(string='ECOMSTATION')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>eComStation 1.x</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION_2">
|
|||
|
<code class="descname">ECOMSTATION_2</code><em class="property"> = GuestOS(string='ECOMSTATION_2')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION_2" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>eComStation 2.0</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.FEDORA">
|
|||
|
<code class="descname">FEDORA</code><em class="property"> = GuestOS(string='FEDORA')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FEDORA" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Fedora Linux</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.FEDORA_64">
|
|||
|
<code class="descname">FEDORA_64</code><em class="property"> = GuestOS(string='FEDORA_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FEDORA_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Fedora Linux (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD">
|
|||
|
<code class="descname">FREEBSD</code><em class="property"> = GuestOS(string='FREEBSD')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>FreeBSD 10 or earlier</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_11">
|
|||
|
<code class="descname">FREEBSD_11</code><em class="property"> = GuestOS(string='FREEBSD_11')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_11" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>FreeBSD 11. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_11_64">
|
|||
|
<code class="descname">FREEBSD_11_64</code><em class="property"> = GuestOS(string='FREEBSD_11_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_11_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>FreeBSD 11 x64. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_12">
|
|||
|
<code class="descname">FREEBSD_12</code><em class="property"> = GuestOS(string='FREEBSD_12')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_12" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>FreeBSD 12 or later. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_12_64">
|
|||
|
<code class="descname">FREEBSD_12_64</code><em class="property"> = GuestOS(string='FREEBSD_12_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_12_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>FreeBSD 12 x64 or later. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.FREEBSD_64">
|
|||
|
<code class="descname">FREEBSD_64</code><em class="property"> = GuestOS(string='FREEBSD_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>FreeBSD 10 x64 or earlier</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.GENERIC_LINUX">
|
|||
|
<code class="descname">GENERIC_LINUX</code><em class="property"> = GuestOS(string='GENERIC_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.GENERIC_LINUX" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Other Linux</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.MANDRAKE">
|
|||
|
<code class="descname">MANDRAKE</code><em class="property"> = GuestOS(string='MANDRAKE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.MANDRAKE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mandrake Linux</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.MANDRIVA">
|
|||
|
<code class="descname">MANDRIVA</code><em class="property"> = GuestOS(string='MANDRIVA')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.MANDRIVA" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mandriva Linux</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.MANDRIVA_64">
|
|||
|
<code class="descname">MANDRIVA_64</code><em class="property"> = GuestOS(string='MANDRIVA_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.MANDRIVA_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mandriva Linux (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.NETWARE_4">
|
|||
|
<code class="descname">NETWARE_4</code><em class="property"> = GuestOS(string='NETWARE_4')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.NETWARE_4" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Novell NetWare 4</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.NETWARE_5">
|
|||
|
<code class="descname">NETWARE_5</code><em class="property"> = GuestOS(string='NETWARE_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.NETWARE_5" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Novell NetWare 5.1</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.NETWARE_6">
|
|||
|
<code class="descname">NETWARE_6</code><em class="property"> = GuestOS(string='NETWARE_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.NETWARE_6" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Novell NetWare 6.x</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.NLD_9">
|
|||
|
<code class="descname">NLD_9</code><em class="property"> = GuestOS(string='NLD_9')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.NLD_9" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Novell Linux Desktop 9</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OES">
|
|||
|
<code class="descname">OES</code><em class="property"> = GuestOS(string='OES')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OES" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Open Enterprise Server</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_5">
|
|||
|
<code class="descname">OPENSERVER_5</code><em class="property"> = GuestOS(string='OPENSERVER_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_5" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>SCO OpenServer 5</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_6">
|
|||
|
<code class="descname">OPENSERVER_6</code><em class="property"> = GuestOS(string='OPENSERVER_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_6" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>SCO OpenServer 6</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OPENSUSE">
|
|||
|
<code class="descname">OPENSUSE</code><em class="property"> = GuestOS(string='OPENSUSE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OPENSUSE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>OpenSUSE Linux</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OPENSUSE_64">
|
|||
|
<code class="descname">OPENSUSE_64</code><em class="property"> = GuestOS(string='OPENSUSE_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OPENSUSE_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>OpenSUSE Linux (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX">
|
|||
|
<code class="descname">ORACLE_LINUX</code><em class="property"> = GuestOS(string='ORACLE_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Oracle Linux 4/5</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6">
|
|||
|
<code class="descname">ORACLE_LINUX_6</code><em class="property"> = GuestOS(string='ORACLE_LINUX_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Oracle Linux 6</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_64">
|
|||
|
<code class="descname">ORACLE_LINUX_64</code><em class="property"> = GuestOS(string='ORACLE_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Oracle Linux 4/5 (64-bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6_64">
|
|||
|
<code class="descname">ORACLE_LINUX_6_64</code><em class="property"> = GuestOS(string='ORACLE_LINUX_6_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Oracle Linux 6 (64-bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7">
|
|||
|
<code class="descname">ORACLE_LINUX_7</code><em class="property"> = GuestOS(string='ORACLE_LINUX_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Oracle Linux 7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7_64">
|
|||
|
<code class="descname">ORACLE_LINUX_7_64</code><em class="property"> = GuestOS(string='ORACLE_LINUX_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Oracle Linux 7 (64-bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_8_64">
|
|||
|
<code class="descname">ORACLE_LINUX_8_64</code><em class="property"> = GuestOS(string='ORACLE_LINUX_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_8_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Oracle Linux 8 (64-bit). This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OS2">
|
|||
|
<code class="descname">OS2</code><em class="property"> = GuestOS(string='OS2')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OS2" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>OS/2</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER">
|
|||
|
<code class="descname">OTHER</code><em class="property"> = GuestOS(string='OTHER')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Other Operating System</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX">
|
|||
|
<code class="descname">OTHER_24X_LINUX</code><em class="property"> = GuestOS(string='OTHER_24X_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux 2.4x Kernel</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX_64">
|
|||
|
<code class="descname">OTHER_24X_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_24X_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux 2.4x Kernel (64 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX">
|
|||
|
<code class="descname">OTHER_26X_LINUX</code><em class="property"> = GuestOS(string='OTHER_26X_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux 2.6x Kernel</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX_64">
|
|||
|
<code class="descname">OTHER_26X_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_26X_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux 2.6x Kernel (64 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX">
|
|||
|
<code class="descname">OTHER_3X_LINUX</code><em class="property"> = GuestOS(string='OTHER_3X_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux 3.x Kernel</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX_64">
|
|||
|
<code class="descname">OTHER_3X_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_3X_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux 3.x Kernel (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_4X_LINUX">
|
|||
|
<code class="descname">OTHER_4X_LINUX</code><em class="property"> = GuestOS(string='OTHER_4X_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_4X_LINUX" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux 4.x Kernel. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_4X_LINUX_64">
|
|||
|
<code class="descname">OTHER_4X_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_4X_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_4X_LINUX_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux 4.x Kernel (64 bit). This class attribute was added in vSphere API
|
|||
|
6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_64">
|
|||
|
<code class="descname">OTHER_64</code><em class="property"> = GuestOS(string='OTHER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Other Operating System (64 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX">
|
|||
|
<code class="descname">OTHER_LINUX</code><em class="property"> = GuestOS(string='OTHER_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux 2.2x Kernel</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX_64">
|
|||
|
<code class="descname">OTHER_LINUX_64</code><em class="property"> = GuestOS(string='OTHER_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux (64 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.REDHAT">
|
|||
|
<code class="descname">REDHAT</code><em class="property"> = GuestOS(string='REDHAT')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.REDHAT" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Linux 2.1</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_2">
|
|||
|
<code class="descname">RHEL_2</code><em class="property"> = GuestOS(string='RHEL_2')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_2" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 2</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_3">
|
|||
|
<code class="descname">RHEL_3</code><em class="property"> = GuestOS(string='RHEL_3')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_3" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 3</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_3_64">
|
|||
|
<code class="descname">RHEL_3_64</code><em class="property"> = GuestOS(string='RHEL_3_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_3_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 3 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_4">
|
|||
|
<code class="descname">RHEL_4</code><em class="property"> = GuestOS(string='RHEL_4')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_4" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 4</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_4_64">
|
|||
|
<code class="descname">RHEL_4_64</code><em class="property"> = GuestOS(string='RHEL_4_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_4_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 4 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_5">
|
|||
|
<code class="descname">RHEL_5</code><em class="property"> = GuestOS(string='RHEL_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_5" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 5</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_5_64">
|
|||
|
<code class="descname">RHEL_5_64</code><em class="property"> = GuestOS(string='RHEL_5_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_5_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 5 (64 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_6">
|
|||
|
<code class="descname">RHEL_6</code><em class="property"> = GuestOS(string='RHEL_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_6" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 6</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_6_64">
|
|||
|
<code class="descname">RHEL_6_64</code><em class="property"> = GuestOS(string='RHEL_6_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_6_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 6 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_7">
|
|||
|
<code class="descname">RHEL_7</code><em class="property"> = GuestOS(string='RHEL_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_7" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_7_64">
|
|||
|
<code class="descname">RHEL_7_64</code><em class="property"> = GuestOS(string='RHEL_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_7_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 7 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.RHEL_8_64">
|
|||
|
<code class="descname">RHEL_8_64</code><em class="property"> = GuestOS(string='RHEL_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_8_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Red Hat Enterprise Linux 8 (64 bit). This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SJDS">
|
|||
|
<code class="descname">SJDS</code><em class="property"> = GuestOS(string='SJDS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SJDS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Sun Java Desktop System</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES">
|
|||
|
<code class="descname">SLES</code><em class="property"> = GuestOS(string='SLES')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse Linux Enterprise Server 9</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_10">
|
|||
|
<code class="descname">SLES_10</code><em class="property"> = GuestOS(string='SLES_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_10" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse linux Enterprise Server 10</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_10_64">
|
|||
|
<code class="descname">SLES_10_64</code><em class="property"> = GuestOS(string='SLES_10_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_10_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse Linux Enterprise Server 10 (64 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_11">
|
|||
|
<code class="descname">SLES_11</code><em class="property"> = GuestOS(string='SLES_11')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_11" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse linux Enterprise Server 11</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_11_64">
|
|||
|
<code class="descname">SLES_11_64</code><em class="property"> = GuestOS(string='SLES_11_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_11_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse Linux Enterprise Server 11 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_12">
|
|||
|
<code class="descname">SLES_12</code><em class="property"> = GuestOS(string='SLES_12')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_12" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse linux Enterprise Server 12</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_12_64">
|
|||
|
<code class="descname">SLES_12_64</code><em class="property"> = GuestOS(string='SLES_12_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_12_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse Linux Enterprise Server 12 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_15_64">
|
|||
|
<code class="descname">SLES_15_64</code><em class="property"> = GuestOS(string='SLES_15_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_15_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse Linux Enterprise Server 15 (64 bit). This class attribute was added in
|
|||
|
vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SLES_64">
|
|||
|
<code class="descname">SLES_64</code><em class="property"> = GuestOS(string='SLES_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SLES_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse Linux Enterprise Server 9 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10">
|
|||
|
<code class="descname">SOLARIS_10</code><em class="property"> = GuestOS(string='SOLARIS_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Solaris 10 (32 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10_64">
|
|||
|
<code class="descname">SOLARIS_10_64</code><em class="property"> = GuestOS(string='SOLARIS_10_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Solaris 10 (64 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_11_64">
|
|||
|
<code class="descname">SOLARIS_11_64</code><em class="property"> = GuestOS(string='SOLARIS_11_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_11_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Solaris 11 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_6">
|
|||
|
<code class="descname">SOLARIS_6</code><em class="property"> = GuestOS(string='SOLARIS_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_6" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Solaris 6</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_7">
|
|||
|
<code class="descname">SOLARIS_7</code><em class="property"> = GuestOS(string='SOLARIS_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_7" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Solaris 7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_8">
|
|||
|
<code class="descname">SOLARIS_8</code><em class="property"> = GuestOS(string='SOLARIS_8')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_8" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Solaris 8</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SOLARIS_9">
|
|||
|
<code class="descname">SOLARIS_9</code><em class="property"> = GuestOS(string='SOLARIS_9')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_9" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Solaris 9</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SUSE">
|
|||
|
<code class="descname">SUSE</code><em class="property"> = GuestOS(string='SUSE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SUSE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse Linux</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.SUSE_64">
|
|||
|
<code class="descname">SUSE_64</code><em class="property"> = GuestOS(string='SUSE_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.SUSE_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suse Linux (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX">
|
|||
|
<code class="descname">TURBO_LINUX</code><em class="property"> = GuestOS(string='TURBO_LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Turbolinux</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX_64">
|
|||
|
<code class="descname">TURBO_LINUX_64</code><em class="property"> = GuestOS(string='TURBO_LINUX_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Turbolinux (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.UBUNTU">
|
|||
|
<code class="descname">UBUNTU</code><em class="property"> = GuestOS(string='UBUNTU')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.UBUNTU" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Ubuntu Linux</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.UBUNTU_64">
|
|||
|
<code class="descname">UBUNTU_64</code><em class="property"> = GuestOS(string='UBUNTU_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.UBUNTU_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Ubuntu Linux (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.UNIXWARE_7">
|
|||
|
<code class="descname">UNIXWARE_7</code><em class="property"> = GuestOS(string='UNIXWARE_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.UNIXWARE_7" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>SCO UnixWare 7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMKERNEL">
|
|||
|
<code class="descname">VMKERNEL</code><em class="property"> = GuestOS(string='VMKERNEL')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>VMware ESX 4</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_5">
|
|||
|
<code class="descname">VMKERNEL_5</code><em class="property"> = GuestOS(string='VMKERNEL_5')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_5" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>VMware ESX 5</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_6">
|
|||
|
<code class="descname">VMKERNEL_6</code><em class="property"> = GuestOS(string='VMKERNEL_6')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_6" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>VMware ESX 6</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_65">
|
|||
|
<code class="descname">VMKERNEL_65</code><em class="property"> = GuestOS(string='VMKERNEL_65')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_65" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>VMware ESX 6.5</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.VMWARE_PHOTON_64">
|
|||
|
<code class="descname">VMWARE_PHOTON_64</code><em class="property"> = GuestOS(string='VMWARE_PHOTON_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.VMWARE_PHOTON_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>VMware Photon (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7">
|
|||
|
<code class="descname">WINDOWS_7</code><em class="property"> = GuestOS(string='WINDOWS_7')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_64">
|
|||
|
<code class="descname">WINDOWS_7_64</code><em class="property"> = GuestOS(string='WINDOWS_7_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 7 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_SERVER_64">
|
|||
|
<code class="descname">WINDOWS_7_SERVER_64</code><em class="property"> = GuestOS(string='WINDOWS_7_SERVER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_SERVER_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Server 2008 R2 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8">
|
|||
|
<code class="descname">WINDOWS_8</code><em class="property"> = GuestOS(string='WINDOWS_8')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 8</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_64">
|
|||
|
<code class="descname">WINDOWS_8_64</code><em class="property"> = GuestOS(string='WINDOWS_8_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 8 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_SERVER_64">
|
|||
|
<code class="descname">WINDOWS_8_SERVER_64</code><em class="property"> = GuestOS(string='WINDOWS_8_SERVER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_SERVER_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 8 Server (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9">
|
|||
|
<code class="descname">WINDOWS_9</code><em class="property"> = GuestOS(string='WINDOWS_9')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 10</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_64">
|
|||
|
<code class="descname">WINDOWS_9_64</code><em class="property"> = GuestOS(string='WINDOWS_9_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 10 (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_SERVER_64">
|
|||
|
<code class="descname">WINDOWS_9_SERVER_64</code><em class="property"> = GuestOS(string='WINDOWS_9_SERVER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_SERVER_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 10 Server (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WINDOWS_HYPERV">
|
|||
|
<code class="descname">WINDOWS_HYPERV</code><em class="property"> = GuestOS(string='WINDOWS_HYPERV')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_HYPERV" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Hyper-V</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_2000_ADV_SERV">
|
|||
|
<code class="descname">WIN_2000_ADV_SERV</code><em class="property"> = GuestOS(string='WIN_2000_ADV_SERV')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_2000_ADV_SERV" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 2000 Advanced Server</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_2000_PRO">
|
|||
|
<code class="descname">WIN_2000_PRO</code><em class="property"> = GuestOS(string='WIN_2000_PRO')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_2000_PRO" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 2000 Professional</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_2000_SERV">
|
|||
|
<code class="descname">WIN_2000_SERV</code><em class="property"> = GuestOS(string='WIN_2000_SERV')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_2000_SERV" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 2000 Server</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_31">
|
|||
|
<code class="descname">WIN_31</code><em class="property"> = GuestOS(string='WIN_31')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_31" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 3.1</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_95">
|
|||
|
<code class="descname">WIN_95</code><em class="property"> = GuestOS(string='WIN_95')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_95" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 95</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_98">
|
|||
|
<code class="descname">WIN_98</code><em class="property"> = GuestOS(string='WIN_98')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_98" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows 98</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN">
|
|||
|
<code class="descname">WIN_LONGHORN</code><em class="property"> = GuestOS(string='WIN_LONGHORN')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Longhorn (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN_64">
|
|||
|
<code class="descname">WIN_LONGHORN_64</code><em class="property"> = GuestOS(string='WIN_LONGHORN_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Longhorn (64 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_ME">
|
|||
|
<code class="descname">WIN_ME</code><em class="property"> = GuestOS(string='WIN_ME')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_ME" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Millennium Edition</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_BUSINESS">
|
|||
|
<code class="descname">WIN_NET_BUSINESS</code><em class="property"> = GuestOS(string='WIN_NET_BUSINESS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_BUSINESS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Small Business Server 2003</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_DATACENTER">
|
|||
|
<code class="descname">WIN_NET_DATACENTER</code><em class="property"> = GuestOS(string='WIN_NET_DATACENTER')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_DATACENTER" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Server 2003, Datacenter Edition</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_DATACENTER_64">
|
|||
|
<code class="descname">WIN_NET_DATACENTER_64</code><em class="property"> = GuestOS(string='WIN_NET_DATACENTER_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_DATACENTER_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Server 2003, Datacenter Edition (64 bit) (experimental)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_ENTERPRISE">
|
|||
|
<code class="descname">WIN_NET_ENTERPRISE</code><em class="property"> = GuestOS(string='WIN_NET_ENTERPRISE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_ENTERPRISE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Server 2003, Enterprise Edition</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_ENTERPRISE_64">
|
|||
|
<code class="descname">WIN_NET_ENTERPRISE_64</code><em class="property"> = GuestOS(string='WIN_NET_ENTERPRISE_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_ENTERPRISE_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Server 2003, Enterprise Edition (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_STANDARD">
|
|||
|
<code class="descname">WIN_NET_STANDARD</code><em class="property"> = GuestOS(string='WIN_NET_STANDARD')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_STANDARD" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Server 2003, Standard Edition</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_STANDARD_64">
|
|||
|
<code class="descname">WIN_NET_STANDARD_64</code><em class="property"> = GuestOS(string='WIN_NET_STANDARD_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_STANDARD_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Server 2003, Standard Edition (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NET_WEB">
|
|||
|
<code class="descname">WIN_NET_WEB</code><em class="property"> = GuestOS(string='WIN_NET_WEB')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_WEB" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Server 2003, Web Edition</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_NT">
|
|||
|
<code class="descname">WIN_NT</code><em class="property"> = GuestOS(string='WIN_NT')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NT" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows NT 4</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA">
|
|||
|
<code class="descname">WIN_VISTA</code><em class="property"> = GuestOS(string='WIN_VISTA')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Vista</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA_64">
|
|||
|
<code class="descname">WIN_VISTA_64</code><em class="property"> = GuestOS(string='WIN_VISTA_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows Vista (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_XP_HOME">
|
|||
|
<code class="descname">WIN_XP_HOME</code><em class="property"> = GuestOS(string='WIN_XP_HOME')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_XP_HOME" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows XP Home Edition</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_XP_PRO">
|
|||
|
<code class="descname">WIN_XP_PRO</code><em class="property"> = GuestOS(string='WIN_XP_PRO')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_XP_PRO" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows XP Professional</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOS.WIN_XP_PRO_64">
|
|||
|
<code class="descname">WIN_XP_PRO_64</code><em class="property"> = GuestOS(string='WIN_XP_PRO_64')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOS.WIN_XP_PRO_64" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows XP Professional Edition (64 bit)</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">GuestOSFamily</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">GuestOSFamily</span></code> class defines the valid guest operating system family
|
|||
|
types reported by a virtual machine. This enumeration was added in vSphere
|
|||
|
API 6.7</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.DARWIN">
|
|||
|
<code class="descname">DARWIN</code><em class="property"> = GuestOSFamily(string='DARWIN')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.DARWIN" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Mac OS operating system. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.LINUX">
|
|||
|
<code class="descname">LINUX</code><em class="property"> = GuestOSFamily(string='LINUX')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.LINUX" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Linux operating system. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.NETWARE">
|
|||
|
<code class="descname">NETWARE</code><em class="property"> = GuestOSFamily(string='NETWARE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.NETWARE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Novell Netware. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.OTHER">
|
|||
|
<code class="descname">OTHER</code><em class="property"> = GuestOSFamily(string='OTHER')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.OTHER" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Other operating systems. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.SOLARIS">
|
|||
|
<code class="descname">SOLARIS</code><em class="property"> = GuestOSFamily(string='SOLARIS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.SOLARIS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Solaris operating system. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.GuestOSFamily.WINDOWS">
|
|||
|
<code class="descname">WINDOWS</code><em class="property"> = GuestOSFamily(string='WINDOWS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.GuestOSFamily.WINDOWS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Windows operating system. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">Hardware</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware</span></code> class provides methods for configuring the virtual
|
|||
|
hardware of a virtual machine.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>version=None</em>, <em>upgrade_policy=None</em>, <em>upgrade_version=None</em>, <em>upgrade_status=None</em>, <em>upgrade_error=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.Info</span></code> class contains information related to the virtual
|
|||
|
hardware of a virtual machine.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpdateSpec">
|
|||
|
<em class="property">class </em><code class="descname">UpdateSpec</code><span class="sig-paren">(</span><em>upgrade_policy=None</em>, <em>upgrade_version=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpdateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.UpdateSpec</span></code> class describes the updates to virtual hardware
|
|||
|
settings of a virtual machine.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy">
|
|||
|
<em class="property">class </em><code class="descname">UpgradePolicy</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.UpgradePolicy</span></code> class defines the valid virtual hardware
|
|||
|
upgrade policies for a virtual machine.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN">
|
|||
|
<code class="descname">AFTER_CLEAN_SHUTDOWN</code><em class="property"> = UpgradePolicy(string='AFTER_CLEAN_SHUTDOWN')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Run scheduled upgrade when the virtual machine is powered on after a clean
|
|||
|
shutdown of the guest operating system.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.ALWAYS">
|
|||
|
<code class="descname">ALWAYS</code><em class="property"> = UpgradePolicy(string='ALWAYS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.ALWAYS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Run scheduled upgrade when the virtual machine is powered on.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER">
|
|||
|
<code class="descname">NEVER</code><em class="property"> = UpgradePolicy(string='NEVER')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Do not upgrade the virtual machine when it is powered on.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus">
|
|||
|
<em class="property">class </em><code class="descname">UpgradeStatus</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.UpgradeStatus</span></code> class defines the valid virtual hardware
|
|||
|
upgrade statuses for a virtual machine.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.FAILED">
|
|||
|
<code class="descname">FAILED</code><em class="property"> = UpgradeStatus(string='FAILED')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.FAILED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The most recent scheduled upgrade was not successful.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.NONE">
|
|||
|
<code class="descname">NONE</code><em class="property"> = UpgradeStatus(string='NONE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.NONE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>No scheduled upgrade has been attempted.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.PENDING">
|
|||
|
<code class="descname">PENDING</code><em class="property"> = UpgradeStatus(string='PENDING')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.PENDING" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Upgrade is scheduled but has not yet been run.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.SUCCESS">
|
|||
|
<code class="descname">SUCCESS</code><em class="property"> = UpgradeStatus(string='SUCCESS')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus.SUCCESS" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The most recent scheduled upgrade was successful.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version">
|
|||
|
<em class="property">class </em><code class="descname">Version</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Hardware.Version</span></code> class defines the valid virtual hardware versions
|
|||
|
for a virtual machine.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_03">
|
|||
|
<code class="descname">VMX_03</code><em class="property"> = Version(string='VMX_03')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_03" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 3.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_04">
|
|||
|
<code class="descname">VMX_04</code><em class="property"> = Version(string='VMX_04')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_04" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 4.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_06">
|
|||
|
<code class="descname">VMX_06</code><em class="property"> = Version(string='VMX_06')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_06" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 6.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_07">
|
|||
|
<code class="descname">VMX_07</code><em class="property"> = Version(string='VMX_07')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_07" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 7.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_08">
|
|||
|
<code class="descname">VMX_08</code><em class="property"> = Version(string='VMX_08')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_08" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 8.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_09">
|
|||
|
<code class="descname">VMX_09</code><em class="property"> = Version(string='VMX_09')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_09" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 9.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_10">
|
|||
|
<code class="descname">VMX_10</code><em class="property"> = Version(string='VMX_10')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_10" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 10.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_11">
|
|||
|
<code class="descname">VMX_11</code><em class="property"> = Version(string='VMX_11')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_11" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 11.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_12">
|
|||
|
<code class="descname">VMX_12</code><em class="property"> = Version(string='VMX_12')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_12" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 12.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_13">
|
|||
|
<code class="descname">VMX_13</code><em class="property"> = Version(string='VMX_13')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_13" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 13.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.Version.VMX_14">
|
|||
|
<code class="descname">VMX_14</code><em class="property"> = Version(string='VMX_14')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_14" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Hardware version 14. This class attribute was added in vSphere API 6.7</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns the virtual hardware settings of a virtual machine.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Virtual machine identifier.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.Info" title="com.vmware.vcenter.vm_client.Hardware.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.Info</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Virtual hardware settings of the virtual machine.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the virtual machine is not found.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if the virtual machine’s configuration state cannot be accessed.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’t have the required privileges.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.update">
|
|||
|
<code class="descname">update</code><span class="sig-paren">(</span><em>vm</em>, <em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.update" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Updates the virtual hardware settings of a virtual machine.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Virtual machine identifier.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
|
|||
|
<li><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.UpdateSpec" title="com.vmware.vcenter.vm_client.Hardware.UpdateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.UpdateSpec</span></code></a>) – Specification for updating the virtual hardware settings of the
|
|||
|
virtual machine.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the virtual machine is not found.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
|
|||
|
if the virtual machine is already configured for the desired
|
|||
|
hardware version.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if the requested virtual hardware version is not newer than the
|
|||
|
current version.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
|
|||
|
if the requested virtual hardware version is not supported by the
|
|||
|
server.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
|
|||
|
if the virtual machine is busy performing another operation.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if the virtual machine’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"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’t have the required privileges.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Hardware.upgrade">
|
|||
|
<code class="descname">upgrade</code><span class="sig-paren">(</span><em>vm</em>, <em>version=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Hardware.upgrade" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Upgrades the virtual machine to a newer virtual hardware version.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Virtual machine identifier.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</li>
|
|||
|
<li><strong>version</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_client.Hardware.Version" title="com.vmware.vcenter.vm_client.Hardware.Version"><code class="xref py py-class docutils literal notranslate"><span class="pre">Hardware.Version</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) – New virtual machine version.
|
|||
|
If None, defaults to the most recent virtual hardware version
|
|||
|
supported by the server.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the virtual machine is not found.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the virtual machine is not powered off.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
|
|||
|
if the virtual machine is already configured for the desired
|
|||
|
hardware version.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if <code class="docutils literal notranslate"><span class="pre">version</span></code> is older than the current virtual hardware version.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
|
|||
|
if <code class="docutils literal notranslate"><span class="pre">version</span></code> is not supported by the server.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
|
|||
|
if the virtual machine is busy performing another operation.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if the virtual machine’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"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’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><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">Power</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Power</span></code> class provides methods for managing the power state of a
|
|||
|
virtual machine.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>state=None</em>, <em>clean_power_off=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Power.Info</span></code> class contains information about the power state of a
|
|||
|
virtual machine.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.State">
|
|||
|
<em class="property">class </em><code class="descname">State</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.State" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">Power.State</span></code> class defines the valid power states for a virtual
|
|||
|
machine.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.State.POWERED_OFF">
|
|||
|
<code class="descname">POWERED_OFF</code><em class="property"> = State(string='POWERED_OFF')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.State.POWERED_OFF" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The virtual machine is powered off.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.State.POWERED_ON">
|
|||
|
<code class="descname">POWERED_ON</code><em class="property"> = State(string='POWERED_ON')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.State.POWERED_ON" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The virtual machine is powered on.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.State.SUSPENDED">
|
|||
|
<code class="descname">SUSPENDED</code><em class="property"> = State(string='SUSPENDED')</em><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.State.SUSPENDED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The virtual machine is suspended.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns the power state information of a virtual machine.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Virtual machine identifier.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#com.vmware.vcenter.vm_client.Power.Info" title="com.vmware.vcenter.vm_client.Power.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">Power.Info</span></code></a></td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Power state information for the specified virtual machine.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the virtual machine is not found.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if the virtual machine’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"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’t have the required privileges.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.reset">
|
|||
|
<code class="descname">reset</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.reset" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Resets a powered-on virtual machine.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Virtual machine identifier.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the virtual machine is not found.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the virtual machine is powered off or suspended.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
|
|||
|
if the virtual machine is performing another operation</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’t have the required privileges.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.start">
|
|||
|
<code class="descname">start</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.start" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Powers on a powered-off or suspended virtual machine.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Virtual machine identifier.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the virtual machine is not found.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
|
|||
|
if the virtual machine is already powered on.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unsupported</span></code>
|
|||
|
if the virtual machine does not support being powered on (e.g.
|
|||
|
marked as a template, serving as a fault-tolerance secondary
|
|||
|
virtual machine).</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
|
|||
|
if resources cannot be allocated for the virtual machine (e.g.
|
|||
|
physical resource allocation policy cannot be satisfied,
|
|||
|
insufficient licenses are available to run the virtual machine).</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if resources required by the virtual machine are not accessible
|
|||
|
(e.g. virtual machine configuration files or virtual disks are on
|
|||
|
inaccessible storage, no hosts are available to run the virtual
|
|||
|
machine).</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInUse</span></code>
|
|||
|
if resources required by the virtual machine are in use (e.g.
|
|||
|
virtual machine configuration files or virtual disks are locked,
|
|||
|
host containing the virtual machine is an HA failover host).</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
|
|||
|
if the virtual machine is performing another operation.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’t have the required privileges.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.stop">
|
|||
|
<code class="descname">stop</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.stop" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Powers off a powered-on or suspended virtual machine.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Virtual machine identifier.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the virtual machine is not found.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
|
|||
|
if the virtual machine is already powered off.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
|
|||
|
if the virtual machine is performing another operation.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’t have the required privileges.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.Power.suspend">
|
|||
|
<code class="descname">suspend</code><span class="sig-paren">(</span><em>vm</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.Power.suspend" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Suspends a powered-on virtual machine.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vm</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Virtual machine identifier.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the virtual machine is not found.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyInDesiredState</span></code>
|
|||
|
if the virtual machine is already suspended.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the virtual machine is powered off.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceBusy</span></code>
|
|||
|
if the virtual machine is performing another operation.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if the system is unable to communicate with a service to complete
|
|||
|
the request.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user can not be authenticated.</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user doesn’t have the required privileges.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="section" id="module-com.vmware.vcenter.vm_template_client">
|
|||
|
<span id="com-vmware-vcenter-vm-template-client-module"></span><h2>com.vmware.vcenter.vm_template_client module<a class="headerlink" href="#module-com.vmware.vcenter.vm_template_client" title="Permalink to this headline">¶</a></h2>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm_template_client</span></code> module provides classes and
|
|||
|
classes that will let its client manage VMTX template in Content Library.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_template_client.</code><code class="descname">LibraryItems</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems</span></code> class provides methods to deploy virtual machines from
|
|||
|
library items containing virtual machine templates, as well as methods to
|
|||
|
create library items containing virtual machine templates. The
|
|||
|
<code class="docutils literal notranslate"><span class="pre">LibraryItems</span></code> class also provides an operation to retrieve information
|
|||
|
about the template contained in the library item. <strong>Warning:</strong> This class
|
|||
|
is available as technical preview. It may be changed in a future release.</p>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CpuInfo">
|
|||
|
<em class="property">class </em><code class="descname">CpuInfo</code><span class="sig-paren">(</span><em>count=None</em>, <em>cores_per_socket=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CpuInfo</span></code> class contains CPU related information about
|
|||
|
the virtual machine template. <strong>Warning:</strong> This class is available as
|
|||
|
technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CpuUpdateSpec">
|
|||
|
<em class="property">class </em><code class="descname">CpuUpdateSpec</code><span class="sig-paren">(</span><em>num_cpus=None</em>, <em>num_cores_per_socket=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuUpdateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CpuUpdateSpec</span></code> class describes updates to the CPU
|
|||
|
configuration of the deployed virtual machine. <strong>Warning:</strong> This class is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreatePlacementSpec">
|
|||
|
<em class="property">class </em><code class="descname">CreatePlacementSpec</code><span class="sig-paren">(</span><em>folder=None</em>, <em>resource_pool=None</em>, <em>host=None</em>, <em>cluster=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreatePlacementSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec</span></code> class contains information used to
|
|||
|
place a virtual machine template onto resources within the vCenter
|
|||
|
inventory. <strong>Warning:</strong> This class is available as technical preview. It
|
|||
|
may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec">
|
|||
|
<em class="property">class </em><code class="descname">CreateSpec</code><span class="sig-paren">(</span><em>source_vm=None</em>, <em>name=None</em>, <em>description=None</em>, <em>library=None</em>, <em>vm_home_storage=None</em>, <em>disk_storage=None</em>, <em>disk_storage_overrides=None</em>, <em>placement=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec</span></code> class defines the information required to
|
|||
|
create a library item containing a virtual machine template. <strong>Warning:</strong>
|
|||
|
This class is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage">
|
|||
|
<em class="property">class </em><code class="descname">CreateSpecDiskStorage</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStorage</span></code> class defines the storage
|
|||
|
specification for a virtual machine template’s disks. <strong>Warning:</strong> This
|
|||
|
class is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy">
|
|||
|
<em class="property">class </em><code class="descname">CreateSpecDiskStoragePolicy</code><span class="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStoragePolicy</span></code> class defines the storage
|
|||
|
policy specification for a virtual machine template’s disks. <strong>Warning:</strong>
|
|||
|
This class is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type">
|
|||
|
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>Policy type for a virtual machine template’s disk. <strong>Warning:</strong> This
|
|||
|
enumeration is available as technical preview. It may be changed in a
|
|||
|
future release.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY">
|
|||
|
<code class="descname">USE_SPECIFIED_POLICY</code><em class="property"> = Type(string='USE_SPECIFIED_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Use the specified policy. <strong>Warning:</strong> This class attribute is available as
|
|||
|
technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStorage">
|
|||
|
<em class="property">class </em><code class="descname">CreateSpecVmHomeStorage</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStorage" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStorage</span></code> class defines the storage
|
|||
|
specification for a virtual machine template’s configuration and log files.
|
|||
|
<strong>Warning:</strong> This class is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy">
|
|||
|
<em class="property">class </em><code class="descname">CreateSpecVmHomeStoragePolicy</code><span class="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStoragePolicy</span></code> class defines the
|
|||
|
storage policy specification for a virtual machine template’s configuration
|
|||
|
and log files. <strong>Warning:</strong> This class is available as technical preview.
|
|||
|
It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type">
|
|||
|
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>Policy type for the virtual machine template’s configuration and log files.
|
|||
|
<strong>Warning:</strong> This enumeration is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY">
|
|||
|
<code class="descname">USE_SPECIFIED_POLICY</code><em class="property"> = Type(string='USE_SPECIFIED_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Use the specified policy. <strong>Warning:</strong> This class attribute is available as
|
|||
|
technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeployPlacementSpec">
|
|||
|
<em class="property">class </em><code class="descname">DeployPlacementSpec</code><span class="sig-paren">(</span><em>folder=None</em>, <em>resource_pool=None</em>, <em>host=None</em>, <em>cluster=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeployPlacementSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec</span></code> class contains information used to
|
|||
|
place a virtual machine onto resources within the vCenter inventory.
|
|||
|
<strong>Warning:</strong> This class is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec">
|
|||
|
<em class="property">class </em><code class="descname">DeploySpec</code><span class="sig-paren">(</span><em>name=None</em>, <em>description=None</em>, <em>vm_home_storage=None</em>, <em>disk_storage=None</em>, <em>disk_storage_overrides=None</em>, <em>placement=None</em>, <em>powered_on=None</em>, <em>guest_customization=None</em>, <em>hardware_customization=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec</span></code> class defines the deployment parameters
|
|||
|
that can be specified for the <code class="docutils literal notranslate"><span class="pre">deploy</span></code> method. <strong>Warning:</strong> This class is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage">
|
|||
|
<em class="property">class </em><code class="descname">DeploySpecDiskStorage</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStorage</span></code> class contains the storage
|
|||
|
specification for disks in the virtual machine. <strong>Warning:</strong> This class is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy">
|
|||
|
<em class="property">class </em><code class="descname">DeploySpecDiskStoragePolicy</code><span class="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStoragePolicy</span></code> class describes the
|
|||
|
storage policy specification for the deployed virtual machine’s disks.
|
|||
|
<strong>Warning:</strong> This class is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type">
|
|||
|
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>Policy type for the deployed virtual machine’s disk. <strong>Warning:</strong> This
|
|||
|
enumeration is available as technical preview. It may be changed in a
|
|||
|
future release.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SOURCE_POLICY">
|
|||
|
<code class="descname">USE_SOURCE_POLICY</code><em class="property"> = Type(string='USE_SOURCE_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SOURCE_POLICY" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Use the storage policy that is associated with the corresponding disk in
|
|||
|
the source virtual machine template. <strong>Warning:</strong> This class attribute is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY">
|
|||
|
<code class="descname">USE_SPECIFIED_POLICY</code><em class="property"> = Type(string='USE_SPECIFIED_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Use the specified policy. <strong>Warning:</strong> This class attribute is available as
|
|||
|
technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStorage">
|
|||
|
<em class="property">class </em><code class="descname">DeploySpecVmHomeStorage</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStorage" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStorage</span></code> class defines the storage
|
|||
|
specification for a deployed virtual machine’s configuration and log files.
|
|||
|
<strong>Warning:</strong> This class is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy">
|
|||
|
<em class="property">class </em><code class="descname">DeploySpecVmHomeStoragePolicy</code><span class="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStoragePolicy</span></code> class defines the
|
|||
|
storage policy specification for the deployed virtual machine’s
|
|||
|
configuration and log files. <strong>Warning:</strong> This class is available as
|
|||
|
technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type">
|
|||
|
<em class="property">class </em><code class="descname">Type</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>Policy type for the deployed virtual machine’s configuration and log files.
|
|||
|
<strong>Warning:</strong> This enumeration is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SOURCE_POLICY">
|
|||
|
<code class="descname">USE_SOURCE_POLICY</code><em class="property"> = Type(string='USE_SOURCE_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SOURCE_POLICY" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Use the storage policy that is associated with the source virtual machine
|
|||
|
template’s configuration and log files. <strong>Warning:</strong> This class attribute
|
|||
|
is available as technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY">
|
|||
|
<code class="descname">USE_SPECIFIED_POLICY</code><em class="property"> = Type(string='USE_SPECIFIED_POLICY')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Use the specified policy. <strong>Warning:</strong> This class attribute is available as
|
|||
|
technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DiskInfo">
|
|||
|
<em class="property">class </em><code class="descname">DiskInfo</code><span class="sig-paren">(</span><em>capacity=None</em>, <em>disk_storage=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DiskInfo</span></code> class contains information about the virtual
|
|||
|
machine template’s virtual disk. <strong>Warning:</strong> This class is available as
|
|||
|
technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DiskStorageInfo">
|
|||
|
<em class="property">class </em><code class="descname">DiskStorageInfo</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskStorageInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DiskStorageInfo</span></code> class contains storage related
|
|||
|
information about a virtual machine template’s virtual disk. <strong>Warning:</strong>
|
|||
|
This class is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.DiskUpdateSpec">
|
|||
|
<em class="property">class </em><code class="descname">DiskUpdateSpec</code><span class="sig-paren">(</span><em>capacity=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskUpdateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.DiskUpdateSpec</span></code> class describes updates to the
|
|||
|
configuration of a virtual disk in the deployed virtual machine.
|
|||
|
<strong>Warning:</strong> This class is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo">
|
|||
|
<em class="property">class </em><code class="descname">EthernetInfo</code><span class="sig-paren">(</span><em>backing_type=None</em>, <em>mac_type=None</em>, <em>network=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.EthernetInfo</span></code> class contains information about a
|
|||
|
virtual machine template’s virtual Ethernet adapter. <strong>Warning:</strong> This
|
|||
|
class is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType">
|
|||
|
<em class="property">class </em><code class="descname">MacAddressType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.EthernetInfo.MacAddressType</span></code> class defines the valid
|
|||
|
MAC address origins for a virtual Ethernet adapter. <strong>Warning:</strong> This
|
|||
|
enumeration is available as technical preview. It may be changed in a
|
|||
|
future release.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.ASSIGNED">
|
|||
|
<code class="descname">ASSIGNED</code><em class="property"> = MacAddressType(string='ASSIGNED')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.ASSIGNED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>MAC address is assigned by vCenter Server. <strong>Warning:</strong> This class
|
|||
|
attribute is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.GENERATED">
|
|||
|
<code class="descname">GENERATED</code><em class="property"> = MacAddressType(string='GENERATED')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.GENERATED" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>MAC address is generated automatically. <strong>Warning:</strong> This class attribute
|
|||
|
is available as technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.MANUAL">
|
|||
|
<code class="descname">MANUAL</code><em class="property"> = MacAddressType(string='MANUAL')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.MANUAL" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>MAC address is assigned statically. <strong>Warning:</strong> This class attribute is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType">
|
|||
|
<em class="property">class </em><code class="descname">NetworkBackingType</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.enum.Enum</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.EthernetInfo.NetworkBackingType</span></code> class defines valid
|
|||
|
network backing types for a virtual Ethernet adapter. <strong>Warning:</strong> This
|
|||
|
enumeration is available as technical preview. It may be changed in a
|
|||
|
future release.</p>
|
|||
|
<div class="admonition note">
|
|||
|
<p class="first admonition-title">Note</p>
|
|||
|
<p class="last">This class represents an enumerated type in the interface language
|
|||
|
definition. The class contains class attributes which represent the
|
|||
|
values in the current version of the enumerated type. Newer versions of
|
|||
|
the enumerated type may contain new values. To use new values of the
|
|||
|
enumerated type in communication with a server that supports the newer
|
|||
|
version of the API, you instantiate this class. See <a class="reference internal" href="enumeration.html#enumeration-description"><span class="std std-ref">enumerated
|
|||
|
type description page</span></a>.</p>
|
|||
|
</div>
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.DISTRIBUTED_PORTGROUP">
|
|||
|
<code class="descname">DISTRIBUTED_PORTGROUP</code><em class="property"> = NetworkBackingType(string='DISTRIBUTED_PORTGROUP')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.DISTRIBUTED_PORTGROUP" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Distributed virtual switch backing. <strong>Warning:</strong> This class attribute is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.HOST_DEVICE">
|
|||
|
<code class="descname">HOST_DEVICE</code><em class="property"> = NetworkBackingType(string='HOST_DEVICE')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.HOST_DEVICE" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Legacy host device network backing. Imported VMs may have virtual Ethernet
|
|||
|
adapters with this type of backing, but this type of backing cannot be used
|
|||
|
to create or to update a virtual Ethernet adapter. <strong>Warning:</strong> This class
|
|||
|
attribute is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.OPAQUE_NETWORK">
|
|||
|
<code class="descname">OPAQUE_NETWORK</code><em class="property"> = NetworkBackingType(string='OPAQUE_NETWORK')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.OPAQUE_NETWORK" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Opaque network backing. <strong>Warning:</strong> This class attribute is available as
|
|||
|
technical preview. It may be changed in a future release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="attribute">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.STANDARD_PORTGROUP">
|
|||
|
<code class="descname">STANDARD_PORTGROUP</code><em class="property"> = NetworkBackingType(string='STANDARD_PORTGROUP')</em><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.STANDARD_PORTGROUP" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>vSphere standard portgroup network backing. <strong>Warning:</strong> This class
|
|||
|
attribute is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetUpdateSpec">
|
|||
|
<em class="property">class </em><code class="descname">EthernetUpdateSpec</code><span class="sig-paren">(</span><em>network=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetUpdateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.EthernetUpdateSpec</span></code> class describes the network that
|
|||
|
the ethernet adapter of the deployed virtual machine should be connected
|
|||
|
to. <strong>Warning:</strong> This class is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.GuestCustomizationSpec">
|
|||
|
<em class="property">class </em><code class="descname">GuestCustomizationSpec</code><span class="sig-paren">(</span><em>name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.GuestCustomizationSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.GuestCustomizationSpec</span></code> class contains information
|
|||
|
required to customize the deployed virtual machine. <strong>Warning:</strong> This class
|
|||
|
is available as technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.HardwareCustomizationSpec">
|
|||
|
<em class="property">class </em><code class="descname">HardwareCustomizationSpec</code><span class="sig-paren">(</span><em>nics=None</em>, <em>disks_to_remove=None</em>, <em>disks_to_update=None</em>, <em>cpu_update=None</em>, <em>memory_update=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.HardwareCustomizationSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.HardwareCustomizationSpec</span></code> class defines the hardware
|
|||
|
customization options that are applied to the deployed virtual machine.
|
|||
|
<strong>Warning:</strong> This class is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.Info">
|
|||
|
<em class="property">class </em><code class="descname">Info</code><span class="sig-paren">(</span><em>guest_os=None</em>, <em>cpu=None</em>, <em>memory=None</em>, <em>vm_home_storage=None</em>, <em>disks=None</em>, <em>nics=None</em>, <em>vm_template=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.Info" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.Info</span></code> class contains information about a virtual
|
|||
|
machine template item in content library. <strong>Warning:</strong> This class is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.MemoryInfo">
|
|||
|
<em class="property">class </em><code class="descname">MemoryInfo</code><span class="sig-paren">(</span><em>size_mib=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.MemoryInfo</span></code> class contains memory related information
|
|||
|
about the virtual machine template. <strong>Warning:</strong> This class is available as
|
|||
|
technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.MemoryUpdateSpec">
|
|||
|
<em class="property">class </em><code class="descname">MemoryUpdateSpec</code><span class="sig-paren">(</span><em>memory=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryUpdateSpec" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.MemoryUpdateSpec</span></code> class describes updates to the memory
|
|||
|
configuration of the deployed virtual machine. <strong>Warning:</strong> This class is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.VmHomeStorageInfo">
|
|||
|
<em class="property">class </em><code class="descname">VmHomeStorageInfo</code><span class="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.VmHomeStorageInfo" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.struct.VapiStruct</span></code></p>
|
|||
|
<p>The <code class="docutils literal notranslate"><span class="pre">LibraryItems.VmHomeStorageInfo</span></code> class contains storage information
|
|||
|
about the virtual machine template’s configuration and log files.
|
|||
|
<strong>Warning:</strong> This class is available as technical preview. It may be
|
|||
|
changed in a future release.</p>
|
|||
|
<div class="admonition tip">
|
|||
|
<p class="first admonition-title">Tip</p>
|
|||
|
<p class="last">The arguments are used to initialize data attributes with the same
|
|||
|
names.</p>
|
|||
|
</div>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.create">
|
|||
|
<code class="descname">create</code><span class="sig-paren">(</span><em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.create" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Creates a library item in content library from a virtual machine. This
|
|||
|
method creates a library item in content library whose content is a
|
|||
|
virtual machine template created from the source virtual machine, using
|
|||
|
the supplied create specification. The virtual machine template is
|
|||
|
stored in a newly created library item. <strong>Warning:</strong> This method is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec</span></code></a>) – information used to create the library item from the source virtual
|
|||
|
machine.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Identifier of the newly created library item.
|
|||
|
The return value will be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyExists</span></code>
|
|||
|
if an entity with the name specified by
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.name</span></code> already exists in the folder
|
|||
|
specified by <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.folder</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if <a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec</span></code></a> contains invalid arguments.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if the operation cannot be performed because of the source virtual
|
|||
|
machine’s current state.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the source virtual machine specified by
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.source_vm</span></code> does not exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the library specified by <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.library</span></code>
|
|||
|
does not exist.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if there was an error accessing a file from the source virtual
|
|||
|
machine.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInUse</span></code>
|
|||
|
if the source virtual machine is busy.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if any of the services involved in the method are unavailable.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
|
|||
|
if any of the resources needed to create the virtual machine
|
|||
|
template could not be allocated.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user that requested the method cannot be authenticated.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user that requested the method is not authorized to perform
|
|||
|
the method.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.Library</span></code> referenced by the
|
|||
|
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.library</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">ContentLibrary.AddLibraryItem</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.source_vm</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStorage.datastore</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code> referenced by the
|
|||
|
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecVmHomeStoragePolicy.policy</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStorage.datastore</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code> referenced by the
|
|||
|
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpecDiskStoragePolicy.policy</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code> referenced
|
|||
|
by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> key of attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreateSpec.disk_storage_overrides</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Folder</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.folder</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.resource_pool</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.host</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">ClusterComputeResource</span></code> referenced by the
|
|||
|
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.CreatePlacementSpec.cluster</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.deploy">
|
|||
|
<code class="descname">deploy</code><span class="sig-paren">(</span><em>template_library_item</em>, <em>spec</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.deploy" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Deploys a virtual machine as a copy of the source virtual machine
|
|||
|
template contained in the library item specified by
|
|||
|
<code class="docutils literal notranslate"><span class="pre">template_library_item</span></code>. It uses the deployment specification in
|
|||
|
<code class="docutils literal notranslate"><span class="pre">spec</span></code>. If <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec.powered_on</span></code> and/or
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec.guest_customization</span></code> are specified, the
|
|||
|
server triggers the power on and/or guest customization operations,
|
|||
|
which are executed asynchronously. <strong>Warning:</strong> This method is
|
|||
|
available as technical preview. It may be changed in a future release.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|||
|
<li><strong>template_library_item</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – identifier of the content library item containing the source
|
|||
|
virtual machine template to be deployed.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</li>
|
|||
|
<li><strong>spec</strong> (<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec</span></code></a>) – specification of how the virtual machine should be deployed.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Identifier of the deployed virtual machine.
|
|||
|
The return value will be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.AlreadyExists</span></code>
|
|||
|
if a virtual machine with the name specified by
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec.name</span></code> already exists.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidArgument</span></code>
|
|||
|
if <code class="docutils literal notranslate"><span class="pre">spec</span></code> contains invalid arguments.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotAllowedInCurrentState</span></code>
|
|||
|
if either a specified host or a specified datastore is in an
|
|||
|
invalid state for the deployment, such as maintenance mode.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the library item specified by <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code> cannot
|
|||
|
be found.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if any resource specified by a attribute of the
|
|||
|
<a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec" title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec</span></code></a> class, specified by <code class="docutils literal notranslate"><span class="pre">spec</span></code>
|
|||
|
cannot be found.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if there was an error accessing the source virtual machine template
|
|||
|
contained in the library item specified by
|
|||
|
<code class="docutils literal notranslate"><span class="pre">template_library_item</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if there an error accessing any of the resources specified in the
|
|||
|
<code class="docutils literal notranslate"><span class="pre">spec</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if any of the services involved in the method are unavailable.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.UnableToAllocateResource</span></code>
|
|||
|
if there was an error in allocating any of the resources required
|
|||
|
by the method.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user that requested the method cannot be authenticated.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user that requested the method is not authorized to perform
|
|||
|
the method.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
|
|||
|
the parameter <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">VirtualMachine.Provisioning.DeployTemplate</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStorage.datastore</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code> referenced by the
|
|||
|
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecVmHomeStoragePolicy.policy</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Datastore</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStorage.datastore</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.spbm.StorageProfile</span></code> referenced by the
|
|||
|
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpecDiskStoragePolicy.policy</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code> referenced
|
|||
|
by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> key of attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeploySpec.disk_storage_overrides</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Folder</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec.folder</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">ResourcePool</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec.resource_pool</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">HostSystem</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec.host</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">ClusterComputeResource</span></code> referenced by the
|
|||
|
attribute <code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.DeployPlacementSpec.cluster</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Ethernet</span></code>
|
|||
|
referenced by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> key of attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.HardwareCustomizationSpec.nics</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">Network</span></code> referenced by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.EthernetUpdateSpec.network</span></code> requires
|
|||
|
<code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code> referenced
|
|||
|
by the attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.HardwareCustomizationSpec.disks_to_remove</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.vcenter.vm.hardware.Disk</span></code> referenced
|
|||
|
by the <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code> key of attribute
|
|||
|
<code class="xref py py-attr docutils literal notranslate"><span class="pre">LibraryItems.HardwareCustomizationSpec.disks_to_update</span></code>
|
|||
|
requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.LibraryItems.get">
|
|||
|
<code class="descname">get</code><span class="sig-paren">(</span><em>template_library_item</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.LibraryItems.get" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Returns information about a virtual machine template contained in the
|
|||
|
library item specified by <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code>. <strong>Warning:</strong> This
|
|||
|
method is available as technical preview. It may be changed in a future
|
|||
|
release.</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>template_library_item</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – identifier of the library item containing the virtual machine
|
|||
|
template.
|
|||
|
The parameter must be an identifier for the resource type:
|
|||
|
<code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#com.vmware.vcenter.vm_template_client.LibraryItems.Info" title="com.vmware.vcenter.vm_template_client.LibraryItems.Info"><code class="xref py py-class docutils literal notranslate"><span class="pre">LibraryItems.Info</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code></p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Information about the virtual machine template item contained in
|
|||
|
the library item.
|
|||
|
If None, the library item specified by <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code>
|
|||
|
does not contain a virtual machine template.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Error</span></code>
|
|||
|
if the system reports an error while responding to the request.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
|
|||
|
if the library item could not be found.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ResourceInaccessible</span></code>
|
|||
|
if the virtual machine template’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"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.ServiceUnavailable</span></code>
|
|||
|
if any of the services involved in the method are unavailable.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
|
|||
|
if the user that requested the method cannot be authenticated.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-odd field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if the user that requested the method is not authorized to perform
|
|||
|
the method.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr class="field-even field"><th class="field-name">Raise:</th><td class="field-body"><p class="first"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
|
|||
|
if you do not have all of the privileges described as follows:</p>
|
|||
|
<ul class="last simple">
|
|||
|
<li>Method execution requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
<li>The resource <code class="docutils literal notranslate"><span class="pre">com.vmware.content.library.Item</span></code> referenced by
|
|||
|
the parameter <code class="docutils literal notranslate"><span class="pre">template_library_item</span></code> requires <code class="docutils literal notranslate"><span class="pre">System.Read</span></code>.</li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="class">
|
|||
|
<dt id="com.vmware.vcenter.vm_template_client.StubFactory">
|
|||
|
<em class="property">class </em><code class="descclassname">com.vmware.vcenter.vm_template_client.</code><code class="descname">StubFactory</code><span class="sig-paren">(</span><em>stub_config</em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vcenter.vm_template_client.StubFactory" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="articleComments">
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<footer>
|
|||
|
|
|||
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|||
|
|
|||
|
<a href="com.vmware.vcenter.deployment.html" class="btn btn-neutral float-right" title="com.vmware.vcenter.deployment package" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
|||
|
|
|||
|
|
|||
|
<a href="com.vmware.vapi.std.html" class="btn btn-neutral" title="com.vmware.vapi.std package" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<hr/>
|
|||
|
|
|||
|
<div role="contentinfo">
|
|||
|
<p>
|
|||
|
© Copyright 2018, VMware, Inc..
|
|||
|
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|||
|
|
|||
|
</footer>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<script type="text/javascript">
|
|||
|
var DOCUMENTATION_OPTIONS = {
|
|||
|
URL_ROOT:'./',
|
|||
|
VERSION:'6.7.0',
|
|||
|
COLLAPSE_INDEX:false,
|
|||
|
FILE_SUFFIX:'.html',
|
|||
|
HAS_SOURCE: true,
|
|||
|
SOURCELINK_SUFFIX: '.txt'
|
|||
|
};
|
|||
|
</script>
|
|||
|
<script type="text/javascript" src="_static/jquery.js"></script>
|
|||
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
|||
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<script type="text/javascript" src="_static/js/theme.js"></script>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<script type="text/javascript">
|
|||
|
jQuery(function () {
|
|||
|
SphinxRtdTheme.StickyNav.enable();
|
|||
|
});
|
|||
|
</script>
|
|||
|
|
|||
|
|
|||
|
</body>
|
|||
|
</html>
|