Skip to content

Commit

Permalink
Add daily limit reset options to logs indexes api (#1842)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]> 61a5d21
  • Loading branch information
1 parent a8ab7bc commit 2bfa884
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 3 deletions.
7 changes: 7 additions & 0 deletions _sources/datadog_api_client.v1.model.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1618,6 +1618,13 @@ logs\_category\_processor\_type
:members:
:show-inheritance:

logs\_daily\_limit\_reset
-------------------------

.. automodule:: datadog_api_client.v1.model.logs_daily_limit_reset
:members:
:show-inheritance:

logs\_date\_remapper
--------------------

Expand Down
4 changes: 4 additions & 0 deletions datadog_api_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -2389,6 +2389,10 @@ <h1 id="datadog-api-client--page-root">datadog_api_client<a class="headerlink" h
<li class="toctree-l4"><a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.logs_category_processor_type.LogsCategoryProcessorType"><code class="docutils literal notranslate"><span class="pre">LogsCategoryProcessorType</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_daily_limit_reset">logs_daily_limit_reset</a><ul>
<li class="toctree-l4"><a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset"><code class="docutils literal notranslate"><span class="pre">LogsDailyLimitReset</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_date_remapper">logs_date_remapper</a><ul>
<li class="toctree-l4"><a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.logs_date_remapper.LogsDateRemapper"><code class="docutils literal notranslate"><span class="pre">LogsDateRemapper</span></code></a></li>
</ul>
Expand Down
4 changes: 4 additions & 0 deletions datadog_api_client.v1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2307,6 +2307,10 @@ <h1 id="datadog-api-client-v1--page-root">datadog_api_client.v1<a class="headerl
<li class="toctree-l3"><a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.logs_category_processor_type.LogsCategoryProcessorType"><code class="docutils literal notranslate"><span class="pre">LogsCategoryProcessorType</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_daily_limit_reset">logs_daily_limit_reset</a><ul>
<li class="toctree-l3"><a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset"><code class="docutils literal notranslate"><span class="pre">LogsDailyLimitReset</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_date_remapper">logs_date_remapper</a><ul>
<li class="toctree-l3"><a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.logs_date_remapper.LogsDateRemapper"><code class="docutils literal notranslate"><span class="pre">LogsDateRemapper</span></code></a></li>
</ul>
Expand Down
33 changes: 33 additions & 0 deletions datadog_api_client.v1.model.html
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,12 @@
</li></ul>
</nav>
</li>
<li class="md-nav__item"><a href="#module-datadog_api_client.v1.model.logs_daily_limit_reset" class="md-nav__link">logs_daily_limit_reset</a><nav class="md-nav">
<ul class="md-nav__list">
<li class="md-nav__item"><a href="#datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset" class="md-nav__link"><code class="docutils literal notranslate"><span class="pre">LogsDailyLimitReset</span></code></a>
</li></ul>
</nav>
</li>
<li class="md-nav__item"><a href="#module-datadog_api_client.v1.model.logs_date_remapper" class="md-nav__link">logs_date_remapper</a><nav class="md-nav">
<ul class="md-nav__list">
<li class="md-nav__item"><a href="#datadog_api_client.v1.model.logs_date_remapper.LogsDateRemapper" class="md-nav__link"><code class="docutils literal notranslate"><span class="pre">LogsDateRemapper</span></code></a>
Expand Down Expand Up @@ -7340,6 +7346,12 @@
</li></ul>
</nav>
</li>
<li class="md-nav__item"><a href="#module-datadog_api_client.v1.model.logs_daily_limit_reset" class="md-nav__link">logs_daily_limit_reset</a><nav class="md-nav">
<ul class="md-nav__list">
<li class="md-nav__item"><a href="#datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset" class="md-nav__link"><code class="docutils literal notranslate"><span class="pre">LogsDailyLimitReset</span></code></a>
</li></ul>
</nav>
</li>
<li class="md-nav__item"><a href="#module-datadog_api_client.v1.model.logs_date_remapper" class="md-nav__link">logs_date_remapper</a><nav class="md-nav">
<ul class="md-nav__list">
<li class="md-nav__item"><a href="#datadog_api_client.v1.model.logs_date_remapper.LogsDateRemapper" class="md-nav__link"><code class="docutils literal notranslate"><span class="pre">LogsDateRemapper</span></code></a>
Expand Down Expand Up @@ -16236,6 +16248,23 @@ <h1 id="datadog-api-client-v1-model--page-root">datadog_api_client.v1.model<a cl
</dl>
</dd></dl>
</section>
<section id="module-datadog_api_client.v1.model.logs_daily_limit_reset">
<span id="logs-daily-limit-reset"></span><h2 id="module-datadog_api_client.v1.model.logs_daily_limit_reset">logs_daily_limit_reset<a class="headerlink" href="#module-datadog_api_client.v1.model.logs_daily_limit_reset" title="Link to this heading">¶</a></h2>
<dl class="py class">
<dt class="sig sig-object py" id="datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">LogsDailyLimitReset</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">args</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset" title="Link to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="datadog_api_client.html#datadog_api_client.model_utils.ModelNormal" title="datadog_api_client.model_utils.ModelNormal"><code class="xref py py-class docutils literal notranslate"><span class="pre">ModelNormal</span></code></a></p>
<p>Object containing options to override the default daily limit reset time.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>reset_time</strong> (<em>str</em><em>, </em><em>optional</em>) – String in <code class="docutils literal notranslate"><span class="pre">HH:00</span></code> format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).</p></li>
<li><p><strong>reset_utc_offset</strong> (<em>str</em><em>, </em><em>optional</em>) – String in <code class="docutils literal notranslate"><span class="pre">(-|+)HH:00</span></code> format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</section>
<section id="module-datadog_api_client.v1.model.logs_date_remapper">
<span id="logs-date-remapper"></span><h2 id="module-datadog_api_client.v1.model.logs_date_remapper">logs_date_remapper<a class="headerlink" href="#module-datadog_api_client.v1.model.logs_date_remapper" title="Link to this heading">¶</a></h2>
<dl class="py class">
Expand Down Expand Up @@ -16475,6 +16504,8 @@ <h1 id="datadog-api-client-v1-model--page-root">datadog_api_client.v1.model<a cl
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>daily_limit</strong> (<em>int</em><em>, </em><em>optional</em>) – The number of log events you can send in this index per day before you are rate-limited.</p></li>
<li><p><strong>daily_limit_reset</strong> (<a class="reference internal" href="#datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset" title="datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset"><em>LogsDailyLimitReset</em></a><em>, </em><em>optional</em>) – Object containing options to override the default daily limit reset time.</p></li>
<li><p><strong>daily_limit_warning_threshold_percentage</strong> (<em>float</em><em>, </em><em>optional</em>) – A percentage threshold of the daily quota at which a Datadog warning event is generated.</p></li>
<li><p><strong>exclusion_filters</strong> (<em>[</em><a class="reference internal" href="#datadog_api_client.v1.model.logs_exclusion.LogsExclusion" title="datadog_api_client.v1.model.logs_exclusion.LogsExclusion"><em>LogsExclusion</em></a><em>]</em><em>, </em><em>optional</em>) – An array of exclusion objects. The logs are tested against the query of each filter,
following the order of the array. Only the first matching active exclusion matters,
others (if any) are ignored.</p></li>
Expand Down Expand Up @@ -16514,6 +16545,8 @@ <h1 id="datadog-api-client-v1-model--page-root">datadog_api_client.v1.model<a cl
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>daily_limit</strong> (<em>int</em><em>, </em><em>optional</em>) – The number of log events you can send in this index per day before you are rate-limited.</p></li>
<li><p><strong>daily_limit_reset</strong> (<a class="reference internal" href="#datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset" title="datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset"><em>LogsDailyLimitReset</em></a><em>, </em><em>optional</em>) – Object containing options to override the default daily limit reset time.</p></li>
<li><p><strong>daily_limit_warning_threshold_percentage</strong> (<em>float</em><em>, </em><em>optional</em>) – A percentage threshold of the daily quota at which a Datadog warning event is generated.</p></li>
<li><p><strong>disable_daily_limit</strong> (<em>bool</em><em>, </em><em>optional</em>) – If true, sets the <code class="docutils literal notranslate"><span class="pre">daily_limit</span></code> value to null and the index is not limited on a daily basis (any
specified <code class="docutils literal notranslate"><span class="pre">daily_limit</span></code> value in the request is ignored). If false or omitted, the index’s current
<code class="docutils literal notranslate"><span class="pre">daily_limit</span></code> is maintained.</p></li>
Expand Down
15 changes: 13 additions & 2 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3777,6 +3777,13 @@ <h2 id="D">D</h2>

