create_allocation
Create a new cost allocation rule to categorize cloud expenses by dimensions, labels, or tags. Supports single or multi-rule groupings for precise cost tracking.
Instructions
Use this when the user wants to create a new cost allocation rule. Ask the user to confirm the allocation parameters before executing. Do NOT use this for viewing existing allocations (use list_allocations) or labels (use create_label).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name of the allocation | |
| rule | No | A single allocation rule that defines one grouping. Provide this for a single-rule allocation. Mutually exclusive with 'rules' | |
| rules | No | Ordered list of allocation rules for a group allocation. Must include at least two rules. Mutually exclusive with 'rule' | |
| description | Yes | Description of the allocation's purpose | |
| unallocatedCosts | No | Custom label for values that do not fit into any allocation rule (required when using 'rules' for group allocations) |