Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "8001cbb",
"generated": "2025-08-13 20:28:47.526"
"spec_repo_commit": "b434599",
"generated": "2025-08-13 22:17:12.090"
}
67 changes: 55 additions & 12 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ components:
name: cloud_account_id
required: true
schema:
type: string
format: int64
type: integer
CloudWorkloadSecurityAgentRuleID:
description: The ID of the Agent rule
example: 3b5-v82-ns6
Expand Down Expand Up @@ -4500,8 +4501,7 @@ components:
$ref: '#/components/schemas/AwsCURConfigAttributes'
id:
description: The ID of the AWS CUR config.
format: int64
type: integer
type: string
type:
$ref: '#/components/schemas/AwsCURConfigType'
required:
Expand Down Expand Up @@ -4642,9 +4642,6 @@ components:
description: The region the bucket is located in.
example: us-east-1
type: string
is_enabled:
description: Whether or not the Cloud Cost Management account is enabled.
type: boolean
months:
description: The month of the report.
format: int32
Expand Down Expand Up @@ -5136,8 +5133,7 @@ components:
type: string
id:
description: The ID of the Azure config.
format: int64
type: integer
type: string
months:
deprecated: true
description: The number of months the report has been backfilled.
Expand Down Expand Up @@ -5187,8 +5183,7 @@ components:
$ref: '#/components/schemas/AzureUCConfigPairAttributes'
id:
description: The ID of Cloud Cost Management account.
format: int64
type: integer
type: string
type:
$ref: '#/components/schemas/AzureUCConfigPairType'
required:
Expand All @@ -5205,8 +5200,7 @@ components:
type: array
id:
description: The ID of the Azure config pair.
format: int64
type: integer
type: string
required:
- configs
type: object
Expand Down Expand Up @@ -49730,13 +49724,44 @@ paths:
get:
description: List the Custom Costs files.
operationId: ListCustomCostsFiles
parameters:
- description: Page number for pagination
in: query
name: page[number]
schema:
format: int64
type: integer
- description: Page size for pagination
in: query
name: page[size]
schema:
default: 100
format: int64
type: integer
- description: Filter by file status
in: query
name: filter[status]
schema:
type: string
- description: Sort key with optional descending prefix
in: query
name: sort
schema:
default: created_at
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CustomCostsFileListResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json:
Expand Down Expand Up @@ -49769,6 +49794,12 @@ paths:
schema:
$ref: '#/components/schemas/CustomCostsFileUploadResponse'
description: Accepted
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json:
Expand Down Expand Up @@ -49800,6 +49831,12 @@ paths:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
Expand Down Expand Up @@ -49828,6 +49865,12 @@ paths:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static void main(String[] args) {
CloudCostManagementApi apiInstance = new CloudCostManagementApi(defaultClient);

try {
apiInstance.deleteCostAWSCURConfig("100");
apiInstance.deleteCostAWSCURConfig(100L);
} catch (ApiException e) {
System.err.println("Exception when calling CloudCostManagementApi#deleteCostAWSCURConfig");
System.err.println("Status code: " + e.getCode());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static void main(String[] args) {
CloudCostManagementApi apiInstance = new CloudCostManagementApi(defaultClient);

try {
apiInstance.deleteCostAzureUCConfig("100");
apiInstance.deleteCostAzureUCConfig(100L);
} catch (ApiException e) {
System.err.println("Exception when calling CloudCostManagementApi#deleteCostAzureUCConfig");
System.err.println("Status code: " + e.getCode());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static void main(String[] args) {
CloudCostManagementApi apiInstance = new CloudCostManagementApi(defaultClient);

try {
apiInstance.deleteCostGCPUsageCostConfig("100");
apiInstance.deleteCostGCPUsageCostConfig(100L);
} catch (ApiException e) {
System.err.println(
"Exception when calling CloudCostManagementApi#deleteCostGCPUsageCostConfig");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static void main(String[] args) {
.type(AwsCURConfigPatchRequestType.AWS_CUR_CONFIG_PATCH_REQUEST));

try {
AwsCURConfigsResponse result = apiInstance.updateCostAWSCURConfig("100", body);
AwsCURConfigsResponse result = apiInstance.updateCostAWSCURConfig(100L, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CloudCostManagementApi#updateCostAWSCURConfig");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static void main(String[] args) {
.type(AzureUCConfigPatchRequestType.AZURE_UC_CONFIG_PATCH_REQUEST));

try {
AzureUCConfigPairsResponse result = apiInstance.updateCostAzureUCConfigs("100", body);
AzureUCConfigPairsResponse result = apiInstance.updateCostAzureUCConfigs(100L, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CloudCostManagementApi#updateCostAzureUCConfigs");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static void main(String[] args) {
.type(GCPUsageCostConfigPatchRequestType.GCP_USAGE_COST_CONFIG_PATCH_REQUEST));

try {
GCPUsageCostConfigResponse result = apiInstance.updateCostGCPUsageCostConfig("100", body);
GCPUsageCostConfigResponse result = apiInstance.updateCostGCPUsageCostConfig(100L, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println(
Expand Down
Loading