<ul>
<li><a href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_category_processor_type">module</a>
</li>
</ul></li>
<li>
datadog_api_client.v1.model.logs_daily_limit_reset

<ul>
<li><a href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_daily_limit_reset">module</a>
</li>
</ul></li>
<li>
Expand Down Expand Up @@ -10079,15 +10086,15 @@ <h2 id="D">D</h2>
<li><a href="datadog_api_client.v2.model.html#module-datadog_api_client.v2.model.confluent_resource_response_attributes">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
datadog_api_client.v2.model.confluent_resource_response_data

<ul>
<li><a href="datadog_api_client.v2.model.html#module-datadog_api_client.v2.model.confluent_resource_response_data">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
datadog_api_client.v2.model.confluent_resource_type

Expand Down Expand Up @@ -19687,6 +19694,8 @@ <h2 id="L">L</h2>
<li><a href="datadog_api_client.v2.model.html#datadog_api_client.v2.model.logs_compute.LogsCompute">LogsCompute (class in datadog_api_client.v2.model.logs_compute)</a>
</li>
<li><a href="datadog_api_client.v2.model.html#datadog_api_client.v2.model.logs_compute_type.LogsComputeType">LogsComputeType (class in datadog_api_client.v2.model.logs_compute_type)</a>
</li>
<li><a href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.logs_daily_limit_reset.LogsDailyLimitReset">LogsDailyLimitReset (class in datadog_api_client.v1.model.logs_daily_limit_reset)</a>
</li>
<li><a href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.logs_date_remapper.LogsDateRemapper">LogsDateRemapper (class in datadog_api_client.v1.model.logs_date_remapper)</a>
</li>
Expand Down Expand Up @@ -20583,6 +20592,8 @@ <h2 id="M">M</h2>
<li><a href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_category_processor_category">datadog_api_client.v1.model.logs_category_processor_category</a>
</li>
<li><a href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_category_processor_type">datadog_api_client.v1.model.logs_category_processor_type</a>
</li>
<li><a href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_daily_limit_reset">datadog_api_client.v1.model.logs_daily_limit_reset</a>
</li>
<li><a href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_date_remapper">datadog_api_client.v1.model.logs_date_remapper</a>
</li>
Expand Down
Binary file modified objects.inv
Binary file not shown.
5 changes: 5 additions & 0 deletions py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -2176,6 +2176,11 @@ <h1>Python Module Index</h1>
<td>&#160;&#160;&#160;
<a href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_category_processor_type"><code class="xref">datadog_api_client.v1.model.logs_category_processor_type</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="datadog_api_client.v1.model.html#module-datadog_api_client.v1.model.logs_daily_limit_reset"><code class="xref">datadog_api_client.v1.model.logs_daily_limit_reset</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 2bfa884

Please sign in to comment.