From a4507785f68d541e1839fc9d681ec1f67fbca85c Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 20:31:48 +0000 Subject: [PATCH] Deprecate `api/v2/cost/enabled` (#2756) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 1 + api/datadogV2/api_cloud_cost_management.go | 2 ++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 938232bc8e4..27e19cc04aa 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-04 18:34:29.632314", - "spec_repo_commit": "aeb956c4" + "regenerated": "2024-11-04 19:34:52.467198", + "spec_repo_commit": "82ea89c4" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-04 18:34:29.651672", - "spec_repo_commit": "aeb956c4" + "regenerated": "2024-11-04 19:34:52.486319", + "spec_repo_commit": "82ea89c4" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 8385e5fe7ea..4dac73fbf3e 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -29197,6 +29197,7 @@ paths: - Cloud Cost Management /api/v2/cost/enabled: get: + deprecated: true description: Get the Cloud Cost Management activity. operationId: GetCloudCostActivity responses: diff --git a/api/datadogV2/api_cloud_cost_management.go b/api/datadogV2/api_cloud_cost_management.go index fb49b970539..c1857a7ca35 100644 --- a/api/datadogV2/api_cloud_cost_management.go +++ b/api/datadogV2/api_cloud_cost_management.go @@ -347,6 +347,8 @@ func (a *CloudCostManagementApi) DeleteCustomCostsFile(ctx _context.Context, fil // GetCloudCostActivity Cloud Cost Enabled. // Get the Cloud Cost Management activity. +// +// Deprecated: This API is deprecated. func (a *CloudCostManagementApi) GetCloudCostActivity(ctx _context.Context) (CloudCostActivityResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet