Skip to content

Commit 5abc1cb

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d2284723 of spec repo
1 parent c4295c1 commit 5abc1cb

File tree

10 files changed

+4
-747
lines changed

10 files changed

+4
-747
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-12-09 11:21:35.673772",
8-
"spec_repo_commit": "21da0df3"
7+
"regenerated": "2024-12-10 13:50:53.243484",
8+
"spec_repo_commit": "d2284723"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-09 11:21:35.692436",
13-
"spec_repo_commit": "21da0df3"
12+
"regenerated": "2024-12-10 13:50:53.262582",
13+
"spec_repo_commit": "d2284723"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -4929,42 +4929,6 @@ components:
49294929
type: string
49304930
x-enum-varnames:
49314931
- CLOUD_CONFIGURATION
4932-
CloudCostActivity:
4933-
description: Cloud Cost Activity.
4934-
properties:
4935-
attributes:
4936-
$ref: '#/components/schemas/CloudCostActivityAttributes'
4937-
type:
4938-
$ref: '#/components/schemas/CloudCostActivityType'
4939-
required:
4940-
- attributes
4941-
- type
4942-
type: object
4943-
CloudCostActivityAttributes:
4944-
description: Attributes for Cloud Cost activity.
4945-
properties:
4946-
is_enabled:
4947-
description: Whether or not the cloud account is enabled.
4948-
example: true
4949-
type: boolean
4950-
required:
4951-
- is_enabled
4952-
type: object
4953-
CloudCostActivityResponse:
4954-
description: Response for Cloud Cost activity.
4955-
properties:
4956-
data:
4957-
$ref: '#/components/schemas/CloudCostActivity'
4958-
type: object
4959-
CloudCostActivityType:
4960-
default: cloud_cost_activity
4961-
description: Type of Cloud Cost Activity.
4962-
enum:
4963-
- cloud_cost_activity
4964-
example: cloud_cost_activity
4965-
type: string
4966-
x-enum-varnames:
4967-
- CLOUD_COST_ACTIVITY
49684932
CloudWorkloadSecurityAgentRuleAction:
49694933
description: The action the rule can perform if triggered.
49704934
properties:
@@ -30568,38 +30532,6 @@ paths:
3056830532
summary: Get Custom Costs file
3056930533
tags:
3057030534
- Cloud Cost Management
30571-
/api/v2/cost/enabled:
30572-
get:
30573-
deprecated: true
30574-
description: Get the Cloud Cost Management activity.
30575-
operationId: GetCloudCostActivity
30576-
responses:
30577-
'200':
30578-
content:
30579-
application/json:
30580-
schema:
30581-
$ref: '#/components/schemas/CloudCostActivityResponse'
30582-
description: OK
30583-
'403':
30584-
content:
30585-
application/json:
30586-
schema:
30587-
$ref: '#/components/schemas/APIErrorResponse'
30588-
description: Forbidden
30589-
'429':
30590-
$ref: '#/components/responses/TooManyRequestsResponse'
30591-
security:
30592-
- apiKeyAuth: []
30593-
appKeyAuth: []
30594-
- AuthZ:
30595-
- cloud_cost_management_read
30596-
summary: Cloud Cost Enabled
30597-
tags:
30598-
- Cloud Cost Management
30599-
x-permission:
30600-
operator: OR
30601-
permissions:
30602-
- cloud_cost_management_read
3060330535
/api/v2/cost_by_tag/active_billing_dimensions:
3060430536
get:
3060530537
description: Get active billing dimensions for cost attribution. Cost data for

examples/v2/cloud-cost-management/GetCloudCostActivity.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java

Lines changed: 0 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.datadog.api.client.v2.model.AzureUCConfigPatchRequest;
1313
import com.datadog.api.client.v2.model.AzureUCConfigPostRequest;
1414
import com.datadog.api.client.v2.model.AzureUCConfigsResponse;
15-
import com.datadog.api.client.v2.model.CloudCostActivityResponse;
1615
import com.datadog.api.client.v2.model.CustomCostsFileGetResponse;
1716
import com.datadog.api.client.v2.model.CustomCostsFileLineItem;
1817
import com.datadog.api.client.v2.model.CustomCostsFileListResponse;
@@ -736,126 +735,6 @@ public CompletableFuture<ApiResponse<Void>> deleteCustomCostsFileWithHttpInfoAsy
736735
null);
737736
}
738737

