<spanid="com-vmware-vcenter-storage-package"></span><h1>com.vmware.vcenter.storage package<aclass="headerlink"href="#module-com.vmware.vcenter.storage"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-storage-policies-client-module"></span><h2>com.vmware.vcenter.storage.policies_client module<aclass="headerlink"href="#module-com.vmware.vcenter.storage.policies_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vcenter.storage.policies_client.</code><codeclass="sig-name descname">Compliance</code><spanclass="sig-paren">(</span><emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<emclass="property">class </em><codeclass="sig-name descname">FilterSpec</code><spanclass="sig-paren">(</span><emclass="sig-param">status=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance.FilterSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Compliance.FilterSpec</span></code> class contains complianceStatus used to
filter the results when listing entities (see <aclass="reference internal"href="#com.vmware.vcenter.storage.policies_client.Compliance.list"title="com.vmware.vcenter.storage.policies_client.Compliance.list"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Compliance.list()</span></code></a>).
<ddclass="field-odd"><p><strong>status</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.storage.policies_client.Compliance.Status"title="com.vmware.vcenter.storage.policies_client.Compliance.Status"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Compliance.Status</span></code></a>) – Compliance Status that a virtual machine must have to match the
filter. This attribute was added in vSphere API 6.7.</p>
<emclass="property">class </em><codeclass="sig-name descname">Status</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance.Status"title="Permalink to this definition">¶</a></dt>
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname">COMPLIANT</code><emclass="property"> = Status(string='COMPLIANT')</em><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance.Status.COMPLIANT"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">NON_COMPLIANT</code><emclass="property"> = Status(string='NON_COMPLIANT')</em><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance.Status.NON_COMPLIANT"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">NOT_APPLICABLE</code><emclass="property"> = Status(string='NOT_APPLICABLE')</em><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance.Status.NOT_APPLICABLE"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">OUT_OF_DATE</code><emclass="property"> = Status(string='OUT_OF_DATE')</em><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance.Status.OUT_OF_DATE"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">UNKNOWN</code><emclass="property"> = Status(string='UNKNOWN')</em><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance.Status.UNKNOWN"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-name descname">Summary</code><spanclass="sig-paren">(</span><emclass="sig-param">vm=None</em>, <emclass="sig-param">vm_home=None</em>, <emclass="sig-param">disks=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance.Summary"title="Permalink to this definition">¶</a></dt>
<li><p><strong>vm</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of virtual machine. This attribute was added in vSphere
<li><p><strong>vm_home</strong> (<aclass="reference internal"href="#com.vmware.vcenter.storage.policies_client.Compliance.Status"title="com.vmware.vcenter.storage.policies_client.Compliance.Status"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Compliance.Status</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Compliance status of the virtual machine home. This attribute was
added in vSphere API 6.7.
If None or empty, vmHome is not associated with a storage policy.</p></li>
<li><p><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.storage.policies_client.Compliance.Status"title="com.vmware.vcenter.storage.policies_client.Compliance.Status"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Compliance.Status</span></code></a>) or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – List of the virtual hard disk. This attribute was added in vSphere
<codeclass="sig-name descname">list</code><spanclass="sig-paren">(</span><emclass="sig-param">filter</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.Compliance.list"title="Permalink to this definition">¶</a></dt>
association are not returned. This method was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>filter</strong> (<aclass="reference internal"href="#com.vmware.vcenter.storage.policies_client.Compliance.FilterSpec"title="com.vmware.vcenter.storage.policies_client.Compliance.FilterSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Compliance.FilterSpec</span></code></a>) – compliance status of matching entities for which information should
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vcenter.storage.policies_client.</code><codeclass="sig-name descname">StubFactory</code><spanclass="sig-paren">(</span><emclass="sig-param">stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vcenter.storage.policies_client.</code><codeclass="sig-name descname">VM</code><spanclass="sig-paren">(</span><emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.VM"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<emclass="property">class </em><codeclass="sig-name descname">Info</code><spanclass="sig-paren">(</span><emclass="sig-param">vm_home=None</em>, <emclass="sig-param">disks=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.VM.Info"title="Permalink to this definition">¶</a></dt>
<li><p><strong>vm_home</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Flag to indicate whether or not the virtual machine home is
<li><p><strong>disks</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – List of the virtual disks that are associated with the given
storage policy. This attribute was added in vSphere API 6.7.
<codeclass="sig-name descname">list</code><spanclass="sig-paren">(</span><emclass="sig-param">policy</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.storage.policies_client.VM.list"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>.