azurerm_postgresql_flexible_server

Nivis 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
  • location
  • resource_group_name
Optional arguments
  • administrator_login (defaults to null)
  • administrator_password (defaults to null)
  • administrator_password_wo (defaults to null)
  • administrator_password_wo_version (defaults to null)
  • auto_grow_enabled (defaults to null)
  • backup_retention_days (defaults to null)
  • create_mode (defaults to null)
  • delegated_subnet_id (defaults to null)
  • geo_redundant_backup_enabled (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • point_in_time_restore_time_in_utc (defaults to null)
  • private_dns_zone_id (defaults to null)
  • public_network_access_enabled (defaults to null)
  • replication_role (defaults to null)
  • sku_name (defaults to null)
  • source_server_id (defaults to null)
  • storage_iops (defaults to null)
  • storage_mb (defaults to null)
  • storage_throughput (defaults to null)
  • storage_tier (defaults to null)
  • storage_type (defaults to null)
  • tags (defaults to null)
  • version (defaults to null)
  • zone (defaults to null)
  • authentication (defaults to null)
  • cluster (defaults to null)
  • customer_managed_key (defaults to null)
  • high_availability (defaults to null)
  • identity (defaults to null)
  • maintenance_window (defaults to null)
  • timeouts (defaults to null)
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.