<spanid="com-vmware-vcenter-package"></span><h1>com.vmware.vcenter package<aclass="headerlink"href="#module-com.vmware.vcenter"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="subpackages">
<h2>Subpackages<aclass="headerlink"href="#subpackages"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-vcenter-compute-client-module"></span><h2>com.vmware.vcenter.compute_client module<aclass="headerlink"href="#module-com.vmware.vcenter.compute_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.compute_client</span></code> module provides classes for managing
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.compute_client.</code><codeclass="descname">Policies</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.compute_client.Policies"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<codeclass="descname">RESOURCE_TYPE</code><emclass="property"> = 'com.vmware.vcenter.compute.Policy'</em><aclass="headerlink"href="#com.vmware.vcenter.compute_client.Policies.RESOURCE_TYPE"title="Permalink to this definition">¶</a></dt>
<dd><p>The resource type for the compute policy. <strong>Warning:</strong> This class attribute is
available as technical preview. It may be changed in a future release.</p>
<emclass="property">class </em><codeclass="descname">Summary</code><spanclass="sig-paren">(</span><em>policy=None</em>, <em>name=None</em>, <em>description=None</em>, <em>capability=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.compute_client.Policies.Summary"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the policy. <strong>Warning:</strong> This attribute is available
as technical preview. It may be changed in a future release.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.compute.Policy</span></code>. When methods return a value
of this class as a return value, the attribute will be an
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the policy. <strong>Warning:</strong> This attribute is available as
technical preview. It may be changed in a future release.</li>
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Description of the policy. <strong>Warning:</strong> This attribute is available
as technical preview. It may be changed in a future release.</li>
<li><strong>capability</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the capability this policy is based on. <strong>Warning:</strong>
This attribute is available as technical preview. It may be changed
in a future release.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.compute.policies.Capability</span></code>. When methods
return a value of this class as a return value, the attribute will
<codeclass="descname">create</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.compute_client.Policies.create"title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a new compute policy. <strong>Warning:</strong> This method is available as
technical preview. It may be changed in a future release.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><pclass="first"><strong>spec</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.struct.VapiStruct</span></code>) – Specification for the new policy to be created. The new policy will
be an instance of the capability that has the creation type (see
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">The identifier of the newly created policy. Use this identifier to
get or destroy the policy.
The return value will be an identifier for the resource type:
<codeclass="descname">delete</code><spanclass="sig-paren">(</span><em>policy</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.compute_client.Policies.delete"title="Permalink to this definition">¶</a></dt>
<dd><p>Deletes a specific compute policy. <strong>Warning:</strong> This method is
available as technical preview. It may be changed in a future release.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><pclass="first"><strong>policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the policy to be deleted.
The parameter must be an identifier for the resource type:
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>policy</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.compute_client.Policies.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns information about a specific compute policy. <strong>Warning:</strong> This
method is available as technical preview. It may be changed in a future
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><pclass="first"><strong>policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the policy for which information should be retrieved.
The parameter must be an identifier for the resource type:
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">Detailed information about the specified compute policy. The
returned value can be converted to the information type of the
<codeclass="descname">list</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.compute_client.Policies.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns information about the compute policies available in this
vCenter server. <strong>Warning:</strong> This method is available as technical
preview. It may be changed in a future release.</p>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">The list of compute policies available on this vCenter server.</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.compute_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.compute_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-datastore-client-module"></span><h2>com.vmware.vcenter.datastore_client module<aclass="headerlink"href="#module-com.vmware.vcenter.datastore_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.datastore_client.</code><codeclass="descname">DefaultPolicy</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.datastore_client.DefaultPolicy"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>datastore</em><spanclass="sig-paren">)</span><aclass="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>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="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:
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.datastore_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.datastore_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-deployment-client-module"></span><h2>com.vmware.vcenter.deployment_client module<aclass="headerlink"href="#module-com.vmware.vcenter.deployment_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">ApplianceState</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.ApplianceState"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">CONFIGURED</code><emclass="property"> = ApplianceState(string='CONFIGURED')</em><aclass="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
<codeclass="descname">CONFIG_IN_PROGRESS</code><emclass="property"> = ApplianceState(string='CONFIG_IN_PROGRESS')</em><aclass="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
<codeclass="descname">FAILED</code><emclass="property"> = ApplianceState(string='FAILED')</em><aclass="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
<codeclass="descname">INITIALIZED</code><emclass="property"> = ApplianceState(string='INITIALIZED')</em><aclass="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
<codeclass="descname">NOT_INITIALIZED</code><emclass="property"> = ApplianceState(string='NOT_INITIALIZED')</em><aclass="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>
<codeclass="descname">QUESTION_RAISED</code><emclass="property"> = ApplianceState(string='QUESTION_RAISED')</em><aclass="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
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">ApplianceType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.ApplianceType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">ApplianceType</span></code> class defines the vCenter appliance types. This
enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">PSC_EXTERNAL</code><emclass="property"> = ApplianceType(string='PSC_EXTERNAL')</em><aclass="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
<codeclass="descname">VCSA_EMBEDDED</code><emclass="property"> = ApplianceType(string='VCSA_EMBEDDED')</em><aclass="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>
<codeclass="descname">VCSA_EXTERNAL</code><emclass="property"> = ApplianceType(string='VCSA_EXTERNAL')</em><aclass="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>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">CheckInfo</code><spanclass="sig-paren">(</span><em>status=None</em>, <em>result=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.CheckInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>status</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.CheckStatus"title="com.vmware.vcenter.deployment_client.CheckStatus"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CheckStatus</span></code></a>) – Status of the check. This attribute was added in vSphere API 6.7.</li>
<li><strong>result</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Notifications"title="com.vmware.vcenter.deployment_client.Notifications"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Notifications</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Result of the check. This attribute was added in vSphere API 6.7.
This attribute will be None if result is not available at the
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">CheckStatus</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.CheckStatus"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">CheckStatus</span></code> class defines the status of the checks. This
enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FAILED</code><emclass="property"> = CheckStatus(string='FAILED')</em><aclass="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
<codeclass="descname">SUCCESS</code><emclass="property"> = CheckStatus(string='SUCCESS')</em><aclass="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
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">HistoryMigrationOption</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">HistoryMigrationOption</span></code> class defines the vCenter history migration
option choices. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">ALL</code><emclass="property"> = HistoryMigrationOption(string='ALL')</em><aclass="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
<codeclass="descname">EVENTS_TASKS</code><emclass="property"> = HistoryMigrationOption(string='EVENTS_TASKS')</em><aclass="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>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">HistoryMigrationSpec</code><spanclass="sig-paren">(</span><em>data_set=None</em>, <em>defer_import=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.HistoryMigrationSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>data_set</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.HistoryMigrationOption"title="com.vmware.vcenter.deployment_client.HistoryMigrationOption"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">HistoryMigrationOption</span></code></a>) – Defines what part of vCenter historical data will be migrated along
with core data. This attribute was added in vSphere API 6.7.</li>
<li><strong>defer_import</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Defines how vCenter history will be migrated. If set to true,
vCenter history will be migrated separately after successful
upgrade or migration, otherwise it will be migrated along with core
data during the upgrade or migration process. This attribute was
added in vSphere API 6.7.
If None, vCenter historical data won’t be deferred and will be
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">ImportHistory</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.ImportHistory"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">CreateSpec</code><spanclass="sig-paren">(</span><em>name=None</em>, <em>description=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the vCenter history import task. This attribute was added
in vSphere API 6.7.</li>
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Description of the vCenter history import task. This attribute was
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>progress</strong> (<aclass="reference internal"href="com.vmware.cis.html#com.vmware.cis.task_client.Progress"title="com.vmware.cis.task_client.Progress"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.cis.task_client.Progress</span></code></a>) – The progress info of this task. This attribute was added in vSphere
API 6.7.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">#status</span></code> is one of
<li><strong>result</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Notifications"title="com.vmware.vcenter.deployment_client.Notifications"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Notifications</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Result of the operation. If an operation reports partial results
before it completes, this attribute could be <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> before
the null has the value null. The value could change as the
operation progresses. This attribute was added in vSphere API 6.7.
This attribute will be None if result is not available at the
current step of the operation.</li>
<li><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Description of the operation associated with the task.</li>
<li><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the service containing the operation.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.service</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.service</span></code>.</li>
<li><strong>operation</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the operation associated with the task.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.operation</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.operation</span></code>.</li>
<li><strong>parent</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Parent of the current task.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.cis.task</span></code>. When methods return a value of this class
as a return value, the attribute will be an identifier for the
This attribute will be None if the task has no parent.</li>
<li><strong>target</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.DynamicID"title="com.vmware.vapi.std_client.DynamicID"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.DynamicID</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the target created by the operation or an existing
one the operation performed on.
This attribute will be None if the operation has no target or
multiple targets.</li>
<li><strong>status</strong> (<aclass="reference internal"href="com.vmware.cis.html#com.vmware.cis.task_client.Status"title="com.vmware.cis.task_client.Status"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.cis.task_client.Status</span></code></a>) – Status of the operation associated with the task.</li>
<li><strong>cancelable</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Flag to indicate whether or not the operation can be cancelled. The
value may change as the operation progresses.</li>
<li><strong>error</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Exception</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Description of the error if the operation status is “FAILED”.
If None the description of why the operation failed will be
<li><strong>start_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when the operation is started.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">status</span></code> is one of
<li><strong>end_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when the operation is completed.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">status</span></code> is one of
<aclass="reference internal"href="com.vmware.cis.html#com.vmware.cis.task_client.Status.SUCCEEDED"title="com.vmware.cis.task_client.Status.SUCCEEDED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">com.vmware.cis.task_client.Status.SUCCEEDED</span></code></a> or
<li><strong>user</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Name of the user who performed the operation.
This attribute will be None if the operation is performed by the
<codeclass="descname">cancel</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">pause</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">resume</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">start</code><spanclass="sig-paren">(</span><em>spec=None</em><spanclass="sig-paren">)</span><aclass="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
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><pclass="first"><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec"title="com.vmware.vcenter.deployment_client.ImportHistory.CreateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ImportHistory.CreateSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>An optional <codeclass="docutils literal notranslate"><spanclass="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>
<ulclass="simple">
<li>name : vcenter.deployment.history.import</li>
<li>description : vCenter Server history import</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">Install</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Install"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">InstallSpec</code><spanclass="sig-paren">(</span><em>vcsa_embedded=None</em>, <em>psc=None</em>, <em>vcsa_external=None</em>, <em>auto_answer=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Install.InstallSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>vcsa_embedded</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Install.VcsaEmbeddedSpec"title="com.vmware.vcenter.deployment_client.Install.VcsaEmbeddedSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Install.VcsaEmbeddedSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Spec used to configure an embedded vCenter Server. This field
describes how the embedded vCenter Server appliance should be
configured. This attribute was added in vSphere API 6.7.
If None, will not configure this appliance as Embedded vCenter
Server. If None, either <codeclass="docutils literal notranslate"><spanclass="pre">vcsaExternal</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">psc</span></code> must be
provided.</li>
<li><strong>psc</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Install.PscSpec"title="com.vmware.vcenter.deployment_client.Install.PscSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Install.PscSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Spec used to configure a Platform Services Controller. This field
describes how the Platform Services Controller appliance should be
configured. This attribute was added in vSphere API 6.7.
If None, will not configure this appliance as Platform Services
Controller. If None, either <codeclass="docutils literal notranslate"><spanclass="pre">vcsaEmbedded</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">vcsaExternal</span></code>
must be provided.</li>
<li><strong>vcsa_external</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.RemotePscSpec"title="com.vmware.vcenter.deployment_client.RemotePscSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">RemotePscSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Spec used to configure a vCenter Server registered with an external
PSC. This fields represent the remote external PSC that the
configuring vCenter Server will be registering with. This attribute
was added in vSphere API 6.7.
If None, will not configure this appliance as external vCenter
Server. If None, either <codeclass="docutils literal notranslate"><spanclass="pre">vcsaEmbedded</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">psc</span></code> must be
provided.</li>
<li><strong>auto_answer</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Use the default option for any questions that may come up during
appliance configuration. This attribute was added in vSphere API
<emclass="property">class </em><codeclass="descname">PscSpec</code><spanclass="sig-paren">(</span><em>standalone=None</em>, <em>replicated=None</em>, <em>ceip_enabled=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Install.PscSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>standalone</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.StandalonePscSpec"title="com.vmware.vcenter.deployment_client.StandalonePscSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">StandalonePscSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Spec used to configure a standalone Platform Services Controller.
This field describes how the standalone PSC should be configured.
This attribute was added in vSphere API 6.7.
If None, will default to None.</li>
<li><strong>replicated</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.ReplicatedPscSpec"title="com.vmware.vcenter.deployment_client.ReplicatedPscSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ReplicatedPscSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Spec used to configure a replicated Platform Services Controller.
This field describes how the replicated PSC should be configured.
This attribute was added in vSphere API 6.7.
If None, will default to None.</li>
<li><strong>ceip_enabled</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Customer experience improvement program should be enabled or
disabled. This attribute was added in vSphere API 6.7.</li>
<emclass="property">class </em><codeclass="descname">VcsaEmbeddedSpec</code><spanclass="sig-paren">(</span><em>standalone=None</em>, <em>replicated=None</em>, <em>ceip_enabled=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Install.VcsaEmbeddedSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>standalone</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.StandaloneSpec"title="com.vmware.vcenter.deployment_client.StandaloneSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">StandaloneSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Spec used to configure a standalone embedded vCenter Server. This
field describes how the standalone vCenter Server appliance should
be configured. This attribute was added in vSphere API 6.7.
If None, will default to None.</li>
<li><strong>replicated</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.ReplicatedSpec"title="com.vmware.vcenter.deployment_client.ReplicatedSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ReplicatedSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Spec used to configure a replicated embedded vCenter Server. This
field describes how the replicated vCenter Server appliance should
be configured. This attribute was added in vSphere API 6.7.
If None, will default to None.</li>
<li><strong>ceip_enabled</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Whether CEIP should be enabled or disabled. This attribute was
<codeclass="descname">cancel</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">check</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">InstallSpec parameters being used to configure appliance install.</td>
<codeclass="descname">start</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="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
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">LocationSpec</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.LocationSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>hostname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IP address or DNS resolvable name of the container. This
attribute was added in vSphere API 6.7.</li>
<li><strong>https_port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The HTTPS port of the container. This attribute was added in
vSphere API 6.7.
If None, port 443 will be used.</li>
<li><strong>ssl_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SHA1 thumbprint of the server SSL certificate will be used for
verification. This attribute was added in vSphere API 6.7.
This attribute is only relevant if <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SSL verification should be enabled or disabled. If <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> is
true and and <codeclass="docutils literal notranslate"><spanclass="pre">sslThumbprint</span></code> is None, the CA certificate will be
used for verification. If <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> is true and
<codeclass="docutils literal notranslate"><spanclass="pre">sslThumbprint</span></code> is set then the thumbprint will be used for
verification. No verification will be performed if <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code>
value is set to false. This attribute was added in vSphere API 6.7.
If None, ssl_verify true will be used.</li>
<li><strong>username</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The administrator account on the host. This attribute was added in
vSphere API 6.7.</li>
<li><strong>password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The administrator account password. This attribute was added in
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">Notification</code><spanclass="sig-paren">(</span><em>id=None</em>, <em>time=None</em>, <em>message=None</em>, <em>resolution=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Notification"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The notification id. This attribute was added in vSphere API 6.7.</li>
<li><strong>time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The time the notification was raised/found. This attribute was
added in vSphere API 6.7.
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if the time information is available.</li>
<li><strong>message</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – The notification message. This attribute was added in vSphere API
6.7.</li>
<li><strong>resolution</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The resolution message, if any. This attribute was added in vSphere
API 6.7.
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> for warnings and errors.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">Notifications</code><spanclass="sig-paren">(</span><em>info=None</em>, <em>warnings=None</em>, <em>errors=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Notifications"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>info</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Notification"title="com.vmware.vcenter.deployment_client.Notification"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Notification</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Info notification messages reported. This attribute was added in
vSphere API 6.7.
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if an info was reported by the task.</li>
<li><strong>warnings</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Notification"title="com.vmware.vcenter.deployment_client.Notification"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Notification</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Warning notification messages reported. This attribute was added in
vSphere API 6.7.
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if an warning was reported by the task.</li>
<li><strong>errors</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Notification"title="com.vmware.vcenter.deployment_client.Notification"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Notification</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Error notification messages reported. This attribute was added in
vSphere API 6.7.
Only <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> if an error was reported by the task.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">Operation</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Operation"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Operation</span></code> class defines the supported vCenter appliance deployment
operations. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">INSTALL</code><emclass="property"> = Operation(string='INSTALL')</em><aclass="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
<codeclass="descname">MIGRATE</code><emclass="property"> = Operation(string='MIGRATE')</em><aclass="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
<codeclass="descname">RESTORE</code><emclass="property"> = Operation(string='RESTORE')</em><aclass="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
<codeclass="descname">ROLLBACK</code><emclass="property"> = Operation(string='ROLLBACK')</em><aclass="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
<codeclass="descname">UPGRADE</code><emclass="property"> = Operation(string='UPGRADE')</em><aclass="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
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">Question</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Question"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">AnswerSpec</code><spanclass="sig-paren">(</span><em>question_id=None</em>, <em>answer_val=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Question.AnswerSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>question_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Id of the question being answered. This attribute was added in
vSphere API 6.7.</li>
<li><strong>answer_val</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The answer value. This attribute was added in vSphere API 6.7.</li>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>questions=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Question.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>questions</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Question.Question"title="com.vmware.vcenter.deployment_client.Question.Question"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Question.Question</span></code></a>) – One or more questions raised during the deployment. This attribute
<emclass="property">class </em><codeclass="descname">Question</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Question.Question"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Id of the question raised. This attribute was added in vSphere API
6.7.</li>
<li><strong>question</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Message describing the question. This attribute was added in
vSphere API 6.7.</li>
<li><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Question.QuestionType"title="com.vmware.vcenter.deployment_client.Question.QuestionType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Question.QuestionType</span></code></a>) – Type of the question raised. This attribute was added in vSphere
API 6.7.</li>
<li><strong>default_answer</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Default answer value. This attribute was added in vSphere API 6.7.</li>
<li><strong>possible_answers</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Possible answers values. This attribute was added in vSphere API
<emclass="property">class </em><codeclass="descname">QuestionType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Question.QuestionType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Question.QuestionType</span></code> class defines the type of the question
raised. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">ABORT_RETRY_IGNORE</code><emclass="property"> = QuestionType(string='ABORT_RETRY_IGNORE')</em><aclass="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
<codeclass="descname">OK_CANCEL</code><emclass="property"> = QuestionType(string='OK_CANCEL')</em><aclass="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
<codeclass="descname">YES_NO</code><emclass="property"> = QuestionType(string='YES_NO')</em><aclass="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
<codeclass="descname">answer</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="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
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Question.AnswerSpec"title="com.vmware.vcenter.deployment_client.Question.AnswerSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Question.AnswerSpec</span></code></a>) – AnswerSpec with the answer to the raised question.</td>
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">RemotePscSpec</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.RemotePscSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>psc_hostname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IP address or DNS resolvable name of the remote PSC to which
this configuring vCenter Server will be registered to. This
attribute was added in vSphere API 6.7.</li>
<li><strong>https_port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The HTTPS port of the external PSC appliance. This attribute was
added in vSphere API 6.7.
If None, port 443 will be used.</li>
<li><strong>sso_admin_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The SSO administrator account password. This attribute was added in
vSphere API 6.7.</li>
<li><strong>ssl_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SHA1 thumbprint of the server SSL certificate will be used for
verification when ssl_verify field is set to true. This attribute
was added in vSphere API 6.7.
This attribute is only relevant if <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SSL verification should be enabled or disabled. If <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> is
true and and <codeclass="docutils literal notranslate"><spanclass="pre">sslThumbprint</span></code> is None, the CA certificate will be
used for verification. If <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> is true and
<codeclass="docutils literal notranslate"><spanclass="pre">sslThumbprint</span></code> is set then the thumbprint will be used for
verification. No verification will be performed if <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code>
value is set to false. This attribute was added in vSphere API 6.7.
If None, <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> true will be used.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">ReplicatedPscSpec</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.ReplicatedPscSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>sso_site_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The SSO sitename that will be used in PSC replication. This
attribute was added in vSphere API 6.7.
If None, default-first-site will be used.</li>
<li><strong>partner_hostname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IP address or DNS resolvable name of the partner PSC appliance.
This attribute was added in vSphere API 6.7.</li>
<li><strong>https_port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The HTTPS port of the external PSC appliance. This attribute was
added in vSphere API 6.7.
If None, port 443 will be used.</li>
<li><strong>sso_admin_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The SSO administrator account password. This attribute was added in
vSphere API 6.7.</li>
<li><strong>ssl_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SHA1 thumbprint of the server SSL certificate will be used for
verification. This attribute was added in vSphere API 6.7.
This attribute is only relevant if <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SSL verification should be enabled or disabled. This attribute was
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">ReplicatedSpec</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.ReplicatedSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>partner_hostname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IP address or DNS resolvable name of the partner PSC appliance.
This attribute was added in vSphere API 6.7.</li>
<li><strong>https_port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The HTTPS port of the external PSC appliance. This attribute was
added in vSphere API 6.7.
If None, port 443 will be used.</li>
<li><strong>sso_admin_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The SSO administrator account password. This attribute was added in
vSphere API 6.7.</li>
<li><strong>ssl_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SHA1 thumbprint of the server SSL certificate will be used for
verification. This attribute was added in vSphere API 6.7.
This attribute is only relevant if <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SSL verification should be enabled or disabled. This attribute was
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">StandalonePscSpec</code><spanclass="sig-paren">(</span><em>sso_site_name=None</em>, <em>sso_admin_password=None</em>, <em>sso_domain_name=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.StandalonePscSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>sso_site_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The SSO site name used for this PSC. This attribute was added in
vSphere API 6.7.
If None, default-first-site will be used.</li>
<li><strong>sso_admin_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The SSO administrator account password. This attribute was added in
vSphere API 6.7.</li>
<li><strong>sso_domain_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The SSO domain name to be used to configure this appliance. This
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">StandaloneSpec</code><spanclass="sig-paren">(</span><em>sso_admin_password=None</em>, <em>sso_domain_name=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.StandaloneSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>sso_admin_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The SSO administrator account password. This attribute was added in
vSphere API 6.7.</li>
<li><strong>sso_domain_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The SSO domain name to be used to configure this appliance. This
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">Upgrade</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Upgrade"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">PscSpec</code><spanclass="sig-paren">(</span><em>ceip_enabled=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Upgrade.PscSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>ceip_enabled</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Customer experience improvement program should be enabled or
disabled for this Platform Services Controller upgrade. This
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>hostname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IP address or DNS resolvable name of the source appliance. This
attribute was added in vSphere API 6.7.</li>
<li><strong>https_port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The HTTPS port of the source appliance. This attribute was added in
vSphere API 6.7.
If None, port 443 will be used.</li>
<li><strong>ssl_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SHA1 thumbprint of the server SSL certificate will be used for
verification. This attribute was added in vSphere API 6.7.
This attribute is only relevant if <codeclass="docutils literal notranslate"><spanclass="pre">sslVerify</span></code> is None or has the
value true.</li>
<li><strong>ssl_verify</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SSL verification should be enabled or disabled for the source
appliance validations. By default it is enabled and will use SSL
certificate for verification. If thumbprint is provided, will use
thumbprint for the verification. This attribute was added in
vSphere API 6.7.
If None, ssl_verify true will be used.</li>
<li><strong>sso_admin_username</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The SSO administrator account on the source appliance. This
attribute was added in vSphere API 6.7.</li>
<li><strong>sso_admin_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The SSO administrator account password. This attribute was added in
vSphere API 6.7.</li>
<li><strong>root_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The password of the root user on the source appliance. This
attribute was added in vSphere API 6.7.</li>
<li><strong>ssh_verify</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Appliance SSH verification should be enabled or disabled. By
default it is disabled and will not use any verification. If
thumbprint is provided, thumbprint verification will be performed.
This attribute was added in vSphere API 6.7.
If None, ssh_verify true will be used.</li>
<li><strong>ssh_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – MD5 thumbprint of the server SSH key will be used for verification.
This attribute was added in vSphere API 6.7.
This attribute is only relevant if <codeclass="docutils literal notranslate"><spanclass="pre">sshVerify</span></code> is None or has the
<emclass="property">class </em><codeclass="descname">UpgradeSpec</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Upgrade.UpgradeSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>source_appliance</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Upgrade.SourceApplianceSpec"title="com.vmware.vcenter.deployment_client.Upgrade.SourceApplianceSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Upgrade.SourceApplianceSpec</span></code></a>) – Source appliance spec. This attribute was added in vSphere API 6.7.</li>
<li><strong>source_location</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.LocationSpec"title="com.vmware.vcenter.deployment_client.LocationSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LocationSpec</span></code></a>) – Source location spec. This attribute was added in vSphere API 6.7.</li>
<li><strong>history</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.HistoryMigrationSpec"title="com.vmware.vcenter.deployment_client.HistoryMigrationSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">HistoryMigrationSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Determines how vCenter history will be migrated during the upgrade
process. vCenter history consists of:</p>
<ul>
<li>Statistics</li>
<li>Events</li>
<li>Tasks</li>
</ul>
<p>By default only core data will be migrated. Use this spec to define
which part of vCenter history data will be migrated and when. This
attribute was added in vSphere API 6.7.
If None, only core database content will be migrated.</p>
</li>
<li><strong>vcsa_embedded</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Upgrade.VcsaEmbeddedSpec"title="com.vmware.vcenter.deployment_client.Upgrade.VcsaEmbeddedSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Upgrade.VcsaEmbeddedSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Information that are specific to this embedded vCenter Server. This
attribute was added in vSphere API 6.7.
If None, ceip_enabled for embedded vcenter server upgrade will
default to enabled.</li>
<li><strong>psc</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.Upgrade.PscSpec"title="com.vmware.vcenter.deployment_client.Upgrade.PscSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Upgrade.PscSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Information that are specific to this Platform Services Controller.
This attribute was added in vSphere API 6.7.
If None, ceip_enabled for psc upgrade will default to enabled.</li>
<li><strong>auto_answer</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Use the default option for any questions that may come up during
appliance configuration. This attribute was added in vSphere API
<emclass="property">class </em><codeclass="descname">VcsaEmbeddedSpec</code><spanclass="sig-paren">(</span><em>ceip_enabled=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.Upgrade.VcsaEmbeddedSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>ceip_enabled</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Customer experience improvement program should be enabled or
disabled for this embedded vCenter Server upgrade. This attribute
<codeclass="descname">cancel</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">check</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">UpgradeSpec parameters being used to configure appliance upgrade.</td>
<codeclass="descname">start</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="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
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.deployment_client.</code><codeclass="descname">VerificationMode</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.deployment_client.VerificationMode"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">NONE</code><emclass="property"> = VerificationMode(string='NONE')</em><aclass="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
<codeclass="descname">THUMBPRINT</code><emclass="property"> = VerificationMode(string='THUMBPRINT')</em><aclass="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
<spanid="com-vmware-vcenter-guest-client-module"></span><h2>com.vmware.vcenter.guest_client module<aclass="headerlink"href="#module-com.vmware.vcenter.guest_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.guest_client</span></code> module provides classes for managing
guest customization specifications in the vCenter Server.</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.guest_client.</code><codeclass="descname">CustomizationSpecs</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.guest_client.CustomizationSpecs"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">FilterSpec</code><spanclass="sig-paren">(</span><em>names=None</em>, <em>os_type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.guest_client.CustomizationSpecs.FilterSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>names</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Names that guest customization specifications must have to match
the filter (see <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">CustomizationSpecs.Summary.name</span></code>). This
attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must contain identifiers for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.guest.CustomizationSpec</span></code>. When methods return
a value of this class as a return value, the attribute will contain
<emclass="property">class </em><codeclass="descname">OsType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.guest_client.CustomizationSpecs.OsType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">CustomizationSpecs.OsType</span></code> class defines the types of guest
operating systems for which guest customization is supported. This
enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">LINUX</code><emclass="property"> = OsType(string='LINUX')</em><aclass="headerlink"href="#com.vmware.vcenter.guest_client.CustomizationSpecs.OsType.LINUX"title="Permalink to this definition">¶</a></dt>
<dd><p>A customization specification for a Linux guest operating system. This
class attribute was added in vSphere API 6.7 U1.</p>
<codeclass="descname">WINDOWS</code><emclass="property"> = OsType(string='WINDOWS')</em><aclass="headerlink"href="#com.vmware.vcenter.guest_client.CustomizationSpecs.OsType.WINDOWS"title="Permalink to this definition">¶</a></dt>
<dd><p>A customization specification for a Windows guest operating system. This
class attribute was added in vSphere API 6.7 U1.</p>
<codeclass="descname">RESOURCE_TYPE</code><emclass="property"> = 'com.vmware.vcenter.guest.CustomizationSpec'</em><aclass="headerlink"href="#com.vmware.vcenter.guest_client.CustomizationSpecs.RESOURCE_TYPE"title="Permalink to this definition">¶</a></dt>
<dd><p>The resource type for a vCenter guest customization specification. This class
<emclass="property">class </em><codeclass="descname">Summary</code><spanclass="sig-paren">(</span><em>name=None</em>, <em>description=None</em>, <em>os_type=None</em>, <em>last_modified=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.guest_client.CustomizationSpecs.Summary"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the guest customization specification. This attribute was
added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.guest.CustomizationSpec</span></code>. When methods return
a value of this class as a return value, the attribute will be an
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Description of the guest customization specification. This
attribute was added in vSphere API 6.7 U1.</li>
<li><strong>os_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.guest_client.CustomizationSpecs.OsType"title="com.vmware.vcenter.guest_client.CustomizationSpecs.OsType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CustomizationSpecs.OsType</span></code></a>) – Guest operating system type for which that this guest customization
specification applies. This attribute was added in vSphere API 6.7
U1.</li>
<li><strong>last_modified</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Date and tme when this guest customization specification was last
modified. This attribute was added in vSphere API 6.7 U1.</li>
<codeclass="descname">list</code><spanclass="sig-paren">(</span><em>filter=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.guest_client.CustomizationSpecs.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns information about at most 1000 visible (subject to permission
checks) guest customization specifications in vCenter matching the
<aclass="reference internal"href="#com.vmware.vcenter.guest_client.CustomizationSpecs.FilterSpec"title="com.vmware.vcenter.guest_client.CustomizationSpecs.FilterSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CustomizationSpecs.FilterSpec</span></code></a>. This method was added in
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.guest_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.guest_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-hvc-client-module"></span><h2>com.vmware.vcenter.hvc_client module<aclass="headerlink"href="#module-com.vmware.vcenter.hvc_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.hvc_client</span></code> module provides classes to manage hybrid
links between a local and remote Platform Service Controller.</p>
<dlclass="class">
<dtid="com.vmware.vcenter.hvc_client.Links">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.hvc_client.</code><codeclass="descname">Links</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc_client.Links"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">CertificateInfo</code><spanclass="sig-paren">(</span><em>ssl_thumbprint=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc_client.Links.CertificateInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>ssl_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The SHA-256 thumbprint of the SSL certificate for the destination
PSC endpoint. <strong>Warning:</strong> This attribute is available as technical
preview. It may be changed in a future release.</td>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>psc_hostname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The PSC hostname for the domain to be linked. <strong>Warning:</strong> This
attribute is available as technical preview. It may be changed in a
future release.</li>
<li><strong>port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The HTTPS port of the PSC to be linked. <strong>Warning:</strong> This attribute
is available as technical preview. It may be changed in a future
release.
If None 443 will be used as default.</li>
<li><strong>domain_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The domain to which the PSC belongs. <strong>Warning:</strong> This attribute is
available as technical preview. It may be changed in a future
release.</li>
<li><strong>username</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The administrator username of the PSC. <strong>Warning:</strong> This attribute
is available as technical preview. It may be changed in a future
release.</li>
<li><strong>password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The administrator password of the PSC. <strong>Warning:</strong> This attribute
is available as technical preview. It may be changed in a future
release.</li>
<li><strong>ssl_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The ssl thumbprint of the server. <strong>Warning:</strong> This attribute is
available as technical preview. It may be changed in a future
release.
if None no thumbprint is passed.</li>
<li><strong>admin_groups</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – List of groups to be added to enable administrator access to.
<strong>Warning:</strong> This attribute is available as technical preview. It
may be changed in a future release.
if None administrator access will not be set.</li>
<emclass="property">class </em><codeclass="descname">Summary</code><spanclass="sig-paren">(</span><em>link=None</em>, <em>display_name=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc_client.Links.Summary"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>link</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier for the link. <strong>Warning:</strong> This attribute is
available as technical preview. It may be changed in a future
release.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.hvc.Links</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.hvc.Links</span></code>.</li>
<li><strong>display_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The display name is set to the domain name which was set during
create. <strong>Warning:</strong> This attribute is available as technical
preview. It may be changed in a future release.</li>
<codeclass="descname">create</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="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
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.hvc_client.Links.CreateSpec"title="com.vmware.vcenter.hvc_client.Links.CreateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Links.CreateSpec</span></code></a>) – Specification for the new link to be created.</td>
<codeclass="descname">delete</code><spanclass="sig-paren">(</span><em>link</em><spanclass="sig-paren">)</span><aclass="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>
if the system reports an error while responding to the request.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="method">
<dtid="com.vmware.vcenter.hvc_client.Links.list">
<codeclass="descname">list</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.hvc_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-inventory-client-module"></span><h2>com.vmware.vcenter.inventory_client module<aclass="headerlink"href="#module-com.vmware.vcenter.inventory_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.inventory_client</span></code> component provides methods and
classes for retrieving vCenter datastore and network information for a given
<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of identifiers.</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.inventory_client.</code><codeclass="descname">Datastore</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.inventory_client.Datastore"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.inventory_client.Datastore.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Type of the datastore.
When clients pass a value of this class as a parameter, the
attribute must be one of <codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">StoragePod</span></code>. When
methods return a value of this class as a return value, the
attribute will be one of <codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">StoragePod</span></code>.</td>
<codeclass="descname">find</code><spanclass="sig-paren">(</span><em>datastores</em><spanclass="sig-paren">)</span><aclass="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 <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the datastore identifier and the
value in the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the datastore information.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><pclass="first"><strong>datastores</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifiers of the datastores for which information will be
returned.
The parameter must contain identifiers for the resource type:
<trclass="field-even field"><thclass="field-name">Return type:</th><tdclass="field-body"><pclass="first"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and (<aclass="reference internal"href="#com.vmware.vcenter.inventory_client.Datastore.Info"title="com.vmware.vcenter.inventory_client.Datastore.Info"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Datastore.Info</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>)</p>
</td>
</tr>
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">Datastore information for the specified datastores. The key in the
return value <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the datastore identifier and the
value in the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the datastore information.
The key in the return value <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>.</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.inventory_client.</code><codeclass="descname">Network</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.inventory_client.Network"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.inventory_client.Network.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Type of the vCenter Server network.
When clients pass a value of this class as a parameter, the
attribute must be one of <codeclass="docutils literal notranslate"><spanclass="pre">Network</span></code>,
<codeclass="docutils literal notranslate"><spanclass="pre">DistributedVirtualPortgroup</span></code>, or <codeclass="docutils literal notranslate"><spanclass="pre">OpaqueNetwork</span></code>. When methods
return a value of this class as a return value, the attribute will
be one of <codeclass="docutils literal notranslate"><spanclass="pre">Network</span></code>, <codeclass="docutils literal notranslate"><spanclass="pre">DistributedVirtualPortgroup</span></code>, or
<codeclass="descname">find</code><spanclass="sig-paren">(</span><em>networks</em><spanclass="sig-paren">)</span><aclass="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 <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the network identifier and
the value in the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the network information.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><pclass="first"><strong>networks</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifiers of the vCenter Server networks for which information
will be returned.
The parameter must contain identifiers for the resource type:
<trclass="field-even field"><thclass="field-name">Return type:</th><tdclass="field-body"><pclass="first"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and (<aclass="reference internal"href="#com.vmware.vcenter.inventory_client.Network.Info"title="com.vmware.vcenter.inventory_client.Network.Info"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Network.Info</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>)</p>
</td>
</tr>
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">Network information for the specified vCenter Server networks. The
key in the return value <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the network identifier and
the value in the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the network information.
The key in the return value <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Network</span></code>.</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.inventory_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.inventory_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-iso-client-module"></span><h2>com.vmware.vcenter.iso_client module<aclass="headerlink"href="#module-com.vmware.vcenter.iso_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="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>
<dlclass="class">
<dtid="com.vmware.vcenter.iso_client.Image">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.iso_client.</code><codeclass="descname">Image</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.iso_client.Image"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<codeclass="descname">mount</code><spanclass="sig-paren">(</span><em>library_item</em>, <em>vm</em><spanclass="sig-paren">)</span><aclass="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>
<li><strong>library_item</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="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:
<li><strong>vm</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="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:
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="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:
If either <codeclass="docutils literal notranslate"><spanclass="pre">vm</span></code> or the <codeclass="docutils literal notranslate"><spanclass="pre">library_item</span></code> is not found.</p>
<codeclass="descname">unmount</code><spanclass="sig-paren">(</span><em>vm</em>, <em>cdrom</em><spanclass="sig-paren">)</span><aclass="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>
<li><strong>vm</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="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:
<li><strong>cdrom</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The device identifier of the CD-ROM.
The parameter must be an identifier for the resource type:
by the parameter <codeclass="docutils literal notranslate"><spanclass="pre">cdrom</span></code> requires <codeclass="docutils literal notranslate"><spanclass="pre">System.Read</span></code>.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.iso_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.iso_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-ovf-client-module"></span><h2>com.vmware.vcenter.ovf_client module<aclass="headerlink"href="#module-com.vmware.vcenter.ovf_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="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>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">CertificateParams</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.CertificateParams"title="Permalink to this definition">¶</a></dt>
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>is_valid</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is the certificate chain validated.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>is_self_signed</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is the certificate self-signed.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>x509</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The X509 representation of the certificate.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">DeploymentOption</code><spanclass="sig-paren">(</span><em>key=None</em>, <em>label=None</em>, <em>description=None</em>, <em>default_choice=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.DeploymentOption"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>key</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The key of the deployment option, corresponding to the ovf:id
attribute in the OVF descriptor.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>label</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – A localizable label for the deployment option.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – A localizable description for the deployment option.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>default_choice</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – A <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> flag indicates whether this deployment option is
the default choice.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. If None or false, it
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">DeploymentOptionParams</code><spanclass="sig-paren">(</span><em>deployment_options=None</em>, <em>selected_key=None</em>, <em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.DeploymentOptionParams"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>deployment_options</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.DeploymentOption"title="com.vmware.vcenter.ovf_client.DeploymentOption"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">DeploymentOption</span></code></a>) –<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of deployment options. This attribute corresponds to
the ovf:Configuration elements of the ovf:DeploymentOptionSection
in the specification. It is a discrete set of intended resource
allocation configurations from which one can be selected.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>selected_key</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The selected deployment option. Identifies the
<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.DeploymentOption"title="com.vmware.vcenter.ovf_client.DeploymentOption"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">DeploymentOption</span></code></a> in the list in the <codeclass="docutils literal notranslate"><spanclass="pre">deploymentOptions</span></code>
attribute with a matching value in the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">DeploymentOption.key</span></code>
attribute.
This attribute is optional in the input parameters when deploying
an OVF package. If None the server will use the default deployment
This attribute is optional in the result when retrieving
information about an OVF package. The value will be set only if it
is specified with the optional ovf:default attribute.</li>
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">DiskProvisioningType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.DiskProvisioningType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">DiskProvisioningType</span></code> class defines the virtual disk provisioning
types that can be set for a disk on the target platform.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">eagerZeroedThick</code><emclass="property"> = DiskProvisioningType(string='eagerZeroedThick')</em><aclass="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>
<codeclass="descname">thick</code><emclass="property"> = DiskProvisioningType(string='thick')</em><aclass="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>
<codeclass="descname">thin</code><emclass="property"> = DiskProvisioningType(string='thin')</em><aclass="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>
<dlclass="class">
<dtid="com.vmware.vcenter.ovf_client.ExportFlag">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">ExportFlag</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ExportFlag"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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 <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"title="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.CreateSpec</span></code></a> to customize an OVF export.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>option=None</em>, <em>description=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ExportFlag.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>option</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the export flag that is supported by the server.</li>
<li><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Localizable description of the export flag.</li>
<codeclass="descname">list</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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>
<dlclass="docutils">
<dt>PRESERVE_MAC</dt>
<dd>Include MAC addresses for network adapters.</dd>
<dt>EXTRA_CONFIG</dt>
<dd><blockquoteclass="first">
<div>Include extra configuration in OVF export.</div></blockquote>
<pclass="last">Future server versions might support additional flags.</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">ExtraConfig</code><spanclass="sig-paren">(</span><em>key=None</em>, <em>value=None</em>, <em>virtual_system_id=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ExtraConfig"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>key</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The key of the ExtraConfig element.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<li><strong>value</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The value of the ExtraConfig element.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<li><strong>virtual_system_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier of the virtual system containing the vmw:ExtraConfig
element.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">ExtraConfigParams</code><spanclass="sig-paren">(</span><em>extra_configs=None</em>, <em>exclude_keys=None</em>, <em>include_keys=None</em>, <em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ExtraConfigParams"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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 <codeclass="docutils literal notranslate"><spanclass="pre">.vmx</span></code> file.</p>
<p>The behavior of the vmw:ExtraConfig element is similar to the
<codeclass="docutils literal notranslate"><spanclass="pre">extraConfig</span></code> property of the <codeclass="docutils literal notranslate"><spanclass="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
<codeclass="docutils literal notranslate"><spanclass="pre">VirtualMachineConfigSpec</span></code> object. See the VMware vSphere API reference
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>extra_configs</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.ExtraConfig"title="com.vmware.vcenter.ovf_client.ExtraConfig"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ExtraConfig</span></code></a>) –<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of vmw:ExtraConfig elements in the OVF package.
This attribute is optional in the input parameters when deploying
an OVF package. If None there are no extra configuration elements
to use for this OVF package deployment. This attribute will always
be present in the result when retrieving information about an OVF
package. It will be an empty <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> if there are no extra
configuration elements in the OVF package.</li>
<li><strong>exclude_keys</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) –<p>Specifies which extra configuration items in the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> in
the <codeclass="docutils literal notranslate"><spanclass="pre">extraConfigs</span></code><codeclass="docutils literal notranslate"><spanclass="pre">field</span></code> should be ignored during deployment.</p>
<p>If set, the given keys for extra configurations will be ignored
<li><strong>include_keys</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) –<p>Specifies which extra configuration items in the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> in
the <codeclass="docutils literal notranslate"><spanclass="pre">extraConfigs</span></code><codeclass="docutils literal notranslate"><spanclass="pre">field</span></code> should be included during
deployment.</p>
<p>If set, all but the given keys for extra configurations will be
ignored during deployment. The key is defined in the
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.ovf_client.ImportFlag">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">ImportFlag</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ImportFlag"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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 <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a> to customize
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>option=None</em>, <em>description=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ImportFlag.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>option</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the import flag that is supported by the deployment
platform.</li>
<li><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Localizable description of the import flag.</li>
<codeclass="descname">list</code><spanclass="sig-paren">(</span><em>rp</em><spanclass="sig-paren">)</span><aclass="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>
<dlclass="docutils">
<dt>LAX</dt>
<dd><blockquoteclass="first">
<div>Lax mode parsing of the OVF descriptor.</div></blockquote>
<pclass="last">Future server versions might support additional flags.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><pclass="first"><strong>rp</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="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:
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">IpAllocationParams</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.IpAllocationParams"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>supported_allocation_scheme</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme"title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpAllocationParams.IpAllocationScheme</span></code></a>) – Specifies the IP allocation schemes supported by the guest
software. This attribute defines the valid values for the IP
allocation policy. This setting is often configured by the virtual
appliance template author or OVF package author to reflect what the
guest software supports, and the IP allocation policy is configured
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>supported_ip_allocation_policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy"title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpAllocationParams.IpAllocationPolicy</span></code></a>) – Specifies the IP allocation policies supported. The set of valid
options for the policy is based on the capabilities of the virtual
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>ip_allocation_policy</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy"title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpAllocationParams.IpAllocationPolicy</span></code></a>) – Specifies how IP allocation is done through an IP Pool. This is
typically specified by the deployer.
This attribute is optional in the input parameters when deploying
an OVF package. If None there is no IP allocation policy. This
attribute will always be present in the result when retrieving
information about an OVF package.</li>
<li><strong>supported_ip_protocol</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol"title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpAllocationParams.IpProtocol</span></code></a>) – Specifies the IP protocols supported by the guest.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>ip_protocol</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol"title="com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpAllocationParams.IpProtocol</span></code></a>) – Specifies the chosen IP protocol for this deployment. This must be
one of the IP protocols supported by the guest software. See
This attribute is optional in the input parameters when deploying
an OVF package. If None there is no IP protocol chosen. This
attribute will always be present in the result when retrieving
information about an OVF package.</li>
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<emclass="property">class </em><codeclass="descname">IpAllocationPolicy</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">IpAllocationParams.IpAllocationPolicy</span></code> class defines the possible IP
allocation policy for a deployment.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DHCP</code><emclass="property"> = IpAllocationPolicy(string='DHCP')</em><aclass="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>
<codeclass="descname">STATIC_IPPOOL</code><emclass="property"> = IpAllocationPolicy(string='STATIC_IPPOOL')</em><aclass="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
<codeclass="descname">STATIC_MANUAL</code><emclass="property"> = IpAllocationPolicy(string='STATIC_MANUAL')</em><aclass="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>
<codeclass="descname">TRANSIENT_IPPOOL</code><emclass="property"> = IpAllocationPolicy(string='TRANSIENT_IPPOOL')</em><aclass="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
<emclass="property">class </em><codeclass="descname">IpAllocationScheme</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">IpAllocationParams.IpAllocationScheme</span></code> class defines the possible IP
allocation schemes that can be supported by the guest software.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DHCP</code><emclass="property"> = IpAllocationScheme(string='DHCP')</em><aclass="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>
<codeclass="descname">OVF_ENVIRONMENT</code><emclass="property"> = IpAllocationScheme(string='OVF_ENVIRONMENT')</em><aclass="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
<emclass="property">class </em><codeclass="descname">IpProtocol</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">IpAllocationParams.IpProtocol</span></code> class defines the IP protocols
supported by the guest software.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">IPV4</code><emclass="property"> = IpProtocol(string='IPV4')</em><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV4"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">IPV6</code><emclass="property"> = IpProtocol(string='IPV6')</em><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol.IPV6"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">LibraryItem</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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>
<olclass="arabic simple">
<li>Create a <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.DeploymentTarget</span></code></a> to specify the target
deployment type and target deployment designation.</li>
<li>Create a <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a> to specify the
parameters for the target deployment.</li>
<li>Use the <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method with the created target and parameter
specifications, along with the identifier of the specified source content
library item. See <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy"title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><codeclass="xref py py-func docutils literal notranslate"><spanclass="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>
<olclass="arabic simple">
<li>Create a <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"title="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"><codeclass="xref py py-class docutils literal notranslate"><spanclass="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 <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget"title="com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.CreateTarget</span></code></a> to specify the target library
and library item.</li>
<li>Create a <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"title="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.CreateSpec</span></code></a> to specify the settings for the
OVF package to be created.</li>
<li>Use the <codeclass="docutils literal notranslate"><spanclass="pre">create</span></code> method with the created target and parameter
specifications, along with the specified source entity. See
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">CreateResult</code><spanclass="sig-paren">(</span><em>succeeded=None</em>, <em>ovf_library_item_id=None</em>, <em>error=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateResult"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">LibraryItem.CreateResult</span></code> class defines the result of the <codeclass="docutils literal notranslate"><spanclass="pre">create</span></code>
method. See <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.create"title="com.vmware.vcenter.ovf_client.LibraryItem.create"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">LibraryItem.create()</span></code></a>.</p>
<divclass="admonition tip">
<pclass="first admonition-title">Tip</p>
<pclass="last">The arguments are used to initialize data attributes with the same
<li><strong>ovf_library_item_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the created or updated library item.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.content.library.Item</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.content.library.Item</span></code>.
If None, the <codeclass="docutils literal notranslate"><spanclass="pre">create</span></code> method failed and
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">LibraryItem.CreateResult.error</span></code> will describe the error(s)
that caused the failure.</li>
<li><strong>error</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo"title="com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.ResultInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Errors, warnings, and informational messages produced by the
<emclass="property">class </em><codeclass="descname">CreateSpec</code><spanclass="sig-paren">(</span><em>name=None</em>, <em>description=None</em>, <em>flags=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Name to use in the OVF descriptor stored in the library item.
If None, the server will use source’s current name.</li>
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Description to use in the OVF descriptor stored in the library
item.
If None, the server will use source’s current annotation.</li>
<li><strong>flags</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Flags to use for OVF package creation. The supported flags can be
obtained using <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.ExportFlag.list"title="com.vmware.vcenter.ovf_client.ExportFlag.list"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">ExportFlag.list()</span></code></a>.
<emclass="property">class </em><codeclass="descname">CreateTarget</code><spanclass="sig-paren">(</span><em>library_id=None</em>, <em>library_item_id=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>library_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the library in which a new library item should be
created. This attribute is not used if the <codeclass="docutils literal notranslate"><spanclass="pre">libraryItemId</span></code>
attribute is specified.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.content.Library</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.content.Library</span></code>.
If None, the <codeclass="docutils literal notranslate"><spanclass="pre">libraryItemId</span></code> attribute must be specified.</li>
<li><strong>library_item_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the library item that should be should be updated.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.content.library.Item</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.content.library.Item</span></code>.
If None, a new library item will be created. The <codeclass="docutils literal notranslate"><spanclass="pre">libraryId</span></code>
attribute must be specified if this attribute is None.</li>
<codeclass="descname">DEPLOYABLE</code><emclass="property"> = ['VirtualMachine', 'VirtualApp']</em><aclass="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 <codeclass="docutils literal notranslate"><spanclass="pre">LibraryItem</span></code> class.</p>
<emclass="property">class </em><codeclass="descname">DeployableIdentity</code><spanclass="sig-paren">(</span><em>type=None</em>, <em>id=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Type of the deployable resource.
When clients pass a value of this class as a parameter, the
attribute must be one of <codeclass="docutils literal notranslate"><spanclass="pre">VirtualMachine</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">VirtualApp</span></code>. When
methods return a value of this class as a return value, the
attribute will be one of <codeclass="docutils literal notranslate"><spanclass="pre">VirtualMachine</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">VirtualApp</span></code>.</li>
<li><strong>id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the deployable resource.
When clients pass a value of this class as a parameter, the
attribute <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> must contain the actual resource type. When
methods return a value of this class as a return value, the
attribute <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> will contain the actual resource type.</li>
<emclass="property">class </em><codeclass="descname">DeploymentResult</code><spanclass="sig-paren">(</span><em>succeeded=None</em>, <em>resource_id=None</em>, <em>error=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentResult"title="Permalink to this definition">¶</a></dt>
<li><strong>resource_id</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"title="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.DeployableIdentity</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the deployed resource entity.
If None, the <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method failed and
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">LibraryItem.DeploymentResult.error</span></code> will describe the
error(s) that caused the failure.</li>
<li><strong>error</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo"title="com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.ResultInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Errors, warnings, and informational messages produced by the
<emclass="property">class </em><codeclass="descname">DeploymentTarget</code><spanclass="sig-paren">(</span><em>resource_pool_id=None</em>, <em>host_id=None</em>, <em>folder_id=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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 <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">filter</span></code> methods. See <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy"title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">LibraryItem.deploy()</span></code></a>
and <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.filter"title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">LibraryItem.filter()</span></code></a>.</p>
<divclass="admonition tip">
<pclass="first admonition-title">Tip</p>
<pclass="last">The arguments are used to initialize data attributes with the same
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>resource_pool_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the resource pool to which the virtual machine or
virtual appliance should be attached.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">ResourcePool</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<li><strong>host_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the target host on which the virtual machine or
virtual appliance will run. The target host must be a member of the
cluster that contains the resource pool identified by
If None, the server will automatically select a target host from
the resource pool if
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">LibraryItem.DeploymentTarget.resource_pool_id</span></code> is a
stand-alone host or a cluster with Distributed Resource Scheduling
(DRS) enabled.</li>
<li><strong>folder_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the vCenter folder that should contain the virtual
machine or virtual appliance. The folder must be virtual machine
folder.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Folder</span></code>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Folder</span></code>.
If None, the server will choose the deployment folder.</li>
<emclass="property">class </em><codeclass="descname">OvfSummary</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.OvfSummary"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">LibraryItem.OvfSummary</span></code> class defines the result of the <codeclass="docutils literal notranslate"><spanclass="pre">filter</span></code>
method. See <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.filter"title="com.vmware.vcenter.ovf_client.LibraryItem.filter"><codeclass="xref py py-func docutils literal notranslate"><spanclass="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 <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method. See
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Default name for the virtual machine or virtual appliance.
If None, the OVF descriptor did not specify a name.</li>
<li><strong>annotation</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Default annotation for the virtual machine or virtual appliance.
If None, the OVF descriptor did not specify an annotation.</li>
<li><strong>eulas</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – End User License Agreements specified in the OVF descriptor. All
end user license agreements must be accepted in order for the
<codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method to succeed. See
<li><strong>networks</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Section identifiers for sections of type ovf:NetworkSection in the
OVF descriptor. These identifiers can be used as keys in
If None, the OVF descriptor did not specify any networks.</li>
<li><strong>storage_groups</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Section identifiers for sections of type vmw:StorageGroupSection in
the OVF descriptor. These identifiers can be used as keys in
If None, the OVF descriptor did not specify any storage groups.</li>
<li><strong>additional_params</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.struct.VapiStruct</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Additional OVF parameters which can be specified for the deployment
target. These OVF parameters can be inspected, optionally modified,
for the <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method.
When clients pass a value of this class as a parameter, the
attribute must contain all the attributes defined in
<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfParams"title="com.vmware.vcenter.ovf_client.OvfParams"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">OvfParams</span></code></a>. When methods return a value of this class as a
return value, the attribute will contain all the attributes defined
in <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfParams"title="com.vmware.vcenter.ovf_client.OvfParams"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">OvfParams</span></code></a>.
If None, the OVF descriptor does not require addtional parameters
or does not have additional parameters suitable for the deployment
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code> class defines the deployment
parameters that can be specified for the <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method where the
deployment target is a resource pool. See <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.deploy"title="com.vmware.vcenter.ovf_client.LibraryItem.deploy"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">LibraryItem.deploy()</span></code></a>.</p>
<divclass="admonition tip">
<pclass="first admonition-title">Tip</p>
<pclass="last">The arguments are used to initialize data attributes with the same
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Name assigned to the deployed target virtual machine or virtual
appliance.
If None, the server will use the name from the OVF package.</li>
<li><strong>annotation</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Annotation assigned to the deployed target virtual machine or
virtual appliance.
If None, the server will use the annotation from the OVF package.</li>
<li><strong>accept_all_eula</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Whether to accept all End User License Agreements. See
<li><strong>network_mappings</strong> ((<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Specification of the target network to use for sections of type
ovf:NetworkSection in the OVF descriptor. The key in the
<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the section identifier of the ovf:NetworkSection
section in the OVF descriptor and the value is the target network
to be used for deployment.
When clients pass a value of this class as a parameter, the value
in the attribute <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> must be an identifier for the
resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Network</span></code>. When methods return a value of this
class as a return value, the value in the attribute <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code>
will be an identifier for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Network</span></code>.
If None, the server will choose a network mapping.</li>
<li><strong>storage_mappings</strong> ((<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping"title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.StorageGroupMapping</span></code></a>) or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Specification of the target storage to use for sections of type
vmw:StorageGroupSection in the OVF descriptor. The key in the
<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> is the section identifier of the
ovf:StorageGroupSection section in the OVF descriptor and the value
is the target storage specification to be used for deployment. See
If None, the server will choose a storage mapping.</li>
<li><strong>storage_provisioning</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.DiskProvisioningType"title="com.vmware.vcenter.ovf_client.DiskProvisioningType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">DiskProvisioningType</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Default storage provisioning type to use for all sections of type
vmw:StorageSection in the OVF descriptor.
If None, the server will choose the provisioning type.</li>
<li><strong>storage_profile_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Default storage profile to use for all sections of type
vmw:StorageSection in the OVF descriptor.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">StorageProfile</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
If None, the server will choose the default profile.</li>
<li><strong>locale</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The locale to use for parsing the OVF descriptor.
If None, the server locale will be used.</li>
<li><strong>flags</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Flags to be use for deployment. The supported flag values can be
obtained using <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.ImportFlag.list"title="com.vmware.vcenter.ovf_client.ImportFlag.list"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">ImportFlag.list()</span></code></a>.
If None, no flags will be used.</li>
<li><strong>additional_parameters</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.struct.VapiStruct</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Additional OVF parameters that may be needed for the deployment.
Additional OVF parameters may be required by the OVF descriptor of
the OVF package in the library item. Examples of OVF parameters
that can be specified through this attribute include, but are not
<p>When clients pass a value of this class as a parameter, the
attribute must contain all the attributes defined in
<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfParams"title="com.vmware.vcenter.ovf_client.OvfParams"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">OvfParams</span></code></a>. When methods return a value of this class as a
return value, the attribute will contain all the attributes defined
in <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfParams"title="com.vmware.vcenter.ovf_client.OvfParams"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">OvfParams</span></code></a>.
If None, the server will choose default settings for all parameters
necessary for the <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method. See
<li><strong>default_datastore_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Default datastore to use for all sections of type
vmw:StorageSection in the OVF descriptor.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<emclass="property">class </em><codeclass="descname">ResultInfo</code><spanclass="sig-paren">(</span><em>errors=None</em>, <em>warnings=None</em>, <em>information=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.ResultInfo"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">LibraryItem.ResultInfo</span></code> class defines the information returned along
with the result of a <codeclass="docutils literal notranslate"><spanclass="pre">create</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method to describe errors,
warnings, and informational messages produced by the server.</p>
<divclass="admonition tip">
<pclass="first admonition-title">Tip</p>
<pclass="last">The arguments are used to initialize data attributes with the same
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>errors</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfError"title="com.vmware.vcenter.ovf_client.OvfError"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">OvfError</span></code></a>) – Errors reported by the <codeclass="docutils literal notranslate"><spanclass="pre">create</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method. These
errors would have prevented the <codeclass="docutils literal notranslate"><spanclass="pre">create</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method
from completing successfully.</li>
<li><strong>warnings</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfWarning"title="com.vmware.vcenter.ovf_client.OvfWarning"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">OvfWarning</span></code></a>) – Warnings reported by the <codeclass="docutils literal notranslate"><spanclass="pre">create</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code> method. These
warnings would not have prevented the <codeclass="docutils literal notranslate"><spanclass="pre">create</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code>
method from completing successfully, but there might be issues that
warrant attention.</li>
<li><strong>information</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfInfo"title="com.vmware.vcenter.ovf_client.OvfInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">OvfInfo</span></code></a>) – Information messages reported by the <codeclass="docutils literal notranslate"><spanclass="pre">create</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">deploy</span></code>
method. For example, a non-required parameter was ignored.</li>
<emclass="property">class </em><codeclass="descname">StorageGroupMapping</code><spanclass="sig-paren">(</span><em>type=None</em>, <em>datastore_id=None</em>, <em>storage_profile_id=None</em>, <em>provisioning=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type"title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.StorageGroupMapping.Type</span></code></a>) – Type of storage deployment target to use for the
vmw:StorageGroupSection section. The specified value must be
<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE"title="com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type.DATASTORE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">LibraryItem.StorageGroupMapping.Type.DATASTORE</span></code></a> or
<li><strong>datastore_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Target datastore to be used for the storage group.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<li><strong>storage_profile_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Target storage profile to be used for the storage group.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">StorageProfile</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<li><strong>provisioning</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.DiskProvisioningType"title="com.vmware.vcenter.ovf_client.DiskProvisioningType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">DiskProvisioningType</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Target provisioning type to use for the storage group.
<emclass="property">class </em><codeclass="descname">Type</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DATASTORE</code><emclass="property"> = Type(string='DATASTORE')</em><aclass="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>
<codeclass="descname">STORAGE_PROFILE</code><emclass="property"> = Type(string='STORAGE_PROFILE')</em><aclass="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>
<codeclass="descname">create</code><spanclass="sig-paren">(</span><em>source</em>, <em>target</em>, <em>create_spec</em>, <em>client_token=None</em><spanclass="sig-paren">)</span><aclass="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>
<li><strong>client_token</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="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> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"title="com.vmware.vcenter.ovf_client.LibraryItem.DeployableIdentity"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.DeployableIdentity</span></code></a>) – Identifier of the virtual machine or virtual appliance to use as
the source.</li>
<li><strong>target</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget"title="com.vmware.vcenter.ovf_client.LibraryItem.CreateTarget"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.CreateTarget</span></code></a>) – Specification of the target content library and library item.</li>
<li><strong>create_spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"title="com.vmware.vcenter.ovf_client.LibraryItem.CreateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.CreateSpec</span></code></a>) – Information used to create the OVF package from the source virtual
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">Information about the success or failure of the method, along with
<codeclass="descname">deploy</code><spanclass="sig-paren">(</span><em>ovf_library_item_id</em>, <em>target</em>, <em>deployment_spec</em>, <em>client_token=None</em><spanclass="sig-paren">)</span><aclass="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 <codeclass="docutils literal notranslate"><spanclass="pre">ovf_library_item_id</span></code>. It uses the deployment
specification in <codeclass="docutils literal notranslate"><spanclass="pre">deployment_spec</span></code> to deploy the OVF package to the
location specified by <codeclass="docutils literal notranslate"><spanclass="pre">target</span></code>.</p>
<li><strong>client_token</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="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> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="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:
<li><strong>target</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"title="com.vmware.vcenter.ovf_client.LibraryItem.DeploymentTarget"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.DeploymentTarget</span></code></a>) – Specification of the deployment target.</li>
<li><strong>deployment_spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a>) – Specification of how the OVF package should be deployed to the
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">Information about the success or failure of the method, along with
<li>The resource <codeclass="docutils literal notranslate"><spanclass="pre">Network</span></code> referenced by the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> value of
<codeclass="descname">filter</code><spanclass="sig-paren">(</span><em>ovf_library_item_id</em>, <em>target</em><spanclass="sig-paren">)</span><aclass="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
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">Information that can be used to populate the deployment
specification (see <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"title="com.vmware.vcenter.ovf_client.LibraryItem.ResourcePoolDeploymentSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItem.ResourcePoolDeploymentSpec</span></code></a>)
when deploying the OVF package to the deployment target specified
by <codeclass="docutils literal notranslate"><spanclass="pre">target</span></code>.</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">OvfError</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.OvfError"title="Permalink to this definition">¶</a></dt>
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.VALIDATION</span></code></a>.</li>
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of input parameter.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>value</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The value of input parameter.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.SERVER</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.ovf_client.OvfInfo">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">OvfInfo</code><spanclass="sig-paren">(</span><em>messages=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.OvfInfo"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">OvfMessage</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.OvfMessage"title="Permalink to this definition">¶</a></dt>
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.VALIDATION</span></code></a>.</li>
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of input parameter.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>value</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The value of input parameter.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<emclass="property">class </em><codeclass="descname">Category</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category"title="Permalink to this definition">¶</a></dt>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">INPUT</code><emclass="property"> = Category(string='INPUT')</em><aclass="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>
<codeclass="descname">SERVER</code><emclass="property"> = Category(string='SERVER')</em><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VALIDATION</code><emclass="property"> = Category(string='VALIDATION')</em><aclass="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>
<dlclass="class">
<dtid="com.vmware.vcenter.ovf_client.OvfParams">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">OvfParams</code><spanclass="sig-paren">(</span><em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.OvfParams"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.ovf_client.OvfWarning">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">OvfWarning</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.OvfWarning"title="Permalink to this definition">¶</a></dt>
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.VALIDATION"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.VALIDATION</span></code></a>.</li>
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of input parameter.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
<li><strong>value</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The value of input parameter.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.INPUT"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.INPUT</span></code></a>.</li>
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">category</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"title="com.vmware.vcenter.ovf_client.OvfMessage.Category.SERVER"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">OvfMessage.Category.SERVER</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.ovf_client.ParseIssue">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">ParseIssue</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ParseIssue"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>category</strong> (<aclass="reference internal"href="#com.vmware.vcenter.ovf_client.ParseIssue.Category"title="com.vmware.vcenter.ovf_client.ParseIssue.Category"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ParseIssue.Category</span></code></a>) – The category of the parse issue.</li>
<li><strong>file</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the file in which the parse issue was found.</li>
<li><strong>line_number</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The line number of the line in the file (see
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">ParseIssue.file</span></code>) where the parse issue was found (or -1 if
not applicable).</li>
<li><strong>column_number</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The position in the line (see <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">ParseIssue.line_number</span></code>) (or
-1 if not applicable).</li>
<li><strong>message</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – A localizable message describing the parse issue.</li>
<emclass="property">class </em><codeclass="descname">Category</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ParseIssue.Category"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">ParseIssue.Category</span></code> class defines the categories of issues that can
be found when parsing files inside an OVF package (see <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.ParseIssue"title="com.vmware.vcenter.ovf_client.ParseIssue"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ParseIssue</span></code></a>)
including OVF descriptor (which is an XML document), manifest and
certificate files, or exporting an OVF package.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">ATTRIBUTE_ILLEGAL</code><emclass="property"> = Category(string='ATTRIBUTE_ILLEGAL')</em><aclass="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>
<codeclass="descname">ATTRIBUTE_REQUIRED</code><emclass="property"> = Category(string='ATTRIBUTE_REQUIRED')</em><aclass="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
<codeclass="descname">ELEMENT_ILLEGAL</code><emclass="property"> = Category(string='ELEMENT_ILLEGAL')</em><aclass="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>
<codeclass="descname">ELEMENT_REQUIRED</code><emclass="property"> = Category(string='ELEMENT_REQUIRED')</em><aclass="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
<codeclass="descname">ELEMENT_UNKNOWN</code><emclass="property"> = Category(string='ELEMENT_UNKNOWN')</em><aclass="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
<codeclass="descname">EXPORT_ERROR</code><emclass="property"> = Category(string='EXPORT_ERROR')</em><aclass="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>
<codeclass="descname">GENERATE_ERROR</code><emclass="property"> = Category(string='GENERATE_ERROR')</em><aclass="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>
<codeclass="descname">INTERNAL_ERROR</code><emclass="property"> = Category(string='INTERNAL_ERROR')</em><aclass="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
<codeclass="descname">PARSE_ERROR</code><emclass="property"> = Category(string='PARSE_ERROR')</em><aclass="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>
<ulclass="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>
<codeclass="descname">SECTION_RESTRICTION</code><emclass="property"> = Category(string='SECTION_RESTRICTION')</em><aclass="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>
<codeclass="descname">SECTION_UNKNOWN</code><emclass="property"> = Category(string='SECTION_UNKNOWN')</em><aclass="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
<codeclass="descname">VALIDATION_ERROR</code><emclass="property"> = Category(string='VALIDATION_ERROR')</em><aclass="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>
<codeclass="descname">VALUE_ILLEGAL</code><emclass="property"> = Category(string='VALUE_ILLEGAL')</em><aclass="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>
<dlclass="class">
<dtid="com.vmware.vcenter.ovf_client.Property">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">Property</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.Property"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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 <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Property.class_id</span></code>, <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Property.id</span></code>,
and <codeclass="xref py py-attr docutils literal notranslate"><spanclass="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>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>class_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The classId of this OVF property.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier of this OVF property.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<li><strong>instance_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The instanceId of this OVF property.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>category</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – If this is set to a non-empty string, this property starts a new
category.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. If None, the property
is in the same category as the previous item, otherwise, it starts
a new category.</li>
<li><strong>ui_optional</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) –<p>Whether a category is UI optional. This is only used if this
property starts a new category (see <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Property.category</span></code>).</p>
<p>The value is stored in an optional attribute vmw:uioptional to the
ovf:Category element. The default value is false. If this value is
true, the properties within this category are optional. The UI
renders this as a group with a check box, and the group is grayed
out until the check box is selected. When the check box is
selected, the input values are read and used in deployment. If
properties within the same category specify conflicting values the
default is used. Only implemented in vSphere Web Client 5.1 and
later as of Nov 2012.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package.</p>
</li>
<li><strong>label</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The display name of this OVF property.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – A description of this OVF property.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package.</li>
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The type of this OVF property. Refer to the configuration of a
virtual appliance/virtual machine for the valid values.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>value</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The OVF property value. This contains the default value from
ovf:defaultValue if ovf:value is not present when read.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">PropertyParams</code><spanclass="sig-paren">(</span><em>properties=None</em>, <em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.PropertyParams"title="Permalink to this definition">¶</a></dt>
This attribute is optional in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">ScaleOutGroup</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ScaleOutGroup"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier of the scale-out group.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The description of the scale-out group.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>instance_count</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The scaling factor to use. It defines the number of replicas of the
prototypical virtual system or virtual system collection.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">ScaleOutParams</code><spanclass="sig-paren">(</span><em>groups=None</em>, <em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.ScaleOutParams"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>groups</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.ovf_client.ScaleOutGroup"title="com.vmware.vcenter.ovf_client.ScaleOutGroup"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ScaleOutGroup</span></code></a>) – The <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of scale-out groups.
This attribute is optional in the input parameters when deploying
an OVF package. If None there are no scale-out groups. This
attribute will always be present in the result when retrieving
information about an OVF package.</li>
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.ovf_client.SizeParams">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">SizeParams</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.SizeParams"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>approximate_download_size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) –<p>A best guess as to the total amount of data that must be
transferred to download the OVF package.</p>
<blockquote>
<div>This may be inaccurate due to disk compression etc.</div></blockquote>
<p>This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. It will be None if
there is insufficient information to provide a proper estimate.</p>
</li>
<li><strong>approximate_flat_deployment_size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – A best guess as to the total amount of space required to deploy the
OVF package if using flat disks.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. It will be None if
there is insufficient information to provide a proper estimate.</li>
<li><strong>approximate_sparse_deployment_size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – A best guess as to the total amount of space required to deploy the
OVF package using sparse disks.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. It will be None if
there is insufficient information to provide a proper estimate.</li>
<li><strong>variable_disk_size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) –<p>Whether the OVF uses variable disk sizes.</p>
<p>For empty disks, rather than specifying a fixed virtual disk
capacity, the capacity may be given using a reference to a
ovf:Property element in a ovf:ProductSection element in OVF
package.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute is optional in the result when
retrieving information about an OVF package. If None or false, the
OVF does not use variable disk sizes.</p>
</li>
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">UnknownSection</code><spanclass="sig-paren">(</span><em>tag=None</em>, <em>info=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.UnknownSection"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>tag</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – A namespace-qualified tag in the form <codeclass="docutils literal notranslate"><spanclass="pre">{ns}tag</span></code>.</li>
<li><strong>info</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The description of the Info element.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">UnknownSectionParams</code><spanclass="sig-paren">(</span><em>unknown_sections=None</em>, <em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.UnknownSectionParams"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">UnknownSectionParams</span></code> class contains a <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of unknown,
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.ovf_client.</code><codeclass="descname">VcenterExtensionParams</code><spanclass="sig-paren">(</span><em>required=None</em>, <em>registration_accepted=None</em>, <em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.ovf_client.VcenterExtensionParams"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>required</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Whether registration as a vCenter extension is required.
This attribute is not used in the input parameters when deploying
an OVF package. This attribute will always be present in the result
when retrieving information about an OVF package.</li>
<li><strong>registration_accepted</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) –<p>Whether registration as a vCenter extension is accepted.</p>
<p>If registration as a vCenter extension is required (see
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">VcenterExtensionParams.required</span></code>), this must be set to true
during deployment. Defaults to false when returned from server.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</p>
</li>
<li><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier describing the type of the OVF parameters. The
value is the name of the OVF parameters class.
This attribute must be provided in the input parameters when
deploying an OVF package. This attribute will always be present in
the result when retrieving information about an OVF package.</li>
<spanid="com-vmware-vcenter-services-client-module"></span><h2>com.vmware.vcenter.services_client module<aclass="headerlink"href="#module-com.vmware.vcenter.services_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.services_client.</code><codeclass="descname">Service</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.services_client.Service"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Health</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.services_client.Service.Health"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Service.Health</span></code> class defines the possible values for health of a
service. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DEGRADED</code><emclass="property"> = Health(string='DEGRADED')</em><aclass="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
<codeclass="descname">HEALTHY</code><emclass="property"> = Health(string='HEALTHY')</em><aclass="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
<codeclass="descname">HEALTHY_WITH_WARNINGS</code><emclass="property"> = Health(string='HEALTHY_WITH_WARNINGS')</em><aclass="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
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.services_client.Service.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>name_key</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Service name key. Can be used to lookup resource bundle. This
attribute was added in vSphere API 6.7.</li>
<li><strong>description_key</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Service description key. Can be used to lookup resource bundle.
This attribute was added in vSphere API 6.7.</li>
<li><strong>startup_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.services_client.Service.StartupType"title="com.vmware.vcenter.services_client.Service.StartupType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Service.StartupType</span></code></a>) – Startup Type. This attribute was added in vSphere API 6.7.</li>
<li><strong>state</strong> (<aclass="reference internal"href="#com.vmware.vcenter.services_client.Service.State"title="com.vmware.vcenter.services_client.Service.State"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Service.State</span></code></a>) – Running State. This attribute was added in vSphere API 6.7.</li>
<li><strong>health</strong> (<aclass="reference internal"href="#com.vmware.vcenter.services_client.Service.Health"title="com.vmware.vcenter.services_client.Service.Health"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Service.Health</span></code></a>) – Health of service. This attribute was added in vSphere API 6.7.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">state</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.services_client.Service.State.STARTED"title="com.vmware.vcenter.services_client.Service.State.STARTED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.State.STARTED</span></code></a>.</li>
<li><strong>health_messages</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Localizable messages associated with the health of the service.
This attribute was added in vSphere API 6.7.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">state</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.services_client.Service.State.STARTED"title="com.vmware.vcenter.services_client.Service.State.STARTED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.State.STARTED</span></code></a>.</li>
<emclass="property">class </em><codeclass="descname">StartupType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.services_client.Service.StartupType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Service.StartupType</span></code> class defines valid Startup Type for vCenter
Server services. This enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">AUTOMATIC</code><emclass="property"> = StartupType(string='AUTOMATIC')</em><aclass="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
<codeclass="descname">DISABLED</code><emclass="property"> = StartupType(string='DISABLED')</em><aclass="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
<codeclass="descname">MANUAL</code><emclass="property"> = StartupType(string='MANUAL')</em><aclass="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>
<emclass="property">class </em><codeclass="descname">State</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.services_client.Service.State"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Service.State</span></code> class defines valid Run State for services. This
enumeration was added in vSphere API 6.7.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">STARTED</code><emclass="property"> = State(string='STARTED')</em><aclass="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
<codeclass="descname">STARTING</code><emclass="property"> = State(string='STARTING')</em><aclass="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
<codeclass="descname">STOPPED</code><emclass="property"> = State(string='STOPPED')</em><aclass="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
<codeclass="descname">STOPPING</code><emclass="property"> = State(string='STOPPING')</em><aclass="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
<emclass="property">class </em><codeclass="descname">UpdateSpec</code><spanclass="sig-paren">(</span><em>startup_type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.services_client.Service.UpdateSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>startup_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.services_client.Service.StartupType"title="com.vmware.vcenter.services_client.Service.StartupType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Service.StartupType</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Startup Type. This attribute was added in vSphere API 6.7.
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>service</em><spanclass="sig-paren">)</span><aclass="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
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service whose state is being queried.
The parameter must be an identifier for the resource type:
<codeclass="descname">list_details</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">restart</code><spanclass="sig-paren">(</span><em>service</em><spanclass="sig-paren">)</span><aclass="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>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service to restart
The parameter must be an identifier for the resource type:
<codeclass="descname">start</code><spanclass="sig-paren">(</span><em>service</em><spanclass="sig-paren">)</span><aclass="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>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service to start
The parameter must be an identifier for the resource type:
<codeclass="descname">stop</code><spanclass="sig-paren">(</span><em>service</em><spanclass="sig-paren">)</span><aclass="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>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service to stop
The parameter must be an identifier for the resource type:
<codeclass="descname">update</code><spanclass="sig-paren">(</span><em>service</em>, <em>spec</em><spanclass="sig-paren">)</span><aclass="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
<li><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – identifier of the service whose properties are being updated.
The parameter must be an identifier for the resource type:
if a request to set the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.UpdateSpec.startup_type</span></code>
attribute of <codeclass="docutils literal notranslate"><spanclass="pre">spec</span></code> to <aclass="reference internal"href="#com.vmware.vcenter.services_client.Service.StartupType.DISABLED"title="com.vmware.vcenter.services_client.Service.StartupType.DISABLED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.StartupType.DISABLED</span></code></a> comes
in for a service that is not in <aclass="reference internal"href="#com.vmware.vcenter.services_client.Service.State.STOPPED"title="com.vmware.vcenter.services_client.Service.State.STOPPED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Service.State.STOPPED</span></code></a>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.services_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.services_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-storage-client-module"></span><h2>com.vmware.vcenter.storage_client module<aclass="headerlink"href="#module-com.vmware.vcenter.storage_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.storage_client.</code><codeclass="descname">Policies</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage_client.Policies"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">CompatibilityInfo</code><spanclass="sig-paren">(</span><em>compatible_datastores=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage_client.Policies.CompatibilityInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>compatible_datastores</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.storage_client.Policies.CompatibleDatastoreInfo"title="com.vmware.vcenter.storage_client.Policies.CompatibleDatastoreInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Policies.CompatibleDatastoreInfo</span></code></a>) – Info about a list of datastores compatible with a specific storage
policy. This attribute was added in vSphere API 6.7.</td>
<emclass="property">class </em><codeclass="descname">CompatibleDatastoreInfo</code><spanclass="sig-paren">(</span><em>datastore=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage_client.Policies.CompatibleDatastoreInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the datastore. This attribute was added in vSphere
API 6.7.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<emclass="property">class </em><codeclass="descname">FilterSpec</code><spanclass="sig-paren">(</span><em>policies=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage_client.Policies.FilterSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Policies.FilterSpec</span></code> class contains attributes used to filter the
results when listing the storage policies (see <aclass="reference internal"href="#com.vmware.vcenter.storage_client.Policies.list"title="com.vmware.vcenter.storage_client.Policies.list"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Policies.list()</span></code></a>). This
class was added in vSphere API 6.7.</p>
<divclass="admonition tip">
<pclass="first admonition-title">Tip</p>
<pclass="last">The arguments are used to initialize data attributes with the same
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>policies</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifiers of storage policies that can match the filter. This
attribute was added in vSphere API 6.7.
When clients pass a value of this class as a parameter, the
attribute must contain identifiers for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.StoragePolicy</span></code>. When methods return a value
of this class as a return value, the attribute will contain
<codeclass="descname">RESOURCE_TYPE</code><emclass="property"> = 'com.vmware.vcenter.StoragePolicy'</em><aclass="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
<emclass="property">class </em><codeclass="descname">Summary</code><spanclass="sig-paren">(</span><em>policy=None</em>, <em>name=None</em>, <em>description=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage_client.Policies.Summary"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the storage policy. This attribute was added in
vSphere API 6.7.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.StoragePolicy</span></code>. When methods return a value
of this class as a return value, the attribute will be an
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the storage policy. This attribute was added in vSphere API
6.7.</li>
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Description of the storage policy. This attribute was added in
<codeclass="descname">check_compatibility</code><spanclass="sig-paren">(</span><em>policy</em>, <em>datastores</em><spanclass="sig-paren">)</span><aclass="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>
<li><strong>datastores</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="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:
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">datastore compatibility summary about a specific storage policy.</p>
<codeclass="descname">list</code><spanclass="sig-paren">(</span><em>filter=None</em><spanclass="sig-paren">)</span><aclass="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
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>filter</strong> (<aclass="reference internal"href="#com.vmware.vcenter.storage_client.Policies.FilterSpec"title="com.vmware.vcenter.storage_client.Policies.FilterSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Policies.FilterSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Specification of matching storage policies for which information
should be returned.
If None, the behavior is equivalent to a
<aclass="reference internal"href="#com.vmware.vcenter.storage_client.Policies.FilterSpec"title="com.vmware.vcenter.storage_client.Policies.FilterSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Policies.FilterSpec</span></code></a> with all attributes None which means
if the <aclass="reference internal"href="#com.vmware.vcenter.storage_client.Policies.FilterSpec"title="com.vmware.vcenter.storage_client.Policies.FilterSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Policies.FilterSpec</span></code></a> contains a value that is not
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.storage_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-system-config-client-module"></span><h2>com.vmware.vcenter.system_config_client module<aclass="headerlink"href="#module-com.vmware.vcenter.system_config_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.system_config_client.</code><codeclass="descname">DeploymentType</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.system_config_client.DeploymentType"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.system_config_client.DeploymentType.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.ApplianceType"title="com.vmware.vcenter.deployment_client.ApplianceType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.deployment_client.ApplianceType</span></code></a>) – The type of the appliance. This attribute was added in vSphere API
<emclass="property">class </em><codeclass="descname">ReconfigureSpec</code><spanclass="sig-paren">(</span><em>type=None</em>, <em>remote_psc=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.system_config_client.DeploymentType.ReconfigureSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.ApplianceType"title="com.vmware.vcenter.deployment_client.ApplianceType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.deployment_client.ApplianceType</span></code></a>) – The type of the appliance. This attribute was added in vSphere API
6.7.</li>
<li><strong>remote_psc</strong> (<aclass="reference internal"href="#com.vmware.vcenter.deployment_client.RemotePscSpec"title="com.vmware.vcenter.deployment_client.RemotePscSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.deployment_client.RemotePscSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – External PSC to register with when reconfiguring a VCSA_EMBEDDED
appliance to a VCSA_EXTERNAL appliance. This attribute was added in
vSphere API 6.7.
Only required when reconfiguring an VCSA_EMBEDDED node to a
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">reconfigure</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="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
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.system_config_client.</code><codeclass="descname">PscRegistration</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.system_config_client.PscRegistration"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>address=None</em>, <em>https_port=None</em>, <em>sso_domain=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.system_config_client.PscRegistration.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IP address or DNS resolvable name of the PSC this appliance is
registered with. This attribute was added in vSphere API 6.7.</li>
<li><strong>https_port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The HTTPs port used by the external PSC. This attribute was added
in vSphere API 6.7.</li>
<li><strong>sso_domain</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The Single Sign-On domain name of the external PSC. This attribute
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="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
<codeclass="descname">repoint</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="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
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.system_config_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.system_config_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-vcha-client-module"></span><h2>com.vmware.vcenter.vcha_client module<aclass="headerlink"href="#module-com.vmware.vcenter.vcha_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client</span></code> module provides classes for deploying
and monitoring a vCenter High Availability (VCHA) Cluster.</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">CertificateInfo</code><spanclass="sig-paren">(</span><em>ssl_thumbprint=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.CertificateInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>ssl_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The SHA-256 thumbprint of the SSL certificate for a management
vCenter server. This attribute was added in vSphere API 6.7 U1.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.vcha_client.Cluster">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">Cluster</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">ActiveSpec</code><spanclass="sig-paren">(</span><em>ha_network_type=None</em>, <em>ha_network=None</em>, <em>ha_ip=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ActiveSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>ha_network_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.NetworkType"title="com.vmware.vcenter.vcha_client.NetworkType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">NetworkType</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The type of the Network object used by the HA network.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network</span></code> attribute is set, then
the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network_type</span></code> field must be set.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network</span></code> attribute is None,
then the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network_type</span></code> attribute is
ignored. This attribute was added in vSphere API 6.7 U1.
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network</span></code> attribute is
unset, then the second NIC is assumed to be already configured.
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network</span></code> attribute is
set, then an error is reported.</li>
<li><strong>ha_network</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The identifier of the Network object used for the HA network.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network</span></code> attribute is set, then
the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network_type</span></code> attribute must be
set.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network</span></code> attribute is None,
then the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network_type</span></code> attribute is
ignored. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Network:VCenter</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network_type</span></code>
attribute is unset, then the second NIC is assumed to be already
configured.
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec.ha_network</span></code> attribute is
set, then an error is reported.</li>
<li><strong>ha_ip</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.IpSpec"title="com.vmware.vcenter.vcha_client.IpSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpSpec</span></code></a>) – IP specification for the HA network. This attribute was added in
<emclass="property">class </em><codeclass="descname">ClusterMode</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterMode"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Cluster.ClusterMode</span></code> class defines the possible modes for a VCHA
Cluster. This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DISABLED</code><emclass="property"> = ClusterMode(string='DISABLED')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterMode.DISABLED"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA Cluster is disabled. State replication between the Active and Passive
node is disabled and automatic failover is not allowed. This class
<codeclass="descname">ENABLED</code><emclass="property"> = ClusterMode(string='ENABLED')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterMode.ENABLED"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA Cluster is enabled. State replication between the Active and Passive
node is enabled and automatic failover is allowed. This class attribute was
<codeclass="descname">MAINTENANCE</code><emclass="property"> = ClusterMode(string='MAINTENANCE')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterMode.MAINTENANCE"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA Cluster is in maintenance mode. State replication between the Active
and Passive node is enabled but automatic failover is not allowed. This
class attribute was added in vSphere API 6.7 U1.</p>
<emclass="property">class </em><codeclass="descname">ClusterState</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterState"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Cluster.ClusterState</span></code> class defines the possible for a VCHA Cluster.
This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DEGRADED</code><emclass="property"> = ClusterState(string='DEGRADED')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterState.DEGRADED"title="Permalink to this definition">¶</a></dt>
<dd><p>A VCHA Cluster is said to be in a degraded state for either or all of the
following reasons:</p>
<ulclass="simple">
<li>There is a node loss.</li>
<li>State replication between the Active and Passive node fails.</li>
</ul>
<p>. This class attribute was added in vSphere API 6.7 U1.</p>
<codeclass="descname">HEALTHY</code><emclass="property"> = ClusterState(string='HEALTHY')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterState.HEALTHY"title="Permalink to this definition">¶</a></dt>
<dd><p>All three nodes in a VCHA Cluster are healthy and connected. State
replication between Active and Passive node is working and both nodes are
in sync. This class attribute was added in vSphere API 6.7 U1.</p>
<codeclass="descname">ISOLATED</code><emclass="property"> = ClusterState(string='ISOLATED')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterState.ISOLATED"title="Permalink to this definition">¶</a></dt>
<dd><p>All three nodes are isolated from each other. This class attribute was
<emclass="property">class </em><codeclass="descname">ConfigState</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ConfigState"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Cluster.ConfigState</span></code> class defines the VCHA configuration state.
This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">CONFIGURED</code><emclass="property"> = ConfigState(string='CONFIGURED')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ConfigState.CONFIGURED"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA cluster is configured. This class attribute was added in vSphere API
<codeclass="descname">INVALID</code><emclass="property"> = ConfigState(string='INVALID')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ConfigState.INVALID"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA cluster is in an invalid/dirty state. This class attribute was added
<codeclass="descname">NOTCONFIGURED</code><emclass="property"> = ConfigState(string='NOTCONFIGURED')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ConfigState.NOTCONFIGURED"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA cluster is not configured. This class attribute was added in vSphere
<codeclass="descname">PREPARED</code><emclass="property"> = ConfigState(string='PREPARED')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ConfigState.PREPARED"title="Permalink to this definition">¶</a></dt>
<dd><p>vCenter server appliance has been prepared for VCHA cluster configuration.
This class attribute was added in vSphere API 6.7 U1.</p>
<emclass="property">class </em><codeclass="descname">DeploySpec</code><spanclass="sig-paren">(</span><em>vc_spec=None</em>, <em>deployment=None</em>, <em>active=None</em>, <em>passive=None</em>, <em>witness=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.DeploySpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>vc_spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.CredentialsSpec"title="com.vmware.vcenter.vcha_client.CredentialsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CredentialsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the active node’s management vCenter server credentials.
This attribute was added in vSphere API 6.7 U1.
If None, then the active vCenter server is assumed to be managed by
itself.</li>
<li><strong>deployment</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.Type"title="com.vmware.vcenter.vcha_client.Cluster.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.Type</span></code></a>) – Contains the deployment type. This attribute was added in vSphere
API 6.7 U1.</li>
<li><strong>active</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.ActiveSpec"title="com.vmware.vcenter.vcha_client.Cluster.ActiveSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.ActiveSpec</span></code></a>) – Contains the active node’s network configuration. This attribute
was added in vSphere API 6.7 U1.</li>
<li><strong>passive</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.PassiveSpec"title="com.vmware.vcenter.vcha_client.Cluster.PassiveSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.PassiveSpec</span></code></a>) – Contains the passive node’s placement configuration. This attribute
was added in vSphere API 6.7 U1.</li>
<li><strong>witness</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.WitnessSpec"title="com.vmware.vcenter.vcha_client.Cluster.WitnessSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.WitnessSpec</span></code></a>) – Contains the witness node’s placement configuration. This attribute
<emclass="property">class </em><codeclass="descname">ErrorCondition</code><spanclass="sig-paren">(</span><em>error=None</em>, <em>recommendation=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.ErrorCondition"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>error</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Contains an error condition. This attribute was added in vSphere
API 6.7 U1.</li>
<li><strong>recommendation</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains a recommendation on handling the error condition. This
attribute was added in vSphere API 6.7 U1.
If None, there is no tip for the error condition.</li>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>config_state</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.ConfigState"title="com.vmware.vcenter.vcha_client.Cluster.ConfigState"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.ConfigState</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Configuration state of the VCHA cluster.
The active node’s management vCenter server credentials are not
required to populate this attribute. This attribute was added in
vSphere API 6.7 U1.
If None, then the information is unavailable.</li>
<li><strong>node1</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.NodeInfo"title="com.vmware.vcenter.vcha_client.Cluster.NodeInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.NodeInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Node configuration information for the VCHA cluster. This attribute
was added in vSphere API 6.7 U1.
If None, then the information is unavailable.</li>
<li><strong>node2</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.NodeInfo"title="com.vmware.vcenter.vcha_client.Cluster.NodeInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.NodeInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Node configuration information for the VCHA cluster. This attribute
was added in vSphere API 6.7 U1.
If None, then the information is unavailable or the node is not
cloned yet.</li>
<li><strong>witness</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.WitnessInfo"title="com.vmware.vcenter.vcha_client.Cluster.WitnessInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.WitnessInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Node configuration information for the VCHA cluster. This attribute
was added in vSphere API 6.7 U1.
If None, then the information is unavailable or the node is not
cloned yet.</li>
<li><strong>mode</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterMode"title="com.vmware.vcenter.vcha_client.Cluster.ClusterMode"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.ClusterMode</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Operational mode of the VCHA Cluster. This attribute was added in
vSphere API 6.7 U1.
If None, then the information is unavailable or the node is not
cloned yet.</li>
<li><strong>health_state</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.ClusterState"title="com.vmware.vcenter.vcha_client.Cluster.ClusterState"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.ClusterState</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Last known state of the VCHA Cluster. This attribute was added in
vSphere API 6.7 U1.
If None, then the information is unavailable or the node is not
cloned yet.</li>
<li><strong>health_exception</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Health warning messages if the health information is unavailable.
This attribute was added in vSphere API 6.7 U1.
If None, then the cluster is in a healthy state.</li>
<li><strong>health_warnings</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.ErrorCondition"title="com.vmware.vcenter.vcha_client.Cluster.ErrorCondition"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.ErrorCondition</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – A collection of messages describing the reason for a non-healthy
Cluster. This attribute was added in vSphere API 6.7 U1.
If None, then the cluster is in a healthy state.</li>
<li><strong>manual_failover_allowed</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Specifies if manual failover is allowed. This attribute was added
in vSphere API 6.7 U1.
If None, then the cluster state healthy and manual failover
allowance in accordance with the cluster mode.</li>
<li><strong>auto_failover_allowed</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Specifies if automatic failover is allowed. This attribute was
added in vSphere API 6.7 U1.
If None, then the cluster state healthy and automatic failover
allowance in accordance with the cluster mode.</li>
<emclass="property">class </em><codeclass="descname">IpFamily</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.IpFamily"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Cluster.IpFamily</span></code> class defines the IP address family. This
enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">IPV4</code><emclass="property"> = IpFamily(string='IPV4')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.IpFamily.IPV4"title="Permalink to this definition">¶</a></dt>
<dd><p>IPV4 address family. This class attribute was added in vSphere API 6.7 U1.</p>
<codeclass="descname">IPV6</code><emclass="property"> = IpFamily(string='IPV6')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.IpFamily.IPV6"title="Permalink to this definition">¶</a></dt>
<dd><p>IPV6 address family. This class attribute was added in vSphere API 6.7 U1.</p>
<emclass="property">class </em><codeclass="descname">IpInfo</code><spanclass="sig-paren">(</span><em>ip_family=None</em>, <em>ipv4=None</em>, <em>ipv6=None</em>, <em>gateway_ip=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.IpInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>ip_family</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.IpFamily"title="com.vmware.vcenter.vcha_client.Cluster.IpFamily"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.IpFamily</span></code></a>) – Family of the ip. This attribute was added in vSphere API 6.7 U1.</li>
<li><strong>ipv4</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.Ipv4Info"title="com.vmware.vcenter.vcha_client.Cluster.Ipv4Info"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.Ipv4Info</span></code></a>) – If the type of the ip family is IPV4, then this will point to IPv4
address specification. This attribute was added in vSphere API 6.7
U1.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">ipFamily</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.IpFamily.IPV4"title="com.vmware.vcenter.vcha_client.Cluster.IpFamily.IPV4"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.IpFamily.IPV4</span></code></a>.</li>
<li><strong>ipv6</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.Ipv6Info"title="com.vmware.vcenter.vcha_client.Cluster.Ipv6Info"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.Ipv6Info</span></code></a>) – If the type of the ip family is IPV6, then this will point to IPv6
address specification. This attribute was added in vSphere API 6.7
U1.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">ipFamily</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.IpFamily.IPV6"title="com.vmware.vcenter.vcha_client.Cluster.IpFamily.IPV6"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.IpFamily.IPV6</span></code></a>.</li>
<li><strong>gateway_ip</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Gateway IP address. This attribute was added in vSphere API 6.7 U1.
<emclass="property">class </em><codeclass="descname">Ipv4Info</code><spanclass="sig-paren">(</span><em>address=None</em>, <em>subnet_mask=None</em>, <em>prefix=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.Ipv4Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – IP address of the configured network interface. This attribute was
added in vSphere API 6.7 U1.</li>
<li><strong>subnet_mask</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The subnet mask of the interface. This attribute was added in
vSphere API 6.7 U1.</li>
<li><strong>prefix</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The CIDR prefix of the interface. This attribute was added in
<emclass="property">class </em><codeclass="descname">Ipv6Info</code><spanclass="sig-paren">(</span><em>address=None</em>, <em>prefix=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.Ipv6Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – IP address of the configured network interface. This attribute was
added in vSphere API 6.7 U1.</li>
<li><strong>prefix</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The CIDR prefix of the interface. This attribute was added in
<emclass="property">class </em><codeclass="descname">NodeInfo</code><spanclass="sig-paren">(</span><em>failover_ip=None</em>, <em>ha_ip=None</em>, <em>runtime=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>failover_ip</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.IpInfo"title="com.vmware.vcenter.vcha_client.Cluster.IpInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.IpInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Failover IP address that this node will assume after the failover
to serve client requests. Each failover node can have a different
failover IP address.
The active node’s management vCenter server credentials are not
required to populate <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.NodeInfo.failover_ip</span></code>. This
attribute was added in vSphere API 6.7 U1.
If None, then it will assume the public IP address of the Active
vCenter Server.</li>
<li><strong>ha_ip</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.IpInfo"title="com.vmware.vcenter.vcha_client.Cluster.IpInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.IpInfo</span></code></a>) – VCHA Cluster network configuration of the node. All cluster
communication (state replication, heartbeat, cluster messages)
happens over this network.
The active node’s management vCenter server credentials are not
required to populate this <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.NodeInfo.ha_ip</span></code>. This
attribute was added in vSphere API 6.7 U1.</li>
<li><strong>runtime</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.NodeRuntimeInfo"title="com.vmware.vcenter.vcha_client.Cluster.NodeRuntimeInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.NodeRuntimeInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Runtime information for the node in the VCHA Cluster.
The active node’s management vCenter server credentials are
required to populate some attributes of
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.NodeInfo.runtime</span></code>. This attribute was added in
vSphere API 6.7 U1.
If None, then the information is unavailable or the specified
Active vCenter server management credentials are invalid or the
<emclass="property">class </em><codeclass="descname">NodeRole</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeRole"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Cluster.NodeRole</span></code> class defines the role node can be in a VCHA
Cluster. This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">ACTIVE</code><emclass="property"> = NodeRole(string='ACTIVE')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeRole.ACTIVE"title="Permalink to this definition">¶</a></dt>
<dd><p>Node is having a role of Active. In this role, node runs a vCenter Server
that serves client requests. This class attribute was added in vSphere API
<codeclass="descname">PASSIVE</code><emclass="property"> = NodeRole(string='PASSIVE')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeRole.PASSIVE"title="Permalink to this definition">¶</a></dt>
<dd><p>Node is having a role of Passive. In this role node, runs as a standby for
the Active vCenter Server and receives state updates. This node takes over
the role of Active vCenter Server upon failover. This class attribute was
<codeclass="descname">WITNESS</code><emclass="property"> = NodeRole(string='WITNESS')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeRole.WITNESS"title="Permalink to this definition">¶</a></dt>
<dd><p>Node is having a role of Witness. In this role, node acts as a quorum node
for avoiding the classic split-brain problem. This class attribute was
<emclass="property">class </em><codeclass="descname">NodeRuntimeInfo</code><spanclass="sig-paren">(</span><em>state=None</em>, <em>role=None</em>, <em>placement=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeRuntimeInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>state</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.NodeState"title="com.vmware.vcenter.vcha_client.Cluster.NodeState"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.NodeState</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Last known state of the node.
The active node’s management vCenter server credentials are not
required to populate <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.NodeRuntimeInfo.state</span></code>. This
attribute was added in vSphere API 6.7 U1.
If None, then information is unavailable or the passive and witness
nodes are not cloned yet.</li>
<li><strong>role</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.NodeRole"title="com.vmware.vcenter.vcha_client.Cluster.NodeRole"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.NodeRole</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Last known role of the node.
The active node’s management vCenter server credentials are not
required to populate <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.NodeRuntimeInfo.role</span></code>. This
attribute was added in vSphere API 6.7 U1.
If None, then information is unavailable or the passive and witness
nodes are not cloned yet.</li>
<li><strong>placement</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.PlacementInfo"title="com.vmware.vcenter.vcha_client.PlacementInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">PlacementInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Placement information of the node.
The active node’s management vCenter server credentials are
required to populate most attributes of
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.NodeRuntimeInfo.placement</span></code>. This attribute was added
in vSphere API 6.7 U1.
If None, then the information is unavailable or the specified
Active vCenter server management credentials are invalid or the
node is not cloned yet or the VCHA cluster was deployed in a manual
<emclass="property">class </em><codeclass="descname">NodeState</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeState"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Cluster.NodeState</span></code> class defines possible state a node can be in a
VCHA Cluster. This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DOWN</code><emclass="property"> = NodeState(string='DOWN')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeState.DOWN"title="Permalink to this definition">¶</a></dt>
<dd><p>Node is down and has left the VCHA Cluster. This class attribute was added
<codeclass="descname">UP</code><emclass="property"> = NodeState(string='UP')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeState.UP"title="Permalink to this definition">¶</a></dt>
<dd><p>Node is up and has joined the VCHA Cluster. This class attribute was added
<emclass="property">class </em><codeclass="descname">NodeVmInfo</code><spanclass="sig-paren">(</span><em>vm=None</em>, <em>bios_uuid=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.NodeVmInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>vm</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier of the virtual machine of the VCHA node. This
attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">VirtualMachine:VCenter</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">VirtualMachine:VCenter</span></code>.</li>
<li><strong>bios_uuid</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – BIOS UUID for the node. This attribute was added in vSphere API 6.7
<emclass="property">class </em><codeclass="descname">PassiveSpec</code><spanclass="sig-paren">(</span><em>placement=None</em>, <em>ha_ip=None</em>, <em>failover_ip=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.PassiveSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>placement</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.PlacementSpec"title="com.vmware.vcenter.vcha_client.PlacementSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">PlacementSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the placement configuration of the node. This attribute
was added in vSphere API 6.7 U1.
If None, then the it is assumed that the clone will be done
manually by the customer. In this case, the placement configuration
for the witness node should also be omitted. Only the network
configuration will be setup. Once the passive and witness nodes are
cloned from the active node, the VCHA high availability is turned
on.</li>
<li><strong>ha_ip</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.IpSpec"title="com.vmware.vcenter.vcha_client.IpSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpSpec</span></code></a>) – IP specification for the HA network. This attribute was added in
vSphere API 6.7 U1.</li>
<li><strong>failover_ip</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.IpSpec"title="com.vmware.vcenter.vcha_client.IpSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – IP specification for the management network. This attribute was
added in vSphere API 6.7 U1.
If None, then it will assume the public IP address of the Active
<emclass="property">class </em><codeclass="descname">Type</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.Type"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Cluster.Type</span></code> class defines the possible deployment types for a VCHA
Cluster. This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">AUTO</code><emclass="property"> = Type(string='AUTO')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.Type.AUTO"title="Permalink to this definition">¶</a></dt>
<dd><p>Passive and witness nodes are cloned automatically. This class attribute
<codeclass="descname">MANUAL</code><emclass="property"> = Type(string='MANUAL')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.Type.MANUAL"title="Permalink to this definition">¶</a></dt>
<dd><p>Passive and witness nodes are not cloned automatically. After deployment,
the customer should clone the passive and witness virtual machines. This
class attribute was added in vSphere API 6.7 U1.</p>
<emclass="property">class </em><codeclass="descname">UndeploySpec</code><spanclass="sig-paren">(</span><em>vc_spec=None</em>, <em>force_delete=None</em>, <em>vms=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.UndeploySpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>vc_spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.CredentialsSpec"title="com.vmware.vcenter.vcha_client.CredentialsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CredentialsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the active node’s management vCenter server credentials.
This attribute was added in vSphere API 6.7 U1.
If None, then the active vCenter server is assumed to be managed by
itself.</li>
<li><strong>force_delete</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Flag controlling in what circumstances the virtual machines will be
deleted. For this flag to take effect, the VCHA cluster should have
been successfully configured using automatic deployment.</p>
<ul>
<li>If true, the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.vms</span></code> attribute will be
ignored, the VCHA cluster specific information is removed, and the
passive and witness virtual machines will be deleted.</li>
the information identifying the passive and witness virtual
machines.</li>
<li>If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.vms</span></code> attribute is set, then it
will be validated prior to deleting the passive and witness virtual
machines and VCHA cluster specific information is removed.</li>
<li>If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.vms</span></code> attribute is None, then
the passive and witness virtual machines will not be deleted. The
customer should delete them in order to cleanup completely. VCHA
cluster specific information is removed.</li>
</ul>
<p>. This attribute was added in vSphere API 6.7 U1.
If None, the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.vms</span></code> attribute contains
the information identifying the passive and witness virtual
machines.</p>
<ul>
<li>If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.vms</span></code> attribute is set, then it
will be validated prior to deleting the passive and witness virtual
machines. VCHA cluster specific information is removed.</li>
<li>If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.vms</span></code> attribute is None, then
the passive and witness virtual machines will not be deleted. The
customer should delete them in order to cleanup completely. VCHA
cluster specific information is removed.</li>
</ul>
</li>
<li><strong>vms</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.VmInfo"title="com.vmware.vcenter.vcha_client.Cluster.VmInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.VmInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Contains virtual machine information for the passive and witness
virtual machines. For this flag to take effect, the VCHA cluster
should have been successfully configured using automatic
deployment.</p>
<p>If set, the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.force_delete</span></code> attribute
controls whether this information is validated.</p>
<ul>
<li>If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.force_delete</span></code> attribute is
true, then this information is ignored, VCHA cluster specific
information is removed and the passive and witness virtual machines
will be deleted.</li>
<li>If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.force_delete</span></code> attribute is
None or false, then this information is validated prior to deleting
the passive and witness virtual machines. VCHA cluster specific
information is removed.</li>
</ul>
<p>. This attribute was added in vSphere API 6.7 U1.
If None, the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.force_delete</span></code> attribute
controls the deletion of the passive and witness virtual machines.</p>
<ul>
<li>If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.force_delete</span></code> attribute is
true, then the passive and witness virtual machines will be
deleted. VCHA cluster specific information is removed.</li>
<li>If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.UndeploySpec.force_delete</span></code> attribute is
None or false, then the passive and witness virtual machines will
not be deleted. The customer should delete them in order to cleanup
completely. VCHA cluster specific information is removed.</li>
<emclass="property">class </em><codeclass="descname">VmInfo</code><spanclass="sig-paren">(</span><em>passive=None</em>, <em>witness=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.VmInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>passive</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.NodeVmInfo"title="com.vmware.vcenter.vcha_client.Cluster.NodeVmInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.NodeVmInfo</span></code></a>) – The virtual machine information of the passive node. This attribute
was added in vSphere API 6.7 U1.</li>
<li><strong>witness</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.NodeVmInfo"title="com.vmware.vcenter.vcha_client.Cluster.NodeVmInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.NodeVmInfo</span></code></a>) – The virtual machine information of the witness node. This attribute
<emclass="property">class </em><codeclass="descname">WitnessInfo</code><spanclass="sig-paren">(</span><em>ha_ip=None</em>, <em>runtime=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.WitnessInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>ha_ip</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.IpInfo"title="com.vmware.vcenter.vcha_client.Cluster.IpInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.IpInfo</span></code></a>) – VCHA Cluster network configuration of the node. All cluster
communication (state replication, heartbeat, cluster messages)
happens over this network.
The active node’s management vCenter server credentials are not
required to populate <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.WitnessInfo.ha_ip</span></code>. This
attribute was added in vSphere API 6.7 U1.</li>
<li><strong>runtime</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.NodeRuntimeInfo"title="com.vmware.vcenter.vcha_client.Cluster.NodeRuntimeInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.NodeRuntimeInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Runtime information for the node in the VCHA Cluster.
The active node’s management vCenter server credentials are
required to populate some attributes of
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Cluster.WitnessInfo.runtime</span></code>. This attribute was added in
vSphere API 6.7 U1.
If None, then the information is unavailable or the node is not
<emclass="property">class </em><codeclass="descname">WitnessSpec</code><spanclass="sig-paren">(</span><em>placement=None</em>, <em>ha_ip=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.WitnessSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>placement</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.PlacementSpec"title="com.vmware.vcenter.vcha_client.PlacementSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">PlacementSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the placement configuration of the node. This attribute
was added in vSphere API 6.7 U1.
If None, then it is assumed that the clone will be done manually by
the customer. In this case, the placement configuration for the
witness node should also be omitted. Only the network configuration
will be setup. Once the passive and witness nodes are cloned from
the active node, the VCHA high availability is turned on.</li>
<li><strong>ha_ip</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.IpSpec"title="com.vmware.vcenter.vcha_client.IpSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpSpec</span></code></a>) – IP specification for the HA network. This attribute was added in
<codeclass="descname">deploy_task</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.deploy_task"title="Permalink to this definition">¶</a></dt>
<dd><p>Prepares, clones, and configures a VCHA cluster. This method was added
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Cluster.DeploySpec"title="com.vmware.vcenter.vcha_client.Cluster.DeploySpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Cluster.DeploySpec</span></code></a>) – Contains the deploy specification for all three nodes of a VCHA
<codeclass="descname">failover_task</code><spanclass="sig-paren">(</span><em>planned</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.failover_task"title="Permalink to this definition">¶</a></dt>
<dd><p>Initiates failover from the active vCenter node to the passive node.</p>
<p>For forced failover, Active node immediately initiates a failover. This
may result into a data loss after failover.</p>
<p>For planned failover, Active node flushes all the state to the Passive
node, waits for the flush to complete before causing a failover. After
the failover, Passive node starts without any data loss.</p>
<blockquote>
<div>A failover is allowed only in the following cases:</div></blockquote>
<olclass="arabic simple">
<li>Cluster’s mode is enabled and all cluster members are present.</li>
<li>Cluster’s mode is maintenance and all cluster members are present.</li>
</ol>
<p>. This method was added in vSphere API 6.7 U1.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>planned</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – If false, a failover is initiated immediately and may result in
data loss.
If true, a failover is initated after the Active node flushes its
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>vc_spec=None</em>, <em>partial=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieves the status of a VCHA cluster. This method was added in
<li><strong>vc_spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.CredentialsSpec"title="com.vmware.vcenter.vcha_client.CredentialsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">CredentialsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains active node’s management vCenter server credentials.
If None, then the active vCenter server is assumed to be managed by
itself.</li>
<li><strong>partial</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>If true, then return only the information that does not require
connecting to the Active vCenter Server.</p>
<blockquote>
<div>If false or unset, then return all the information.</div></blockquote>
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">Info structure containing the VCHA configuration and health
<codeclass="descname">undeploy_task</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Cluster.undeploy_task"title="Permalink to this definition">¶</a></dt>
<dd><p>Destroys the VCHA cluster and removes all VCHA specific information
from the VCVA appliance. Optionally, the passive and witness node
virtual machines will be deleted only if VCHA was deployed using
automatic deployment. The active node in the cluster continues to run
as a standalone VCVA appliance after the destroy operation has been
performed.</p>
<p>If the VCHA cluster is in a transition state and not configured, then
the VCHA cluster specific information is removed.. This method was
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">ConnectionSpec</code><spanclass="sig-paren">(</span><em>hostname=None</em>, <em>port=None</em>, <em>ssl_thumbprint=None</em>, <em>username=None</em>, <em>password=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.ConnectionSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>hostname</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – IP Address or DNS of the vCenter. This attribute was added in
vSphere API 6.7 U1.</li>
<li><strong>port</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Port number. This attribute was added in vSphere API 6.7 U1.
If None, port 443 will be used.</li>
<li><strong>ssl_thumbprint</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – SHA1 hash of the server SSL certificate. This attribute was added
in vSphere API 6.7 U1.
If None, empty ssl thumbprint is assumed.</li>
<li><strong>username</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Username to access the server. This attribute was added in vSphere
API 6.7 U1.
This attribute is currently required. If None, an error is
returned. In the future, if this attribute is None, the system will
attempt to identify the user. If a user cannot be identified, then
the requested operation will fail.</li>
<li><strong>password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for the specified user. This attribute was added in
vSphere API 6.7 U1.
This attribute is currently required. If None, an empty password is
assumed. In the future, if this attribute is None, the system will
attempt to authenticate the user. If a user cannot be identified,
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">CredentialsSpec</code><spanclass="sig-paren">(</span><em>active_location=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.CredentialsSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>active_location</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.ConnectionSpec"title="com.vmware.vcenter.vcha_client.ConnectionSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ConnectionSpec</span></code></a>) – Connection information for the management vCenter Server of the
Active Node in a VCHA Cluster. This attribute was added in vSphere
API 6.7 U1.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.vcha_client.DiskInfo">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">DiskInfo</code><spanclass="sig-paren">(</span><em>datastore=None</em>, <em>datastore_name=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.DiskInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier of the datastore to put all the virtual disks on.
This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore:VCenter</span></code>. When methods return a value of this class as
a return value, the attribute will be an identifier for the
<li><strong>datastore_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the datastore. This attribute was added in vSphere API
6.7 U1.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.vcha_client.DiskSpec">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">DiskSpec</code><spanclass="sig-paren">(</span><em>datastore=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.DiskSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The identifier of the datastore to put all the virtual disks on.
This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore:VCenter</span></code>. When methods return a value of this class as
a return value, the attribute will be an identifier for the
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">IpFamily</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.IpFamily"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">IpFamily</span></code> class defines the Ip address family. This enumeration was
added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">IPV4</code><emclass="property"> = IpFamily(string='IPV4')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.IpFamily.IPV4"title="Permalink to this definition">¶</a></dt>
<dd><p>IPV4 address family. This class attribute was added in vSphere API 6.7 U1.</p>
<codeclass="descname">IPV6</code><emclass="property"> = IpFamily(string='IPV6')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.IpFamily.IPV6"title="Permalink to this definition">¶</a></dt>
<dd><p>IPv6 address family. This class attribute was added in vSphere API 6.7 U1.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.vcha_client.IpSpec">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">IpSpec</code><spanclass="sig-paren">(</span><em>ip_family=None</em>, <em>ipv4=None</em>, <em>ipv6=None</em>, <em>default_gateway=None</em>, <em>dns_servers=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.IpSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>ip_family</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.IpFamily"title="com.vmware.vcenter.vcha_client.IpFamily"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IpFamily</span></code></a>) – Family of the IP address to configure the interface. This attribute
was added in vSphere API 6.7 U1.</li>
<li><strong>ipv4</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Ipv4Spec"title="com.vmware.vcenter.vcha_client.Ipv4Spec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Ipv4Spec</span></code></a>) – If the family of the ip is IPV4, then this will point to IPv4
address specification. This attribute was added in vSphere API 6.7
U1.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">ipFamily</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.vcha_client.IpFamily.IPV4"title="com.vmware.vcenter.vcha_client.IpFamily.IPV4"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">IpFamily.IPV4</span></code></a>.</li>
<li><strong>ipv6</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Ipv6Spec"title="com.vmware.vcenter.vcha_client.Ipv6Spec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Ipv6Spec</span></code></a>) – If the family of the ip is IPV6, then this will point to IPv6
address specification. This attribute was added in vSphere API 6.7
U1.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">ipFamily</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.vcha_client.IpFamily.IPV6"title="com.vmware.vcenter.vcha_client.IpFamily.IPV6"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">IpFamily.IPV6</span></code></a>.</li>
<li><strong>default_gateway</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The IP address of the Gateway for this interface. This attribute
was added in vSphere API 6.7 U1.
If None, gateway will not be used for the network interface.</li>
<li><strong>dns_servers</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The list of IP addresses of the DNS servers for this interface.
This list is a comma separated list. This attribute was added in
vSphere API 6.7 U1.
If None, DNS servers will not be used for the network interface.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.vcha_client.Ipv4Spec">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">Ipv4Spec</code><spanclass="sig-paren">(</span><em>address=None</em>, <em>subnet_mask=None</em>, <em>prefix=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Ipv4Spec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – IPV4 address to be used to configure the interface. This attribute
was added in vSphere API 6.7 U1.</li>
<li><strong>subnet_mask</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The subnet mask for the interface. This attribute was added in
vSphere API 6.7 U1.
If None and the <codeclass="docutils literal notranslate"><spanclass="pre">prefix</span></code> attribute is None, then an error will be
reported.
If None and the <codeclass="docutils literal notranslate"><spanclass="pre">prefix</span></code> attribute is set, then the <codeclass="docutils literal notranslate"><spanclass="pre">prefix</span></code>
attribute will be used to create a subnet mask whose first prefix
bits are 1 and the remaining bits 0.
If both the <codeclass="docutils literal notranslate"><spanclass="pre">subnetMask</span></code> attribute and the <codeclass="docutils literal notranslate"><spanclass="pre">prefix</span></code> attribute
are set and they do not represent the same value, then an error
will be reported.</li>
<li><strong>prefix</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The CIDR prefix for the interface. This attribute was added in
vSphere API 6.7 U1.
If None and the <codeclass="docutils literal notranslate"><spanclass="pre">subnetMask</span></code> attribute is None, this an error
will be reported.
If None and the <codeclass="docutils literal notranslate"><spanclass="pre">subnetMask</span></code> attribute is set, then the
<codeclass="docutils literal notranslate"><spanclass="pre">subnetMask</span></code> attribute will be used.
If both the <codeclass="docutils literal notranslate"><spanclass="pre">subnetMask</span></code> attribute and the <codeclass="docutils literal notranslate"><spanclass="pre">prefix</span></code> attribute
are set and they do not represent the same value, then an error
will be reported.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.vcha_client.Ipv6Spec">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">Ipv6Spec</code><spanclass="sig-paren">(</span><em>address=None</em>, <em>prefix=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Ipv6Spec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – IPv6 address to be used to configure the interface. This attribute
was added in vSphere API 6.7 U1.</li>
<li><strong>prefix</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The CIDR prefix for the interface. This attribute was added in
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">NetworkType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.NetworkType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">NetworkType</span></code> class defines the type of a vCenter Server network.
This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DISTRIBUTED_PORTGROUP</code><emclass="property"> = NetworkType(string='DISTRIBUTED_PORTGROUP')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.NetworkType.DISTRIBUTED_PORTGROUP"title="Permalink to this definition">¶</a></dt>
<dd><p>Distributed virtual switch. This class attribute was added in vSphere API
<codeclass="descname">STANDARD_PORTGROUP</code><emclass="property"> = NetworkType(string='STANDARD_PORTGROUP')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.NetworkType.STANDARD_PORTGROUP"title="Permalink to this definition">¶</a></dt>
<dd><p>vSphere standard portgroup network. This class attribute was added in
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">Operations</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<codeclass="descname">CLUSTER_DEPLOY_OP</code><emclass="property"> = 'com.vmware.vcenter.vcha.cluster.deploy'</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.CLUSTER_DEPLOY_OP"title="Permalink to this definition">¶</a></dt>
<dd><p>Identifier of the cluster deploy operation. This class attribute was added in
<codeclass="descname">CLUSTER_FAILOVER_OP</code><emclass="property"> = 'com.vmware.vcenter.vcha.cluster.failover'</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.CLUSTER_FAILOVER_OP"title="Permalink to this definition">¶</a></dt>
<dd><p>Identifier of the cluster failover operation. This class attribute was added in
<codeclass="descname">CLUSTER_GET_OP</code><emclass="property"> = 'com.vmware.vcenter.vcha.cluster.get'</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.CLUSTER_GET_OP"title="Permalink to this definition">¶</a></dt>
<dd><p>Identifier of the cluster get operation. This class attribute was added in
<codeclass="descname">CLUSTER_UNDEPLOY_OP</code><emclass="property"> = 'com.vmware.vcenter.vcha.cluster.undeploy'</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.CLUSTER_UNDEPLOY_OP"title="Permalink to this definition">¶</a></dt>
<dd><p>Identifier of the cluster undeploy operation. This class attribute was added in
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>disabled=None</em>, <em>active=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>disabled</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifiers of the operations that are current disabled. These
operation strings are one of <aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Operations.CLUSTER_DEPLOY_OP"title="com.vmware.vcenter.vcha_client.Operations.CLUSTER_DEPLOY_OP"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Operations.CLUSTER_DEPLOY_OP</span></code></a>,
<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Operations.CLUSTER_UNDEPLOY_OP"title="com.vmware.vcenter.vcha_client.Operations.CLUSTER_UNDEPLOY_OP"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Operations.CLUSTER_UNDEPLOY_OP</span></code></a> and
<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Operations.CLUSTER_GET_OP"title="com.vmware.vcenter.vcha_client.Operations.CLUSTER_GET_OP"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Operations.CLUSTER_GET_OP</span></code></a>. This attribute was added in
vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must contain identifiers for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.operation</span></code>. When methods return a value of this
class as a return value, the attribute will contain identifiers for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.operation</span></code>.</li>
<li><strong>active</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifiers of the operations that are currently running. These
operation strings are one of <aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Operations.CLUSTER_DEPLOY_OP"title="com.vmware.vcenter.vcha_client.Operations.CLUSTER_DEPLOY_OP"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Operations.CLUSTER_DEPLOY_OP</span></code></a>,
<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Operations.MODE_SET_OP"title="com.vmware.vcenter.vcha_client.Operations.MODE_SET_OP"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Operations.MODE_SET_OP</span></code></a>, and
<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.Operations.CLUSTER_UNDEPLOY_OP"title="com.vmware.vcenter.vcha_client.Operations.CLUSTER_UNDEPLOY_OP"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Operations.CLUSTER_UNDEPLOY_OP</span></code></a>. This attribute was added in
vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must contain identifiers for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.operation</span></code>. When methods return a value of this
class as a return value, the attribute will contain identifiers for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.operation</span></code>.</li>
<codeclass="descname">MODE_GET_OP</code><emclass="property"> = 'com.vmware.vcenter.vcha.cluster.mode.get'</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.MODE_GET_OP"title="Permalink to this definition">¶</a></dt>
<dd><p>Identifier of the get mode operation. This class attribute was added in vSphere
<codeclass="descname">MODE_SET_OP</code><emclass="property"> = 'com.vmware.vcenter.vcha.cluster.mode.set'</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.MODE_SET_OP"title="Permalink to this definition">¶</a></dt>
<dd><p>Identifier of the set mode operation. This class attribute was added in vSphere
<codeclass="descname">PASSIVE_REDEPLOY_OP</code><emclass="property"> = 'com.vmware.vcenter.vcha.cluster.passive.redeploy'</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.PASSIVE_REDEPLOY_OP"title="Permalink to this definition">¶</a></dt>
<dd><p>Identifier of the passive redeploy operation. This class attribute was added in
<codeclass="descname">WITNESS_REDEPLOY_OP</code><emclass="property"> = 'com.vmware.vcenter.vcha.cluster.witness.redeploy'</em><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.WITNESS_REDEPLOY_OP"title="Permalink to this definition">¶</a></dt>
<dd><p>Identifier of the witness redeploy operation. This class attribute was added in
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.Operations.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieves the current active and disabled operations of a VCHA cluster.
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>management_vcenter_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the Management vCenter server of the VCHA node. This
attribute was added in vSphere API 6.7 U1.</li>
<li><strong>vm_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The virtual machine name of the VCHA node. This attribute was added
in vSphere API 6.7 U1.</li>
<li><strong>datacenter</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier of the datacenter of the VCHA node. This attribute
was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datacenter:VCenter</span></code>. When methods return a value of this class
as a return value, the attribute will be an identifier for the
<li><strong>datacenter_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the datacenter of the VCHA node. This attribute was
added in vSphere API 6.7 U1.</li>
<li><strong>host</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier of the host of the VCHA node. This attribute was
added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">HostSystem:VCenter</span></code>. When methods return a value of this class
as a return value, the attribute will be an identifier for the
<li><strong>host_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the host of the VCHA node. This attribute was added in
vSphere API 6.7 U1.</li>
<li><strong>cluster</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The identifier of the cluster of which <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> is member. This
attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">ClusterComputeResource:VCenter</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">ClusterComputeResource:VCenter</span></code>.
If None, <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> is a standalone host.</li>
<li><strong>cluster_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The name of the cluster of which <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> is member. This attribute
was added in vSphere API 6.7 U1.
If None, <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> is a standalone host.</li>
<li><strong>ha_network</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The identifier of the Network object used for the HA network. This
attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Network:VCenter</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
If None, the information is currently unavailable or the haNetwork
is not configured.</li>
<li><strong>ha_network_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The name of the Network object used for the HA network. This
attribute was added in vSphere API 6.7 U1.
If None, the information is currently unavailable or the haNetwork
is not configured.</li>
<li><strong>ha_network_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.NetworkType"title="com.vmware.vcenter.vcha_client.NetworkType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">NetworkType</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The type of the Network object used for the HA network. This
attribute was added in vSphere API 6.7 U1.
If None, the information is currently unavailable or the haNetwork
is not configured.</li>
<li><strong>management_network</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier of the Network object used for the Management
network. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Network:VCenter</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<li><strong>management_network_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the Network object used for the Management network.
This attribute was added in vSphere API 6.7 U1.</li>
<li><strong>management_network_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.NetworkType"title="com.vmware.vcenter.vcha_client.NetworkType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">NetworkType</span></code></a>) – The type of the Network object used for the Management network.
This attribute was added in vSphere API 6.7 U1.</li>
<li><strong>storage</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.DiskInfo"title="com.vmware.vcenter.vcha_client.DiskInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">DiskInfo</span></code></a>) – The storage information of the VCHA node. This attribute was added
in vSphere API 6.7 U1.</li>
<li><strong>bios_uuid</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – BIOS UUID for the node. This attribute was added in vSphere API 6.7
U1.
If None, the information is currently unavailable.</li>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The name of the VCHA node to be used for the virtual machine name.
This attribute was added in vSphere API 6.7 U1.</li>
<li><strong>folder</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier of the folder to deploy the VCHA node to. This
attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Folder:VCenter</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<li><strong>host</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The identifier of the host to deploy the VCHA node to. This
attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">HostSystem:VCenter</span></code>. When methods return a value of this class
as a return value, the attribute will be an identifier for the
<li><strong>resource_pool</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The identifier of the resource pool to deploy the VCHA node to.
This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">ResourcePool:VCenter</span></code>. When methods return a value of this class
as a return value, the attribute will be an identifier for the
If None, then the active node’s resource pool will be used.</li>
<li><strong>ha_network_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.NetworkType"title="com.vmware.vcenter.vcha_client.NetworkType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">NetworkType</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The type of the Network object used by the HA network.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network</span></code> attribute is set, then the
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network_type</span></code> field must be set.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network</span></code> attribute is None, then the
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network_type</span></code> attribute is ignored. This
attribute was added in vSphere API 6.7 U1.
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network</span></code> attribute is
unset, then the same network present on the Active node virtual
machine is used to deploy the virtual machine with an assumption
that the network is present on the destination.
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network</span></code> attribute is set,
then an error is reported.</li>
<li><strong>ha_network</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The identifier of the Network object used for the HA network.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network</span></code> attribute is set, then the
{#link #haNetworkType} attribute must be set.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network</span></code> attribute is None, then the
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network_type</span></code> attribute is ignored. This
attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Network:VCenter</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.ha_network_type</span></code> attribute is
unset, then the same network present on the Active node virtual
machine is used to deploy the virtual machine with an assumption
that the network is present on the destination.</li>
<li><strong>management_network_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.NetworkType"title="com.vmware.vcenter.vcha_client.NetworkType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">NetworkType</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The type of the Network object used by the Management network.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network</span></code> attribute is set,
then the {#link #managementNetworkType} field must be set.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network</span></code> attribute is None,
then the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network_type</span></code> attribute is
ignored. This attribute was added in vSphere API 6.7 U1.
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network</span></code> attribute
is unset, then the same network present on the Active node virtual
machine is used to deploy the virtual machine with an assumption
that the network is present on the destination.
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network</span></code> attribute
is set, then an error is reported.</li>
<li><strong>management_network</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The identifier of the Network object used for the Management
network. If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network</span></code> attribute
is set, then the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network_type</span></code>
attribute must be set.
If the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network</span></code> attribute is None,
then the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network_type</span></code> attribute is
ignored. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Network:VCenter</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
If None and the <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">PlacementSpec.management_network_type</span></code>
attribute is unset, then the same network present on the Active
node virtual machine is used to deploy the virtual machine with an
assumption that the network is present on the destination.</li>
<li><strong>storage</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha_client.DiskSpec"title="com.vmware.vcenter.vcha_client.DiskSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">DiskSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The storage specification to deploy the VCHA node to. This
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-vm-client-module"></span><h2>com.vmware.vcenter.vm_client module<aclass="headerlink"href="#module-com.vmware.vcenter.vm_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vm_client</span></code> module provides classes for managing
virtual machines.</p>
<dlclass="class">
<dtid="com.vmware.vcenter.vm_client.GuestOS">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vm_client.</code><codeclass="descname">GuestOS</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">GuestOS</span></code> class defines the valid guest operating system types used
for configuring a virtual machine.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">AMAZONLINUX2_64</code><emclass="property"> = GuestOS(string='AMAZONLINUX2_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.AMAZONLINUX2_64"title="Permalink to this definition">¶</a></dt>
<dd><p>Amazon Linux 2 (64 bit). This class attribute was added in vSphere API 6.7
<codeclass="descname">ASIANUX_3</code><emclass="property"> = GuestOS(string='ASIANUX_3')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ASIANUX_3_64</code><emclass="property"> = GuestOS(string='ASIANUX_3_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_3_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ASIANUX_4</code><emclass="property"> = GuestOS(string='ASIANUX_4')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ASIANUX_4_64</code><emclass="property"> = GuestOS(string='ASIANUX_4_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_4_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ASIANUX_5_64</code><emclass="property"> = GuestOS(string='ASIANUX_5_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_5_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ASIANUX_7_64</code><emclass="property"> = GuestOS(string='ASIANUX_7_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ASIANUX_7_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ASIANUX_8_64</code><emclass="property"> = GuestOS(string='ASIANUX_8_64')</em><aclass="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
<codeclass="descname">CENTOS</code><emclass="property"> = GuestOS(string='CENTOS')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">CENTOS_6</code><emclass="property"> = GuestOS(string='CENTOS_6')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_6"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">CENTOS_64</code><emclass="property"> = GuestOS(string='CENTOS_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">CENTOS_6_64</code><emclass="property"> = GuestOS(string='CENTOS_6_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_6_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">CENTOS_7</code><emclass="property"> = GuestOS(string='CENTOS_7')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_7"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">CENTOS_7_64</code><emclass="property"> = GuestOS(string='CENTOS_7_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.CENTOS_7_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">CENTOS_8_64</code><emclass="property"> = GuestOS(string='CENTOS_8_64')</em><aclass="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>
<codeclass="descname">COREOS_64</code><emclass="property"> = GuestOS(string='COREOS_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.COREOS_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN</code><emclass="property"> = GuestOS(string='DARWIN')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_10</code><emclass="property"> = GuestOS(string='DARWIN_10')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_10"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_10_64</code><emclass="property"> = GuestOS(string='DARWIN_10_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_10_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_11</code><emclass="property"> = GuestOS(string='DARWIN_11')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_11"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_11_64</code><emclass="property"> = GuestOS(string='DARWIN_11_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_11_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_12_64</code><emclass="property"> = GuestOS(string='DARWIN_12_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_12_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_13_64</code><emclass="property"> = GuestOS(string='DARWIN_13_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_13_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_14_64</code><emclass="property"> = GuestOS(string='DARWIN_14_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_14_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_15_64</code><emclass="property"> = GuestOS(string='DARWIN_15_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_15_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_16_64</code><emclass="property"> = GuestOS(string='DARWIN_16_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_16_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DARWIN_17_64</code><emclass="property"> = GuestOS(string='DARWIN_17_64')</em><aclass="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>
<codeclass="descname">DARWIN_18_64</code><emclass="property"> = GuestOS(string='DARWIN_18_64')</em><aclass="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>
<codeclass="descname">DARWIN_64</code><emclass="property"> = GuestOS(string='DARWIN_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DARWIN_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_10</code><emclass="property"> = GuestOS(string='DEBIAN_10')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_10_64</code><emclass="property"> = GuestOS(string='DEBIAN_10_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_10_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_4</code><emclass="property"> = GuestOS(string='DEBIAN_4')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_4_64</code><emclass="property"> = GuestOS(string='DEBIAN_4_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_4_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_5</code><emclass="property"> = GuestOS(string='DEBIAN_5')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_5_64</code><emclass="property"> = GuestOS(string='DEBIAN_5_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_5_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_6</code><emclass="property"> = GuestOS(string='DEBIAN_6')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_6_64</code><emclass="property"> = GuestOS(string='DEBIAN_6_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_6_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_7</code><emclass="property"> = GuestOS(string='DEBIAN_7')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_7_64</code><emclass="property"> = GuestOS(string='DEBIAN_7_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_7_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_8</code><emclass="property"> = GuestOS(string='DEBIAN_8')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_8_64</code><emclass="property"> = GuestOS(string='DEBIAN_8_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_8_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_9</code><emclass="property"> = GuestOS(string='DEBIAN_9')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DEBIAN_9"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">DEBIAN_9_64</code><emclass="property"> = GuestOS(string='DEBIAN_9_64')</em><aclass="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>
<dlclass="attribute">
<dtid="com.vmware.vcenter.vm_client.GuestOS.DOS">
<codeclass="descname">DOS</code><emclass="property"> = GuestOS(string='DOS')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.DOS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ECOMSTATION</code><emclass="property"> = GuestOS(string='ECOMSTATION')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ECOMSTATION_2</code><emclass="property"> = GuestOS(string='ECOMSTATION_2')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ECOMSTATION_2"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">FEDORA</code><emclass="property"> = GuestOS(string='FEDORA')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.FEDORA"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">FEDORA_64</code><emclass="property"> = GuestOS(string='FEDORA_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.FEDORA_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">FREEBSD</code><emclass="property"> = GuestOS(string='FREEBSD')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">FREEBSD_11</code><emclass="property"> = GuestOS(string='FREEBSD_11')</em><aclass="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>
<codeclass="descname">FREEBSD_11_64</code><emclass="property"> = GuestOS(string='FREEBSD_11_64')</em><aclass="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>
<codeclass="descname">FREEBSD_12</code><emclass="property"> = GuestOS(string='FREEBSD_12')</em><aclass="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>
<codeclass="descname">FREEBSD_12_64</code><emclass="property"> = GuestOS(string='FREEBSD_12_64')</em><aclass="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>
<codeclass="descname">FREEBSD_64</code><emclass="property"> = GuestOS(string='FREEBSD_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.FREEBSD_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">GENERIC_LINUX</code><emclass="property"> = GuestOS(string='GENERIC_LINUX')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.GENERIC_LINUX"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">MANDRAKE</code><emclass="property"> = GuestOS(string='MANDRAKE')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.MANDRAKE"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">MANDRIVA</code><emclass="property"> = GuestOS(string='MANDRIVA')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.MANDRIVA"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">MANDRIVA_64</code><emclass="property"> = GuestOS(string='MANDRIVA_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.MANDRIVA_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">NETWARE_4</code><emclass="property"> = GuestOS(string='NETWARE_4')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.NETWARE_4"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">NETWARE_5</code><emclass="property"> = GuestOS(string='NETWARE_5')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.NETWARE_5"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">NETWARE_6</code><emclass="property"> = GuestOS(string='NETWARE_6')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.NETWARE_6"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">NLD_9</code><emclass="property"> = GuestOS(string='NLD_9')</em><aclass="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>
<dlclass="attribute">
<dtid="com.vmware.vcenter.vm_client.GuestOS.OES">
<codeclass="descname">OES</code><emclass="property"> = GuestOS(string='OES')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OES"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OPENSERVER_5</code><emclass="property"> = GuestOS(string='OPENSERVER_5')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_5"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OPENSERVER_6</code><emclass="property"> = GuestOS(string='OPENSERVER_6')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OPENSERVER_6"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OPENSUSE</code><emclass="property"> = GuestOS(string='OPENSUSE')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OPENSUSE"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OPENSUSE_64</code><emclass="property"> = GuestOS(string='OPENSUSE_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OPENSUSE_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ORACLE_LINUX</code><emclass="property"> = GuestOS(string='ORACLE_LINUX')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ORACLE_LINUX_6</code><emclass="property"> = GuestOS(string='ORACLE_LINUX_6')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ORACLE_LINUX_64</code><emclass="property"> = GuestOS(string='ORACLE_LINUX_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ORACLE_LINUX_6_64</code><emclass="property"> = GuestOS(string='ORACLE_LINUX_6_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_6_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ORACLE_LINUX_7</code><emclass="property"> = GuestOS(string='ORACLE_LINUX_7')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ORACLE_LINUX_7_64</code><emclass="property"> = GuestOS(string='ORACLE_LINUX_7_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.ORACLE_LINUX_7_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ORACLE_LINUX_8_64</code><emclass="property"> = GuestOS(string='ORACLE_LINUX_8_64')</em><aclass="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>
<dlclass="attribute">
<dtid="com.vmware.vcenter.vm_client.GuestOS.OS2">
<codeclass="descname">OS2</code><emclass="property"> = GuestOS(string='OS2')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OS2"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OTHER</code><emclass="property"> = GuestOS(string='OTHER')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OTHER"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OTHER_24X_LINUX</code><emclass="property"> = GuestOS(string='OTHER_24X_LINUX')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OTHER_24X_LINUX_64</code><emclass="property"> = GuestOS(string='OTHER_24X_LINUX_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_24X_LINUX_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OTHER_26X_LINUX</code><emclass="property"> = GuestOS(string='OTHER_26X_LINUX')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OTHER_26X_LINUX_64</code><emclass="property"> = GuestOS(string='OTHER_26X_LINUX_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_26X_LINUX_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OTHER_3X_LINUX</code><emclass="property"> = GuestOS(string='OTHER_3X_LINUX')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OTHER_3X_LINUX_64</code><emclass="property"> = GuestOS(string='OTHER_3X_LINUX_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_3X_LINUX_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OTHER_4X_LINUX</code><emclass="property"> = GuestOS(string='OTHER_4X_LINUX')</em><aclass="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>
<codeclass="descname">OTHER_4X_LINUX_64</code><emclass="property"> = GuestOS(string='OTHER_4X_LINUX_64')</em><aclass="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
<codeclass="descname">OTHER_64</code><emclass="property"> = GuestOS(string='OTHER_64')</em><aclass="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>
<codeclass="descname">OTHER_LINUX</code><emclass="property"> = GuestOS(string='OTHER_LINUX')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OTHER_LINUX_64</code><emclass="property"> = GuestOS(string='OTHER_LINUX_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.OTHER_LINUX_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">REDHAT</code><emclass="property"> = GuestOS(string='REDHAT')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.REDHAT"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_2</code><emclass="property"> = GuestOS(string='RHEL_2')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_2"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_3</code><emclass="property"> = GuestOS(string='RHEL_3')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_3"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_3_64</code><emclass="property"> = GuestOS(string='RHEL_3_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_3_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_4</code><emclass="property"> = GuestOS(string='RHEL_4')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_4"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_4_64</code><emclass="property"> = GuestOS(string='RHEL_4_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_4_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_5</code><emclass="property"> = GuestOS(string='RHEL_5')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_5"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_5_64</code><emclass="property"> = GuestOS(string='RHEL_5_64')</em><aclass="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>
<codeclass="descname">RHEL_6</code><emclass="property"> = GuestOS(string='RHEL_6')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_6"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_6_64</code><emclass="property"> = GuestOS(string='RHEL_6_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_6_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_7</code><emclass="property"> = GuestOS(string='RHEL_7')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_7"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_7_64</code><emclass="property"> = GuestOS(string='RHEL_7_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.RHEL_7_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">RHEL_8_64</code><emclass="property"> = GuestOS(string='RHEL_8_64')</em><aclass="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
<codeclass="descname">SJDS</code><emclass="property"> = GuestOS(string='SJDS')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SJDS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SLES</code><emclass="property"> = GuestOS(string='SLES')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SLES"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SLES_10</code><emclass="property"> = GuestOS(string='SLES_10')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SLES_10"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SLES_10_64</code><emclass="property"> = GuestOS(string='SLES_10_64')</em><aclass="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>
<codeclass="descname">SLES_11</code><emclass="property"> = GuestOS(string='SLES_11')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SLES_11"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SLES_11_64</code><emclass="property"> = GuestOS(string='SLES_11_64')</em><aclass="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>
<codeclass="descname">SLES_12</code><emclass="property"> = GuestOS(string='SLES_12')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SLES_12"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SLES_12_64</code><emclass="property"> = GuestOS(string='SLES_12_64')</em><aclass="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>
<codeclass="descname">SLES_15_64</code><emclass="property"> = GuestOS(string='SLES_15_64')</em><aclass="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
<codeclass="descname">SLES_64</code><emclass="property"> = GuestOS(string='SLES_64')</em><aclass="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>
<codeclass="descname">SOLARIS_10</code><emclass="property"> = GuestOS(string='SOLARIS_10')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SOLARIS_10_64</code><emclass="property"> = GuestOS(string='SOLARIS_10_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_10_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SOLARIS_11_64</code><emclass="property"> = GuestOS(string='SOLARIS_11_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_11_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SOLARIS_6</code><emclass="property"> = GuestOS(string='SOLARIS_6')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_6"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SOLARIS_7</code><emclass="property"> = GuestOS(string='SOLARIS_7')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_7"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SOLARIS_8</code><emclass="property"> = GuestOS(string='SOLARIS_8')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_8"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SOLARIS_9</code><emclass="property"> = GuestOS(string='SOLARIS_9')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SOLARIS_9"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SUSE</code><emclass="property"> = GuestOS(string='SUSE')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SUSE"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SUSE_64</code><emclass="property"> = GuestOS(string='SUSE_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.SUSE_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">TURBO_LINUX</code><emclass="property"> = GuestOS(string='TURBO_LINUX')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">TURBO_LINUX_64</code><emclass="property"> = GuestOS(string='TURBO_LINUX_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.TURBO_LINUX_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">UBUNTU</code><emclass="property"> = GuestOS(string='UBUNTU')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.UBUNTU"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">UBUNTU_64</code><emclass="property"> = GuestOS(string='UBUNTU_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.UBUNTU_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">UNIXWARE_7</code><emclass="property"> = GuestOS(string='UNIXWARE_7')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.UNIXWARE_7"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMKERNEL</code><emclass="property"> = GuestOS(string='VMKERNEL')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMKERNEL_5</code><emclass="property"> = GuestOS(string='VMKERNEL_5')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_5"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMKERNEL_6</code><emclass="property"> = GuestOS(string='VMKERNEL_6')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_6"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMKERNEL_65</code><emclass="property"> = GuestOS(string='VMKERNEL_65')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.VMKERNEL_65"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMWARE_PHOTON_64</code><emclass="property"> = GuestOS(string='VMWARE_PHOTON_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.VMWARE_PHOTON_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_7</code><emclass="property"> = GuestOS(string='WINDOWS_7')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_7_64</code><emclass="property"> = GuestOS(string='WINDOWS_7_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_7_SERVER_64</code><emclass="property"> = GuestOS(string='WINDOWS_7_SERVER_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_7_SERVER_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_8</code><emclass="property"> = GuestOS(string='WINDOWS_8')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_8_64</code><emclass="property"> = GuestOS(string='WINDOWS_8_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_8_SERVER_64</code><emclass="property"> = GuestOS(string='WINDOWS_8_SERVER_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_8_SERVER_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_9</code><emclass="property"> = GuestOS(string='WINDOWS_9')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_9_64</code><emclass="property"> = GuestOS(string='WINDOWS_9_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_9_SERVER_64</code><emclass="property"> = GuestOS(string='WINDOWS_9_SERVER_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_9_SERVER_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WINDOWS_HYPERV</code><emclass="property"> = GuestOS(string='WINDOWS_HYPERV')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WINDOWS_HYPERV"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_2000_ADV_SERV</code><emclass="property"> = GuestOS(string='WIN_2000_ADV_SERV')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_2000_ADV_SERV"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_2000_PRO</code><emclass="property"> = GuestOS(string='WIN_2000_PRO')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_2000_PRO"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_2000_SERV</code><emclass="property"> = GuestOS(string='WIN_2000_SERV')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_2000_SERV"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_31</code><emclass="property"> = GuestOS(string='WIN_31')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_31"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_95</code><emclass="property"> = GuestOS(string='WIN_95')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_95"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_98</code><emclass="property"> = GuestOS(string='WIN_98')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_98"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_LONGHORN</code><emclass="property"> = GuestOS(string='WIN_LONGHORN')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_LONGHORN_64</code><emclass="property"> = GuestOS(string='WIN_LONGHORN_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_LONGHORN_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_ME</code><emclass="property"> = GuestOS(string='WIN_ME')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_ME"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_NET_BUSINESS</code><emclass="property"> = GuestOS(string='WIN_NET_BUSINESS')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_BUSINESS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_NET_DATACENTER</code><emclass="property"> = GuestOS(string='WIN_NET_DATACENTER')</em><aclass="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>
<codeclass="descname">WIN_NET_DATACENTER_64</code><emclass="property"> = GuestOS(string='WIN_NET_DATACENTER_64')</em><aclass="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>
<codeclass="descname">WIN_NET_ENTERPRISE</code><emclass="property"> = GuestOS(string='WIN_NET_ENTERPRISE')</em><aclass="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>
<codeclass="descname">WIN_NET_ENTERPRISE_64</code><emclass="property"> = GuestOS(string='WIN_NET_ENTERPRISE_64')</em><aclass="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>
<codeclass="descname">WIN_NET_STANDARD</code><emclass="property"> = GuestOS(string='WIN_NET_STANDARD')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_STANDARD"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_NET_STANDARD_64</code><emclass="property"> = GuestOS(string='WIN_NET_STANDARD_64')</em><aclass="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>
<codeclass="descname">WIN_NET_WEB</code><emclass="property"> = GuestOS(string='WIN_NET_WEB')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NET_WEB"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_NT</code><emclass="property"> = GuestOS(string='WIN_NT')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_NT"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_VISTA</code><emclass="property"> = GuestOS(string='WIN_VISTA')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_VISTA_64</code><emclass="property"> = GuestOS(string='WIN_VISTA_64')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_VISTA_64"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_XP_HOME</code><emclass="property"> = GuestOS(string='WIN_XP_HOME')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_XP_HOME"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_XP_PRO</code><emclass="property"> = GuestOS(string='WIN_XP_PRO')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOS.WIN_XP_PRO"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WIN_XP_PRO_64</code><emclass="property"> = GuestOS(string='WIN_XP_PRO_64')</em><aclass="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>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vm_client.</code><codeclass="descname">GuestOSFamily</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.GuestOSFamily"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="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>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DARWIN</code><emclass="property"> = GuestOSFamily(string='DARWIN')</em><aclass="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>
<codeclass="descname">LINUX</code><emclass="property"> = GuestOSFamily(string='LINUX')</em><aclass="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>
<codeclass="descname">NETWARE</code><emclass="property"> = GuestOSFamily(string='NETWARE')</em><aclass="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>
<codeclass="descname">OTHER</code><emclass="property"> = GuestOSFamily(string='OTHER')</em><aclass="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>
<codeclass="descname">SOLARIS</code><emclass="property"> = GuestOSFamily(string='SOLARIS')</em><aclass="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
<codeclass="descname">WINDOWS</code><emclass="property"> = GuestOSFamily(string='WINDOWS')</em><aclass="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>
<dlclass="class">
<dtid="com.vmware.vcenter.vm_client.Hardware">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vm_client.</code><codeclass="descname">Hardware</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Info"title="Permalink to this definition">¶</a></dt>
<li><strong>upgrade_version</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_client.Hardware.Version"title="com.vmware.vcenter.vm_client.Hardware.Version"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Hardware.Version</span></code></a>) – Target hardware version to be used on the next scheduled virtual
hardware upgrade.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">upgradePolicy</span></code> is one of
<aclass="reference internal"href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN"title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Hardware.UpgradePolicy.AFTER_CLEAN_SHUTDOWN</span></code></a> or
<emclass="property">class </em><codeclass="descname">UpdateSpec</code><spanclass="sig-paren">(</span><em>upgrade_policy=None</em>, <em>upgrade_version=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.UpdateSpec"title="Permalink to this definition">¶</a></dt>
<p>If set to <aclass="reference internal"href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER"title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Hardware.UpgradePolicy.NEVER</span></code></a>, the
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Hardware.Info.upgrade_version</span></code> attribute will be reset to
None.
If None, the value is unchanged.</p>
</li>
<li><strong>upgrade_version</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_client.Hardware.Version"title="com.vmware.vcenter.vm_client.Hardware.Version"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Hardware.Version</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Target hardware version to be used on the next scheduled virtual
hardware upgrade.</p>
<p>If specified, this attribute must represent a newer virtual
hardware version than the current virtual hardware version reported
in <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Hardware.Info.version</span></code>.
If <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Hardware.UpdateSpec.upgrade_policy</span></code> is set to
<aclass="reference internal"href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER"title="com.vmware.vcenter.vm_client.Hardware.UpgradePolicy.NEVER"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Hardware.UpgradePolicy.NEVER</span></code></a>, this attribute must be None.
Otherwise, if this attribute is None, default to the most recent
virtual hardware version supported by the server.</p>
<emclass="property">class </em><codeclass="descname">UpgradePolicy</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.UpgradePolicy"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Hardware.UpgradePolicy</span></code> class defines the valid virtual hardware
upgrade policies for a virtual machine.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">AFTER_CLEAN_SHUTDOWN</code><emclass="property"> = UpgradePolicy(string='AFTER_CLEAN_SHUTDOWN')</em><aclass="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
<codeclass="descname">ALWAYS</code><emclass="property"> = UpgradePolicy(string='ALWAYS')</em><aclass="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>
<codeclass="descname">NEVER</code><emclass="property"> = UpgradePolicy(string='NEVER')</em><aclass="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>
<emclass="property">class </em><codeclass="descname">UpgradeStatus</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.UpgradeStatus"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Hardware.UpgradeStatus</span></code> class defines the valid virtual hardware
upgrade statuses for a virtual machine.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FAILED</code><emclass="property"> = UpgradeStatus(string='FAILED')</em><aclass="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>
<codeclass="descname">NONE</code><emclass="property"> = UpgradeStatus(string='NONE')</em><aclass="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>
<codeclass="descname">PENDING</code><emclass="property"> = UpgradeStatus(string='PENDING')</em><aclass="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>
<codeclass="descname">SUCCESS</code><emclass="property"> = UpgradeStatus(string='SUCCESS')</em><aclass="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>
<emclass="property">class </em><codeclass="descname">Version</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Hardware.Version</span></code> class defines the valid virtual hardware versions
for a virtual machine.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">VMX_03</code><emclass="property"> = Version(string='VMX_03')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_03"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_04</code><emclass="property"> = Version(string='VMX_04')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_04"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_06</code><emclass="property"> = Version(string='VMX_06')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_06"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_07</code><emclass="property"> = Version(string='VMX_07')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_07"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_08</code><emclass="property"> = Version(string='VMX_08')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_08"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_09</code><emclass="property"> = Version(string='VMX_09')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_09"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_10</code><emclass="property"> = Version(string='VMX_10')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_10"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_11</code><emclass="property"> = Version(string='VMX_11')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_11"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_12</code><emclass="property"> = Version(string='VMX_12')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_12"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_13</code><emclass="property"> = Version(string='VMX_13')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Hardware.Version.VMX_13"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">VMX_14</code><emclass="property"> = Version(string='VMX_14')</em><aclass="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>
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>vm</em><spanclass="sig-paren">)</span><aclass="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>
<codeclass="descname">update</code><spanclass="sig-paren">(</span><em>vm</em>, <em>spec</em><spanclass="sig-paren">)</span><aclass="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>
<li><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_client.Hardware.UpdateSpec"title="com.vmware.vcenter.vm_client.Hardware.UpdateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Hardware.UpdateSpec</span></code></a>) – Specification for updating the virtual hardware settings of the
<codeclass="descname">upgrade</code><spanclass="sig-paren">(</span><em>vm</em>, <em>version=None</em><spanclass="sig-paren">)</span><aclass="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>
if the user doesn’t have the required privileges.</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.vm_client.Power">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vm_client.</code><codeclass="descname">Power</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Power"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
</tr>
</tbody>
</table>
<dlclass="class">
<dtid="com.vmware.vcenter.vm_client.Power.Info">
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>state=None</em>, <em>clean_power_off=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Power.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>state</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_client.Power.State"title="com.vmware.vcenter.vm_client.Power.State"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Power.State</span></code></a>) – Power state of the virtual machine.</li>
<li><strong>clean_power_off</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Flag indicating whether the virtual machine was powered off
cleanly. This attribute may be used to detect that the virtual
machine crashed unexpectedly and should be restarted.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">state</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.vm_client.Power.State.POWERED_OFF"title="com.vmware.vcenter.vm_client.Power.State.POWERED_OFF"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Power.State.POWERED_OFF</span></code></a>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.vm_client.Power.State">
<emclass="property">class </em><codeclass="descname">State</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Power.State"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Power.State</span></code> class defines the valid power states for a virtual
machine.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">POWERED_OFF</code><emclass="property"> = State(string='POWERED_OFF')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Power.State.POWERED_OFF"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">POWERED_ON</code><emclass="property"> = State(string='POWERED_ON')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Power.State.POWERED_ON"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SUSPENDED</code><emclass="property"> = State(string='SUSPENDED')</em><aclass="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>
<dlclass="method">
<dtid="com.vmware.vcenter.vm_client.Power.get">
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>vm</em><spanclass="sig-paren">)</span><aclass="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>
if the user doesn’t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="method">
<dtid="com.vmware.vcenter.vm_client.Power.reset">
<codeclass="descname">reset</code><spanclass="sig-paren">(</span><em>vm</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Power.reset"title="Permalink to this definition">¶</a></dt>
if the user doesn’t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="method">
<dtid="com.vmware.vcenter.vm_client.Power.start">
<codeclass="descname">start</code><spanclass="sig-paren">(</span><em>vm</em><spanclass="sig-paren">)</span><aclass="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>
if the user doesn’t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="method">
<dtid="com.vmware.vcenter.vm_client.Power.stop">
<codeclass="descname">stop</code><spanclass="sig-paren">(</span><em>vm</em><spanclass="sig-paren">)</span><aclass="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>
<codeclass="descname">suspend</code><spanclass="sig-paren">(</span><em>vm</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.Power.suspend"title="Permalink to this definition">¶</a></dt>
if the user doesn’t have the required privileges.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="com.vmware.vcenter.vm_client.StubFactory">
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vm_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-vm-template-client-module"></span><h2>com.vmware.vcenter.vm_template_client module<aclass="headerlink"href="#module-com.vmware.vcenter.vm_template_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="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>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vm_template_client.</code><codeclass="descname">LibraryItems</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">CpuInfo</code><spanclass="sig-paren">(</span><em>count=None</em>, <em>cores_per_socket=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>count</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Number of CPU cores. This attribute was added in vSphere API 6.7
U1.</li>
<li><strong>cores_per_socket</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Number of CPU cores per socket. This attribute was added in vSphere
<emclass="property">class </em><codeclass="descname">CpuUpdateSpec</code><spanclass="sig-paren">(</span><em>num_cpus=None</em>, <em>num_cores_per_socket=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuUpdateSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>num_cpus</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Number of virtual processors in the deployed virtual machine. This
attribute was added in vSphere API 6.7 U1.
If {\@term.unset}, the deployed virtual machine has the same CPU
count as the source virtual machine template contained in the
library item.</li>
<li><strong>num_cores_per_socket</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Number of cores among which to distribute CPUs in the deployed
virtual machine. This attribute was added in vSphere API 6.7 U1.
If {\@term.unset}, the deployed virtual machine has the same
number of cores per socket as the source virtual machine template
<emclass="property">class </em><codeclass="descname">CreatePlacementSpec</code><spanclass="sig-paren">(</span><em>folder=None</em>, <em>resource_pool=None</em>, <em>host=None</em>, <em>cluster=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreatePlacementSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>folder</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Virtual machine folder into which the virtual machine template
should be placed. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Folder</span></code>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Folder</span></code>.
If None, the virtual machine template will be placed in the same
folder as the source virtual machine.</li>
<li><strong>resource_pool</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Resource pool into which the virtual machine template should be
placed. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">ResourcePool</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
If None, the system will attempt to choose a suitable resource pool
for the virtual machine template; if a resource pool cannot be
chosen, the library item creation operation will fail.</li>
<li><strong>host</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Host onto which the virtual machine template should be placed. If
<codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> are both specified, <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code>
must belong to <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code>. If <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code> are both
specified, <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> must be a member of <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code>. This attribute
was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">HostSystem</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
This attribute may be None if <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code> is
specified. If None, the system will attempt to choose a suitable
host for the virtual machine template; if a host cannot be chosen,
the library item creation operation will fail.</li>
<li><strong>cluster</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Cluster onto which the virtual machine template should be placed.
If <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> are both specified,
<codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> must belong to <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code>. If <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code> and
<codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> are both specified, <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> must be a member of
<codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code>. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">ClusterComputeResource</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">ClusterComputeResource</span></code>.
If <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> is specified, it is recommended
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>source_vm</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the source virtual machine to create the library item
from. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">VirtualMachine</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the library item. This attribute was added in vSphere API
6.7 U1.</li>
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Description of the library item. This attribute was added in
vSphere API 6.7 U1.
If None, the newly created library item has the same description as
the source virtual machine.</li>
<li><strong>library</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the library in which the new library item should be
created. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.content.Library</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.content.Library</span></code>.</li>
<li><strong>vm_home_storage</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStorage"title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStorage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CreateSpecVmHomeStorage</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Storage location for the virtual machine template’s configuration
and log files. This attribute was added in vSphere API 6.7 U1.
If None, the virtual machine template’s configuration and log files
are placed on the default storage backing associated with the
library specified by <codeclass="docutils literal notranslate"><spanclass="pre">library</span></code>.</li>
<li><strong>disk_storage</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage"title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CreateSpecDiskStorage</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Storage specification for the virtual machine template’s disks.
This attribute was added in vSphere API 6.7 U1.
If both <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> are None, the
virtual machine template’s disks are placed in the default storage
backing associated with the library specified by <codeclass="docutils literal notranslate"><spanclass="pre">library</span></code>.</p>
<p>If <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> is None and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> is
specified, all of the virtual machine template’s disks are created
with the storage spec specified by <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code>.</p>
<p>If <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> is specified and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> is
None, disks with identifiers that are not in
<codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> are placed in the default storage backing
associated with the library specified by <codeclass="docutils literal notranslate"><spanclass="pre">library</span></code>.</p>
<p>If both <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> are specified,
disks with identifiers that are not in <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> are
created with the storage spec specified by <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code>.</p>
</li>
<li><strong>disk_storage_overrides</strong> ((<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and <aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage"title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CreateSpecDiskStorage</span></code></a>) or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Storage specification for individual disks in the virtual machine
template. This is specified as a mapping between disk identifiers
in the source virtual machine and their respective storage
specifications. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the key in
the attribute <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> must be an identifier for the resource
type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>. When methods return
a value of this class as a return value, the key in the attribute
<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> will be an identifier for the resource type:
If both <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> are None, the
virtual machine template’s disks are placed in the default storage
backing associated with the library specified by <codeclass="docutils literal notranslate"><spanclass="pre">library</span></code>.</p>
<p>If <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> is None and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> is
specified, all of the virtual machine template’s disks are created
with the storage spec specified by <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code>.</p>
<p>If <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> is specified and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> is
None, disks with identifiers that are not in
<codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> are placed in the default storage backing
associated with the library specified by <codeclass="docutils literal notranslate"><spanclass="pre">library</span></code>.</p>
<p>If both <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> are specified,
disks with identifiers that are not in <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> are
created with the storage spec specified by <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code>.</p>
</li>
<li><strong>placement</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreatePlacementSpec"title="com.vmware.vcenter.vm_template_client.LibraryItems.CreatePlacementSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CreatePlacementSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Information used to place the virtual machine template. This
attribute was added in vSphere API 6.7 U1.
This attribute is currently required. In the future, if this
attribute is None, the system will place the virtual machine
template on a suitable resource.</p>
<p>If specified, each attribute will be used for placement. If the
attributes result in disjoint placement, the operation will fail.
If the attributes along with the placement values of the source
virtual machine result in disjoint placement, the operation will
<emclass="property">class </em><codeclass="descname">CreateSpecDiskStorage</code><spanclass="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStorage"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Identifier for the datastore associated with a virtual machine
template’s disk. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
This attribute is currently required. If None, <codeclass="docutils literal notranslate"><spanclass="pre">storagePolicy</span></code>
must be set. The server picks a datastore that is compatible with
the specified storage policy.</p>
<p>If both <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">storagePolicy</span></code> are specified, and the
storage policy is incompatible with the <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code>, then the
disk will be flagged as being out of compliance with the specified
storage policy.</p>
</li>
<li><strong>storage_policy</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy"title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CreateSpecDiskStoragePolicy</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Storage policy for a virtual machine template’s disk. This
attribute was added in vSphere API 6.7 U1.
If None, <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code> must be specified and the virtual machine
template’s disk is created with the default storage policy
associated with the <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code>.</li>
<emclass="property">class </em><codeclass="descname">CreateSpecDiskStoragePolicy</code><spanclass="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type"title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CreateSpecDiskStoragePolicy.Type</span></code></a>) – Policy type to be used when creating a virtual machine template’s
disk. This attribute was added in vSphere API 6.7 U1.</li>
<li><strong>policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier for the storage policy to use. This attribute was added
in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is
<emclass="property">class </em><codeclass="descname">Type</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type"title="Permalink to this definition">¶</a></dt>
<p>Policy type for a virtual machine template’s disk. This enumeration was
added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">USE_SPECIFIED_POLICY</code><emclass="property"> = Type(string='USE_SPECIFIED_POLICY')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY"title="Permalink to this definition">¶</a></dt>
<dd><p>Use the specified policy. This class attribute was added in vSphere API 6.7
<emclass="property">class </em><codeclass="descname">CreateSpecVmHomeStorage</code><spanclass="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStorage"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Identifier of the datastore for the virtual machine template’s
configuration and log files. This attribute was added in vSphere
API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
This attribute is currently required. If None, <codeclass="docutils literal notranslate"><spanclass="pre">storagePolicy</span></code>
must be set. The server picks a datastore that is compatible with
the specified storage policy.</p>
<p>If both <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">storagePolicy</span></code> are specified, and the
storage policy is incompatible with the <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code>, then the
virtual machine template will be flagged as being out of compliance
with the specified storage policy.</p>
</li>
<li><strong>storage_policy</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy"title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CreateSpecVmHomeStoragePolicy</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Storage policy for the virtual machine template’s configuration and
log files. This attribute was added in vSphere API 6.7 U1.
If None, <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code> must be specified and the virtual machine
template’s configuration and log files are created with the default
storage policy associated with the <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code>.</li>
<emclass="property">class </em><codeclass="descname">CreateSpecVmHomeStoragePolicy</code><spanclass="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type"title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CreateSpecVmHomeStoragePolicy.Type</span></code></a>) – Policy type to be used when creating the virtual machine template’s
configuration and log files. This attribute was added in vSphere
API 6.7 U1.</li>
<li><strong>policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier for the storage policy to use. This attribute was added
in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is
<emclass="property">class </em><codeclass="descname">Type</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type"title="Permalink to this definition">¶</a></dt>
<p>Policy type for the virtual machine template’s configuration and log files.
This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">USE_SPECIFIED_POLICY</code><emclass="property"> = Type(string='USE_SPECIFIED_POLICY')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY"title="Permalink to this definition">¶</a></dt>
<dd><p>Use the specified policy. This class attribute was added in vSphere API 6.7
<emclass="property">class </em><codeclass="descname">DeployPlacementSpec</code><spanclass="sig-paren">(</span><em>folder=None</em>, <em>resource_pool=None</em>, <em>host=None</em>, <em>cluster=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeployPlacementSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>folder</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Virtual machine folder into which the deployed virtual machine
should be placed. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Folder</span></code>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Folder</span></code>.
This attribute is currently required.</p>
<p>If None, the system will attempt to choose a suitable folder for
the virtual machine; if a folder cannot be chosen, the virtual
machine deployment operation will fail.</p>
</li>
<li><strong>resource_pool</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Resource pool into which the deployed virtual machine should be
placed. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">ResourcePool</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
If None, the system will attempt to choose a suitable resource pool
for the virtual machine; if a resource pool cannot be chosen, the
virtual machine deployment operation will fail.</li>
<li><strong>host</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Host onto which the virtual machine should be placed. If <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code>
and <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> are both specified, <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> must
belong to <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code>. If <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code> are both specified,
<codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> must be a member of <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code>. This attribute was added
in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">HostSystem</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
This attribute may be None if <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code> is
specified. If None, the system will attempt to choose a suitable
host for the virtual machine; if a host cannot be chosen, the
virtual machine deployment operation will fail.</li>
<li><strong>cluster</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Cluster onto which the deployed virtual machine should be placed.
If <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> are both specified,
<codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> must belong to <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code>. If <codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code> and
<codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> are both specified, <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> must be a member of
<codeclass="docutils literal notranslate"><spanclass="pre">cluster</span></code>. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">ClusterComputeResource</span></code>. When methods return a value of this
class as a return value, the attribute will be an identifier for
the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">ClusterComputeResource</span></code>.
If <codeclass="docutils literal notranslate"><spanclass="pre">resourcePool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">host</span></code> is specified, it is recommended
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the deployed virtual machine. This attribute was added in
vSphere API 6.7 U1.</li>
<li><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Description of the deployed virtual machine. This attribute was
added in vSphere API 6.7 U1.
If None, the deployed virtual machine has the same description as
the source library item.</li>
<li><strong>vm_home_storage</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStorage"title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStorage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DeploySpecVmHomeStorage</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Storage location for the deployed virtual machine’s configuration
and log files. This attribute was added in vSphere API 6.7 U1.
If None, the deployed virtual machine’s configuration and log files
are created with the same storage spec as the source virtual
machine template’s configuration and log files.</li>
<li><strong>disk_storage</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage"title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DeploySpecDiskStorage</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Storage specification for the deployed virtual machine’s disks.
This attribute was added in vSphere API 6.7 U1.
If both <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> are None, the
deployed virtual machine’s disks are created with the same storage
spec as the corresponding disks in the source virtual machine
template contained in the library item.</p>
<p>If <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> is None and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> is
specified, all of the deployed virtual machine’s disks are created
with the storage spec specified by <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code>.</p>
<p>If <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> is specified and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> is
None, disks with identifiers that are not in
<codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> are created with the same storage spec as
the corresponding disks in the source virtual machine template
contained in the library item.</p>
<p>If both <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> are specified,
disks with identifiers that are not in <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> are
created with the storage spec specified by <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code>.</p>
</li>
<li><strong>disk_storage_overrides</strong> ((<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and <aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage"title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DeploySpecDiskStorage</span></code></a>) or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Storage specification for individual disks in the deployed virtual
machine. This is specified as a mapping between disk identifiers in
the source virtual machine template contained in the library item
and their storage specifications. This attribute was added in
vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the key in
the attribute <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> must be an identifier for the resource
type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>. When methods return
a value of this class as a return value, the key in the attribute
<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> will be an identifier for the resource type:
If both <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> are None, the
deployed virtual machine’s disks are created with the same storage
spec as the corresponding disks in the source virtual machine
template contained in the library item.</p>
<p>If <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> is None and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> is
specified, all of the deployed virtual machine’s disks are created
with the storage spec specified by <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code>.</p>
<p>If <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> is specified and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> is
None, disks with identifiers that are not in
<codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> are created with the same storage spec as
the corresponding disks in the source virtual machine template
contained in the library item.</p>
<p>If both <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code> are specified,
disks with identifiers that are not in <codeclass="docutils literal notranslate"><spanclass="pre">diskStorageOverrides</span></code> are
created with the storage spec specified by <codeclass="docutils literal notranslate"><spanclass="pre">diskStorage</span></code>.</p>
</li>
<li><strong>placement</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeployPlacementSpec"title="com.vmware.vcenter.vm_template_client.LibraryItems.DeployPlacementSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DeployPlacementSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Information used to place the deployed virtual machine. This
attribute was added in vSphere API 6.7 U1.
This attribute is currently required. In the future, if this
attribute is None, the system will use the values from the source
virtual machine template contained in the library item.</p>
<p>If specified, each attribute will be used for placement. If the
attributes result in disjoint placement, the operation will fail.
If the attributes along with the placement values of the source
virtual machine template result in disjoint placement, the
operation will fail.</p>
</li>
<li><strong>powered_on</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Specifies whether the deployed virtual machine should be powered on
after deployment. This attribute was added in vSphere API 6.7 U1.
If None, the virtual machine will not be powered on after
deployment.</li>
<li><strong>guest_customization</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.GuestCustomizationSpec"title="com.vmware.vcenter.vm_template_client.LibraryItems.GuestCustomizationSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.GuestCustomizationSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Guest customization spec to apply to the deployed virtual machine.
This attribute was added in vSphere API 6.7 U1.
If None, the guest operating system is not customized after
deployment.</li>
<li><strong>hardware_customization</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.HardwareCustomizationSpec"title="com.vmware.vcenter.vm_template_client.LibraryItems.HardwareCustomizationSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.HardwareCustomizationSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Hardware customization spec which specifies updates to the deployed
virtual machine. This attribute was added in vSphere API 6.7 U1.
If None, the deployed virtual machine has the same hardware
configuration as the source virtual machine template contained in
<emclass="property">class </em><codeclass="descname">DeploySpecDiskStorage</code><spanclass="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStorage"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Identifier for the datastore associated the deployed virtual
machine’s disk. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
This attribute is currently required. If None, <codeclass="docutils literal notranslate"><spanclass="pre">storagePolicy</span></code>
must be set. The server picks a datastore that is compatible with
the specified storage policy.</p>
<p>If both <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">storagePolicy</span></code> are specified, and the
storage policy is incompatible with the <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code>, then the
disk will be flagged as being out of compliance with the specified
storage policy.</p>
</li>
<li><strong>storage_policy</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy"title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DeploySpecDiskStoragePolicy</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Storage policy for the deployed virtual machine’s disk. This
attribute was added in vSphere API 6.7 U1.
If None, <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code> must be specified and the deployed virtual
machine’s disk is created with the default storage policy
associated with the <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code>.</li>
<emclass="property">class </em><codeclass="descname">DeploySpecDiskStoragePolicy</code><spanclass="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type"title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DeploySpecDiskStoragePolicy.Type</span></code></a>) – Policy type to be used when creating the deployed virtual machine’s
disk. This attribute was added in vSphere API 6.7 U1.</li>
<li><strong>policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the storage policy to use. This attribute was added
in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is
<emclass="property">class </em><codeclass="descname">Type</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type"title="Permalink to this definition">¶</a></dt>
<p>Policy type for the deployed virtual machine’s disk. This enumeration was
added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">USE_SOURCE_POLICY</code><emclass="property"> = Type(string='USE_SOURCE_POLICY')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SOURCE_POLICY"title="Permalink to this definition">¶</a></dt>
<dd><p>Use the storage policy that is associated with the corresponding disk in
the source virtual machine template. This class attribute was added in
<codeclass="descname">USE_SPECIFIED_POLICY</code><emclass="property"> = Type(string='USE_SPECIFIED_POLICY')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY"title="Permalink to this definition">¶</a></dt>
<dd><p>Use the specified policy. This class attribute was added in vSphere API 6.7
<emclass="property">class </em><codeclass="descname">DeploySpecVmHomeStorage</code><spanclass="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStorage"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Identifier of the datastore for the deployed virtual machine’s
configuration and log files. This attribute was added in vSphere
API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
This attribute is currently required. If None, <codeclass="docutils literal notranslate"><spanclass="pre">storagePolicy</span></code>
must be set. The server picks a datastore that is compatible with
the specified storage policy.</p>
<p>If both <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">storagePolicy</span></code> are specified, and the
storage policy is incompatible with the <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code>, then the
deployed virtual machine will be flagged as being out of compliance
with the specified storage policy.</p>
</li>
<li><strong>storage_policy</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy"title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DeploySpecVmHomeStoragePolicy</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Storage policy for the deployed virtual machine’s configuration and
log files. This attribute was added in vSphere API 6.7 U1.
If None, <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code> must be specified and the deployed virtual
machine’s configuration and log files are created with the default
storage policy associated with the <codeclass="docutils literal notranslate"><spanclass="pre">datastore</span></code>.</li>
<emclass="property">class </em><codeclass="descname">DeploySpecVmHomeStoragePolicy</code><spanclass="sig-paren">(</span><em>type=None</em>, <em>policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type"title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DeploySpecVmHomeStoragePolicy.Type</span></code></a>) – Policy type to be used when creating the deployed virtual machine’s
configuration and log files. This attribute was added in vSphere
API 6.7 U1.</li>
<li><strong>policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier for the storage policy to use. This attribute was added
in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is
<emclass="property">class </em><codeclass="descname">Type</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type"title="Permalink to this definition">¶</a></dt>
<p>Policy type for the deployed virtual machine’s configuration and log files.
This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">USE_SOURCE_POLICY</code><emclass="property"> = Type(string='USE_SOURCE_POLICY')</em><aclass="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. This class attribute was added in
<codeclass="descname">USE_SPECIFIED_POLICY</code><emclass="property"> = Type(string='USE_SPECIFIED_POLICY')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY"title="Permalink to this definition">¶</a></dt>
<dd><p>Use the specified policy. This class attribute was added in vSphere API 6.7
<emclass="property">class </em><codeclass="descname">DiskInfo</code><spanclass="sig-paren">(</span><em>capacity=None</em>, <em>disk_storage=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>capacity</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Capacity of the virtual disk in bytes. This attribute was added in
vSphere API 6.7 U1.
This attribute will be None if the virtual disk is inaccessible.</li>
<li><strong>disk_storage</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskStorageInfo"title="com.vmware.vcenter.vm_template_client.LibraryItems.DiskStorageInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DiskStorageInfo</span></code></a>) – Disk storage related information. This attribute was added in
<emclass="property">class </em><codeclass="descname">DiskStorageInfo</code><spanclass="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskStorageInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the datastore where the disk is stored. This
attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<li><strong>storage_policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the storage policy associated with the virtual disk.
This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>.
If None, the virtual disk does not have a storage policy associated
<emclass="property">class </em><codeclass="descname">DiskUpdateSpec</code><spanclass="sig-paren">(</span><em>capacity=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskUpdateSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>capacity</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Updated capacity of the virtual disk backing in bytes. This value
has to be larger than the original capacity of the disk. This
<emclass="property">class </em><codeclass="descname">EthernetInfo</code><spanclass="sig-paren">(</span><em>backing_type=None</em>, <em>mac_type=None</em>, <em>network=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>backing_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType"title="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.EthernetInfo.NetworkBackingType</span></code></a>) – Network backing type for the virtual Ethernet adapter. This
attribute was added in vSphere API 6.7 U1.</li>
<li><strong>mac_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType"title="com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.EthernetInfo.MacAddressType</span></code></a>) – MAC address type of the ethernet adapter. This attribute was added
in vSphere API 6.7 U1.</li>
<li><strong>network</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the network backing the virtual Ethernet adapter.
This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Network</span></code>.
When methods return a value of this class as a return value, the
attribute will be an identifier for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">Network</span></code>.
This attribute will be None if the identifier of the network
<emclass="property">class </em><codeclass="descname">MacAddressType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">LibraryItems.EthernetInfo.MacAddressType</span></code> class defines the valid
MAC address origins for a virtual Ethernet adapter. This enumeration was
added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">ASSIGNED</code><emclass="property"> = MacAddressType(string='ASSIGNED')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.ASSIGNED"title="Permalink to this definition">¶</a></dt>
<dd><p>MAC address is assigned by vCenter Server. This class attribute was added
<codeclass="descname">GENERATED</code><emclass="property"> = MacAddressType(string='GENERATED')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.GENERATED"title="Permalink to this definition">¶</a></dt>
<dd><p>MAC address is generated automatically. This class attribute was added in
<codeclass="descname">MANUAL</code><emclass="property"> = MacAddressType(string='MANUAL')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType.MANUAL"title="Permalink to this definition">¶</a></dt>
<dd><p>MAC address is assigned statically. This class attribute was added in
<emclass="property">class </em><codeclass="descname">NetworkBackingType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">LibraryItems.EthernetInfo.NetworkBackingType</span></code> class defines valid
network backing types for a virtual Ethernet adapter. This enumeration was
added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="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 <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DISTRIBUTED_PORTGROUP</code><emclass="property"> = NetworkBackingType(string='DISTRIBUTED_PORTGROUP')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.DISTRIBUTED_PORTGROUP"title="Permalink to this definition">¶</a></dt>
<dd><p>Distributed virtual switch backing. This class attribute was added in
<codeclass="descname">HOST_DEVICE</code><emclass="property"> = NetworkBackingType(string='HOST_DEVICE')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.HOST_DEVICE"title="Permalink to this definition">¶</a></dt>
<dd><p>Legacy host device network backing. Imported VMs may have virtual Ethernet
adapters with this type of backing, but this type of backing cannot be used
to create or to update a virtual Ethernet adapter. This class attribute was
<codeclass="descname">OPAQUE_NETWORK</code><emclass="property"> = NetworkBackingType(string='OPAQUE_NETWORK')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.OPAQUE_NETWORK"title="Permalink to this definition">¶</a></dt>
<dd><p>Opaque network backing. This class attribute was added in vSphere API 6.7
<codeclass="descname">STANDARD_PORTGROUP</code><emclass="property"> = NetworkBackingType(string='STANDARD_PORTGROUP')</em><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType.STANDARD_PORTGROUP"title="Permalink to this definition">¶</a></dt>
<dd><p>vSphere standard portgroup network backing. This class attribute was added
<emclass="property">class </em><codeclass="descname">EthernetUpdateSpec</code><spanclass="sig-paren">(</span><em>network=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.EthernetUpdateSpec"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">GuestCustomizationSpec</code><spanclass="sig-paren">(</span><em>name=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.GuestCustomizationSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Name of the customization specification. This attribute was added
in vSphere API 6.7 U1.
If None, no guest customization is performed.</td>
<emclass="property">class </em><codeclass="descname">HardwareCustomizationSpec</code><spanclass="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><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.HardwareCustomizationSpec"title="Permalink to this definition">¶</a></dt>
If None, all Ethernet adapters will remain connected to the same
network as they were in the source virtual machine template. An
Ethernet adapter with a MacAddressType of MANUAL will not change.
An Ethernet adapter with a MacAddressType of GENERATED or ASSIGNED
will receive a new address.</li>
<li><strong>disks_to_remove</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Idenfiers of disks to remove from the deployed virtual machine.
This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must contain identifiers for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>. When methods return a
value of this class as a return value, the attribute will contain
If None, disks in the deployed virtual machine will have the same
settings as the corresponding disks in the source virtual machine
template contained in the library item.</li>
<li><strong>cpu_update</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuUpdateSpec"title="com.vmware.vcenter.vm_template_client.LibraryItems.CpuUpdateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CpuUpdateSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – CPU update specification for the deployed virtual machine. This
attribute was added in vSphere API 6.7 U1.
If {\@term.unset}, the deployed virtual machine has the same CPU
settings as the source virtual machine template contained in the
library item.</li>
<li><strong>memory_update</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryUpdateSpec"title="com.vmware.vcenter.vm_template_client.LibraryItems.MemoryUpdateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.MemoryUpdateSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Memory update specification for the deployed virtual machine. This
attribute was added in vSphere API 6.7 U1.
If {\@term.unset}, the deployed virtual machine has the same
memory settings as the source virtual machine template contained in
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>guest_os</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_client.GuestOS"title="com.vmware.vcenter.vm_client.GuestOS"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vm_client.GuestOS</span></code></a>) – Configured guest operating system of the virtual machine template.
This attribute was added in vSphere API 6.7 U1.</li>
<li><strong>cpu</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CpuInfo"title="com.vmware.vcenter.vm_template_client.LibraryItems.CpuInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CpuInfo</span></code></a>) – CPU configuration of the virtual machine template. This attribute
was added in vSphere API 6.7 U1.</li>
<li><strong>memory</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryInfo"title="com.vmware.vcenter.vm_template_client.LibraryItems.MemoryInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.MemoryInfo</span></code></a>) – Memory configuration of the virtual machine template. This
attribute was added in vSphere API 6.7 U1.</li>
<li><strong>vm_home_storage</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.VmHomeStorageInfo"title="com.vmware.vcenter.vm_template_client.LibraryItems.VmHomeStorageInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.VmHomeStorageInfo</span></code></a>) – Storage information about the virtual machine template’s
configuration and log files. This attribute was added in vSphere
API 6.7 U1.</li>
<li><strong>disks</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> and <aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DiskInfo"title="com.vmware.vcenter.vm_template_client.LibraryItems.DiskInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DiskInfo</span></code></a>) – Storage information about the virtual machine template’s virtual
disks. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the key in
the attribute <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> must be an identifier for the resource
type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vm.hardware.Disk</span></code>. When methods return
a value of this class as a return value, the key in the attribute
<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dict</span></code> will be an identifier for the resource type:
<li><strong>vm_template</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the virtual machine template contained in the library
item. This field is used to identify the virtual machine template
in legacy APIs. This attribute was added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">VirtualMachine</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<emclass="property">class </em><codeclass="descname">MemoryInfo</code><spanclass="sig-paren">(</span><em>size_mib=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>size_mib</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Memory size in mebibytes. This attribute was added in vSphere API
<emclass="property">class </em><codeclass="descname">MemoryUpdateSpec</code><spanclass="sig-paren">(</span><em>memory=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.MemoryUpdateSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>memory</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Size of a virtual machine’s memory in MB. This attribute was added
in vSphere API 6.7 U1.
If {\@term.unset}, the deployed virtual machine has the same
memory size as the source virtual machine template.</td>
<emclass="property">class </em><codeclass="descname">VmHomeStorageInfo</code><spanclass="sig-paren">(</span><em>datastore=None</em>, <em>storage_policy=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.VmHomeStorageInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>datastore</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the datastore where the virtual machine template’s
configuration and log files are stored. This attribute was added in
vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">Datastore</span></code>. When methods return a value of this class as a
return value, the attribute will be an identifier for the resource
<li><strong>storage_policy</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the storage policy associated with the virtual
machine template’s configuration and log files. This attribute was
added in vSphere API 6.7 U1.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>. When methods return a value of
this class as a return value, the attribute will be an identifier
for the resource type: <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.spbm.StorageProfile</span></code>.
If None, the virtual machine template’s configuration and log files
do not have a storage policy associated with them.</li>
<codeclass="descname">create</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.LibraryItems.create"title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a library item in content library from a virtual machine. This
method creates a library item in content library whose content is a
virtual machine template created from the source virtual machine, using
the supplied create specification. The virtual machine template is
stored in a newly created library item. This method was added in
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><pclass="first"><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec"title="com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.CreateSpec</span></code></a>) – information used to create the library item from the source virtual
<codeclass="descname">deploy</code><spanclass="sig-paren">(</span><em>template_library_item</em>, <em>spec</em><spanclass="sig-paren">)</span><aclass="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
<codeclass="docutils literal notranslate"><spanclass="pre">template_library_item</span></code>. It uses the deployment specification in
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">LibraryItems.DeploySpec.guest_customization</span></code> are specified, the
server triggers the power on and/or guest customization operations,
which are executed asynchronously. This method was added in vSphere API
<li><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec"title="com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LibraryItems.DeploySpec</span></code></a>) – specification of how the virtual machine should be deployed.</li>
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>template_library_item</em><spanclass="sig-paren">)</span><aclass="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 <codeclass="docutils literal notranslate"><spanclass="pre">template_library_item</span></code>. This method was
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">Information about the virtual machine template item contained in
the library item.
If None, the library item specified by <codeclass="docutils literal notranslate"><spanclass="pre">template_library_item</span></code>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vm_template_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vm_template_client.StubFactory"title="Permalink to this definition">¶</a></dt>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.