Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 4s
CI Workflow / Test readiness for publishing provider (pull_request) Failing after 3m57s
CI Workflow / CI run tests (pull_request) Failing after 5m5s
CI Workflow / CI run build and linting (pull_request) Failing after 4m50s
CI Workflow / Code coverage report (pull_request) Has been skipped
2 KiB
2 KiB
| page_title | subcategory | description |
|---|---|---|
| stackitprivatepreview_sqlserverflexalpha_database Resource - stackitprivatepreview |
stackitprivatepreview_sqlserverflexalpha_database (Resource)
Example Usage
resource "stackitprivatepreview_sqlserverflexalpha_database" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
collation = ""
compatibility = "160"
name = ""
owner = ""
}
# Only use the import statement, if you want to import a existing sqlserverflex database
import {
to = stackitprivatepreview_sqlserverflexalpha_database.import-example
id = "${var.project_id},${var.region},${var.sql_instance_id},${var.sql_user_id}"
}
import {
to = stackitprivatepreview_sqlserverflexalpha_database.import-example
identity = {
project_id = "project.id"
region = "region"
instance_id = "instance.id"
database_id = "database.id"
}
}
Schema
Required
name(String) The name of the database.owner(String) The owner of the database.
Optional
collation(String) The collation of the database. This database collation should match the collation_name of one of the collations given by the Get database collation list endpoint.compatibility(Number) CompatibilityLevel of the Database.database_name(String) The name of the database.instance_id(String) The ID of the instance.project_id(String) The STACKIT project ID.region(String) The region which should be addressed
Read-Only
collation_name(String) The collation of the database. This database collation should match the collation_name of one of the collations given by the Get database collation list endpoint.compatibility_level(Number) CompatibilityLevel of the Database.id(Number) The id of the database.