You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/datadog_api_client/v1/api/usage_metering_api.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1747,10 +1747,10 @@ def get_usage_audit_logs(
1747
1747
*,
1748
1748
end_hr: Union[datetime, UnsetType] =unset,
1749
1749
) ->UsageAuditLogsResponse:
1750
-
"""Get hourly usage for audit logs.
1750
+
"""Get hourly usage for audit logs. **Deprecated**.
1751
1751
1752
1752
Get hourly usage for audit logs.
1753
-
**Note:** hourly usage data for all products is now available in the `Get hourly usage by product family API <https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family>`_. Refer to `Migrating from the V1 Hourly Usage APIs to V2 <https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/>`_ for the associated migration guide.
1753
+
**Note:** This endpoint has been deprecated.
1754
1754
1755
1755
:param start_hr: Datetime in ISO-8601 format, UTC, precise to hour: ``[YYYY-MM-DDThh]`` for usage beginning at this hour.
1756
1756
:type start_hr: datetime
@@ -1765,6 +1765,7 @@ def get_usage_audit_logs(
1765
1765
ifend_hrisnotunset:
1766
1766
kwargs["end_hr"] =end_hr
1767
1767
1768
+
warnings.warn("get_usage_audit_logs is deprecated", DeprecationWarning, stacklevel=2)
Copy file name to clipboardExpand all lines: src/datadog_api_client/v1/model/usage_summary_date.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -288,7 +288,7 @@ def __init__(
288
288
:param appsec_fargate_count_avg: Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current date for all organizations.
289
289
:type appsec_fargate_count_avg: int, optional
290
290
291
-
:param audit_logs_lines_indexed_sum: Shows the sum of audit logs lines indexed over all hours in the current date for all organizations.
291
+
:param audit_logs_lines_indexed_sum: Shows the sum of audit logs lines indexed over all hours in the current date for all organizations. **Deprecated**.
292
292
:type audit_logs_lines_indexed_sum: int, optional
293
293
294
294
:param audit_trail_enabled_hwm: Shows the number of organizations that had Audit Trail enabled in the current date.
Copy file name to clipboardExpand all lines: src/datadog_api_client/v1/model/usage_summary_date_org.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -287,7 +287,7 @@ def __init__(
287
287
:param appsec_fargate_count_avg: Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current months for the given org.
288
288
:type appsec_fargate_count_avg: int, optional
289
289
290
-
:param audit_logs_lines_indexed_sum: Shows the sum of all audit logs lines indexed over all hours in the current date for the given org.
290
+
:param audit_logs_lines_indexed_sum: Shows the sum of all audit logs lines indexed over all hours in the current date for the given org. **Deprecated**.
291
291
:type audit_logs_lines_indexed_sum: int, optional
292
292
293
293
:param audit_trail_enabled_hwm: Shows whether Audit Trail is enabled for the current date for the given org.
Copy file name to clipboardExpand all lines: src/datadog_api_client/v1/model/usage_summary_response.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -317,7 +317,7 @@ def __init__(
317
317
:param appsec_fargate_count_avg_sum: Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current months for all organizations.
318
318
:type appsec_fargate_count_avg_sum: int, optional
319
319
320
-
:param audit_logs_lines_indexed_agg_sum: Shows the sum of all audit logs lines indexed over all hours in the current months for all organizations.
320
+
:param audit_logs_lines_indexed_agg_sum: Shows the sum of all audit logs lines indexed over all hours in the current months for all organizations. **Deprecated**.
0 commit comments