## Description
<!-- **Please link some issue here describing what you are trying to achieve.**
In case there is no issue present for your PR, please consider creating one.
At least please give us some description what you are trying to achieve and why your change is needed. -->
relates to #1234
## Checklist
- [ ] Issue was linked above
- [ ] Code format was applied: `make fmt`
- [ ] Examples were added / adjusted (see `examples/` directory)
- [x] Docs are up-to-date: `make generate-docs` (will be checked by CI)
- [ ] Unit tests got implemented or updated
- [ ] Acceptance tests got implemented or updated (see e.g. [here](f5f99d1709/stackit/internal/services/dns/dns_acc_test.go))
- [x] Unit tests are passing: `make test` (will be checked by CI)
- [x] No linter issues: `make lint` (will be checked by CI)
Reviewed-on: #33
Reviewed-by: Andre_Harms <andre.harms@stackit.cloud>
Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
Co-committed-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
1.6 KiB
1.6 KiB
| page_title | subcategory | description |
|---|---|---|
| stackitprivatepreview_sqlserverflexbeta_flavor Data Source - stackitprivatepreview |
stackitprivatepreview_sqlserverflexbeta_flavor (Data Source)
Example Usage
data "stackitprivatepreview_sqlserverflexbeta_flavor" "flavor" {
project_id = var.project_id
region = var.region
cpu = 4
ram = 16
node_type = "Single"
storage_class = "premium-perf2-stackit"
}
Schema
Required
cpu(Number) The cpu count of the instance.node_type(String) defines the nodeType it can be either single or HAproject_id(String) The project ID of the flavor.ram(Number) The memory of the instance in Gibibyte.region(String) The region of the flavor.storage_class(String) The memory of the instance in Gibibyte.
Read-Only
description(String) The flavor description.flavor_id(String) The id of the instance flavor.id(String) The id of the instance flavor.max_gb(Number) maximum storage which can be ordered for the flavor in Gigabyte.min_gb(Number) minimum storage which is required to order in Gigabyte.storage_classes(Attributes List) maximum storage which can be ordered for the flavor in Gigabyte. (see below for nested schema)
Nested Schema for storage_classes
Read-Only:
class(String)max_io_per_sec(Number)max_through_in_mb(Number)