1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-25 02:39:59 -05:00

Updating latest python vmc-draas doc (1be6c86)

Signed-off-by: Ankit Agrawal <aagrawal3@vmware.com>
This commit is contained in:
aagrawal3 2022-09-26 05:42:47 +00:00
parent 1a55bb3907
commit d7171b4c15
No known key found for this signature in database
GPG Key ID: D6EA3E657D229A55
17 changed files with 1767 additions and 77 deletions

View File

@ -1,5 +1,5 @@
.. draas documentation master file, created by
sphinx-quickstart on Fri Aug 20 05:24:53 2021.
sphinx-quickstart on Mon Sep 26 05:42:38 2022.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

View File

@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '1.18.0',
VERSION: '1.20.0',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',

View File

@ -5,22 +5,22 @@ td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight { background: #f8f8f8; }
.highlight .c { color: #408080; font-style: italic } /* Comment */
.highlight .c { color: #3D7B7B; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
.highlight .o { color: #666666 } /* Operator */
.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
.highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #9C6500 } /* Comment.Preproc */
.highlight .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
.highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gr { color: #E40000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gi { color: #008400 } /* Generic.Inserted */
.highlight .go { color: #717171 } /* Generic.Output */
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
@ -33,15 +33,15 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .kt { color: #B00040 } /* Keyword.Type */
.highlight .m { color: #666666 } /* Literal.Number */
.highlight .s { color: #BA2121 } /* Literal.String */
.highlight .na { color: #7D9029 } /* Name.Attribute */
.highlight .na { color: #687822 } /* Name.Attribute */
.highlight .nb { color: #008000 } /* Name.Builtin */
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.highlight .no { color: #880000 } /* Name.Constant */
.highlight .nd { color: #AA22FF } /* Name.Decorator */
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
.highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0000FF } /* Name.Function */
.highlight .nl { color: #A0A000 } /* Name.Label */
.highlight .nl { color: #767600 } /* Name.Label */
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #19177C } /* Name.Variable */
@ -58,11 +58,11 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
.highlight .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
.highlight .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
.highlight .sx { color: #008000 } /* Literal.String.Other */
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
.highlight .sr { color: #A45A77 } /* Literal.String.Regex */
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>com package &mdash; draas 1.18.0 documentation</title>
<title>com package &mdash; draas 1.20.0 documentation</title>
@ -63,7 +63,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -177,13 +177,13 @@
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vmc.html#subpackages">Subpackages</a><ul>
<li class="toctree-l5"><a class="reference internal" href="com.vmware.vmc.draas.html">com.vmware.vmc.draas package</a><ul>
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vmc.draas.html#submodules">Submodules</a></li>
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vmc.draas.html#com-vmware-vmc-draas-model-client-module">com.vmware.vmc.draas.model_client module</a></li>
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vmc.draas.html#module-com.vmware.vmc.draas.model_client">com.vmware.vmc.draas.model_client module</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vmc.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vmc.html#com-vmware-vmc-draas-client-module">com.vmware.vmc.draas_client module</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vmc.html#module-com.vmware.vmc.draas_client">com.vmware.vmc.draas_client module</a></li>
</ul>
</li>
</ul>
@ -209,7 +209,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>com.vmware package &mdash; draas 1.18.0 documentation</title>
<title>com.vmware package &mdash; draas 1.20.0 documentation</title>
@ -63,7 +63,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -180,13 +180,13 @@
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vmc.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="com.vmware.vmc.draas.html">com.vmware.vmc.draas package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vmc.draas.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vmc.draas.html#com-vmware-vmc-draas-model-client-module">com.vmware.vmc.draas.model_client module</a></li>
<li class="toctree-l4"><a class="reference internal" href="com.vmware.vmc.draas.html#module-com.vmware.vmc.draas.model_client">com.vmware.vmc.draas.model_client module</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vmc.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vmc.html#com-vmware-vmc-draas-client-module">com.vmware.vmc.draas_client module</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vmc.html#module-com.vmware.vmc.draas_client">com.vmware.vmc.draas_client module</a></li>
</ul>
</li>
</ul>
@ -208,7 +208,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>com.vmware.vmc package &mdash; draas 1.18.0 documentation</title>
<title>com.vmware.vmc package &mdash; draas 1.20.0 documentation</title>
@ -63,7 +63,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -180,7 +180,7 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="com.vmware.vmc.draas.html">com.vmware.vmc.draas package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vmc.draas.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vmc.draas.html#com-vmware-vmc-draas-model-client-module">com.vmware.vmc.draas.model_client module</a></li>
<li class="toctree-l2"><a class="reference internal" href="com.vmware.vmc.draas.html#module-com.vmware.vmc.draas.model_client">com.vmware.vmc.draas.model_client module</a></li>
</ul>
</li>
</ul>
@ -189,8 +189,599 @@
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2>
</div>
<div class="section" id="com-vmware-vmc-draas-client-module">
<h2>com.vmware.vmc.draas_client module<a class="headerlink" href="#com-vmware-vmc-draas-client-module" title="Permalink to this headline"></a></h2>
<div class="section" id="module-com.vmware.vmc.draas_client">
<span id="com-vmware-vmc-draas-client-module"></span><h2>com.vmware.vmc.draas_client module<a class="headerlink" href="#module-com.vmware.vmc.draas_client" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.GetSrmConfigExport">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">GetSrmConfigExport</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.GetSrmConfigExport" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</p>
</dd>
</dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.GetSrmConfigExport.get">
<code class="sig-name descname"><span class="pre">get</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">srm_node</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.GetSrmConfigExport.get" title="Permalink to this definition"></a></dt>
<dd><p>Get content of the config export file needed for CVDS migration.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
<li><p><strong>srm_node</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) SRM node identifier (required)</p></li>
</ul>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Cannot find config-export file in the site recovery node target
path</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.GranularReporter">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">GranularReporter</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.GranularReporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</p>
</dd>
</dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.GranularReporter.create_usage_report">
<code class="sig-name descname"><span class="pre">create_usage_report</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">report_period_config</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.GranularReporter.create_usage_report" title="Permalink to this definition"></a></dt>
<dd><p>Create granular usage report for specific time period</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>report_period_config</strong> (<a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ReportPeriodConfig" title="com.vmware.vmc.draas.model_client.ReportPeriodConfig"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.ReportPeriodConfig</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Report period configurations (optional)</p></li>
</ul>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
Bad Request</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.ReplicaDiskCollections">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">ReplicaDiskCollections</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.ReplicaDiskCollections" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</p>
</dd>
</dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.ReplicaDiskCollections.get">
<code class="sig-name descname"><span class="pre">get</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">datastore_mo_id</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.ReplicaDiskCollections.get" title="Permalink to this definition"></a></dt>
<dd><p>Query replica disk collections</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
<li><p><strong>datastore_mo_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Represents the datastore moref id to search. (optional)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ReplicaDiskCollection" title="com.vmware.vmc.draas.model_client.ReplicaDiskCollection"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.ReplicaDiskCollection</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p></p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Not found</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.SiteRecovery">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">SiteRecovery</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.SiteRecovery" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</p>
</dd>
</dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.SiteRecovery.delete">
<code class="sig-name descname"><span class="pre">delete</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">force</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.SiteRecovery.delete" title="Permalink to this definition"></a></dt>
<dd><p>Deactivate site recovery for the specified sddc</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
<li><p><strong>force</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) If = true, will deactivate site recovery forcefully. (optional)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task" title="com.vmware.vmc.draas.model_client.Task"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.Task</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>com.vmware.vmc.draas.model.Task</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
Invalid action or bad argument</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Cannot find site recovery configuration for sddc identifier</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.SiteRecovery.get">
<code class="sig-name descname"><span class="pre">get</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.SiteRecovery.get" title="Permalink to this definition"></a></dt>
<dd><p>Query site recovery configuration for the specified sddc</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecovery" title="com.vmware.vmc.draas.model_client.SiteRecovery"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.SiteRecovery</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>com.vmware.vmc.draas.model.SiteRecovery</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
Invalid action or bad argument</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.SiteRecovery.post">
<code class="sig-name descname"><span class="pre">post</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">activate_site_recovery_config</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.SiteRecovery.post" title="Permalink to this definition"></a></dt>
<dd><p>Activate site recovery for the specified sddc</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
<li><p><strong>activate_site_recovery_config</strong> (<a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ActivateSiteRecoveryConfig" title="com.vmware.vmc.draas.model_client.ActivateSiteRecoveryConfig"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.ActivateSiteRecoveryConfig</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Customization, for example can specify custom extension key suffix
for SRM. (optional)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task" title="com.vmware.vmc.draas.model_client.Task"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.Task</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>com.vmware.vmc.draas.model.Task</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
Invalid action or bad argument</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Cannot find site recovery configuration for sddc identifier</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.SiteRecoverySrmNodes">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">SiteRecoverySrmNodes</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.SiteRecoverySrmNodes" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</p>
</dd>
</dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.SiteRecoverySrmNodes.delete">
<code class="sig-name descname"><span class="pre">delete</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">srm_node</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.SiteRecoverySrmNodes.delete" title="Permalink to this definition"></a></dt>
<dd><p>Delete a SRM server.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
<li><p><strong>srm_node</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) SRM node identifier (required)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task" title="com.vmware.vmc.draas.model_client.Task"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.Task</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>com.vmware.vmc.draas.model.Task</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
Invalid action or bad argument</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Cannot find SDDC or SRM node</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.SiteRecoverySrmNodes.post">
<code class="sig-name descname"><span class="pre">post</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">provision_srm_config</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.SiteRecoverySrmNodes.post" title="Permalink to this definition"></a></dt>
<dd><p>Provision an additional SRM server.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
<li><p><strong>provision_srm_config</strong> (<a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ProvisionSrmConfig" title="com.vmware.vmc.draas.model_client.ProvisionSrmConfig"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.ProvisionSrmConfig</span></code></a> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Customization, for example can specify custom extension key suffix
for SRM. (optional)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task" title="com.vmware.vmc.draas.model_client.Task"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.Task</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>com.vmware.vmc.draas.model.Task</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
Invalid action or bad argument</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Cannot find site recovery configuration for sddc identifier</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.SiteRecoveryVersions">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">SiteRecoveryVersions</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.SiteRecoveryVersions" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</p>
</dd>
</dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.SiteRecoveryVersions.get">
<code class="sig-name descname"><span class="pre">get</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.SiteRecoveryVersions.get" title="Permalink to this definition"></a></dt>
<dd><p>Query site recovery versions for the specified sddc</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryVersions" title="com.vmware.vmc.draas.model_client.SiteRecoveryVersions"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.SiteRecoveryVersions</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>com.vmware.vmc.draas.model.SiteRecoveryVersions</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
Invalid action or bad argument</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Cannot find site recovery versions for sddc identifier</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.StubFactory">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">StubFactory</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">stub_config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.StubFactory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubFactoryBase</span></code></p>
<p>Initialize StubFactoryBase</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>stub_config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Stub config instance</p>
</dd>
</dl>
</dd></dl>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.Task">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">Task</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.Task" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</p>
</dd>
</dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.Task.get">
<code class="sig-name descname"><span class="pre">get</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">task</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.Task.get" title="Permalink to this definition"></a></dt>
<dd><p>Retrieve details of a task.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>task</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) task identifier (required)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task" title="com.vmware.vmc.draas.model_client.Task"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.Task</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>com.vmware.vmc.draas.model.Task</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Cannot find the task with given identifier</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.Task.list">
<code class="sig-name descname"><span class="pre">list</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">filter</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.Task.list" title="Permalink to this definition"></a></dt>
<dd><p>List all tasks with optional filtering.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>filter</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) Filter expression Binary Operators: eq, ne, lt, gt, le,
ge, mul, div, mod, sub, add Unary Operators: not, -
(minus) String Operators: startswith, endswith, length,
contains, tolower, toupper, Nested attributes are composed
using . Dates must be formatted as yyyy-MM-dd or
yyyy-MM-ddTHH:mm:ss[.SSS]Z Strings should enclosed in single
quotes, escape single quote with two single quotes The special
literal created will be mapped to the time the resource was first
created. Examples: - $filter=(updated gt 2016-08-09T13:00:00Z) and
(org_id eq 278710ff4e-6b6d-4d4e-aefb-ca637f38609e) -
$filter=(created eq 2016-08-09) - $filter=(created gt 2016-08-09)
and (sddc.status eq READY) (optional)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="#com.vmware.vmc.draas_client.Task.list" title="com.vmware.vmc.draas_client.Task.list"><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></a> of <a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task" title="com.vmware.vmc.draas.model_client.Task"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.Task</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p></p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.Task.update">
<code class="sig-name descname"><span class="pre">update</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">task</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">action</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.Task.update" title="Permalink to this definition"></a></dt>
<dd><p>Request that a running task be canceled. This is advisory only, some
tasks may not be cancelable, and some tasks might take an arbitrary
amount of time to respond to a cancelation request. The task must be
monitored to determine subsequent status.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>task</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) task identifier (required)</p></li>
<li><p><strong>action</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) If = cancel, task will be canceled (optional)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task" title="com.vmware.vmc.draas.model_client.Task"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.Task</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>com.vmware.vmc.draas.model.Task</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.InvalidRequest</span></code>
Invalid action or bad argument</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Cannot find the task with given identifier</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.VrReplicationIssues">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">VrReplicationIssues</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.VrReplicationIssues" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</p>
</dd>
</dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.VrReplicationIssues.get">
<code class="sig-name descname"><span class="pre">get</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.VrReplicationIssues.get" title="Permalink to this definition"></a></dt>
<dd><p>Query VR replication issues</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.HmsReplicationIssueInfo" title="com.vmware.vmc.draas.model_client.HmsReplicationIssueInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.HmsReplicationIssueInfo</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p></p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Not found</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
<dl class="py class">
<dt id="com.vmware.vmc.draas_client.VrSiteIssues">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">com.vmware.vmc.draas_client.</span></code><code class="sig-name descname"><span class="pre">VrSiteIssues</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">config</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.VrSiteIssues" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.VapiInterface</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>config</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) Configuration to be used for creating the stub.</p>
</dd>
</dl>
<dl class="py method">
<dt id="com.vmware.vmc.draas_client.VrSiteIssues.get">
<code class="sig-name descname"><span class="pre">get</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">org</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sddc</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#com.vmware.vmc.draas_client.VrSiteIssues.get" title="Permalink to this definition"></a></dt>
<dd><p>Query VR site issues</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>org</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Organization identifier (required)</p></li>
<li><p><strong>sddc</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) sddc identifier (required)</p></li>
</ul>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code> of <a class="reference internal" href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.HmsSiteIssueInfo" title="com.vmware.vmc.draas.model_client.HmsSiteIssueInfo"><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vmc.draas.model_client.HmsSiteIssueInfo</span></code></a></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p></p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthenticated</span></code>
Unauthorized</p>
</dd>
<dt class="field-odd">Raise</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.Unauthorized</span></code>
Forbidden</p>
</dd>
<dt class="field-even">Raise</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">com.vmware.vapi.std.errors_client.NotFound</span></code>
Not found</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
</div>
</div>
@ -208,7 +799,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Interface definition language to python mapping for enumerated types &mdash; draas 1.18.0 documentation</title>
<title>Interface definition language to python mapping for enumerated types &mdash; draas 1.20.0 documentation</title>
@ -61,7 +61,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -246,7 +246,7 @@ enumerated type class.</p>
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &mdash; draas 1.18.0 documentation</title>
<title>Index &mdash; draas 1.20.0 documentation</title>
@ -61,7 +61,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -159,11 +159,45 @@
<h1 id="index">Index</h1>
<div class="genindex-jumpbox">
<a href="#C"><strong>C</strong></a>
<a href="#A"><strong>A</strong></a>
| <a href="#B"><strong>B</strong></a>
| <a href="#C"><strong>C</strong></a>
| <a href="#D"><strong>D</strong></a>
| <a href="#E"><strong>E</strong></a>
| <a href="#F"><strong>F</strong></a>
| <a href="#G"><strong>G</strong></a>
| <a href="#H"><strong>H</strong></a>
| <a href="#L"><strong>L</strong></a>
| <a href="#M"><strong>M</strong></a>
| <a href="#N"><strong>N</strong></a>
| <a href="#P"><strong>P</strong></a>
| <a href="#R"><strong>R</strong></a>
| <a href="#S"><strong>S</strong></a>
| <a href="#T"><strong>T</strong></a>
| <a href="#U"><strong>U</strong></a>
| <a href="#V"><strong>V</strong></a>
</div>
<h2 id="A">A</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.AbstractEntity">AbstractEntity (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ActivateSiteRecoveryConfig">ActivateSiteRecoveryConfig (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
</tr></table>
<h2 id="B">B</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.BuildVersion">BuildVersion (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
</tr></table>
<h2 id="C">C</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
@ -181,8 +215,6 @@
<li><a href="com.vmware.html#module-com.vmware">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
com.vmware.vmc
@ -198,6 +230,108 @@
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
com.vmware.vmc.draas.model_client
<ul>
<li><a href="com.vmware.vmc.draas.html#module-com.vmware.vmc.draas.model_client">module</a>
</li>
</ul></li>
<li>
com.vmware.vmc.draas_client
<ul>
<li><a href="com.vmware.vmc.html#module-com.vmware.vmc.draas_client">module</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.GranularReporter.create_usage_report">create_usage_report() (com.vmware.vmc.draas_client.GranularReporter method)</a>
</li>
<li><a href="vmware.vapi.vmc.html#vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter">CSPSecurityContextFilter (class in vmware.vapi.vmc.csp_filter)</a>
</li>
</ul></td>
</tr></table>
<h2 id="D">D</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.SiteRecovery.delete">delete() (com.vmware.vmc.draas_client.SiteRecovery method)</a>
<ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.SiteRecoverySrmNodes.delete">(com.vmware.vmc.draas_client.SiteRecoverySrmNodes method)</a>
</li>
</ul></li>
</ul></td>
</tr></table>
<h2 id="E">E</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ErrorResponse">ErrorResponse (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
</tr></table>
<h2 id="F">F</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Fault">Fault (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
</tr></table>
<h2 id="G">G</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.GetSrmConfigExport.get">get() (com.vmware.vmc.draas_client.GetSrmConfigExport method)</a>
<ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.ReplicaDiskCollections.get">(com.vmware.vmc.draas_client.ReplicaDiskCollections method)</a>
</li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.SiteRecovery.get">(com.vmware.vmc.draas_client.SiteRecovery method)</a>
</li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.SiteRecoveryVersions.get">(com.vmware.vmc.draas_client.SiteRecoveryVersions method)</a>
</li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.Task.get">(com.vmware.vmc.draas_client.Task method)</a>
</li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.VrReplicationIssues.get">(com.vmware.vmc.draas_client.VrReplicationIssues method)</a>
</li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.VrSiteIssues.get">(com.vmware.vmc.draas_client.VrSiteIssues method)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="vmware.vapi.vmc.html#vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter.get_max_retries">get_max_retries() (vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter method)</a>
</li>
<li><a href="vmware.vapi.vmc.html#vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter.get_security_context">get_security_context() (vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter method)</a>
</li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.GetSrmConfigExport">GetSrmConfigExport (class in com.vmware.vmc.draas_client)</a>
</li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.GranularReporter">GranularReporter (class in com.vmware.vmc.draas_client)</a>
</li>
</ul></td>
</tr></table>
<h2 id="H">H</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.HmsIssueInfo">HmsIssueInfo (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.HmsReplicationIssueInfo">HmsReplicationIssueInfo (class in com.vmware.vmc.draas.model_client)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.HmsSiteIssueInfo">HmsSiteIssueInfo (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
</tr></table>
<h2 id="L">L</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.Task.list">list() (com.vmware.vmc.draas_client.Task method)</a>
</li>
</ul></td>
</tr></table>
<h2 id="M">M</h2>
@ -214,17 +348,207 @@
<li><a href="com.vmware.vmc.html#module-com.vmware.vmc">com.vmware.vmc</a>
</li>
<li><a href="com.vmware.vmc.draas.html#module-com.vmware.vmc.draas">com.vmware.vmc.draas</a>
</li>
<li><a href="com.vmware.vmc.draas.html#module-com.vmware.vmc.draas.model_client">com.vmware.vmc.draas.model_client</a>
</li>
<li><a href="com.vmware.vmc.html#module-com.vmware.vmc.draas_client">com.vmware.vmc.draas_client</a>
</li>
<li><a href="vmware.html#module-vmware">vmware</a>
</li>
<li><a href="vmware.vapi.html#module-vmware.vapi">vmware.vapi</a>
</li>
<li><a href="vmware.vapi.vmc.html#module-vmware.vapi.vmc">vmware.vapi.vmc</a>
</li>
<li><a href="vmware.vapi.vmc.html#module-vmware.vapi.vmc.csp_filter">vmware.vapi.vmc.csp_filter</a>
</li>
</ul></li>
</ul></td>
</tr></table>
<h2 id="N">N</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNodeVersion.NODE_TYPE_SRM">NODE_TYPE_SRM (com.vmware.vmc.draas.model_client.SiteRecoveryNodeVersion attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNodeVersion.NODE_TYPE_VRMS">NODE_TYPE_VRMS (com.vmware.vmc.draas.model_client.SiteRecoveryNodeVersion attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNodeVersion.NODE_TYPE_VRS">NODE_TYPE_VRS (com.vmware.vmc.draas.model_client.SiteRecoveryNodeVersion attribute)</a>
</li>
</ul></td>
</tr></table>
<h2 id="P">P</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.SiteRecovery.post">post() (com.vmware.vmc.draas_client.SiteRecovery method)</a>
<ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.SiteRecoverySrmNodes.post">(com.vmware.vmc.draas_client.SiteRecoverySrmNodes method)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ProvisionSrmConfig">ProvisionSrmConfig (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
</tr></table>
<h2 id="R">R</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ReplicaDisk">ReplicaDisk (class in com.vmware.vmc.draas.model_client)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ReplicaDiskCollection">ReplicaDiskCollection (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.ReplicaDiskCollections">ReplicaDiskCollections (class in com.vmware.vmc.draas_client)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.ReportPeriodConfig">ReportPeriodConfig (class in com.vmware.vmc.draas.model_client)</a>
</li>
</ul></td>
</tr></table>
<h2 id="S">S</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="vmware.vapi.vmc.html#vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter.should_retry">should_retry() (vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter method)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecovery.SITE_RECOVERY_STATE_ACTIVATED">SITE_RECOVERY_STATE_ACTIVATED (com.vmware.vmc.draas.model_client.SiteRecovery attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecovery.SITE_RECOVERY_STATE_ACTIVATING">SITE_RECOVERY_STATE_ACTIVATING (com.vmware.vmc.draas.model_client.SiteRecovery attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecovery.SITE_RECOVERY_STATE_CANCELED">SITE_RECOVERY_STATE_CANCELED (com.vmware.vmc.draas.model_client.SiteRecovery attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecovery.SITE_RECOVERY_STATE_DEACTIVATED">SITE_RECOVERY_STATE_DEACTIVATED (com.vmware.vmc.draas.model_client.SiteRecovery attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecovery.SITE_RECOVERY_STATE_DEACTIVATING">SITE_RECOVERY_STATE_DEACTIVATING (com.vmware.vmc.draas.model_client.SiteRecovery attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecovery.SITE_RECOVERY_STATE_DELETED">SITE_RECOVERY_STATE_DELETED (com.vmware.vmc.draas.model_client.SiteRecovery attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecovery.SITE_RECOVERY_STATE_FAILED">SITE_RECOVERY_STATE_FAILED (com.vmware.vmc.draas.model_client.SiteRecovery attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecovery">SiteRecovery (class in com.vmware.vmc.draas.model_client)</a>
<ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.SiteRecovery">(class in com.vmware.vmc.draas_client)</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode">SiteRecoveryNode (class in com.vmware.vmc.draas.model_client)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNodeVersion">SiteRecoveryNodeVersion (class in com.vmware.vmc.draas.model_client)</a>
</li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.SiteRecoverySrmNodes">SiteRecoverySrmNodes (class in com.vmware.vmc.draas_client)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryVersions">SiteRecoveryVersions (class in com.vmware.vmc.draas.model_client)</a>
<ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.SiteRecoveryVersions">(class in com.vmware.vmc.draas_client)</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode">SrmNode (class in com.vmware.vmc.draas.model_client)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode.STATE_CANCELED">STATE_CANCELED (com.vmware.vmc.draas.model_client.SiteRecoveryNode attribute)</a>
<ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode.STATE_CANCELED">(com.vmware.vmc.draas.model_client.SrmNode attribute)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode.STATE_DELETING">STATE_DELETING (com.vmware.vmc.draas.model_client.SiteRecoveryNode attribute)</a>
<ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode.STATE_DELETING">(com.vmware.vmc.draas.model_client.SrmNode attribute)</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode.STATE_DEPLOYING">STATE_DEPLOYING (com.vmware.vmc.draas.model_client.SiteRecoveryNode attribute)</a>
<ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode.STATE_DEPLOYING">(com.vmware.vmc.draas.model_client.SrmNode attribute)</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode.STATE_FAILED">STATE_FAILED (com.vmware.vmc.draas.model_client.SiteRecoveryNode attribute)</a>
<ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode.STATE_FAILED">(com.vmware.vmc.draas.model_client.SrmNode attribute)</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode.STATE_PROVISIONED">STATE_PROVISIONED (com.vmware.vmc.draas.model_client.SiteRecoveryNode attribute)</a>
<ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode.STATE_PROVISIONED">(com.vmware.vmc.draas.model_client.SrmNode attribute)</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode.STATE_READY">STATE_READY (com.vmware.vmc.draas.model_client.SiteRecoveryNode attribute)</a>
<ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode.STATE_READY">(com.vmware.vmc.draas.model_client.SrmNode attribute)</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task.STATUS_CANCELED">STATUS_CANCELED (com.vmware.vmc.draas.model_client.Task attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task.STATUS_CANCELING">STATUS_CANCELING (com.vmware.vmc.draas.model_client.Task attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task.STATUS_FAILED">STATUS_FAILED (com.vmware.vmc.draas.model_client.Task attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task.STATUS_FINISHED">STATUS_FINISHED (com.vmware.vmc.draas.model_client.Task attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task.STATUS_STARTED">STATUS_STARTED (com.vmware.vmc.draas.model_client.Task attribute)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.StubFactory">StubFactory (class in com.vmware.vmc.draas.model_client)</a>
<ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.StubFactory">(class in com.vmware.vmc.draas_client)</a>
</li>
</ul></li>
</ul></td>
</tr></table>
<h2 id="T">T</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.Task">Task (class in com.vmware.vmc.draas.model_client)</a>
<ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.Task">(class in com.vmware.vmc.draas_client)</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.TaskProgressPhase">TaskProgressPhase (class in com.vmware.vmc.draas.model_client)</a>
</li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode.TYPE_SRM">TYPE_SRM (com.vmware.vmc.draas.model_client.SiteRecoveryNode attribute)</a>
<ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode.TYPE_SRM">(com.vmware.vmc.draas.model_client.SrmNode attribute)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode.TYPE_VRMS">TYPE_VRMS (com.vmware.vmc.draas.model_client.SiteRecoveryNode attribute)</a>
<ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode.TYPE_VRMS">(com.vmware.vmc.draas.model_client.SrmNode attribute)</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SiteRecoveryNode.TYPE_VRS">TYPE_VRS (com.vmware.vmc.draas.model_client.SiteRecoveryNode attribute)</a>
<ul>
<li><a href="com.vmware.vmc.draas.html#com.vmware.vmc.draas.model_client.SrmNode.TYPE_VRS">(com.vmware.vmc.draas.model_client.SrmNode attribute)</a>
</li>
</ul></li>
</ul></td>
</tr></table>
<h2 id="U">U</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.Task.update">update() (com.vmware.vmc.draas_client.Task method)</a>
</li>
</ul></td>
</tr></table>
<h2 id="V">V</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
@ -242,8 +566,6 @@
<li><a href="vmware.vapi.html#module-vmware.vapi">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
vmware.vapi.vmc
@ -252,6 +574,19 @@
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
vmware.vapi.vmc.csp_filter
<ul>
<li><a href="vmware.vapi.vmc.html#module-vmware.vapi.vmc.csp_filter">module</a>
</li>
</ul></li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.VrReplicationIssues">VrReplicationIssues (class in com.vmware.vmc.draas_client)</a>
</li>
<li><a href="com.vmware.vmc.html#com.vmware.vmc.draas_client.VrSiteIssues">VrSiteIssues (class in com.vmware.vmc.draas_client)</a>
</li>
</ul></td>
</tr></table>
@ -265,7 +600,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Welcome to draass documentation! &mdash; draas 1.18.0 documentation</title>
<title>Welcome to draass documentation! &mdash; draas 1.20.0 documentation</title>
@ -62,7 +62,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -171,13 +171,13 @@
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vmc.html#subpackages">Subpackages</a><ul>
<li class="toctree-l7"><a class="reference internal" href="com.vmware.vmc.draas.html">com.vmware.vmc.draas package</a><ul>
<li class="toctree-l8"><a class="reference internal" href="com.vmware.vmc.draas.html#submodules">Submodules</a></li>
<li class="toctree-l8"><a class="reference internal" href="com.vmware.vmc.draas.html#com-vmware-vmc-draas-model-client-module">com.vmware.vmc.draas.model_client module</a></li>
<li class="toctree-l8"><a class="reference internal" href="com.vmware.vmc.draas.html#module-com.vmware.vmc.draas.model_client">com.vmware.vmc.draas.model_client module</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vmc.html#submodules">Submodules</a></li>
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vmc.html#com-vmware-vmc-draas-client-module">com.vmware.vmc.draas_client module</a></li>
<li class="toctree-l6"><a class="reference internal" href="com.vmware.vmc.html#module-com.vmware.vmc.draas_client">com.vmware.vmc.draas_client module</a></li>
</ul>
</li>
</ul>
@ -195,7 +195,7 @@
<li class="toctree-l5"><a class="reference internal" href="vmware.vapi.vmc.html">vmware.vapi.vmc package</a><ul>
<li class="toctree-l6"><a class="reference internal" href="vmware.vapi.vmc.html#submodules">Submodules</a></li>
<li class="toctree-l6"><a class="reference internal" href="vmware.vapi.vmc.html#vmware-vapi-vmc-client-module">vmware.vapi.vmc.client module</a></li>
<li class="toctree-l6"><a class="reference internal" href="vmware.vapi.vmc.html#vmware-vapi-vmc-csp-filter-module">vmware.vapi.vmc.csp_filter module</a></li>
<li class="toctree-l6"><a class="reference internal" href="vmware.vapi.vmc.html#module-vmware.vapi.vmc.csp_filter">vmware.vapi.vmc.csp_filter module</a></li>
</ul>
</li>
</ul>
@ -231,7 +231,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

Binary file not shown.

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Module Index &mdash; draas 1.18.0 documentation</title>
<title>Python Module Index &mdash; draas 1.20.0 documentation</title>
@ -64,7 +64,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -189,6 +189,16 @@
<td>&#160;&#160;&#160;
<a href="com.vmware.vmc.draas.html#module-com.vmware.vmc.draas"><code class="xref">com.vmware.vmc.draas</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="com.vmware.vmc.draas.html#module-com.vmware.vmc.draas.model_client"><code class="xref">com.vmware.vmc.draas.model_client</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="com.vmware.vmc.html#module-com.vmware.vmc.draas_client"><code class="xref">com.vmware.vmc.draas_client</code></a></td><td>
<em></em></td></tr>
<tr class="pcap"><td></td><td>&#160;</td><td></td></tr>
<tr class="cap" id="cap-v"><td></td><td>
<strong>v</strong></td><td></td></tr>
@ -208,6 +218,11 @@
<td>&#160;&#160;&#160;
<a href="vmware.vapi.vmc.html#module-vmware.vapi.vmc"><code class="xref">vmware.vapi.vmc</code></a></td><td>
<em></em></td></tr>
<tr class="cg-2">
<td></td>
<td>&#160;&#160;&#160;
<a href="vmware.vapi.vmc.html#module-vmware.vapi.vmc.csp_filter"><code class="xref">vmware.vapi.vmc.csp_filter</code></a></td><td>
<em></em></td></tr>
</table>
@ -220,7 +235,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search &mdash; draas 1.18.0 documentation</title>
<title>Search &mdash; draas 1.20.0 documentation</title>
@ -64,7 +64,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -178,7 +178,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>vmware package &mdash; draas 1.18.0 documentation</title>
<title>vmware package &mdash; draas 1.20.0 documentation</title>
@ -63,7 +63,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -176,7 +176,7 @@
<li class="toctree-l3"><a class="reference internal" href="vmware.vapi.vmc.html">vmware.vapi.vmc package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="vmware.vapi.vmc.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="vmware.vapi.vmc.html#vmware-vapi-vmc-client-module">vmware.vapi.vmc.client module</a></li>
<li class="toctree-l4"><a class="reference internal" href="vmware.vapi.vmc.html#vmware-vapi-vmc-csp-filter-module">vmware.vapi.vmc.csp_filter module</a></li>
<li class="toctree-l4"><a class="reference internal" href="vmware.vapi.vmc.html#module-vmware.vapi.vmc.csp_filter">vmware.vapi.vmc.csp_filter module</a></li>
</ul>
</li>
</ul>
@ -202,7 +202,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>vmware.vapi package &mdash; draas 1.18.0 documentation</title>
<title>vmware.vapi package &mdash; draas 1.20.0 documentation</title>
@ -63,7 +63,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -179,7 +179,7 @@
<li class="toctree-l1"><a class="reference internal" href="vmware.vapi.vmc.html">vmware.vapi.vmc package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="vmware.vapi.vmc.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="vmware.vapi.vmc.html#vmware-vapi-vmc-client-module">vmware.vapi.vmc.client module</a></li>
<li class="toctree-l2"><a class="reference internal" href="vmware.vapi.vmc.html#vmware-vapi-vmc-csp-filter-module">vmware.vapi.vmc.csp_filter module</a></li>
<li class="toctree-l2"><a class="reference internal" href="vmware.vapi.vmc.html#module-vmware.vapi.vmc.csp_filter">vmware.vapi.vmc.csp_filter module</a></li>
</ul>
</li>
</ul>
@ -201,7 +201,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>vmware.vapi.vmc package &mdash; draas 1.18.0 documentation</title>
<title>vmware.vapi.vmc package &mdash; draas 1.20.0 documentation</title>
@ -62,7 +62,7 @@
<div class="version">
1.18.0
1.20.0
</div>
@ -179,8 +179,80 @@
<div class="section" id="vmware-vapi-vmc-client-module">
<h2>vmware.vapi.vmc.client module<a class="headerlink" href="#vmware-vapi-vmc-client-module" title="Permalink to this headline"></a></h2>
</div>
<div class="section" id="vmware-vapi-vmc-csp-filter-module">
<h2>vmware.vapi.vmc.csp_filter module<a class="headerlink" href="#vmware-vapi-vmc-csp-filter-module" title="Permalink to this headline"></a></h2>
<div class="section" id="module-vmware.vapi.vmc.csp_filter">
<span id="vmware-vapi-vmc-csp-filter-module"></span><h2>vmware.vapi.vmc.csp_filter module<a class="headerlink" href="#module-vmware.vapi.vmc.csp_filter" title="Permalink to this headline"></a></h2>
<p>CSP Refresh token based SecurityContextFilter</p>
<dl class="py class">
<dt id="vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">vmware.vapi.vmc.csp_filter.</span></code><code class="sig-name descname"><span class="pre">CSPSecurityContextFilter</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">session</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">refresh_token</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">refresh_url</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.security.client.security_context_filter.SecurityContextFilter</span></code></p>
<p>CSP Security Context filter in API Provider chain adds the security
context based on a refresh token to the execution context passed in.</p>
<p>Initialize SecurityContextFilter</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>session</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">requests.Session</span></code>) Requests Session object to use for making HTTP calls</p></li>
<li><p><strong>refresh_token</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) Refresh token to use for obtaining an access token</p></li>
<li><p><strong>refresh_url</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) URL that allows exchanging a refresh token for an
access token</p></li>
</ul>
</dd>
</dl>
<dl class="py method">
<dt id="vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter.get_max_retries">
<code class="sig-name descname"><span class="pre">get_max_retries</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter.get_max_retries" title="Permalink to this definition"></a></dt>
<dd><p>Get the max number of retries</p>
<dl class="field-list simple">
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>Number of retries</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter.get_security_context">
<code class="sig-name descname"><span class="pre">get_security_context</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">on_error</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter.get_security_context" title="Permalink to this definition"></a></dt>
<dd><p>Retrieve security context. If this method is called after an error
occured, then a new access token is obtained using the refresh token and
a new security context is created.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>on_error</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) Whether this method is called after getting an error</p>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.core.SecurityContext</span></code></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>Security context</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter.should_retry">
<code class="sig-name descname"><span class="pre">should_retry</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">error_value</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#vmware.vapi.vmc.csp_filter.CSPSecurityContextFilter.should_retry" title="Permalink to this definition"></a></dt>
<dd><p>Returns whether the request should be retried or not based on the error
specified.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>error_value</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">vmware.vapi.data.value.ErrorValue</span></code>) Method error</p>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>Returns True if request should be retried in case the error is
either Unauthenticated or Unauthorized else False</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
</div>
</div>
@ -197,7 +269,7 @@
<div role="contentinfo">
<p>
&#169; Copyright 2021, VMware, Inc..
&#169; Copyright 2022, VMware, Inc..
</p>
</div>