diff --git a/.apigentools-info b/.apigentools-info index 6727fb2dc0..87b0c15617 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.4.1.dev11", - "regenerated": "2021-07-13 13:37:55.454952", - "spec_repo_commit": "beba4a1" + "regenerated": "2021-07-13 14:03:51.352491", + "spec_repo_commit": "6586890" }, "v2": { "apigentools_version": "1.4.1.dev11", - "regenerated": "2021-07-13 13:38:21.201974", - "spec_repo_commit": "beba4a1" + "regenerated": "2021-07-13 14:04:12.238306", + "spec_repo_commit": "6586890" } } } \ No newline at end of file diff --git a/docs/v1/README.md b/docs/v1/README.md index d69a3ab4a1..ed5ae54097 100644 --- a/docs/v1/README.md +++ b/docs/v1/README.md @@ -254,7 +254,6 @@ Class | Method | HTTP request | Description *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 *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 *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 -*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 *UsageMeteringApi* | [**get_usage_analyzed_logs**](UsageMeteringApi.md#get_usage_analyzed_logs) | **GET** /api/v1/usage/analyzed_logs | Get hourly usage for analyzed logs *UsageMeteringApi* | [**get_usage_attribution**](UsageMeteringApi.md#get_usage_attribution) | **GET** /api/v1/usage/attribution | Get Usage Attribution *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 *UsageMeteringApi* | [**get_usage_synthetics_browser**](UsageMeteringApi.md#get_usage_synthetics_browser) | **GET** /api/v1/usage/synthetics_browser | Get hourly usage for Synthetics Browser Checks *UsageMeteringApi* | [**get_usage_timeseries**](UsageMeteringApi.md#get_usage_timeseries) | **GET** /api/v1/usage/timeseries | Get hourly usage for custom metrics *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 -*UsageMeteringApi* | [**get_usage_trace**](UsageMeteringApi.md#get_usage_trace) | **GET** /api/v1/usage/traces | Get hourly usage for Trace Search *UsersApi* | [**create_user**](UsersApi.md#create_user) | **POST** /api/v1/user | Create a user *UsersApi* | [**disable_user**](UsersApi.md#disable_user) | **DELETE** /api/v1/user/{user_handle} | Disable a user *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 - [UsageTopAvgMetricsHour](UsageTopAvgMetricsHour.md) - [UsageTopAvgMetricsMetadata](UsageTopAvgMetricsMetadata.md) - [UsageTopAvgMetricsResponse](UsageTopAvgMetricsResponse.md) - - [UsageTraceHour](UsageTraceHour.md) - - [UsageTraceResponse](UsageTraceResponse.md) - - [UsageTracingWithoutLimitsHour](UsageTracingWithoutLimitsHour.md) - - [UsageTracingWithoutLimitsResponse](UsageTracingWithoutLimitsResponse.md) - [User](User.md) - [UserDisableResponse](UserDisableResponse.md) - [UserListResponse](UserListResponse.md) diff --git a/docs/v1/UsageMeteringApi.md b/docs/v1/UsageMeteringApi.md index 86b265322c..5f5082c712 100644 --- a/docs/v1/UsageMeteringApi.md +++ b/docs/v1/UsageMeteringApi.md @@ -10,7 +10,6 @@ Method | HTTP request | Description [**get_monthly_custom_reports**](UsageMeteringApi.md#get_monthly_custom_reports) | **GET** /api/v1/monthly_custom_reports | Get the list of available monthly custom reports [**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 [**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 -[**get_tracing_without_limits**](UsageMeteringApi.md#get_tracing_without_limits) | **GET** /api/v1/usage/tracing-without-limits | Get hourly usage for tracing without limits [**get_usage_analyzed_logs**](UsageMeteringApi.md#get_usage_analyzed_logs) | **GET** /api/v1/usage/analyzed_logs | Get hourly usage for analyzed logs [**get_usage_attribution**](UsageMeteringApi.md#get_usage_attribution) | **GET** /api/v1/usage/attribution | Get Usage Attribution [**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 [**get_usage_synthetics_browser**](UsageMeteringApi.md#get_usage_synthetics_browser) | **GET** /api/v1/usage/synthetics_browser | Get hourly usage for Synthetics Browser Checks [**get_usage_timeseries**](UsageMeteringApi.md#get_usage_timeseries) | **GET** /api/v1/usage/timeseries | Get hourly usage for custom metrics [**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 -[**get_usage_trace**](UsageMeteringApi.md#get_usage_trace) | **GET** /api/v1/usage/traces | Get hourly usage for Trace Search # **get_daily_custom_reports** @@ -462,83 +460,6 @@ Name | Type | Description | Notes [[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) -# **get_tracing_without_limits** -> UsageTracingWithoutLimitsResponse get_tracing_without_limits(start_hr) - -Get hourly usage for tracing without limits. - -**Note** This endpoint has been renamed to `/api/v1/usage/ingested-spans`. - -### Example - -* Api Key Authentication (apiKeyAuth): -* Api Key Authentication (appKeyAuth): -```python -import os -from dateutil.parser import parse as dateutil_parser -from datadog_api_client.v1 import ApiClient, ApiException, Configuration -from datadog_api_client.v1.api import usage_metering_api -from datadog_api_client.v1.models import * -from pprint import pprint -# See configuration.py for a list of all supported configuration parameters. -configuration = Configuration() - -# Enter a context with an instance of the API client -with ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = usage_metering_api.UsageMeteringApi(api_client) - 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. - 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) - - # example passing only required values which don't have defaults set - try: - # Get hourly usage for tracing without limits - api_response = api_instance.get_tracing_without_limits(start_hr) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsageMeteringApi->get_tracing_without_limits: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get hourly usage for tracing without limits - api_response = api_instance.get_tracing_without_limits(start_hr, end_hr=end_hr) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsageMeteringApi->get_tracing_without_limits: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **start_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. | - **end_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. | [optional] - -### Return type - -[**UsageTracingWithoutLimitsResponse**](UsageTracingWithoutLimitsResponse.md) - -### Authorization - -[apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json;datetime-format=rfc3339 - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**403** | Forbidden - User is not authorized | - | - -[[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) - # **get_usage_analyzed_logs** > UsageAnalyzedLogsResponse get_usage_analyzed_logs(start_hr) @@ -2418,80 +2339,3 @@ Name | Type | Description | Notes [[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) -# **get_usage_trace** -> UsageTraceResponse get_usage_trace(start_hr) - -Get hourly usage for trace search. - -**Note** This endpoint has been renamed to `/api/v1/usage/indexed-spans`. - -### Example - -* Api Key Authentication (apiKeyAuth): -* Api Key Authentication (appKeyAuth): -```python -import os -from dateutil.parser import parse as dateutil_parser -from datadog_api_client.v1 import ApiClient, ApiException, Configuration -from datadog_api_client.v1.api import usage_metering_api -from datadog_api_client.v1.models import * -from pprint import pprint -# See configuration.py for a list of all supported configuration parameters. -configuration = Configuration() - -# Enter a context with an instance of the API client -with ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = usage_metering_api.UsageMeteringApi(api_client) - 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. - 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) - - # example passing only required values which don't have defaults set - try: - # Get hourly usage for Trace Search - api_response = api_instance.get_usage_trace(start_hr) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsageMeteringApi->get_usage_trace: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get hourly usage for Trace Search - api_response = api_instance.get_usage_trace(start_hr, end_hr=end_hr) - pprint(api_response) - except ApiException as e: - print("Exception when calling UsageMeteringApi->get_usage_trace: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **start_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. | - **end_hr** | **datetime**| Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. | [optional] - -### Return type - -[**UsageTraceResponse**](UsageTraceResponse.md) - -### Authorization - -[apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json;datetime-format=rfc3339 - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**403** | Forbidden - User is not authorized | - | - -[[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) - diff --git a/docs/v1/UsageTraceHour.md b/docs/v1/UsageTraceHour.md deleted file mode 100644 index 0ecb69c27a..0000000000 --- a/docs/v1/UsageTraceHour.md +++ /dev/null @@ -1,13 +0,0 @@ -# UsageTraceHour - -The hours of trace usage. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hour** | **datetime** | The hour for the usage. | [optional] -**indexed_events_count** | **int** | Contains the number of Indexed Spans indexed. | [optional] - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/docs/v1/UsageTraceResponse.md b/docs/v1/UsageTraceResponse.md deleted file mode 100644 index 3f8521690a..0000000000 --- a/docs/v1/UsageTraceResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# UsageTraceResponse - -A response containing trace usage. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**usage** | [**[UsageTraceHour]**](UsageTraceHour.md) | Array with the number of hourly traces indexed for a given organization. | [optional] - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/docs/v1/UsageTracingWithoutLimitsHour.md b/docs/v1/UsageTracingWithoutLimitsHour.md deleted file mode 100644 index 22770fb364..0000000000 --- a/docs/v1/UsageTracingWithoutLimitsHour.md +++ /dev/null @@ -1,13 +0,0 @@ -# UsageTracingWithoutLimitsHour - -Tracing without limits usage for a given organization for a given hour. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hour** | **datetime** | The hour for the usage. | [optional] -**ingested_events_bytes** | **int** | Contains the total number of bytes ingested during a given hour. | [optional] - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/docs/v1/UsageTracingWithoutLimitsResponse.md b/docs/v1/UsageTracingWithoutLimitsResponse.md deleted file mode 100644 index d808b9d28d..0000000000 --- a/docs/v1/UsageTracingWithoutLimitsResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# UsageTracingWithoutLimitsResponse - -Response containing the tracing without limits usage for each hour for a given organization. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**usage** | [**[UsageTracingWithoutLimitsHour]**](UsageTracingWithoutLimitsHour.md) | Get hourly usage for tracing without limits. | [optional] - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/src/datadog_api_client/v1/api/usage_metering_api.py b/src/datadog_api_client/v1/api/usage_metering_api.py index 205318f9d4..a8d4383b76 100644 --- a/src/datadog_api_client/v1/api/usage_metering_api.py +++ b/src/datadog_api_client/v1/api/usage_metering_api.py @@ -52,8 +52,6 @@ from datadog_api_client.v1.model.usage_synthetics_response import UsageSyntheticsResponse from datadog_api_client.v1.model.usage_timeseries_response import UsageTimeseriesResponse from datadog_api_client.v1.model.usage_top_avg_metrics_response import UsageTopAvgMetricsResponse -from datadog_api_client.v1.model.usage_trace_response import UsageTraceResponse -from datadog_api_client.v1.model.usage_tracing_without_limits_response import UsageTracingWithoutLimitsResponse class UsageMeteringApi(object): @@ -342,51 +340,6 @@ def __init__(self, api_client=None): api_client=api_client, ) - self._get_tracing_without_limits_endpoint = _Endpoint( - settings={ - "response_type": (UsageTracingWithoutLimitsResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], - "endpoint_path": "/api/v1/usage/tracing-without-limits", - "operation_id": "get_tracing_without_limits", - "http_method": "GET", - "servers": None, - }, - params_map={ - "all": [ - "start_hr", - "end_hr", - ], - "required": [ - "start_hr", - ], - "nullable": [], - "enum": [], - "validation": [], - }, - root_map={ - "validations": {}, - "allowed_values": {}, - "openapi_types": { - "start_hr": (datetime,), - "end_hr": (datetime,), - }, - "attribute_map": { - "start_hr": "start_hr", - "end_hr": "end_hr", - }, - "location_map": { - "start_hr": "query", - "end_hr": "query", - }, - "collection_format_map": {}, - }, - headers_map={ - "accept": ["application/json;datetime-format=rfc3339"], - "content_type": [], - }, - api_client=api_client, - ) - self._get_usage_analyzed_logs_endpoint = _Endpoint( settings={ "response_type": (UsageAnalyzedLogsResponse,), @@ -1552,51 +1505,6 @@ def __init__(self, api_client=None): api_client=api_client, ) - self._get_usage_trace_endpoint = _Endpoint( - settings={ - "response_type": (UsageTraceResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], - "endpoint_path": "/api/v1/usage/traces", - "operation_id": "get_usage_trace", - "http_method": "GET", - "servers": None, - }, - params_map={ - "all": [ - "start_hr", - "end_hr", - ], - "required": [ - "start_hr", - ], - "nullable": [], - "enum": [], - "validation": [], - }, - root_map={ - "validations": {}, - "allowed_values": {}, - "openapi_types": { - "start_hr": (datetime,), - "end_hr": (datetime,), - }, - "attribute_map": { - "start_hr": "start_hr", - "end_hr": "end_hr", - }, - "location_map": { - "start_hr": "query", - "end_hr": "query", - }, - "collection_format_map": {}, - }, - headers_map={ - "accept": ["application/json;datetime-format=rfc3339"], - "content_type": [], - }, - api_client=api_client, - ) - def get_daily_custom_reports(self, **kwargs): """Get the list of available daily custom reports # noqa: E501 @@ -1859,50 +1767,6 @@ def get_specified_monthly_custom_reports(self, report_id, **kwargs): kwargs["report_id"] = report_id return self._get_specified_monthly_custom_reports_endpoint.call_with_http_info(**kwargs) - def get_tracing_without_limits(self, start_hr, **kwargs): - """Get hourly usage for tracing without limits # noqa: E501 - - Get hourly usage for tracing without limits. **Note** This endpoint has been renamed to `/api/v1/usage/ingested-spans`. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_tracing_without_limits(start_hr, async_req=True) - >>> result = thread.get() - - Args: - start_hr (datetime): Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. - - Keyword Args: - end_hr (datetime): Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (float/tuple): timeout setting for this request. If one - number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - UsageTracingWithoutLimitsResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs = self._get_tracing_without_limits_endpoint.default_arguments(kwargs) - kwargs["start_hr"] = start_hr - return self._get_tracing_without_limits_endpoint.call_with_http_info(**kwargs) - def get_usage_analyzed_logs(self, start_hr, **kwargs): """Get hourly usage for analyzed logs # noqa: E501 @@ -3007,47 +2871,3 @@ def get_usage_top_avg_metrics(self, **kwargs): """ kwargs = self._get_usage_top_avg_metrics_endpoint.default_arguments(kwargs) return self._get_usage_top_avg_metrics_endpoint.call_with_http_info(**kwargs) - - def get_usage_trace(self, start_hr, **kwargs): - """Get hourly usage for Trace Search # noqa: E501 - - Get hourly usage for trace search. **Note** This endpoint has been renamed to `/api/v1/usage/indexed-spans`. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_usage_trace(start_hr, async_req=True) - >>> result = thread.get() - - Args: - start_hr (datetime): Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - - Keyword Args: - end_hr (datetime): Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (float/tuple): timeout setting for this request. If one - number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - UsageTraceResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs = self._get_usage_trace_endpoint.default_arguments(kwargs) - kwargs["start_hr"] = start_hr - return self._get_usage_trace_endpoint.call_with_http_info(**kwargs) diff --git a/src/datadog_api_client/v1/model/usage_trace_hour.py b/src/datadog_api_client/v1/model/usage_trace_hour.py deleted file mode 100644 index 50f25daa6d..0000000000 --- a/src/datadog_api_client/v1/model/usage_trace_hour.py +++ /dev/null @@ -1,166 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. - - -import re # noqa: F401 -import sys # noqa: F401 - -from datadog_api_client.v1.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class UsageTraceHour(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "hour": (datetime,), # noqa: E501 - "indexed_events_count": (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "hour": "hour", # noqa: E501 - "indexed_events_count": "indexed_events_count", # noqa: E501 - } - - _composed_schemas = {} - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UsageTraceHour - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - hour (datetime): The hour for the usage.. [optional] # noqa: E501 - indexed_events_count (int): Contains the number of Indexed Spans indexed.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) diff --git a/src/datadog_api_client/v1/model/usage_trace_response.py b/src/datadog_api_client/v1/model/usage_trace_response.py deleted file mode 100644 index eebc845028..0000000000 --- a/src/datadog_api_client/v1/model/usage_trace_response.py +++ /dev/null @@ -1,170 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. - - -import re # noqa: F401 -import sys # noqa: F401 - -from datadog_api_client.v1.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from datadog_api_client.v1.model.usage_trace_hour import UsageTraceHour - - globals()["UsageTraceHour"] = UsageTraceHour - - -class UsageTraceResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "usage": ([UsageTraceHour],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "usage": "usage", # noqa: E501 - } - - _composed_schemas = {} - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UsageTraceResponse - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - usage ([UsageTraceHour]): Array with the number of hourly traces indexed for a given organization.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) diff --git a/src/datadog_api_client/v1/model/usage_tracing_without_limits_hour.py b/src/datadog_api_client/v1/model/usage_tracing_without_limits_hour.py deleted file mode 100644 index f2882f28d6..0000000000 --- a/src/datadog_api_client/v1/model/usage_tracing_without_limits_hour.py +++ /dev/null @@ -1,166 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. - - -import re # noqa: F401 -import sys # noqa: F401 - -from datadog_api_client.v1.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class UsageTracingWithoutLimitsHour(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "hour": (datetime,), # noqa: E501 - "ingested_events_bytes": (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "hour": "hour", # noqa: E501 - "ingested_events_bytes": "ingested_events_bytes", # noqa: E501 - } - - _composed_schemas = {} - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UsageTracingWithoutLimitsHour - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - hour (datetime): The hour for the usage.. [optional] # noqa: E501 - ingested_events_bytes (int): Contains the total number of bytes ingested during a given hour.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) diff --git a/src/datadog_api_client/v1/model/usage_tracing_without_limits_response.py b/src/datadog_api_client/v1/model/usage_tracing_without_limits_response.py deleted file mode 100644 index 1b5c7ce52b..0000000000 --- a/src/datadog_api_client/v1/model/usage_tracing_without_limits_response.py +++ /dev/null @@ -1,170 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. - - -import re # noqa: F401 -import sys # noqa: F401 - -from datadog_api_client.v1.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from datadog_api_client.v1.model.usage_tracing_without_limits_hour import UsageTracingWithoutLimitsHour - - globals()["UsageTracingWithoutLimitsHour"] = UsageTracingWithoutLimitsHour - - -class UsageTracingWithoutLimitsResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "usage": ([UsageTracingWithoutLimitsHour],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "usage": "usage", # noqa: E501 - } - - _composed_schemas = {} - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UsageTracingWithoutLimitsResponse - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - usage ([UsageTracingWithoutLimitsHour]): Get hourly usage for tracing without limits.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) diff --git a/src/datadog_api_client/v1/models/__init__.py b/src/datadog_api_client/v1/models/__init__.py index b6b1472bad..c995054bc2 100644 --- a/src/datadog_api_client/v1/models/__init__.py +++ b/src/datadog_api_client/v1/models/__init__.py @@ -601,10 +601,6 @@ from datadog_api_client.v1.model.usage_top_avg_metrics_hour import UsageTopAvgMetricsHour from datadog_api_client.v1.model.usage_top_avg_metrics_metadata import UsageTopAvgMetricsMetadata from datadog_api_client.v1.model.usage_top_avg_metrics_response import UsageTopAvgMetricsResponse -from datadog_api_client.v1.model.usage_trace_hour import UsageTraceHour -from datadog_api_client.v1.model.usage_trace_response import UsageTraceResponse -from datadog_api_client.v1.model.usage_tracing_without_limits_hour import UsageTracingWithoutLimitsHour -from datadog_api_client.v1.model.usage_tracing_without_limits_response import UsageTracingWithoutLimitsResponse from datadog_api_client.v1.model.user import User from datadog_api_client.v1.model.user_disable_response import UserDisableResponse from datadog_api_client.v1.model.user_list_response import UserListResponse diff --git a/src/datadog_api_client/v1/openapi.yaml b/src/datadog_api_client/v1/openapi.yaml index 11078aa907..abecd26cea 100644 --- a/src/datadog_api_client/v1/openapi.yaml +++ b/src/datadog_api_client/v1/openapi.yaml @@ -12651,52 +12651,6 @@ components: $ref: '#/components/schemas/UsageTopAvgMetricsHour' type: array type: object - UsageTraceHour: - description: The hours of trace usage. - properties: - hour: - description: The hour for the usage. - format: date-time - type: string - indexed_events_count: - description: Contains the number of Indexed Spans indexed. - format: int64 - type: integer - type: object - UsageTraceResponse: - description: A response containing trace usage. - properties: - usage: - description: Array with the number of hourly traces indexed for a given - organization. - items: - $ref: '#/components/schemas/UsageTraceHour' - type: array - type: object - UsageTracingWithoutLimitsHour: - description: Tracing without limits usage for a given organization for a given - hour. - properties: - hour: - description: The hour for the usage. - format: date-time - type: string - ingested_events_bytes: - description: Contains the total number of bytes ingested during a given - hour. - format: int64 - type: integer - type: object - UsageTracingWithoutLimitsResponse: - description: Response containing the tracing without limits usage for each hour - for a given organization. - properties: - usage: - description: Get hourly usage for tracing without limits. - items: - $ref: '#/components/schemas/UsageTracingWithoutLimitsHour' - type: array - type: object User: description: Create, edit, and disable users. properties: @@ -22201,108 +22155,6 @@ paths: x-menu-order: 5 x-undo: type: safe - /api/v1/usage/traces: - get: - deprecated: true - description: 'Get hourly usage for trace search. - - - **Note** This endpoint has been renamed to `/api/v1/usage/indexed-spans`.' - operationId: GetUsageTrace - parameters: - - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] - for usage beginning at this hour.' - in: query - name: start_hr - required: true - schema: - format: date-time - type: string - - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] - for usage ending **before** this hour.' - in: query - name: end_hr - required: false - schema: - format: date-time - type: string - responses: - '200': - content: - application/json;datetime-format=rfc3339: - schema: - $ref: '#/components/schemas/UsageTraceResponse' - description: OK - '400': - content: - application/json;datetime-format=rfc3339: - schema: - $ref: '#/components/schemas/APIErrorResponse' - description: Bad Request - '403': - content: - application/json;datetime-format=rfc3339: - schema: - $ref: '#/components/schemas/APIErrorResponse' - description: Forbidden - User is not authorized - summary: Get hourly usage for Trace Search - tags: - - Usage Metering - x-menu-order: 6 - x-undo: - type: safe - /api/v1/usage/tracing-without-limits: - get: - deprecated: true - description: 'Get hourly usage for tracing without limits. - - - **Note** This endpoint has been renamed to `/api/v1/usage/ingested-spans`.' - operationId: GetTracingWithoutLimits - parameters: - - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` - for usage beginning at this hour.' - in: query - name: start_hr - required: true - schema: - format: date-time - type: string - - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` - for usage ending - - **before** this hour.' - in: query - name: end_hr - required: false - schema: - format: date-time - type: string - responses: - '200': - content: - application/json;datetime-format=rfc3339: - schema: - $ref: '#/components/schemas/UsageTracingWithoutLimitsResponse' - description: OK - '400': - content: - application/json;datetime-format=rfc3339: - schema: - $ref: '#/components/schemas/APIErrorResponse' - description: Bad Request - '403': - content: - application/json;datetime-format=rfc3339: - schema: - $ref: '#/components/schemas/APIErrorResponse' - description: Forbidden - User is not authorized - summary: Get hourly usage for tracing without limits - tags: - - Usage Metering - x-menu-order: 25 - x-undo: - type: safe /api/v1/user: get: description: List all users for your organization. diff --git a/tests/v1/features/undo.json b/tests/v1/features/undo.json index 215091e7ae..38b7a2e326 100644 --- a/tests/v1/features/undo.json +++ b/tests/v1/features/undo.json @@ -1224,18 +1224,6 @@ "type": "safe" } }, - "GetUsageTrace": { - "tag": "Usage Metering", - "undo": { - "type": "safe" - } - }, - "GetTracingWithoutLimits": { - "tag": "Usage Metering", - "undo": { - "type": "safe" - } - }, "ListUsers": { "tag": "Users", "undo": { diff --git a/tests/v1/features/usage_metering.feature b/tests/v1/features/usage_metering.feature index 4fc14c7583..d05722168f 100644 --- a/tests/v1/features/usage_metering.feature +++ b/tests/v1/features/usage_metering.feature @@ -223,18 +223,6 @@ Feature: Usage Metering When the request is sent Then the response status is 200 OK - @generated @skip - Scenario: Get hourly usage for Trace Search returns "Bad Request" response - Given new "GetUsageTrace" request - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip - Scenario: Get hourly usage for Trace Search returns "OK" response - Given new "GetUsageTrace" request - When the request is sent - Then the response status is 200 OK - @generated @skip Scenario: Get hourly usage for analyzed logs returns "Bad Request" response Given new "GetUsageAnalyzedLogs" request @@ -331,18 +319,6 @@ Feature: Usage Metering When the request is sent Then the response status is 200 OK - @generated @skip - Scenario: Get hourly usage for tracing without limits returns "Bad Request" response - Given new "GetTracingWithoutLimits" request - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip - Scenario: Get hourly usage for tracing without limits returns "OK" response - Given new "GetTracingWithoutLimits" request - When the request is sent - Then the response status is 200 OK - @generated @skip Scenario: Get specified daily custom reports returns "Not Found" response Given operation "GetSpecifiedDailyCustomReports" enabled