diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e694506b53..06cfae28ed 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -143143,7 +143143,10 @@ paths: - metrics_read /api/v2/metrics/config/bulk-tags: delete: + deprecated: true description: |- + **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead. + Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. @@ -143214,8 +143217,12 @@ paths: operator: OR permissions: - metric_tags_write + x-sunset: "2027-01-01" post: + deprecated: true description: |- + **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead. + Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. @@ -143294,6 +143301,7 @@ paths: operator: OR permissions: - metric_tags_write + x-sunset: "2027-01-01" /api/v2/metrics/tag-indexing-rules: get: description: List tag indexing rules for an org, sorted by `rule_order`, with offset/limit pagination. diff --git a/src/datadogV2/api/api_metrics.rs b/src/datadogV2/api/api_metrics.rs index 9ab9b0a298..50bb637536 100644 --- a/src/datadogV2/api/api_metrics.rs +++ b/src/datadogV2/api/api_metrics.rs @@ -588,6 +588,8 @@ impl MetricsAPI { Self { config, client } } + /// **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead. + /// /// Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. /// Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. /// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. @@ -619,6 +621,8 @@ impl MetricsAPI { } } + /// **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead. + /// /// Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. /// Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. /// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. @@ -1249,6 +1253,8 @@ impl MetricsAPI { } } + /// **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead. + /// /// Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. /// Metrics are selected by passing a metric name prefix. /// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. @@ -1277,6 +1283,8 @@ impl MetricsAPI { } } + /// **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead. + /// /// Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. /// Metrics are selected by passing a metric name prefix. /// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.