@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DoraMetricsApi extends Object
| Constructor and Description |
|---|
DoraMetricsApi() |
DoraMetricsApi(ApiClient apiClient) |
public DoraMetricsApi()
public DoraMetricsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic DORADeploymentResponse createDORADeployment(DORADeploymentRequest body) throws ApiException
See createDORADeploymentWithHttpInfo(com.datadog.api.client.v2.model.DORADeploymentRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DORADeploymentResponse> createDORADeploymentAsync(DORADeploymentRequest body)
See createDORADeploymentWithHttpInfoAsync(com.datadog.api.client.v2.model.DORADeploymentRequest).
body - (required)public ApiResponse<DORADeploymentResponse> createDORADeploymentWithHttpInfo(DORADeploymentRequest body) throws ApiException
This is necessary for: - Deployment Frequency - Change Lead Time - Change Failure Rate - Failed Deployment Recovery Time
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 202 | OK - but delayed due to incident | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DORADeploymentResponse>> createDORADeploymentWithHttpInfoAsync(DORADeploymentRequest body)
See createDORADeploymentWithHttpInfo(com.datadog.api.client.v2.model.DORADeploymentRequest).
body - (required)public DORAFailureResponse createDORAFailure(DORAFailureRequest body) throws ApiException
See createDORAFailureWithHttpInfo(com.datadog.api.client.v2.model.DORAFailureRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DORAFailureResponse> createDORAFailureAsync(DORAFailureRequest body)
See createDORAFailureWithHttpInfoAsync(com.datadog.api.client.v2.model.DORAFailureRequest).
body - (required)public ApiResponse<DORAFailureResponse> createDORAFailureWithHttpInfo(DORAFailureRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 202 | OK - but delayed due to incident | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DORAFailureResponse>> createDORAFailureWithHttpInfoAsync(DORAFailureRequest body)
See createDORAFailureWithHttpInfo(com.datadog.api.client.v2.model.DORAFailureRequest).
body - (required)@Deprecated public DORAFailureResponse createDORAIncident(DORAFailureRequest body) throws ApiException
See createDORAIncidentWithHttpInfo(com.datadog.api.client.v2.model.DORAFailureRequest).
body - (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<DORAFailureResponse> createDORAIncidentAsync(DORAFailureRequest body)
See createDORAIncidentWithHttpInfoAsync(com.datadog.api.client.v2.model.DORAFailureRequest).
body - (required)@Deprecated public ApiResponse<DORAFailureResponse> createDORAIncidentWithHttpInfo(DORAFailureRequest body) throws ApiException
/api/v2/dora/failure
instead.
Use this API endpoint to provide incident data. Tracking incidents gives a side-by-side view of how failed deployments translate into real-world incidents.
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 202 | OK - but delayed due to incident | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<DORAFailureResponse>> createDORAIncidentWithHttpInfoAsync(DORAFailureRequest body)
See createDORAIncidentWithHttpInfo(com.datadog.api.client.v2.model.DORAFailureRequest).
body - (required)public void deleteDORADeployment(String deploymentId) throws ApiException
deploymentId - The ID of the deployment event to delete. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteDORADeploymentAsync(String deploymentId)
See deleteDORADeploymentWithHttpInfoAsync(java.lang.String).
deploymentId - The ID of the deployment event to delete. (required)public ApiResponse<Void> deleteDORADeploymentWithHttpInfo(String deploymentId) throws ApiException
deploymentId - The ID of the deployment event to delete. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 202 | Accepted | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteDORADeploymentWithHttpInfoAsync(String deploymentId)
deploymentId - The ID of the deployment event to delete. (required)public void deleteDORAFailure(String failureId) throws ApiException
failureId - The ID of the incident event to delete. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteDORAFailureAsync(String failureId)
failureId - The ID of the incident event to delete. (required)public ApiResponse<Void> deleteDORAFailureWithHttpInfo(String failureId) throws ApiException
failureId - The ID of the incident event to delete. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 202 | Accepted | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteDORAFailureWithHttpInfoAsync(String failureId)
failureId - The ID of the incident event to delete. (required)public DORADeploymentFetchResponse getDORADeployment(String deploymentId) throws ApiException
deploymentId - The ID of the deployment event. (required)ApiException - if fails to make API callpublic CompletableFuture<DORADeploymentFetchResponse> getDORADeploymentAsync(String deploymentId)
deploymentId - The ID of the deployment event. (required)public ApiResponse<DORADeploymentFetchResponse> getDORADeploymentWithHttpInfo(String deploymentId) throws ApiException
deploymentId - The ID of the deployment event. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DORADeploymentFetchResponse>> getDORADeploymentWithHttpInfoAsync(String deploymentId)
deploymentId - The ID of the deployment event. (required)public DORAFailureFetchResponse getDORAFailure(String failureId) throws ApiException
failureId - The ID of the incident event. (required)ApiException - if fails to make API callpublic CompletableFuture<DORAFailureFetchResponse> getDORAFailureAsync(String failureId)
failureId - The ID of the incident event. (required)public ApiResponse<DORAFailureFetchResponse> getDORAFailureWithHttpInfo(String failureId) throws ApiException
failureId - The ID of the incident event. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DORAFailureFetchResponse>> getDORAFailureWithHttpInfoAsync(String failureId)
failureId - The ID of the incident event. (required)public DORADeploymentsListResponse listDORADeployments(DORAListDeploymentsRequest body) throws ApiException
See listDORADeploymentsWithHttpInfo(com.datadog.api.client.v2.model.DORAListDeploymentsRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DORADeploymentsListResponse> listDORADeploymentsAsync(DORAListDeploymentsRequest body)
See listDORADeploymentsWithHttpInfoAsync(com.datadog.api.client.v2.model.DORAListDeploymentsRequest).
body - (required)public ApiResponse<DORADeploymentsListResponse> listDORADeploymentsWithHttpInfo(DORAListDeploymentsRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DORADeploymentsListResponse>> listDORADeploymentsWithHttpInfoAsync(DORAListDeploymentsRequest body)
See listDORADeploymentsWithHttpInfo(com.datadog.api.client.v2.model.DORAListDeploymentsRequest).
body - (required)public DORAFailuresListResponse listDORAFailures(DORAListFailuresRequest body) throws ApiException
See listDORAFailuresWithHttpInfo(com.datadog.api.client.v2.model.DORAListFailuresRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DORAFailuresListResponse> listDORAFailuresAsync(DORAListFailuresRequest body)
See listDORAFailuresWithHttpInfoAsync(com.datadog.api.client.v2.model.DORAListFailuresRequest).
body - (required)public ApiResponse<DORAFailuresListResponse> listDORAFailuresWithHttpInfo(DORAListFailuresRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DORAFailuresListResponse>> listDORAFailuresWithHttpInfoAsync(DORAListFailuresRequest body)
See listDORAFailuresWithHttpInfo(com.datadog.api.client.v2.model.DORAListFailuresRequest).
body - (required)public void patchDORADeployment(String deploymentId, DORADeploymentPatchRequest body) throws ApiException
deploymentId - The ID of the deployment event. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> patchDORADeploymentAsync(String deploymentId, DORADeploymentPatchRequest body)
deploymentId - The ID of the deployment event. (required)body - (required)public ApiResponse<Void> patchDORADeploymentWithHttpInfo(String deploymentId, DORADeploymentPatchRequest body) throws ApiException
deploymentId - The ID of the deployment event. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 202 | Accepted | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> patchDORADeploymentWithHttpInfoAsync(String deploymentId, DORADeploymentPatchRequest body)
deploymentId - The ID of the deployment event. (required)body - (required)Copyright © 2026. All rights reserved.