azurerm_mssql_databaseNivis Nix constructor for the azurerm_mssql_database resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
server_id,
auto_pause_delay_in_minutes ? null,
collation ? null,
create_mode ? null,
creation_source_database_id ? null,
elastic_pool_id ? null,
enclave_type ? null,
geo_backup_enabled ? null,
id ? null,
ledger_enabled ? null,
license_type ? null,
maintenance_configuration_name ? null,
max_size_gb ? null,
min_capacity ? null,
cfg_name ? null,
read_replica_count ? null,
read_scale ? null,
recover_database_id ? null,
recovery_point_id ? null,
restore_dropped_database_id ? null,
restore_long_term_retention_backup_id ? null,
restore_point_in_time ? null,
sample_name ? null,
secondary_type ? null,
sku_name ? null,
storage_account_type ? null,
tags ? null,
transparent_data_encryption_enabled ? null,
transparent_data_encryption_key_automatic_rotation_enabled ? null,
transparent_data_encryption_key_vault_key_id ? null,
zone_redundant ? null,
identity ? null,
import ? null,
long_term_retention_policy ? null,
short_term_retention_policy ? null,
threat_detection_policy ? null,
timeouts ? null,
overrides ? {}
}Required arguments
server_id
Optional arguments
auto_pause_delay_in_minutes(defaults tonull)collation(defaults tonull)create_mode(defaults tonull)creation_source_database_id(defaults tonull)elastic_pool_id(defaults tonull)enclave_type(defaults tonull)geo_backup_enabled(defaults tonull)id(defaults tonull)ledger_enabled(defaults tonull)license_type(defaults tonull)maintenance_configuration_name(defaults tonull)max_size_gb(defaults tonull)min_capacity(defaults tonull)cfg_name(defaults tonull)read_replica_count(defaults tonull)read_scale(defaults tonull)recover_database_id(defaults tonull)recovery_point_id(defaults tonull)restore_dropped_database_id(defaults tonull)restore_long_term_retention_backup_id(defaults tonull)restore_point_in_time(defaults tonull)sample_name(defaults tonull)secondary_type(defaults tonull)sku_name(defaults tonull)storage_account_type(defaults tonull)tags(defaults tonull)transparent_data_encryption_enabled(defaults tonull)transparent_data_encryption_key_automatic_rotation_enabled(defaults tonull)transparent_data_encryption_key_vault_key_id(defaults tonull)zone_redundant(defaults tonull)identity(defaults tonull)import(defaults tonull)long_term_retention_policy(defaults tonull)short_term_retention_policy(defaults tonull)threat_detection_policy(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_mssql_database {
name = "mssql_database";
server_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.