docs/v2/LogsMetricsAPI.md in datadog_api_client-1.4.0 vs docs/v2/LogsMetricsAPI.md in datadog_api_client-1.5.0
- old
+ new
@@ -1,18 +1,17 @@
# DatadogAPIClient::V2::LogsMetricsAPI
All URIs are relative to *https://api.datadoghq.com*
-| Method | HTTP request | Description |
-| ------ | ------------ | ----------- |
-| [**create_logs_metric**](LogsMetricsAPI.md#create_logs_metric) | **POST** /api/v2/logs/config/metrics | Create a log-based metric |
+| Method | HTTP request | Description |
+| -------------------------------------------------------------- | -------------------------------------------------- | ------------------------- |
+| [**create_logs_metric**](LogsMetricsAPI.md#create_logs_metric) | **POST** /api/v2/logs/config/metrics | Create a log-based metric |
| [**delete_logs_metric**](LogsMetricsAPI.md#delete_logs_metric) | **DELETE** /api/v2/logs/config/metrics/{metric_id} | Delete a log-based metric |
-| [**get_logs_metric**](LogsMetricsAPI.md#get_logs_metric) | **GET** /api/v2/logs/config/metrics/{metric_id} | Get a log-based metric |
-| [**list_logs_metrics**](LogsMetricsAPI.md#list_logs_metrics) | **GET** /api/v2/logs/config/metrics | Get all log-based metrics |
-| [**update_logs_metric**](LogsMetricsAPI.md#update_logs_metric) | **PATCH** /api/v2/logs/config/metrics/{metric_id} | Update a log-based metric |
+| [**get_logs_metric**](LogsMetricsAPI.md#get_logs_metric) | **GET** /api/v2/logs/config/metrics/{metric_id} | Get a log-based metric |
+| [**list_logs_metrics**](LogsMetricsAPI.md#list_logs_metrics) | **GET** /api/v2/logs/config/metrics | Get all log-based metrics |
+| [**update_logs_metric**](LogsMetricsAPI.md#update_logs_metric) | **PATCH** /api/v2/logs/config/metrics/{metric_id} | Update a log-based metric |
-
## create_logs_metric
> <LogsMetricResponse> create_logs_metric(body)
Create a metric based on your ingested logs in your organization.
@@ -52,13 +51,13 @@
end
```
### Parameters
-| Name | Type | Description | Notes |
-| ---- | ---- | ----------- | ----- |
-| **body** | [**LogsMetricCreateRequest**](LogsMetricCreateRequest.md) | The definition of the new log-based metric. | |
+| Name | Type | Description | Notes |
+| -------- | --------------------------------------------------------- | ------------------------------------------- | ----- |
+| **body** | [**LogsMetricCreateRequest**](LogsMetricCreateRequest.md) | The definition of the new log-based metric. | |
### Return type
[**LogsMetricResponse**](LogsMetricResponse.md)
@@ -69,11 +68,10 @@
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
-
## delete_logs_metric
> delete_logs_metric(metric_id)
Delete a specific log-based metric from your organization.
@@ -111,13 +109,13 @@
end
```
### Parameters
-| Name | Type | Description | Notes |
-| ---- | ---- | ----------- | ----- |
-| **metric_id** | **String** | The name of the log-based metric. | |
+| Name | Type | Description | Notes |
+| ------------- | ---------- | --------------------------------- | ----- |
+| **metric_id** | **String** | The name of the log-based metric. | |
### Return type
nil (empty response body)
@@ -128,11 +126,10 @@
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
-
## get_logs_metric
> <LogsMetricResponse> get_logs_metric(metric_id)
Get a specific log-based metric from your organization.
@@ -171,13 +168,13 @@
end
```
### Parameters
-| Name | Type | Description | Notes |
-| ---- | ---- | ----------- | ----- |
-| **metric_id** | **String** | The name of the log-based metric. | |
+| Name | Type | Description | Notes |
+| ------------- | ---------- | --------------------------------- | ----- |
+| **metric_id** | **String** | The name of the log-based metric. | |
### Return type
[**LogsMetricResponse**](LogsMetricResponse.md)
@@ -188,11 +185,10 @@
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
-
## list_logs_metrics
> <LogsMetricsResponse> list_logs_metrics
Get the list of configured log-based metrics with their definitions.
@@ -245,11 +241,10 @@
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
-
## update_logs_metric
> <LogsMetricResponse> update_logs_metric(metric_id, body)
Update a specific log-based metric from your organization.
@@ -290,14 +285,14 @@
end
```
### Parameters
-| Name | Type | Description | Notes |
-| ---- | ---- | ----------- | ----- |
-| **metric_id** | **String** | The name of the log-based metric. | |
-| **body** | [**LogsMetricUpdateRequest**](LogsMetricUpdateRequest.md) | New definition of the log-based metric. | |
+| Name | Type | Description | Notes |
+| ------------- | --------------------------------------------------------- | --------------------------------------- | ----- |
+| **metric_id** | **String** | The name of the log-based metric. | |
+| **body** | [**LogsMetricUpdateRequest**](LogsMetricUpdateRequest.md) | New definition of the log-based metric. | |
### Return type
[**LogsMetricResponse**](LogsMetricResponse.md)
@@ -307,6 +302,5 @@
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
-