diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 203a2ac6cdf..92d598bce34 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -189759,6 +189759,7 @@ paths: Please check the documentation regularly for updates. /api/v2/slo/report: post: + deprecated: true description: |- Create a job to generate an SLO report. The report job is processed asynchronously and eventually results in a CSV report being available for download. @@ -189821,10 +189822,12 @@ paths: operator: OR permissions: - slos_read + x-sunset: "2027-01-25" x-unstable: |- - **Note**: This feature is in private beta. To request access, use the request access form in the [Service Level Objectives](https://docs.datadoghq.com/service_management/service_level_objectives/#slo-csv-export) docs. + **Note**: This feature is in private beta and is no longer accepting requests for access. /api/v2/slo/report/{report_id}/download: get: + deprecated: true description: |- Download an SLO report. This can only be performed after the report job has completed. @@ -189870,10 +189873,12 @@ paths: summary: Get SLO report tags: - Service Level Objectives + x-sunset: "2027-01-25" x-unstable: |- - **Note**: This feature is in private beta. To request access, use the request access form in the [Service Level Objectives](https://docs.datadoghq.com/service_management/service_level_objectives/#slo-csv-export) docs. + **Note**: This feature is in private beta and is no longer accepting requests for access. /api/v2/slo/report/{report_id}/status: get: + deprecated: true description: Get the status of the SLO report job. operationId: GetSLOReportJobStatus parameters: @@ -189921,8 +189926,9 @@ paths: summary: Get SLO report status tags: - Service Level Objectives + x-sunset: "2027-01-25" x-unstable: |- - **Note**: This feature is in private beta. To request access, use the request access form in the [Service Level Objectives](https://docs.datadoghq.com/service_management/service_level_objectives/#slo-csv-export) docs. + **Note**: This feature is in private beta and is no longer accepting requests for access. /api/v2/slo/{slo_id}/status: get: description: |- diff --git a/src/main/java/com/datadog/api/client/v2/api/ServiceLevelObjectivesApi.java b/src/main/java/com/datadog/api/client/v2/api/ServiceLevelObjectivesApi.java index 74e5131fc19..222b71aeb2e 100644 --- a/src/main/java/com/datadog/api/client/v2/api/ServiceLevelObjectivesApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/ServiceLevelObjectivesApi.java @@ -55,7 +55,9 @@ public void setApiClient(ApiClient apiClient) { * @param body Create SLO report job request body. (required) * @return SLOReportPostResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public SLOReportPostResponse createSLOReportJob(SloReportCreateRequest body) throws ApiException { return createSLOReportJobWithHttpInfo(body).getData(); } @@ -67,7 +69,9 @@ public SLOReportPostResponse createSLOReportJob(SloReportCreateRequest body) thr * * @param body Create SLO report job request body. (required) * @return CompletableFuture<SLOReportPostResponse> + * @deprecated */ + @Deprecated public CompletableFuture createSLOReportJobAsync( SloReportCreateRequest body) { return createSLOReportJobWithHttpInfoAsync(body) @@ -96,7 +100,10 @@ public CompletableFuture createSLOReportJobAsync( * 403 Forbidden - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse createSLOReportJobWithHttpInfo( SloReportCreateRequest body) throws ApiException { // Check if unstable operation is enabled @@ -145,7 +152,9 @@ public ApiResponse createSLOReportJobWithHttpInfo( * * @param body Create SLO report job request body. (required) * @return CompletableFuture<ApiResponse<SLOReportPostResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> createSLOReportJobWithHttpInfoAsync( SloReportCreateRequest body) { // Check if unstable operation is enabled @@ -208,7 +217,9 @@ public CompletableFuture> createSLOReportJobW * @param reportId The ID of the report job. (required) * @return String * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public String getSLOReport(String reportId) throws ApiException { return getSLOReportWithHttpInfo(reportId).getData(); } @@ -220,7 +231,9 @@ public String getSLOReport(String reportId) throws ApiException { * * @param reportId The ID of the report job. (required) * @return CompletableFuture<String> + * @deprecated */ + @Deprecated public CompletableFuture getSLOReportAsync(String reportId) { return getSLOReportWithHttpInfoAsync(reportId) .thenApply( @@ -248,7 +261,10 @@ public CompletableFuture getSLOReportAsync(String reportId) { * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse getSLOReportWithHttpInfo(String reportId) throws ApiException { // Check if unstable operation is enabled String operationId = "getSLOReport"; @@ -298,7 +314,9 @@ public ApiResponse getSLOReportWithHttpInfo(String reportId) throws ApiE * * @param reportId The ID of the report job. (required) * @return CompletableFuture<ApiResponse<String>> + * @deprecated */ + @Deprecated public CompletableFuture> getSLOReportWithHttpInfoAsync(String reportId) { // Check if unstable operation is enabled String operationId = "getSLOReport"; @@ -362,7 +380,9 @@ public CompletableFuture> getSLOReportWithHttpInfoAsync(Stri * @param reportId The ID of the report job. (required) * @return SLOReportStatusGetResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public SLOReportStatusGetResponse getSLOReportJobStatus(String reportId) throws ApiException { return getSLOReportJobStatusWithHttpInfo(reportId).getData(); } @@ -374,7 +394,9 @@ public SLOReportStatusGetResponse getSLOReportJobStatus(String reportId) throws * * @param reportId The ID of the report job. (required) * @return CompletableFuture<SLOReportStatusGetResponse> + * @deprecated */ + @Deprecated public CompletableFuture getSLOReportJobStatusAsync(String reportId) { return getSLOReportJobStatusWithHttpInfoAsync(reportId) .thenApply( @@ -399,7 +421,10 @@ public CompletableFuture getSLOReportJobStatusAsync( * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse getSLOReportJobStatusWithHttpInfo(String reportId) throws ApiException { // Check if unstable operation is enabled @@ -450,7 +475,9 @@ public ApiResponse getSLOReportJobStatusWithHttpInfo * * @param reportId The ID of the report job. (required) * @return CompletableFuture<ApiResponse<SLOReportStatusGetResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> getSLOReportJobStatusWithHttpInfoAsync(String reportId) { // Check if unstable operation is enabled