<spanid="com-vmware-vcenter-hvc-links-package"></span><h1>com.vmware.vcenter.hvc.links package<aclass="headerlink"href="#module-com.vmware.vcenter.hvc.links"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="submodules">
<h2>Submodules<aclass="headerlink"href="#submodules"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-vcenter-hvc-links-sync-client-module"></span><h2>com.vmware.vcenter.hvc.links.sync_client module<aclass="headerlink"href="#module-com.vmware.vcenter.hvc.links.sync_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.hvc.links.sync_client.</code><codeclass="descname">Providers</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers"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="descname">Credentials</code><spanclass="sig-paren">(</span><em>user_name=None</em>, <em>password=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.Credentials"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Credentials</span></code> class specifies user credentials to make a
successful connection to remote endpoint. <strong>Warning:</strong> This class is
available as technical preview. It may be changed in a future release.</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>user_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the user to authenticate. <strong>Warning:</strong> This attribute is
available as technical preview. It may be changed in a future
release.</p></li>
<li><p><strong>password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Password for the user. <strong>Warning:</strong> This attribute is available as
technical preview. It may be changed in a future release.</p></li>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>last_sync_time=None</em>, <em>status=None</em>, <em>polling_interval_in_seconds=None</em>, <em>current_session_info=None</em>, <em>status_message=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.Info"title="Permalink to this definition">¶</a></dt>
<li><p><strong>last_sync_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>) – Last sync time for the provider. This indicates the last time that
If None no sync was found for the provider.</p></li>
<li><p><strong>status</strong> (<aclass="reference internal"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.Status"title="com.vmware.vcenter.hvc.links.sync_client.Providers.Status"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Status</span></code></a>) – Last Sync status for the provider. <strong>Warning:</strong> This attribute is
<li><p><strong>polling_interval_in_seconds</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Sync Polling interval between local and remote replicas for the
preview. It may be changed in a future release.</p></li>
<li><p><strong>current_session_info</strong> (<aclass="reference internal"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo"title="com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.SessionInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Returns information on the forced sync for the provider.
<codeclass="descname">RESOURCE_TYPE</code><emclass="property"> = 'com.vmware.vcenter.hvc.links.sync.Providers'</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.RESOURCE_TYPE"title="Permalink to this definition">¶</a></dt>
<dd><p>Resource type for Sync Providers. <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">SessionInfo</code><spanclass="sig-paren">(</span><em>stage=None</em>, <em>completed_work=None</em>, <em>total_work=None</em>, <em>completion_time=None</em>, <em>start_time=None</em>, <em>exception=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo"title="Permalink to this definition">¶</a></dt>
<li><p><strong>stage</strong> (<aclass="reference internal"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage"title="com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.SessionInfo.Stage</span></code></a>) – Sync stage for the session. <strong>Warning:</strong> This attribute is
<li><p><strong>completed_work</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Completed work for the session. <strong>Warning:</strong> This attribute is
<li><p><strong>total_work</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Total work for the session. <strong>Warning:</strong> This attribute is
<li><p><strong>completion_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time at which forced sync session was completed. <strong>Warning:</strong> This
If None there is an ongoing sync that has not completed</p></li>
<li><p><strong>start_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time at which force sync was initiated. <strong>Warning:</strong> This attribute
<li><p><strong>exception</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>) – Exception message if there is a sync failure on forced sync.
<emclass="property">class </em><codeclass="descname">Stage</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage"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="descname">CHANGE_APPLICATION</code><emclass="property"> = Stage(string='CHANGE_APPLICATION')</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage.CHANGE_APPLICATION"title="Permalink to this definition">¶</a></dt>
<dd><p>Changes are being applied to the destination replica. <strong>Warning:</strong> This
class attribute is available as technical preview. It may be changed in a
<codeclass="descname">CHANGE_DETECTION</code><emclass="property"> = Stage(string='CHANGE_DETECTION')</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage.CHANGE_DETECTION"title="Permalink to this definition">¶</a></dt>
<dd><p>Changes are being detected on the source replica. <strong>Warning:</strong> This class
attribute is available as technical preview. It may be changed in a future
<codeclass="descname">CHANGE_ENUMERATION</code><emclass="property"> = Stage(string='CHANGE_ENUMERATION')</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage.CHANGE_ENUMERATION"title="Permalink to this definition">¶</a></dt>
<dd><p>Changes from the source replica are being enumerated. <strong>Warning:</strong> This
class attribute is available as technical preview. It may be changed in a
<codeclass="descname">COMPLETED</code><emclass="property"> = Stage(string='COMPLETED')</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage.COMPLETED"title="Permalink to this definition">¶</a></dt>
<dd><p>Sync has completed. <strong>Warning:</strong> This class attribute is available as
technical preview. It may be changed in a future release.</p>
<codeclass="descname">FAILED</code><emclass="property"> = Stage(string='FAILED')</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage.FAILED"title="Permalink to this definition">¶</a></dt>
<dd><p>Sync failed. <strong>Warning:</strong> This class attribute is available as technical
preview. It may be changed in a future release.</p>
<codeclass="descname">WAITING</code><emclass="property"> = Stage(string='WAITING')</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage.WAITING"title="Permalink to this definition">¶</a></dt>
<dd><p>Session is waiting for progress to be set. <strong>Warning:</strong> This class
attribute is available as technical preview. It may be changed in a future
<emclass="property">class </em><codeclass="descname">Status</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.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="descname">FAILED</code><emclass="property"> = Status(string='FAILED')</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.Status.FAILED"title="Permalink to this definition">¶</a></dt>
<dd><p>If Sync failed. <strong>Warning:</strong> This class attribute is available as technical
preview. It may be changed in a future release.</p>
<codeclass="descname">NO_SYNC_FOUND</code><emclass="property"> = Status(string='NO_SYNC_FOUND')</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.Status.NO_SYNC_FOUND"title="Permalink to this definition">¶</a></dt>
<dd><p>If Sync has not been triggered. <strong>Warning:</strong> This class attribute is
available as technical preview. It may be changed in a future release.</p>
<codeclass="descname">SUCCEEDED</code><emclass="property"> = Status(string='SUCCEEDED')</em><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.Status.SUCCEEDED"title="Permalink to this definition">¶</a></dt>
<dd><p>If Sync was successful. <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>provider=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.Summary"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>provider</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Sync provider id. <strong>Warning:</strong> This attribute is available as
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>link</em>, <em>provider</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Gets Sync information for a sync provider. <strong>Warning:</strong> This method is
available as technical preview. It may be changed in a future release.</p>
<li><p><strong>link</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier of the link
<codeclass="descname">list</code><spanclass="sig-paren">(</span><em>link</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Enumerates the sync providers. <strong>Warning:</strong> This method is available as
technical preview. It may be changed in a future release.</p>
<ddclass="field-odd"><p><strong>link</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier of the link
<codeclass="descname">start</code><spanclass="sig-paren">(</span><em>link</em>, <em>provider</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.hvc.links.sync_client.Providers.start"title="Permalink to this definition">¶</a></dt>
<dd><p>Initiates synchronization between the local and remote replicas for the
sync provider. <strong>Warning:</strong> This method is available as technical
preview. It may be changed in a future release.</p>
<li><p><strong>link</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Unique identifier of the link
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.hvc.links.sync_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.links.sync_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>.