739-
/**
740-
* Cloud Cost Enabled.
741-
*
742-
* <p>See {@link #getCloudCostActivityWithHttpInfo}.
743-
*
744-
* @return CloudCostActivityResponse
745-
* @throws ApiException if fails to make API call
746-
* @deprecated
747-
*/
748-
@Deprecated
749-
public CloudCostActivityResponse getCloudCostActivity() throws ApiException {
750-
return getCloudCostActivityWithHttpInfo().getData();
751-
}
752-
753-
/**
754-
* Cloud Cost Enabled.
755-
*
756-
* <p>See {@link #getCloudCostActivityWithHttpInfoAsync}.
757-
*
758-
* @return CompletableFuture&lt;CloudCostActivityResponse&gt;
759-
* @deprecated
760-
*/
761-
@Deprecated
762-
public CompletableFuture<CloudCostActivityResponse> getCloudCostActivityAsync() {
763-
return getCloudCostActivityWithHttpInfoAsync()
764-
.thenApply(
765-
response -> {
766-
return response.getData();
767-
});
768-
}
769-
770-
/**
771-
* Get the Cloud Cost Management activity.
772-
*
773-
* @return ApiResponse&lt;CloudCostActivityResponse&gt;
774-
* @throws ApiException if fails to make API call
775-
* @http.response.details
776-
* <table border="1">
777-
* <caption>Response details</caption>
778-
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
779-
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
780-
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
781-
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
782-
* </table>
783-
*
784-
* @deprecated
785-
*/
786-
@Deprecated
787-
public ApiResponse<CloudCostActivityResponse> getCloudCostActivityWithHttpInfo()
788-
throws ApiException {
789-
Object localVarPostBody = null;
790-
// create path and map variables
791-
String localVarPath = "/api/v2/cost/enabled";
792-
793-
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
794-
795-
Invocation.Builder builder =
796-
apiClient.createBuilder(
797-
"v2.CloudCostManagementApi.getCloudCostActivity",
798-
localVarPath,
799-
new ArrayList<Pair>(),
800-
localVarHeaderParams,
801-
new HashMap<String, String>(),
802-
new String[] {"application/json"},
803-
new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"});
804-
return apiClient.invokeAPI(
805-
"GET",
806-
builder,
807-
localVarHeaderParams,
808-
new String[] {},
809-
localVarPostBody,
810-
new HashMap<String, Object>(),
811-
false,
812-
new GenericType<CloudCostActivityResponse>() {});
813-
}
814-
815-
/**
816-
* Cloud Cost Enabled.
817-
*
818-
* <p>See {@link #getCloudCostActivityWithHttpInfo}.
819-
*
820-
* @return CompletableFuture&lt;ApiResponse&lt;CloudCostActivityResponse&gt;&gt;
821-
* @deprecated
822-
*/
823-
@Deprecated
824-
public CompletableFuture<ApiResponse<CloudCostActivityResponse>>
825-
getCloudCostActivityWithHttpInfoAsync() {
826-
Object localVarPostBody = null;
827-
// create path and map variables
828-
String localVarPath = "/api/v2/cost/enabled";
829-
830-
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
831-
832-
Invocation.Builder builder;
833-
try {
834-
builder =
835-
apiClient.createBuilder(
836-
"v2.CloudCostManagementApi.getCloudCostActivity",
837-
localVarPath,
838-
new ArrayList<Pair>(),
839-
localVarHeaderParams,
840-
new HashMap<String, String>(),
841-
new String[] {"application/json"},
842-
new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"});
843-
} catch (ApiException ex) {
844-
CompletableFuture<ApiResponse<CloudCostActivityResponse>> result = new CompletableFuture<>();
845-
result.completeExceptionally(ex);
846-
return result;
847-
}
848-
return apiClient.invokeAPIAsync(
849-
"GET",
850-
builder,
851-
localVarHeaderParams,
852-
new String[] {},
853-
localVarPostBody,
854-
new HashMap<String, Object>(),
855-
false,
856-
new GenericType<CloudCostActivityResponse>() {});
857-
}
858-
859738
/**
860739
* Get Custom Costs file.
861740
*

0 commit comments

Comments
 (0)