Module cost

Source
Expand description

Cost management module for handling cost tracking and analysis operations.

This module provides a REST API for managing cost-related entities, including:

  • Resource types management
  • Cost metrics tracking and analysis
  • Cost projections and forecasting
  • Budget management
  • Resource pricing management
  • Cost allocation tagging

Structs§

CostAnalysisByDimensionRequest
Request data for aggregate cost analysis by dimension.
CostMetricFilter
Request data for filtering cost metrics.
CostOverTimeRequest
Request data for cost analysis over time.
CreateCostAllocationTagRequest
Request data for creating a new cost allocation tag.
CreateCostBudgetRequest
Request data for creating a new cost budget.
CreateCostMetricRequest
Request data for creating a new cost metric.
CreateCostProjectionRequest
Request data for creating a new cost projection.
CreateResourcePricingRequest
Request data for creating a new resource pricing entry.
CreateResourceTypeRequest
Request data for creating a new resource type.
UpdateCostBudgetRequest
Request data for updating a cost budget.
UpdateResourcePricingRequest
Request data for updating a resource pricing entry.
UpdateResourceTypeRequest
Request data for updating a resource type.

Functions§

analyze_cost_over_time
Get application cost over time
analyze_costs_by_dimension
Get cost analysis by dimension (app, provider, resource_type, etc.)
count_resource_types
Count the total number of resource types.
create_cost_allocation_tag
Create a new cost allocation tag.
create_cost_budget
Create a new cost budget.
create_cost_metric
Create a new cost metric.
create_cost_projection
Create a new cost projection.
create_resource_pricing
Create a new resource pricing entry.
create_resource_type
Create a new resource type.
delete_cost_allocation_tag
Delete a cost allocation tag.
delete_cost_budget
Delete a cost budget.
delete_cost_metric
Delete a cost metric.
delete_cost_projection
Delete a cost projection.
delete_resource_pricing
Delete a resource pricing entry.
delete_resource_type
Delete a resource type.
get_cost_allocation_tags
Get cost allocation tags for a specific resource.
get_cost_budget
Get a specific cost budget by ID.
get_cost_metric
Get a specific cost metric by ID.
get_cost_projection
Get a specific cost projection by ID.
get_resource_pricing
Get a specific resource pricing entry by ID.
get_resource_type
Get a specific resource type by ID.
list_cost_budgets
List all cost budgets with pagination support.
list_cost_metrics
List cost metrics with pagination and filtering support.
list_cost_projections
List all cost projections with pagination support.
list_resource_pricing
List resource pricing with pagination and filtering support.
list_resource_types
List all resource types with pagination support.
update_cost_budget
Update an existing cost budget.
update_resource_pricing
Update an existing resource pricing entry.
update_resource_type
Update an existing resource type.