azurerm_mysql_flexible_serverNivis Nix constructor for the azurerm_mysql_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,
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 ? null,
replication_role ? null,
sku_name ? null,
source_server_id ? null,
tags ? null,
version ? null,
zone ? null,
customer_managed_key ? null,
high_availability ? null,
identity ? null,
maintenance_window ? null,
storage ? 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)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(defaults tonull)replication_role(defaults tonull)sku_name(defaults tonull)source_server_id(defaults tonull)tags(defaults tonull)version(defaults tonull)zone(defaults tonull)customer_managed_key(defaults tonull)high_availability(defaults tonull)identity(defaults tonull)maintenance_window(defaults tonull)storage(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
fqdnreplica_capacity
Example
azurerm_mysql_flexible_server {
name = "mysql_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.