<spanid="com-vmware-vapi-package"></span><h1>com.vmware.vapi package<aclass="headerlink"href="#module-com.vmware.vapi"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-vapi-metadata-client-module"></span><h2>com.vmware.vapi.metadata_client module<aclass="headerlink"href="#module-com.vmware.vapi.metadata_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vapi.metadata_client.</code><codeclass="sig-name descname">SourceCreateSpec</code><spanclass="sig-paren">(</span><emclass="sig-param">description=None</em>, <emclass="sig-param">type=None</em>, <emclass="sig-param">filepath=None</em>, <emclass="sig-param">address=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata_client.SourceCreateSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">SourceCreateSpec</span></code> class contains the registration information for a
metadata source.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>description</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – English language human readable description of the source.</p></li>
<li><p><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vapi.metadata_client.SourceType"title="com.vmware.vapi.metadata_client.SourceType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">SourceType</span></code></a>) – Type of the metadata source.</p></li>
<li><p><strong>filepath</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Absolute file path of the metamodel metadata file that has the
metamodel information about one component element.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is <aclass="reference internal"href="#com.vmware.vapi.metadata_client.SourceType.FILE"title="com.vmware.vapi.metadata_client.SourceType.FILE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">SourceType.FILE</span></code></a>.</p></li>
<li><p><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) –<p>Connection information of the remote server. This should be of the
format http(s)://IP:port/namespace.</p>
<p>The remote server should contain the classes in
<aclass="reference internal"href="com.vmware.vapi.metadata.html#module-com.vmware.vapi.metadata.metamodel_client"title="com.vmware.vapi.metadata.metamodel_client"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">com.vmware.vapi.metadata.metamodel_client</span></code></a> module. It could
expose metamodel information of one or more components.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is <aclass="reference internal"href="#com.vmware.vapi.metadata_client.SourceType.REMOTE"title="com.vmware.vapi.metadata_client.SourceType.REMOTE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">SourceType.REMOTE</span></code></a>.</p>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vapi.metadata_client.</code><codeclass="sig-name descname">SourceInfo</code><spanclass="sig-paren">(</span><emclass="sig-param">type=None</em>, <emclass="sig-param">file_name=None</em>, <emclass="sig-param">remote_addr=None</em>, <emclass="sig-param">msg_protocol=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata_client.SourceInfo"title="Permalink to this definition">¶</a></dt>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vapi.metadata_client.SourceType"title="com.vmware.vapi.metadata_client.SourceType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">SourceType</span></code></a>) – Type of the metadata source</p></li>
<li><p><strong>file_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the metadata source file
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is <aclass="reference internal"href="#com.vmware.vapi.metadata_client.SourceType.FILE"title="com.vmware.vapi.metadata_client.SourceType.FILE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">SourceType.FILE</span></code></a>.</p></li>
<li><p><strong>remote_addr</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Address of the remote metadata source
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is <aclass="reference internal"href="#com.vmware.vapi.metadata_client.SourceType.REMOTE"title="com.vmware.vapi.metadata_client.SourceType.REMOTE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">SourceType.REMOTE</span></code></a>.</p></li>
<li><p><strong>msg_protocol</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Message protocol to be used
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is <aclass="reference internal"href="#com.vmware.vapi.metadata_client.SourceType.REMOTE"title="com.vmware.vapi.metadata_client.SourceType.REMOTE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">SourceType.REMOTE</span></code></a>.</p></li>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vapi.metadata_client.</code><codeclass="sig-name descname">SourceType</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata_client.SourceType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">SourceType</span></code> class defines the types of sources for API metadata. You
specify the type of source when adding a metadata source to a metadata
service.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>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
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <aclass="reference internal"href="#com.vmware.vapi.metadata_client.SourceType"title="com.vmware.vapi.metadata_client.SourceType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">SourceType</span></code></a> instance.</p>
<codeclass="sig-name descname">FILE</code><emclass="property"> = SourceType(string='FILE')</em><aclass="headerlink"href="#com.vmware.vapi.metadata_client.SourceType.FILE"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">REMOTE</code><emclass="property"> = SourceType(string='REMOTE')</em><aclass="headerlink"href="#com.vmware.vapi.metadata_client.SourceType.REMOTE"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vapi.metadata_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.vapi.metadata_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vapi-std-client-module"></span><h2>com.vmware.vapi.std_client module<aclass="headerlink"href="#module-com.vmware.vapi.std_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client</span></code> module provides standard types that can be
used in the interface specification of any class.</p>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vapi.std_client.</code><codeclass="sig-name descname">AuthenticationScheme</code><aclass="headerlink"href="#com.vmware.vapi.std_client.AuthenticationScheme"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">NO_AUTHENTICATION</code><emclass="property"> = 'com.vmware.vapi.std.security.no_authentication'</em><aclass="headerlink"href="#com.vmware.vapi.std_client.AuthenticationScheme.NO_AUTHENTICATION"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">OAUTH_ACCESS_TOKEN</code><emclass="property"> = 'com.vmware.vapi.std.security.oauth'</em><aclass="headerlink"href="#com.vmware.vapi.std_client.AuthenticationScheme.OAUTH_ACCESS_TOKEN"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">SAML_BEARER_TOKEN</code><emclass="property"> = 'com.vmware.vapi.std.security.saml_bearer_token'</em><aclass="headerlink"href="#com.vmware.vapi.std_client.AuthenticationScheme.SAML_BEARER_TOKEN"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">SAML_HOK_TOKEN</code><emclass="property"> = 'com.vmware.vapi.std.security.saml_hok_token'</em><aclass="headerlink"href="#com.vmware.vapi.std_client.AuthenticationScheme.SAML_HOK_TOKEN"title="Permalink to this definition">¶</a></dt>
<li><p>Signature of the request: This includes - algorithm used for signing the
request, SAML holder of key token and signature digest</p></li>
<li><p>Request timestamp: This includes the <codeclass="docutils literal notranslate"><spanclass="pre">created</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">expires</span></code> timestamp of
<codeclass="sig-name descname">SESSION_ID</code><emclass="property"> = 'com.vmware.vapi.std.security.session_id'</em><aclass="headerlink"href="#com.vmware.vapi.std_client.AuthenticationScheme.SESSION_ID"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">USER_PASSWORD</code><emclass="property"> = 'com.vmware.vapi.std.security.user_pass'</em><aclass="headerlink"href="#com.vmware.vapi.std_client.AuthenticationScheme.USER_PASSWORD"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vapi.std_client.</code><codeclass="sig-name descname">DynamicID</code><spanclass="sig-paren">(</span><emclass="sig-param">type=None</em>, <emclass="sig-param">id=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.std_client.DynamicID"title="Permalink to this definition">¶</a></dt>
<li><p><strong>type</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) –<p>The type of resource being identified (for example
<li><p><strong>id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The identifier for a resource whose type is specified by
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vapi.std_client.</code><codeclass="sig-name descname">LocalizableMessage</code><spanclass="sig-paren">(</span><emclass="sig-param">id=None</em>, <emclass="sig-param">default_message=None</em>, <emclass="sig-param">args=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.std_client.LocalizableMessage"title="Permalink to this definition">¶</a></dt>
<li><p><strong>default_message</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The value of this localizable string or message template in the
to access the appropriate message catalog.</p></li>
<li><p><strong>args</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>) – Positional arguments to be substituted into the message template.
This list will be empty if the message uses named arguments or has
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.vapi.std_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.vapi.std_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>.