Skip to content

Commit 4d78e3e

Browse files
Update UA API docs to reflect deprecated values for estimated usage types (#2666)
Co-authored-by: ci.datadog-api-spec <[email protected]> 3e70e89
1 parent ff736f1 commit 4d78e3e

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

datadog_api_client.v1.api.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5154,7 +5154,8 @@ <h2 id="submodules">Submodules<a class="headerlink" href="#submodules" title="Li
51545154
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
51555155
<dd class="field-odd"><ul class="simple">
51565156
<li><p><strong>start_hr</strong> (<em>datetime</em>) – Datetime in ISO-8601 format, UTC, precise to hour: <code class="docutils literal notranslate"><span class="pre">[YYYY-MM-DDThh]</span></code> for usage beginning at this hour.</p></li>
5157-
<li><p><strong>usage_type</strong> (<a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.hourly_usage_attribution_usage_type.HourlyUsageAttributionUsageType" title="datadog_api_client.v1.model.hourly_usage_attribution_usage_type.HourlyUsageAttributionUsageType"><em>HourlyUsageAttributionUsageType</em></a>) – Usage type to retrieve.</p></li>
5157+
<li><p><strong>usage_type</strong> (<a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.hourly_usage_attribution_usage_type.HourlyUsageAttributionUsageType" title="datadog_api_client.v1.model.hourly_usage_attribution_usage_type.HourlyUsageAttributionUsageType"><em>HourlyUsageAttributionUsageType</em></a>) – Usage type to retrieve. The following values have been <strong>deprecated</strong> :
5158+
<code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_usage</span></code>.</p></li>
51585159
<li><p><strong>end_hr</strong> (<em>datetime</em><em>, </em><em>optional</em>) – Datetime in ISO-8601 format, UTC, precise to hour: <code class="docutils literal notranslate"><span class="pre">[YYYY-MM-DDThh]</span></code> for usage ending
51595160
<strong>before</strong> this hour.</p></li>
51605161
<li><p><strong>next_record_id</strong> (<em>str</em><em>, </em><em>optional</em>) – List following results with a next_record_id provided in the previous query.</p></li>
@@ -5250,10 +5251,14 @@ <h2 id="submodules">Submodules<a class="headerlink" href="#submodules" title="Li
52505251
<dd class="field-odd"><ul class="simple">
52515252
<li><p><strong>start_month</strong> (<em>datetime</em>) – Datetime in ISO-8601 format, UTC, precise to month: <code class="docutils literal notranslate"><span class="pre">[YYYY-MM]</span></code> for usage beginning in this month.
52525253
Maximum of 15 months ago.</p></li>
5253-
<li><p><strong>fields</strong> (<a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.monthly_usage_attribution_supported_metrics.MonthlyUsageAttributionSupportedMetrics" title="datadog_api_client.v1.model.monthly_usage_attribution_supported_metrics.MonthlyUsageAttributionSupportedMetrics"><em>MonthlyUsageAttributionSupportedMetrics</em></a>) – Comma-separated list of usage types to return, or <code class="docutils literal notranslate"><span class="pre">*</span></code> for all usage types.</p></li>
5254+
<li><p><strong>fields</strong> (<a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.monthly_usage_attribution_supported_metrics.MonthlyUsageAttributionSupportedMetrics" title="datadog_api_client.v1.model.monthly_usage_attribution_supported_metrics.MonthlyUsageAttributionSupportedMetrics"><em>MonthlyUsageAttributionSupportedMetrics</em></a>) – Comma-separated list of usage types to return, or <code class="docutils literal notranslate"><span class="pre">*</span></code> for all usage types.
5255+
The following values have been <strong>deprecated</strong> :
5256+
<code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_percentage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_percentage</span></code>.</p></li>
52545257
<li><p><strong>end_month</strong> (<em>datetime</em><em>, </em><em>optional</em>) – Datetime in ISO-8601 format, UTC, precise to month: <code class="docutils literal notranslate"><span class="pre">[YYYY-MM]</span></code> for usage ending this month.</p></li>
52555258
<li><p><strong>sort_direction</strong> (<a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.usage_sort_direction.UsageSortDirection" title="datadog_api_client.v1.model.usage_sort_direction.UsageSortDirection"><em>UsageSortDirection</em></a><em>, </em><em>optional</em>) – The direction to sort by: <code class="docutils literal notranslate"><span class="pre">[desc,</span> <span class="pre">asc]</span></code>.</p></li>
5256-
<li><p><strong>sort_name</strong> (<a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.monthly_usage_attribution_supported_metrics.MonthlyUsageAttributionSupportedMetrics" title="datadog_api_client.v1.model.monthly_usage_attribution_supported_metrics.MonthlyUsageAttributionSupportedMetrics"><em>MonthlyUsageAttributionSupportedMetrics</em></a><em>, </em><em>optional</em>) – The field to sort by.</p></li>
5259+
<li><p><strong>sort_name</strong> (<a class="reference internal" href="datadog_api_client.v1.model.html#datadog_api_client.v1.model.monthly_usage_attribution_supported_metrics.MonthlyUsageAttributionSupportedMetrics" title="datadog_api_client.v1.model.monthly_usage_attribution_supported_metrics.MonthlyUsageAttributionSupportedMetrics"><em>MonthlyUsageAttributionSupportedMetrics</em></a><em>, </em><em>optional</em>) – The field to sort by.
5260+
The following values have been <strong>deprecated</strong> :
5261+
<code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_percentage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_percentage</span></code>.</p></li>
52575262
<li><p><strong>tag_breakdown_keys</strong> (<em>str</em><em>, </em><em>optional</em>) – <p>Comma separated list of tag keys used to group usage. If no value is provided the usage will not be broken down by tags.</p>
52585263
<p>To see which tags are available, look for the value of <code class="docutils literal notranslate"><span class="pre">tag_config_source</span></code> in the API response.</p>
52595264
</p></li>

datadog_api_client.v1.model.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11066,7 +11066,8 @@ <h2 id="submodules">Submodules<a class="headerlink" href="#submodules" title="Li
1106611066
</p></li>
1106711067
<li><p><strong>total_usage_sum</strong> (<em>float</em><em>, </em><em>optional</em>) – Total product usage for the given tags within the hour.</p></li>
1106811068
<li><p><strong>updated_at</strong> (<em>str</em><em>, </em><em>optional</em>) – Shows the most recent hour in the current month for all organizations where usages are calculated.</p></li>
11069-
<li><p><strong>usage_type</strong> (<a class="reference internal" href="#datadog_api_client.v1.model.hourly_usage_attribution_usage_type.HourlyUsageAttributionUsageType" title="datadog_api_client.v1.model.hourly_usage_attribution_usage_type.HourlyUsageAttributionUsageType"><em>HourlyUsageAttributionUsageType</em></a><em>, </em><em>optional</em>) – Supported products for hourly usage attribution requests.</p></li>
11069+
<li><p><strong>usage_type</strong> (<a class="reference internal" href="#datadog_api_client.v1.model.hourly_usage_attribution_usage_type.HourlyUsageAttributionUsageType" title="datadog_api_client.v1.model.hourly_usage_attribution_usage_type.HourlyUsageAttributionUsageType"><em>HourlyUsageAttributionUsageType</em></a><em>, </em><em>optional</em>) – Supported products for hourly usage attribution requests.
11070+
The following values have been <strong>deprecated</strong> : <code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_usage</span></code>.</p></li>
1107011071
</ul>
1107111072
</dd>
1107211073
</dl>
@@ -11139,7 +11140,10 @@ <h2 id="submodules">Submodules<a class="headerlink" href="#submodules" title="Li
1113911140
<dt class="sig sig-object py">
1114011141
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">HourlyUsageAttributionUsageType</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></dt>
1114111142
<dd><p>Bases: <a class="reference internal" href="datadog_api_client.html#datadog_api_client.model_utils.ModelSimple" title="datadog_api_client.model_utils.ModelSimple"><code class="xref py py-class docutils literal notranslate"><span class="pre">ModelSimple</span></code></a></p>
11142-
<p>Supported products for hourly usage attribution requests.</p>
11143+
<dl class="simple">
11144+
<dt>Supported products for hourly usage attribution requests.</dt><dd><p>The following values have been <strong>deprecated</strong>: <cite>estimated_indexed_spans_usage</cite>, <cite>estimated_ingested_spans_usage</cite>.</p>
11145+
</dd>
11146+
</dl>
1114311147
<dl class="field-list simple">
1114411148
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
1114511149
<dd class="field-odd"><ul class="simple">
@@ -15495,7 +15499,8 @@ <h2 id="submodules">Submodules<a class="headerlink" href="#submodules" title="Li
1549515499
In this scenario the API returns the total usage, not broken down by tags.</p>
1549615500
</p></li>
1549715501
<li><p><strong>updated_at</strong> (<em>datetime</em><em>, </em><em>optional</em>) – Datetime of the most recent update to the usage values.</p></li>
15498-
<li><p><strong>values</strong> (<a class="reference internal" href="#datadog_api_client.v1.model.monthly_usage_attribution_values.MonthlyUsageAttributionValues" title="datadog_api_client.v1.model.monthly_usage_attribution_values.MonthlyUsageAttributionValues"><em>MonthlyUsageAttributionValues</em></a><em>, </em><em>optional</em>) – Fields in Usage Summary by tag(s).</p></li>
15502+
<li><p><strong>values</strong> (<a class="reference internal" href="#datadog_api_client.v1.model.monthly_usage_attribution_values.MonthlyUsageAttributionValues" title="datadog_api_client.v1.model.monthly_usage_attribution_values.MonthlyUsageAttributionValues"><em>MonthlyUsageAttributionValues</em></a><em>, </em><em>optional</em>) – Fields in Usage Summary by tag(s).
15503+
The following values have been <strong>deprecated</strong> : <code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_percentage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_percentage</span></code>.</p></li>
1549915504
</ul>
1550015505
</dd>
1550115506
</dl>
@@ -15602,7 +15607,8 @@ <h2 id="submodules">Submodules<a class="headerlink" href="#submodules" title="Li
1560215607
<dt class="sig sig-object py">
1560315608
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">MonthlyUsageAttributionValues</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></dt>
1560415609
<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>
15605-
<p>Fields in Usage Summary by tag(s).</p>
15610+
<p>Fields in Usage Summary by tag(s).
15611+
The following values have been <strong>deprecated</strong> : <code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_indexed_spans_percentage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_usage</span></code> , <code class="docutils literal notranslate"><span class="pre">estimated_ingested_spans_percentage</span></code>.</p>
1560615612
<dl class="field-list simple">
1560715613
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
1560815614
<dd class="field-odd"><ul class="simple">

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)