@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 DORAIncidentResponse createDORAIncident(DORAIncidentRequest body) throws ApiException
See createDORAIncidentWithHttpInfo(com.datadog.api.client.v2.model.DORAIncidentRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DORAIncidentResponse> createDORAIncidentAsync(DORAIncidentRequest body)
See createDORAIncidentWithHttpInfoAsync(com.datadog.api.client.v2.model.DORAIncidentRequest).
body - (required)public ApiResponse<DORAIncidentResponse> createDORAIncidentWithHttpInfo(DORAIncidentRequest 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<DORAIncidentResponse>> createDORAIncidentWithHttpInfoAsync(DORAIncidentRequest body)
See createDORAIncidentWithHttpInfo(com.datadog.api.client.v2.model.DORAIncidentRequest).
body - (required)Copyright © 2024. All rights reserved.