azurerm_ai_foundryNivis Nix constructor for the azurerm_ai_foundry 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,
key_vault_id,
location,
resource_group_name,
storage_account_id,
application_insights_id ? null,
container_registry_id ? null,
description ? null,
friendly_name ? null,
high_business_impact_enabled ? null,
id ? null,
cfg_name ? null,
primary_user_assigned_identity ? null,
public_network_access ? null,
tags ? null,
encryption ? null,
identity ? null,
managed_network ? null,
timeouts ? null,
overrides ? {}
}Required arguments
key_vault_idlocationresource_group_namestorage_account_id
Optional arguments
application_insights_id(defaults tonull)container_registry_id(defaults tonull)description(defaults tonull)friendly_name(defaults tonull)high_business_impact_enabled(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)primary_user_assigned_identity(defaults tonull)public_network_access(defaults tonull)tags(defaults tonull)encryption(defaults tonull)identity(defaults tonull)managed_network(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
discovery_urlworkspace_id
Example
azurerm_ai_foundry {
name = "ai_foundry";
key_vault_id = …; # required
location = …; # required
resource_group_name = …; # required
storage_account_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.