azurerm_postgresql_flexible_serverNivis Nix constructor for the azurerm_postgresql_flexible_server 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,
location,
resource_group_name,
administrator_login ? null,
administrator_password ? null,
administrator_password_wo ? null,
administrator_password_wo_version ? null,
auto_grow_enabled ? null,
backup_retention_days ? null,
create_mode ? null,
delegated_subnet_id ? null,
geo_redundant_backup_enabled ? null,
id ? null,
cfg_name ? null,
point_in_time_restore_time_in_utc ? null,
private_dns_zone_id ? null,
public_network_access_enabled ? null,
replication_role ? null,
sku_name ? null,
source_server_id ? null,
storage_iops ? null,
storage_mb ? null,
storage_throughput ? null,
storage_tier ? null,
storage_type ? null,
tags ? null,
version ? null,
zone ? null,
authentication ? null,
cluster ? null,
customer_managed_key ? null,
high_availability ? null,
identity ? null,
maintenance_window ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_name
Optional arguments
administrator_login(defaults tonull)administrator_password(defaults tonull)administrator_password_wo(defaults tonull)administrator_password_wo_version(defaults tonull)auto_grow_enabled(defaults tonull)backup_retention_days(defaults tonull)create_mode(defaults tonull)delegated_subnet_id(defaults tonull)geo_redundant_backup_enabled(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)point_in_time_restore_time_in_utc(defaults tonull)private_dns_zone_id(defaults tonull)public_network_access_enabled(defaults tonull)replication_role(defaults tonull)sku_name(defaults tonull)source_server_id(defaults tonull)storage_iops(defaults tonull)storage_mb(defaults tonull)storage_throughput(defaults tonull)storage_tier(defaults tonull)storage_type(defaults tonull)tags(defaults tonull)version(defaults tonull)zone(defaults tonull)authentication(defaults tonull)cluster(defaults tonull)customer_managed_key(defaults tonull)high_availability(defaults tonull)identity(defaults tonull)maintenance_window(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
fqdn
Example
azurerm_postgresql_flexible_server {
name = "postgresql_flexible_server";
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.