@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
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
This is necessary for: - Change Failure Rate - Time to Restore
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 failure data for DORA metrics.
This is necessary for: - Change Failure Rate - Time to Restore
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 DORAFetchResponse getDORADeployment(String deploymentId) throws ApiException
deploymentId - The ID of the deployment event. (required)ApiException - if fails to make API callpublic CompletableFuture<DORAFetchResponse> getDORADeploymentAsync(String deploymentId)
deploymentId - The ID of the deployment event. (required)public ApiResponse<DORAFetchResponse> 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<DORAFetchResponse>> getDORADeploymentWithHttpInfoAsync(String deploymentId)
deploymentId - The ID of the deployment event. (required)public DORAFetchResponse getDORAFailure(String failureId) throws ApiException
failureId - The ID of the failure event. (required)ApiException - if fails to make API callpublic CompletableFuture<DORAFetchResponse> getDORAFailureAsync(String failureId)
failureId - The ID of the failure event. (required)public ApiResponse<DORAFetchResponse> getDORAFailureWithHttpInfo(String failureId) throws ApiException
failureId - The ID of the failure 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<DORAFetchResponse>> getDORAFailureWithHttpInfoAsync(String failureId)
failureId - The ID of the failure event. (required)public DORAListResponse listDORADeployments(DORAListDeploymentsRequest body) throws ApiException
See listDORADeploymentsWithHttpInfo(com.datadog.api.client.v2.model.DORAListDeploymentsRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DORAListResponse> listDORADeploymentsAsync(DORAListDeploymentsRequest body)
See listDORADeploymentsWithHttpInfoAsync(com.datadog.api.client.v2.model.DORAListDeploymentsRequest).
body - (required)public ApiResponse<DORAListResponse> 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<DORAListResponse>> listDORADeploymentsWithHttpInfoAsync(DORAListDeploymentsRequest body)
See listDORADeploymentsWithHttpInfo(com.datadog.api.client.v2.model.DORAListDeploymentsRequest).
body - (required)public DORAListResponse listDORAFailures(DORAListFailuresRequest body) throws ApiException
See listDORAFailuresWithHttpInfo(com.datadog.api.client.v2.model.DORAListFailuresRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DORAListResponse> listDORAFailuresAsync(DORAListFailuresRequest body)
See listDORAFailuresWithHttpInfoAsync(com.datadog.api.client.v2.model.DORAListFailuresRequest).
body - (required)public ApiResponse<DORAListResponse> 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<DORAListResponse>> listDORAFailuresWithHttpInfoAsync(DORAListFailuresRequest body)
See listDORAFailuresWithHttpInfo(com.datadog.api.client.v2.model.DORAListFailuresRequest).
body - (required)Copyright © 2025. All rights reserved.