<spanid="com-vmware-nsx-policy-infra-realized-state-package"></span><h1>com.vmware.nsx_policy.infra.realized_state package<aclass="headerlink"href="#module-com.vmware.nsx_policy.infra.realized_state"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-nsx-policy-infra-realized-state-enforcement-points-client-module"></span><h2>com.vmware.nsx_policy.infra.realized_state.enforcement_points_client module<aclass="headerlink"href="#module-com.vmware.nsx_policy.infra.realized_state.enforcement_points_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.nsx_policy.infra.realized_state.enforcement_points_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.realized_state.enforcement_points_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.nsx_policy.infra.realized_state.enforcement_points_client.</code><codeclass="descname">Vifs</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.realized_state.enforcement_points_client.Vifs"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>
<codeclass="descname">list</code><spanclass="sig-paren">(</span><em>enforcement_point_name</em>, <em>cursor=None</em>, <em>included_fields=None</em>, <em>lport_attachment_id=None</em>, <em>page_size=None</em>, <em>sort_ascending=None</em>, <em>sort_by=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.realized_state.enforcement_points_client.Vifs.list"title="Permalink to this definition">¶</a></dt>
<dd><p>This API lists VIFs from the specified NSX Manager.</p>
<li><p><strong>cursor</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Opaque cursor to be used for getting next page of records (supplied
by current result page) (optional)</p></li>
<li><p><strong>included_fields</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Comma separated list of fields that should be included in query
result (optional)</p></li>
<li><p><strong>lport_attachment_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>) – LPort attachment ID of the VIF. (optional)</p></li>
<li><p><strong>page_size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Maximum number of results to return in this page (server may return
<li><p><strong>sort_by</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Field by which records are sorted (optional)</p></li>
<emclass="property">class </em><codeclass="descclassname">com.vmware.nsx_policy.infra.realized_state.enforcement_points_client.</code><codeclass="descname">VirtualMachines</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.realized_state.enforcement_points_client.VirtualMachines"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>
<li><p><strong>cursor</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Opaque cursor to be used for getting next page of records (supplied
by current result page) (optional)</p></li>
<li><p><strong>dsl</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Search DSL (domain specific language) query (optional)</p></li>
<li><p><strong>included_fields</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Comma separated list of fields that should be included in query
result (optional)</p></li>
<li><p><strong>page_size</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Maximum number of results to return in this page (server may return
<li><p><strong>sort_by</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Field by which records are sorted (optional)</p></li>
<codeclass="descname">updatetags</code><spanclass="sig-paren">(</span><em>enforcement_point_name</em>, <em>virtual_machine_tags_update</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.realized_state.enforcement_points_client.VirtualMachines.updatetags"title="Permalink to this definition">¶</a></dt>
<dd><p>Allows an admin to apply multiple tags to a virtual machine. This
operation does not store the intent on the policy side. It applies the
tag directly on the specified enforcement point. This operation will
replace the existing tags on the virtual machine with the ones that
have been passed. If the application of tag fails on the enforcement
point, then an error is reported. The admin will have to retry the
operation again. Policy framework does not perform a retry. Failure
could occur due to multiple reasons. For e.g enforcement point is down,
Enforcement point could not apply the tag due to constraints like max
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>.