|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "doit_allocation_group Resource - terraform-provider-doit" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +# doit_allocation_group (Resource) |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +<!-- schema generated by tfplugindocs --> |
| 16 | +## Schema |
| 17 | + |
| 18 | +### Required |
| 19 | + |
| 20 | +- `name` (String) Allocation group name |
| 21 | +- `rules` (Attributes List) Array of allocation rules for this group (see [below for nested schema](#nestedatt--rules)) |
| 22 | + |
| 23 | +### Optional |
| 24 | + |
| 25 | +- `description` (String) Allocation group description |
| 26 | +- `unallocated_costs` (String) Custom label for any values that do not fit into attributions |
| 27 | + |
| 28 | +### Read-Only |
| 29 | + |
| 30 | +- `allocation_type` (String) Type of the created allocation |
| 31 | +- `cloud` (String) Cloud provider |
| 32 | +- `id` (String) ID of the created allocation |
| 33 | +- `time_created` (Number) The time when this allocation group was created (in UNIX timestamp). |
| 34 | +- `time_modified` (Number) Last time the allocation group was modified (in UNIX timestamp). |
| 35 | +- `type` (String) Type of allocation (preset or custom) |
| 36 | + |
| 37 | +<a id="nestedatt--rules"></a> |
| 38 | +### Nested Schema for `rules` |
| 39 | + |
| 40 | +Required: |
| 41 | + |
| 42 | +- `action` (String) Action to perform with this rule |
| 43 | + |
| 44 | +Optional: |
| 45 | + |
| 46 | +- `components` (Attributes List) List of allocation filter components (required for 'create' or 'update' action) (see [below for nested schema](#nestedatt--rules--components)) |
| 47 | +- `description` (String) Description for the allocation rule |
| 48 | +- `formula` (String) Formula for combining components (A is the first component, B is the second one, etc.) |
| 49 | +- `id` (String) ID of existing allocation (required for 'update' or 'select' action) |
| 50 | +- `name` (String) Name for the allocation rule |
| 51 | + |
| 52 | +Read-Only: |
| 53 | + |
| 54 | +- `allocation_type` (String) Type of allocation (single or group) |
| 55 | +- `create_time` (Number) The time when the allocation was created (in UNIX timestamp). |
| 56 | +- `owner` (String) Allocation owner |
| 57 | +- `type` (String) Type of allocation (preset or custom) |
| 58 | +- `update_time` (Number) Last time the allocation was modified (in UNIX timestamp). |
| 59 | +- `url_ui` (String) URL to view the allocation in DoiT Cloud Navigator. |
| 60 | + |
| 61 | +<a id="nestedatt--rules--components"></a> |
| 62 | +### Nested Schema for `rules.components` |
| 63 | + |
| 64 | +Required: |
| 65 | + |
| 66 | +- `key` (String) Key of a dimension. Examples: "billing_account_id", "country", etc. |
| 67 | +- `mode` (String) Filter mode to apply |
| 68 | +- `type` (String) |
| 69 | +- `values` (List of String) |
| 70 | + |
| 71 | +Optional: |
| 72 | + |
| 73 | +- `include_null` (Boolean) Include null values |
| 74 | +- `inverse_selection` (Boolean) If true, all selected values will be excluded. |
0 commit comments