diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 0cbaf7439c5..f38b0ec74bc 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -143063,7 +143063,11 @@ paths: - cloud_cost_management_write /api/v2/cost/oci_config: get: - description: List the OCI configs. + deprecated: true + description: |- + **Note**: This endpoint is deprecated. View OCI accounts in Cloud Cost Settings in the Datadog web application instead. + + List the OCI configs. operationId: ListCostOCIConfigs responses: "200": @@ -143104,6 +143108,7 @@ paths: operator: OR permissions: - cloud_cost_management_read + x-sunset: "2027-01-01" /api/v2/cost/recommendations: post: description: List cost recommendations matching a filter, with pagination and sorting. diff --git a/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java b/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java index 9e3c32a44d3..4130a303406 100644 --- a/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java @@ -8288,7 +8288,9 @@ public ApiResponse listCostGCPUsageCostConfigsWithH * * @return OCIConfigsResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public OCIConfigsResponse listCostOCIConfigs() throws ApiException { return listCostOCIConfigsWithHttpInfo().getData(); } @@ -8299,7 +8301,9 @@ public OCIConfigsResponse listCostOCIConfigs() throws ApiException { *

See {@link #listCostOCIConfigsWithHttpInfoAsync}. * * @return CompletableFuture<OCIConfigsResponse> + * @deprecated */ + @Deprecated public CompletableFuture listCostOCIConfigsAsync() { return listCostOCIConfigsWithHttpInfoAsync() .thenApply( @@ -8309,7 +8313,10 @@ public CompletableFuture listCostOCIConfigsAsync() { } /** - * List the OCI configs. + * Note: This endpoint is deprecated. View OCI accounts in Cloud Cost Settings in + * the Datadog web application instead. + * + *

List the OCI configs. * * @return ApiResponse<OCIConfigsResponse> * @throws ApiException if fails to make API call @@ -8321,7 +8328,10 @@ public CompletableFuture listCostOCIConfigsAsync() { * 403 Forbidden - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse listCostOCIConfigsWithHttpInfo() throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -8355,7 +8365,9 @@ public ApiResponse listCostOCIConfigsWithHttpInfo() throws A *

See {@link #listCostOCIConfigsWithHttpInfo}. * * @return CompletableFuture<ApiResponse<OCIConfigsResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> listCostOCIConfigsWithHttpInfoAsync() { Object localVarPostBody = null; // create path and map variables