Skip to content

Commit 3c5eb6b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ca897a7 of spec repo
1 parent 32560e6 commit 3c5eb6b

16 files changed

+4
-1256
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev11",
7-
"regenerated": "2021-07-07 06:41:55.952850",
8-
"spec_repo_commit": "0eabb4b"
7+
"regenerated": "2021-07-13 13:04:05.155373",
8+
"spec_repo_commit": "ca897a7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev11",
12-
"regenerated": "2021-07-07 06:42:22.677446",
13-
"spec_repo_commit": "0eabb4b"
12+
"regenerated": "2021-07-13 13:04:31.338510",
13+
"spec_repo_commit": "ca897a7"
1414
}
1515
}
1616
}

docs/v1/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ Class | Method | HTTP request | Description
254254
*UsageMeteringApi* | [**get_monthly_custom_reports**](UsageMeteringApi.md#get_monthly_custom_reports) | **GET** /api/v1/monthly_custom_reports | Get the list of available monthly custom reports
255255
*UsageMeteringApi* | [**get_specified_daily_custom_reports**](UsageMeteringApi.md#get_specified_daily_custom_reports) | **GET** /api/v1/daily_custom_reports/{report_id} | Get specified daily custom reports
256256
*UsageMeteringApi* | [**get_specified_monthly_custom_reports**](UsageMeteringApi.md#get_specified_monthly_custom_reports) | **GET** /api/v1/monthly_custom_reports/{report_id} | Get specified monthly custom reports
257-
*UsageMeteringApi* | [**get_tracing_without_limits**](UsageMeteringApi.md#get_tracing_without_limits) | **GET** /api/v1/usage/tracing-without-limits | Get hourly usage for tracing without limits
258257
*UsageMeteringApi* | [**get_usage_analyzed_logs**](UsageMeteringApi.md#get_usage_analyzed_logs) | **GET** /api/v1/usage/analyzed_logs | Get hourly usage for analyzed logs
259258
*UsageMeteringApi* | [**get_usage_attribution**](UsageMeteringApi.md#get_usage_attribution) | **GET** /api/v1/usage/attribution | Get Usage Attribution
260259
*UsageMeteringApi* | [**get_usage_audit_logs**](UsageMeteringApi.md#get_usage_audit_logs) | **GET** /api/v1/usage/audit_logs | Get hourly usage for audit logs
@@ -280,7 +279,6 @@ Class | Method | HTTP request | Description
280279
*UsageMeteringApi* | [**get_usage_synthetics_browser**](UsageMeteringApi.md#get_usage_synthetics_browser) | **GET** /api/v1/usage/synthetics_browser | Get hourly usage for Synthetics Browser Checks
281280
*UsageMeteringApi* | [**get_usage_timeseries**](UsageMeteringApi.md#get_usage_timeseries) | **GET** /api/v1/usage/timeseries | Get hourly usage for custom metrics
282281
*UsageMeteringApi* | [**get_usage_top_avg_metrics**](UsageMeteringApi.md#get_usage_top_avg_metrics) | **GET** /api/v1/usage/top_avg_metrics | Get all custom metrics by hourly average
283-
*UsageMeteringApi* | [**get_usage_trace**](UsageMeteringApi.md#get_usage_trace) | **GET** /api/v1/usage/traces | Get hourly usage for Trace Search
284282
*UsersApi* | [**create_user**](UsersApi.md#create_user) | **POST** /api/v1/user | Create a user
285283
*UsersApi* | [**disable_user**](UsersApi.md#disable_user) | **DELETE** /api/v1/user/{user_handle} | Disable a user
286284
*UsersApi* | [**get_user**](UsersApi.md#get_user) | **GET** /api/v1/user/{user_handle} | Get user details
@@ -838,10 +836,6 @@ Class | Method | HTTP request | Description
838836
- [UsageTopAvgMetricsHour](UsageTopAvgMetricsHour.md)
839837
- [UsageTopAvgMetricsMetadata](UsageTopAvgMetricsMetadata.md)
840838
- [UsageTopAvgMetricsResponse](UsageTopAvgMetricsResponse.md)
841-
- [UsageTraceHour](UsageTraceHour.md)
842-
- [UsageTraceResponse](UsageTraceResponse.md)
843-
- [UsageTracingWithoutLimitsHour](UsageTracingWithoutLimitsHour.md)
844-
- [UsageTracingWithoutLimitsResponse](UsageTracingWithoutLimitsResponse.md)
845839
- [User](User.md)
846840
- [UserDisableResponse](UserDisableResponse.md)
847841
- [UserListResponse](UserListResponse.md)

docs/v1/UsageMeteringApi.md

Lines changed: 0 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Method | HTTP request | Description
1010
[**get_monthly_custom_reports**](UsageMeteringApi.md#get_monthly_custom_reports) | **GET** /api/v1/monthly_custom_reports | Get the list of available monthly custom reports
1111
[**get_specified_daily_custom_reports**](UsageMeteringApi.md#get_specified_daily_custom_reports) | **GET** /api/v1/daily_custom_reports/{report_id} | Get specified daily custom reports
1212
[**get_specified_monthly_custom_reports**](UsageMeteringApi.md#get_specified_monthly_custom_reports) | **GET** /api/v1/monthly_custom_reports/{report_id} | Get specified monthly custom reports
13-
[**get_tracing_without_limits**](UsageMeteringApi.md#get_tracing_without_limits) | **GET** /api/v1/usage/tracing-without-limits | Get hourly usage for tracing without limits
1413
[**get_usage_analyzed_logs**](UsageMeteringApi.md#get_usage_analyzed_logs) | **GET** /api/v1/usage/analyzed_logs | Get hourly usage for analyzed logs
1514
[**get_usage_attribution**](UsageMeteringApi.md#get_usage_attribution) | **GET** /api/v1/usage/attribution | Get Usage Attribution
1615
[**get_usage_audit_logs**](UsageMeteringApi.md#get_usage_audit_logs) | **GET** /api/v1/usage/audit_logs | Get hourly usage for audit logs
@@ -36,7 +35,6 @@ Method | HTTP request | Description
3635
[**get_usage_synthetics_browser**](UsageMeteringApi.md#get_usage_synthetics_browser) | **GET** /api/v1/usage/synthetics_browser | Get hourly usage for Synthetics Browser Checks
3736
[**get_usage_timeseries**](UsageMeteringApi.md#get_usage_timeseries) | **GET** /api/v1/usage/timeseries | Get hourly usage for custom metrics
3837
[**get_usage_top_avg_metrics**](UsageMeteringApi.md#get_usage_top_avg_metrics) | **GET** /api/v1/usage/top_avg_metrics | Get all custom metrics by hourly average
39-
[**get_usage_trace**](UsageMeteringApi.md#get_usage_trace) | **GET** /api/v1/usage/traces | Get hourly usage for Trace Search
4038

4139

4240
# **get_daily_custom_reports**
@@ -462,83 +460,6 @@ Name | Type | Description | Notes
462460

463461
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
464462

465-
# **get_tracing_without_limits**
466-
> UsageTracingWithoutLimitsResponse get_tracing_without_limits(start_hr)
467-
468-
Get hourly usage for tracing without limits.
469-
470-
**Note** This endpoint has been renamed to `/api/v1/usage/ingested-spans`.
471-
472-
### Example
473-
474-
* Api Key Authentication (apiKeyAuth):
475-
* Api Key Authentication (appKeyAuth):
476-
```python
477-
import os
478-
from dateutil.parser import parse as dateutil_parser
479-
from datadog_api_client.v1 import ApiClient, ApiException, Configuration
480-
from datadog_api_client.v1.api import usage_metering_api
481-
from datadog_api_client.v1.models import *
482-
from pprint import pprint
483-
# See configuration.py for a list of all supported configuration parameters.
484-
configuration = Configuration()
485-
486-
# Enter a context with an instance of the API client
487-
with ApiClient(configuration) as api_client:
488-
# Create an instance of the API class
489-
api_instance = usage_metering_api.UsageMeteringApi(api_client)
490-
start_hr = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
491-
end_hr = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. (optional)
492-
493-
# example passing only required values which don't have defaults set
494-
try:
495-
# Get hourly usage for tracing without limits
496-
api_response = api_instance.get_tracing_without_limits(start_hr)
497-
pprint(api_response)
498-
except ApiException as e:
499-
print("Exception when calling UsageMeteringApi->get_tracing_without_limits: %s\n" % e)
500-
501-
# example passing only required values which don't have defaults set
502-
# and optional values
503-
try:
504-
# Get hourly usage for tracing without limits
505-
api_response = api_instance.get_tracing_without_limits(start_hr, end_hr=end_hr)
506-
pprint(api_response)
507-
except ApiException as e:
508-
print("Exception when calling UsageMeteringApi->get_tracing_without_limits: %s\n" % e)
509-
```
510-
511-
512-
### Parameters
513-
514-
Name | Type | Description | Notes
515-
------------- | ------------- | ------------- | -------------
516-
**start_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. |
517-
**end_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. | [optional]
518-
519-
### Return type
520-
521-
[**UsageTracingWithoutLimitsResponse**](UsageTracingWithoutLimitsResponse.md)
522-
523-
### Authorization
524-
525-
[apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth)
526-
527-
### HTTP request headers
528-
529-
- **Content-Type**: Not defined
530-
- **Accept**: application/json;datetime-format=rfc3339
531-
532-
533-
### HTTP response details
534-
| Status code | Description | Response headers |
535-
|-------------|-------------|------------------|
536-
**200** | OK | - |
537-
**400** | Bad Request | - |
538-
**403** | Forbidden - User is not authorized | - |
539-
540-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
541-
542463
# **get_usage_analyzed_logs**
543464
> UsageAnalyzedLogsResponse get_usage_analyzed_logs(start_hr)
544465
@@ -2418,80 +2339,3 @@ Name | Type | Description | Notes
24182339

24192340
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
24202341

2421-
# **get_usage_trace**
2422-
> UsageTraceResponse get_usage_trace(start_hr)
2423-
2424-
Get hourly usage for trace search.
2425-
2426-
**Note** This endpoint has been renamed to `/api/v1/usage/indexed-spans`.
2427-
2428-
### Example
2429-
2430-
* Api Key Authentication (apiKeyAuth):
2431-
* Api Key Authentication (appKeyAuth):
2432-
```python
2433-
import os
2434-
from dateutil.parser import parse as dateutil_parser
2435-
from datadog_api_client.v1 import ApiClient, ApiException, Configuration
2436-
from datadog_api_client.v1.api import usage_metering_api
2437-
from datadog_api_client.v1.models import *
2438-
from pprint import pprint
2439-
# See configuration.py for a list of all supported configuration parameters.
2440-
configuration = Configuration()
2441-
2442-
# Enter a context with an instance of the API client
2443-
with ApiClient(configuration) as api_client:
2444-
# Create an instance of the API class
2445-
api_instance = usage_metering_api.UsageMeteringApi(api_client)
2446-
start_hr = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2447-
end_hr = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. (optional)
2448-
2449-
# example passing only required values which don't have defaults set
2450-
try:
2451-
# Get hourly usage for Trace Search
2452-
api_response = api_instance.get_usage_trace(start_hr)
2453-
pprint(api_response)
2454-
except ApiException as e:
2455-
print("Exception when calling UsageMeteringApi->get_usage_trace: %s\n" % e)
2456-
2457-
# example passing only required values which don't have defaults set
2458-
# and optional values
2459-
try:
2460-
# Get hourly usage for Trace Search
2461-
api_response = api_instance.get_usage_trace(start_hr, end_hr=end_hr)
2462-
pprint(api_response)
2463-
except ApiException as e:
2464-
print("Exception when calling UsageMeteringApi->get_usage_trace: %s\n" % e)
2465-
```
2466-
2467-
2468-
### Parameters
2469-
2470-
Name | Type | Description | Notes
2471-
------------- | ------------- | ------------- | -------------
2472-
**start_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. |
2473-
**end_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. | [optional]
2474-
2475-
### Return type
2476-
2477-
[**UsageTraceResponse**](UsageTraceResponse.md)
2478-
2479-
### Authorization
2480-
2481-
[apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth)
2482-
2483-
### HTTP request headers
2484-
2485-
- **Content-Type**: Not defined
2486-
- **Accept**: application/json;datetime-format=rfc3339
2487-
2488-
2489-
### HTTP response details
2490-
| Status code | Description | Response headers |
2491-
|-------------|-------------|------------------|
2492-
**200** | OK | - |
2493-
**400** | Bad Request | - |
2494-
**403** | Forbidden - User is not authorized | - |
2495-
2496-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
2497-

docs/v1/UsageTraceHour.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/v1/UsageTraceResponse.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/v1/UsageTracingWithoutLimitsHour.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/v1/UsageTracingWithoutLimitsResponse.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)