Skip to content

Commit

Permalink
Merge pull request #5 from PaloAltoNetworks/develop
Browse files Browse the repository at this point in the history
Initial draft for 6.2.1b1
  • Loading branch information
dipeshah authored Apr 23, 2023
2 parents 42c911a + 5a30c03 commit 93f5811
Show file tree
Hide file tree
Showing 23 changed files with 3,972 additions and 1,043 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright © 2022 Palo Alto Networks. All rights reserved
Copyright © 2023 Palo Alto Networks. All rights reserved

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![PyPI - License](https://img.shields.io/pypi/l/prisma-sase.svg?color=brightgreen)](https://pypi.org/project/prisma-sase/)
[![GitHub issues](https://img.shields.io/github/issues/PaloAltoNetworks/prisma-sase-sdk-python.svg)](https://github.com/PaloAltoNetworks/prisma-sase-sdk-python/issues)

# Palo Alto Networks Prisma SASE Python SDK v6.1.2b1
# Palo Alto Networks Prisma SASE Python SDK v6.2.1b1
Python2 and Python3 SDK for the Prisma SASE AppFabric

#### Synopsis
Expand Down Expand Up @@ -44,6 +44,7 @@ MIT
#### Version
| Version | Build | Changes |
| ------- | ----- | ------- |
| **6.2.1** | **b1** | Support for April 2023 Controller release. |
| **6.1.2** | **b1** | Support for January 2023 Controller release. |
| **6.1.1** | **b1** | Support for November 2022 Controller release. |
| **6.0.1** | **b1** | Support for May 2022 Controller release. |
Expand Down
8 changes: 4 additions & 4 deletions docs/ca_bundle.m.html
Original file line number Diff line number Diff line change
Expand Up @@ -2579,7 +2579,7 @@ <h2>Index</h2>
<h1 class="title"><span class="name">prisma_sase.ca_bundle</span> module</h1>
<p>Prisma SASE Explicit CA Certificate Bundle for API calls (CA Pinning).</p>
<p><strong>Author:</strong> Palo Alto Networks</p>
<p><strong>Copyright:</strong> © 2022 Palo Alto Networks. All rights reserved</p>
<p><strong>Copyright:</strong> © 2023 Palo Alto Networks. All rights reserved</p>
<p><strong>License:</strong> MIT</p>

<p class="source_link"><a href="javascript:void(0);" onclick="toggle('source-prisma_sase.ca_bundle', this);">Show source &equiv;</a></p>
Expand All @@ -2590,17 +2590,17 @@ <h1 class="title"><span class="name">prisma_sase.ca_bundle</span> module</h1>

<span class="sd">**Author:** Palo Alto Networks</span>

<span class="sd">**Copyright:** © 2022 Palo Alto Networks. All rights reserved</span>
<span class="sd">**Copyright:** © 2023 Palo Alto Networks. All rights reserved</span>

<span class="sd">**License:** MIT</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;Prisma SASE Developer Support &lt;[email protected]&gt;&quot;</span>
<span class="n">__email__</span> <span class="o">=</span> <span class="s2">&quot;[email protected]&quot;</span>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s2">&quot;Copyright © 2022 Palo Alto Networks. All rights reserved&quot;</span>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s2">&quot;Copyright © 2023 Palo Alto Networks. All rights reserved&quot;</span>
<span class="n">__license__</span> <span class="o">=</span> <span class="s2">&quot;&quot;&quot;</span>
<span class="s2"> MIT License</span>

<span class="s2"> Copyright © 2022 Palo Alto Networks. All rights reserved</span>
<span class="s2"> Copyright © 2023 Palo Alto Networks. All rights reserved</span>

<span class="s2"> Permission is hereby granted, free of charge, to any person obtaining a copy</span>
<span class="s2"> of this software and associated documentation files (the &quot;Software&quot;), to deal</span>
Expand Down
384 changes: 272 additions & 112 deletions docs/delete_api.m.html

Large diffs are not rendered by default.

1,406 changes: 1,113 additions & 293 deletions docs/get_api.m.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>prisma_sase documentation</title>
<meta name="description" content="Python2 and Python3 SDK for the Prisma SASE AppFabric

**Version:** v6.1.2b1
**Version:** v6.2.1b1

**Author:** Palo Alto ..." />

Expand Down Expand Up @@ -2650,9 +2650,9 @@ <h2>Index</h2>
<header id="section-intro">
<h1 class="title"><span class="name">prisma_sase</span> module</h1>
<p>Python2 and Python3 SDK for the Prisma SASE AppFabric</p>
<p><strong>Version:</strong> v6.1.2b1</p>
<p><strong>Version:</strong> v6.2.1b1</p>
<p><strong>Author:</strong> Palo Alto Networks</p>
<p><strong>Copyright:</strong> © 2022 Palo Alto Networks. All rights reserved</p>
<p><strong>Copyright:</strong> © 2023 Palo Alto Networks. All rights reserved</p>
<p><strong>License:</strong> MIT</p>
<p><strong>Location:</strong> <a href="https://github.com/PaloAltoNetworks/prisma-sase-sdk-python">https://github.com/PaloAltoNetworks/prisma-sase-sdk-python</a></p>
<h4>Synopsis</h4>
Expand Down Expand Up @@ -2698,11 +2698,11 @@ <h4>For more info</h4>
<div class="codehilite"><pre><span></span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">Python2 and Python3 SDK for the Prisma SASE AppFabric</span>

<span class="sd">**Version:** v6.1.2b1</span>
<span class="sd">**Version:** v6.2.1b1</span>

<span class="sd">**Author:** Palo Alto Networks</span>

<span class="sd">**Copyright:** © 2022 Palo Alto Networks. All rights reserved</span>
<span class="sd">**Copyright:** © 2023 Palo Alto Networks. All rights reserved</span>

<span class="sd">**License:** MIT</span>

Expand Down Expand Up @@ -2806,11 +2806,11 @@ <h4>For more info</h4>

<span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;Prisma SASE Developer Support &lt;[email protected]&gt;&quot;</span>
<span class="n">__email__</span> <span class="o">=</span> <span class="s2">&quot;[email protected]&quot;</span>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s2">&quot;Copyright © 2022 Palo Alto Networks. All rights reserved&quot;</span>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s2">&quot;Copyright © 2023 Palo Alto Networks. All rights reserved&quot;</span>
<span class="n">__license__</span> <span class="o">=</span> <span class="s2">&quot;&quot;&quot;</span>
<span class="s2"> MIT License</span>
<span class="s2"> </span>
<span class="s2"> Copyright © 2022 Palo Alto Networks. All rights reserved</span>
<span class="s2"> Copyright © 2023 Palo Alto Networks. All rights reserved</span>
<span class="s2"> </span>
<span class="s2"> Permission is hereby granted, free of charge, to any person obtaining a copy</span>
<span class="s2"> of this software and associated documentation files (the &quot;Software&quot;), to deal</span>
Expand Down Expand Up @@ -2840,7 +2840,7 @@ <h4>For more info</h4>


<span class="c1"># Version of SDK</span>
<span class="n">version</span> <span class="o">=</span> <span class="s2">&quot;6.1.2b1&quot;</span>
<span class="n">version</span> <span class="o">=</span> <span class="s2">&quot;6.2.1b1&quot;</span>
<span class="sd">&quot;&quot;&quot;SDK Version string&quot;&quot;&quot;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="n">version</span>

Expand Down Expand Up @@ -6976,7 +6976,7 @@ <h3>Static methods</h3>

<div class="item" id="prisma_sase.API.modify_rest_retry">
<div class="name def">
<p>def <span class="ident">modify_rest_retry</span>(</p><p>self, total=8, connect=None, read=None, redirect=None, status=None, method_whitelist=frozenset({&#39;PUT&#39;, &#39;DELETE&#39;, &#39;HEAD&#39;, &#39;TRACE&#39;, &#39;GET&#39;, &#39;OPTIONS&#39;}), status_forcelist=None, backoff_factor=0.705883, raise_on_redirect=True, raise_on_status=True, respect_retry_after_header=True, adapter_url=&#39;https://&#39;)</p>
<p>def <span class="ident">modify_rest_retry</span>(</p><p>self, total=8, connect=None, read=None, redirect=None, status=None, method_whitelist=frozenset({&#39;GET&#39;, &#39;DELETE&#39;, &#39;PUT&#39;, &#39;HEAD&#39;, &#39;OPTIONS&#39;, &#39;TRACE&#39;}), status_forcelist=None, backoff_factor=0.705883, raise_on_redirect=True, raise_on_status=True, respect_retry_after_header=True, adapter_url=&#39;https://&#39;)</p>
</div>


Expand Down Expand Up @@ -8503,7 +8503,7 @@ <h3 class="section-title" id="header-submodules">Sub-modules</h3>

<div class="desc"><p>Prisma SASE Explicit CA Certificate Bundle for API calls (CA Pinning).</p>
<p><strong>Author:</strong> Palo Alto Networks</p>
<p><strong>Copyright:</strong> © 2022 Palo Alto Networks. All rights reserved</p>
<p><strong>Copyright:</strong> © 2023 Palo Alto Networks. All rights reserved</p>
<p><strong>License:</strong> MIT</p></div>

</div>
Expand Down Expand Up @@ -8533,7 +8533,7 @@ <h3 class="section-title" id="header-submodules">Sub-modules</h3>

<div class="desc"><p>Prisma SASE Python Interactive SDK Helper functions</p>
<p><strong>Author:</strong> Palo Alto Networks</p>
<p><strong>Copyright:</strong> © 2022 Palo Alto Networks. All rights reserved</p>
<p><strong>Copyright:</strong> © 2023 Palo Alto Networks. All rights reserved</p>
<p><strong>License:</strong> MIT</p></div>

</div>
Expand Down Expand Up @@ -8573,7 +8573,7 @@ <h3 class="section-title" id="header-submodules">Sub-modules</h3>

<div class="desc"><p>Prisma SASE Python SDK - WebSocket Functions</p>
<p><strong>Author:</strong> Palo Alto Networks</p>
<p><strong>Copyright:</strong> © 2022 Palo Alto Networks. All rights reserved</p>
<p><strong>Copyright:</strong> © 2023 Palo Alto Networks. All rights reserved</p>
<p><strong>License:</strong> MIT</p></div>

</div>
Expand Down
8 changes: 4 additions & 4 deletions docs/interactive.m.html
Original file line number Diff line number Diff line change
Expand Up @@ -2610,7 +2610,7 @@ <h2>Index</h2>
<h1 class="title"><span class="name">prisma_sase.interactive</span> module</h1>
<p>Prisma SASE Python Interactive SDK Helper functions</p>
<p><strong>Author:</strong> Palo Alto Networks</p>
<p><strong>Copyright:</strong> © 2022 Palo Alto Networks. All rights reserved</p>
<p><strong>Copyright:</strong> © 2023 Palo Alto Networks. All rights reserved</p>
<p><strong>License:</strong> MIT</p>

<p class="source_link"><a href="javascript:void(0);" onclick="toggle('source-prisma_sase.interactive', this);">Show source &equiv;</a></p>
Expand All @@ -2621,7 +2621,7 @@ <h1 class="title"><span class="name">prisma_sase.interactive</span> module</h1>

<span class="sd">**Author:** Palo Alto Networks</span>

<span class="sd">**Copyright:** © 2022 Palo Alto Networks. All rights reserved</span>
<span class="sd">**Copyright:** © 2023 Palo Alto Networks. All rights reserved</span>

<span class="sd">**License:** MIT</span>
<span class="sd">&quot;&quot;&quot;</span>
Expand All @@ -2634,11 +2634,11 @@ <h1 class="title"><span class="name">prisma_sase.interactive</span> module</h1>

<span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;Prisma SASE Developer Support &lt;[email protected]&gt;&quot;</span>
<span class="n">__email__</span> <span class="o">=</span> <span class="s2">&quot;[email protected]&quot;</span>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s2">&quot;Copyright © 2022 Palo Alto Networks. All rights reserved&quot;</span>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s2">&quot;Copyright © 2023 Palo Alto Networks. All rights reserved&quot;</span>
<span class="n">__license__</span> <span class="o">=</span> <span class="s2">&quot;&quot;&quot;</span>
<span class="s2"> MIT License</span>

<span class="s2"> **Copyright:** © 2022 Palo Alto Networks. All rights reserved</span>
<span class="s2"> **Copyright:** © 2023 Palo Alto Networks. All rights reserved</span>

<span class="s2"> Permission is hereby granted, free of charge, to any person obtaining a copy</span>
<span class="s2"> of this software and associated documentation files (the &quot;Software&quot;), to deal</span>
Expand Down
16 changes: 8 additions & 8 deletions docs/patch_api.m.html
Original file line number Diff line number Diff line change
Expand Up @@ -2678,14 +2678,14 @@ <h1 class="title"><span class="name">prisma_sase.patch_api</span> module</h1>
<span class="n">api_logger</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s2">&quot;URL = </span><span class="si">%s</span><span class="s2">&quot;</span><span class="p">,</span> <span class="n">url</span><span class="p">)</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">rest_call</span><span class="p">(</span><span class="n">url</span><span class="p">,</span> <span class="s2">&quot;patch&quot;</span><span class="p">,</span> <span class="n">data</span><span class="o">=</span><span class="n">data</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">tenants</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">data</span><span class="p">,</span> <span class="n">api_version</span><span class="o">=</span><span class="s2">&quot;v2.4&quot;</span><span class="p">):</span>
<span class="k">def</span> <span class="nf">tenants</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">data</span><span class="p">,</span> <span class="n">api_version</span><span class="o">=</span><span class="s2">&quot;v2.5&quot;</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Patch tenant (v2.3)</span>

<span class="sd"> **Parameters:**:</span>

<span class="sd"> - **data**: Dictionary containing data to PATCH as JSON</span>
<span class="sd"> - **api_version**: API version to use (default v2.4)</span>
<span class="sd"> - **api_version**: API version to use (default v2.5)</span>

<span class="sd"> **Payload Attributes:** </span>

Expand Down Expand Up @@ -2769,14 +2769,14 @@ <h3 class="section-title" id="header-classes">Classes</h3>
<span class="n">api_logger</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s2">&quot;URL = </span><span class="si">%s</span><span class="s2">&quot;</span><span class="p">,</span> <span class="n">url</span><span class="p">)</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">rest_call</span><span class="p">(</span><span class="n">url</span><span class="p">,</span> <span class="s2">&quot;patch&quot;</span><span class="p">,</span> <span class="n">data</span><span class="o">=</span><span class="n">data</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">tenants</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">data</span><span class="p">,</span> <span class="n">api_version</span><span class="o">=</span><span class="s2">&quot;v2.4&quot;</span><span class="p">):</span>
<span class="k">def</span> <span class="nf">tenants</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">data</span><span class="p">,</span> <span class="n">api_version</span><span class="o">=</span><span class="s2">&quot;v2.5&quot;</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Patch tenant (v2.3)</span>

<span class="sd"> **Parameters:**:</span>

<span class="sd"> - **data**: Dictionary containing data to PATCH as JSON</span>
<span class="sd"> - **api_version**: API version to use (default v2.4)</span>
<span class="sd"> - **api_version**: API version to use (default v2.5)</span>

<span class="sd"> **Payload Attributes:** </span>

Expand Down Expand Up @@ -2867,7 +2867,7 @@ <h3>Static methods</h3>

<div class="item" id="prisma_sase.patch_api.Patch.tenants">
<div class="name def">
<p>def <span class="ident">tenants</span>(</p><p>self, data, api_version=&#39;v2.4&#39;)</p>
<p>def <span class="ident">tenants</span>(</p><p>self, data, api_version=&#39;v2.5&#39;)</p>
</div>


Expand All @@ -2877,19 +2877,19 @@ <h3>Static methods</h3>
<p><strong>Parameters:</strong>:</p>
<ul>
<li><strong>data</strong>: Dictionary containing data to PATCH as JSON</li>
<li><strong>api_version</strong>: API version to use (default v2.4)</li>
<li><strong>api_version</strong>: API version to use (default v2.5)</li>
</ul>
<p><strong>Payload Attributes:</strong> </p>
<p><strong>Returns:</strong> requests.Response object extended with sdk_status and sdk_content properties.</p></div>
<div class="source_cont">
<p class="source_link"><a href="javascript:void(0);" onclick="toggle('source-prisma_sase.patch_api.Patch.tenants', this);">Show source &equiv;</a></p>
<div id="source-prisma_sase.patch_api.Patch.tenants" class="source">
<div class="codehilite"><pre><span></span><span class="k">def</span> <span class="nf">tenants</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">data</span><span class="p">,</span> <span class="n">api_version</span><span class="o">=</span><span class="s2">&quot;v2.4&quot;</span><span class="p">):</span>
<div class="codehilite"><pre><span></span><span class="k">def</span> <span class="nf">tenants</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">data</span><span class="p">,</span> <span class="n">api_version</span><span class="o">=</span><span class="s2">&quot;v2.5&quot;</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Patch tenant (v2.3)</span>
<span class="sd"> **Parameters:**:</span>
<span class="sd"> - **data**: Dictionary containing data to PATCH as JSON</span>
<span class="sd"> - **api_version**: API version to use (default v2.4)</span>
<span class="sd"> - **api_version**: API version to use (default v2.5)</span>
<span class="sd"> **Payload Attributes:** </span>
<span class="sd"> **Returns:** requests.Response object extended with sdk_status and sdk_content properties.</span>
<span class="sd"> &quot;&quot;&quot;</span>
Expand Down
Loading

0 comments on commit 93f5811

Please sign in to comment.