Skip to content

Commit 4e815fa

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit d953cb9 of spec repo (#3613)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a9dd805 commit 4e815fa

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189759,6 +189759,7 @@ paths:
189759189759
Please check the documentation regularly for updates.
189760189760
/api/v2/slo/report:
189761189761
post:
189762+
deprecated: true
189762189763
description: |-
189763189764
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.
189764189765

@@ -189821,10 +189822,12 @@ paths:
189821189822
operator: OR
189822189823
permissions:
189823189824
- slos_read
189825+
x-sunset: "2027-01-25"
189824189826
x-unstable: |-
189825-
**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.
189827+
**Note**: This feature is in private beta and is no longer accepting requests for access.
189826189828
/api/v2/slo/report/{report_id}/download:
189827189829
get:
189830+
deprecated: true
189828189831
description: |-
189829189832
Download an SLO report. This can only be performed after the report job has completed.
189830189833

@@ -189870,10 +189873,12 @@ paths:
189870189873
summary: Get SLO report
189871189874
tags:
189872189875
- Service Level Objectives
189876+
x-sunset: "2027-01-25"
189873189877
x-unstable: |-
189874-
**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.
189878+
**Note**: This feature is in private beta and is no longer accepting requests for access.
189875189879
/api/v2/slo/report/{report_id}/status:
189876189880
get:
189881+
deprecated: true
189877189882
description: Get the status of the SLO report job.
189878189883
operationId: GetSLOReportJobStatus
189879189884
parameters:
@@ -189921,8 +189926,9 @@ paths:
189921189926
summary: Get SLO report status
189922189927
tags:
189923189928
- Service Level Objectives
189929+
x-sunset: "2027-01-25"
189924189930
x-unstable: |-
189925-
**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.
189931+
**Note**: This feature is in private beta and is no longer accepting requests for access.
189926189932
/api/v2/slo/{slo_id}/status:
189927189933
get:
189928189934
description: |-

lib/datadog_api_client/v2/api/service_level_objectives_api.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@ def create_slo_report_job(body, opts = {})
3737
#
3838
# Check the status of the job and download the CSV report using the returned `report_id`.
3939
#
40+
# @deprecated This API is deprecated.
41+
#
4042
# @param body [SloReportCreateRequest] Create SLO report job request body.
4143
# @param opts [Hash] the optional parameters
4244
# @return [Array<(SLOReportPostResponse, Integer, Hash)>] SLOReportPostResponse data, response status code and response headers
4345
def create_slo_report_job_with_http_info(body, opts = {})
46+
warn "[DEPRECATION] `CreateSLOReportJob` is deprecated."
4447
unstable_enabled = @api_client.config.unstable_operations["v2.create_slo_report_job".to_sym]
4548
if unstable_enabled
4649
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_slo_report_job")
@@ -112,10 +115,13 @@ def get_slo_report(report_id, opts = {})
112115
#
113116
# Reports are not guaranteed to exist indefinitely. Datadog recommends that you download the report as soon as it is available.
114117
#
118+
# @deprecated This API is deprecated.
119+
#
115120
# @param report_id [String] The ID of the report job.
116121
# @param opts [Hash] the optional parameters
117122
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
118123
def get_slo_report_with_http_info(report_id, opts = {})
124+
warn "[DEPRECATION] `GetSLOReport` is deprecated."
119125
unstable_enabled = @api_client.config.unstable_operations["v2.get_slo_report".to_sym]
120126
if unstable_enabled
121127
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_slo_report")
@@ -183,10 +189,13 @@ def get_slo_report_job_status(report_id, opts = {})
183189
#
184190
# Get the status of the SLO report job.
185191
#
192+
# @deprecated This API is deprecated.
193+
#
186194
# @param report_id [String] The ID of the report job.
187195
# @param opts [Hash] the optional parameters
188196
# @return [Array<(SLOReportStatusGetResponse, Integer, Hash)>] SLOReportStatusGetResponse data, response status code and response headers
189197
def get_slo_report_job_status_with_http_info(report_id, opts = {})
198+
warn "[DEPRECATION] `GetSLOReportJobStatus` is deprecated."
190199
unstable_enabled = @api_client.config.unstable_operations["v2.get_slo_report_job_status".to_sym]
191200
if unstable_enabled
192201
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_slo_report_job_status")

0 commit comments

Comments
 (0)