azurerm_kubernetes_cluster

Nivis Nix constructor for the azurerm_kubernetes_cluster 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,
  ai_toolchain_operator_enabled ? null,
  automatic_upgrade_channel ? null,
  azure_policy_enabled ? null,
  cost_analysis_enabled ? null,
  custom_ca_trust_certificates_base64 ? null,
  disk_encryption_set_id ? null,
  dns_prefix ? null,
  dns_prefix_private_cluster ? null,
  edge_zone ? null,
  http_application_routing_enabled ? null,
  id ? null,
  image_cleaner_enabled ? null,
  image_cleaner_interval_hours ? null,
  kubernetes_version ? null,
  local_account_disabled ? null,
  cfg_name ? null,
  node_os_upgrade_channel ? null,
  node_resource_group ? null,
  oidc_issuer_enabled ? null,
  open_service_mesh_enabled ? null,
  private_cluster_enabled ? null,
  private_cluster_public_fqdn_enabled ? null,
  private_dns_zone_id ? null,
  role_based_access_control_enabled ? null,
  run_command_enabled ? null,
  sku_tier ? null,
  support_plan ? null,
  tags ? null,
  workload_identity_enabled ? null,
  aci_connector_linux ? null,
  api_server_access_profile ? null,
  auto_scaler_profile ? null,
  azure_active_directory_role_based_access_control ? null,
  bootstrap_profile ? null,
  confidential_computing ? null,
  default_node_pool ? null,
  http_proxy_config ? null,
  identity ? null,
  ingress_application_gateway ? null,
  key_management_service ? null,
  key_vault_secrets_provider ? null,
  kubelet_identity ? null,
  linux_profile ? null,
  maintenance_window ? null,
  maintenance_window_auto_upgrade ? null,
  maintenance_window_node_os ? null,
  microsoft_defender ? null,
  monitor_metrics ? null,
  network_profile ? null,
  node_provisioning_profile ? null,
  oms_agent ? null,
  service_mesh_profile ? null,
  service_principal ? null,
  storage_profile ? null,
  timeouts ? null,
  upgrade_override ? null,
  web_app_routing ? null,
  windows_profile ? null,
  workload_autoscaler_profile ? null,
  overrides ? {}
}
Required arguments
  • location
  • resource_group_name
Optional arguments
  • ai_toolchain_operator_enabled (defaults to null)
  • automatic_upgrade_channel (defaults to null)
  • azure_policy_enabled (defaults to null)
  • cost_analysis_enabled (defaults to null)
  • custom_ca_trust_certificates_base64 (defaults to null)
  • disk_encryption_set_id (defaults to null)
  • dns_prefix (defaults to null)
  • dns_prefix_private_cluster (defaults to null)
  • edge_zone (defaults to null)
  • http_application_routing_enabled (defaults to null)
  • id (defaults to null)
  • image_cleaner_enabled (defaults to null)
  • image_cleaner_interval_hours (defaults to null)
  • kubernetes_version (defaults to null)
  • local_account_disabled (defaults to null)
  • cfg_name (defaults to null)
  • node_os_upgrade_channel (defaults to null)
  • node_resource_group (defaults to null)
  • oidc_issuer_enabled (defaults to null)
  • open_service_mesh_enabled (defaults to null)
  • private_cluster_enabled (defaults to null)
  • private_cluster_public_fqdn_enabled (defaults to null)
  • private_dns_zone_id (defaults to null)
  • role_based_access_control_enabled (defaults to null)
  • run_command_enabled (defaults to null)
  • sku_tier (defaults to null)
  • support_plan (defaults to null)
  • tags (defaults to null)
  • workload_identity_enabled (defaults to null)
  • aci_connector_linux (defaults to null)
  • api_server_access_profile (defaults to null)
  • auto_scaler_profile (defaults to null)
  • azure_active_directory_role_based_access_control (defaults to null)
  • bootstrap_profile (defaults to null)
  • confidential_computing (defaults to null)
  • default_node_pool (defaults to null)
  • http_proxy_config (defaults to null)
  • identity (defaults to null)
  • ingress_application_gateway (defaults to null)
  • key_management_service (defaults to null)
  • key_vault_secrets_provider (defaults to null)
  • kubelet_identity (defaults to null)
  • linux_profile (defaults to null)
  • maintenance_window (defaults to null)
  • maintenance_window_auto_upgrade (defaults to null)
  • maintenance_window_node_os (defaults to null)
  • microsoft_defender (defaults to null)
  • monitor_metrics (defaults to null)
  • network_profile (defaults to null)
  • node_provisioning_profile (defaults to null)
  • oms_agent (defaults to null)
  • service_mesh_profile (defaults to null)
  • service_principal (defaults to null)
  • storage_profile (defaults to null)
  • timeouts (defaults to null)
  • upgrade_override (defaults to null)
  • web_app_routing (defaults to null)
  • windows_profile (defaults to null)
  • workload_autoscaler_profile (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • current_kubernetes_version
  • fqdn
  • http_application_routing_zone_name
  • kube_admin_config
  • kube_admin_config_raw
  • kube_config
  • kube_config_raw
  • node_resource_group_id
  • oidc_issuer_url
  • portal_fqdn
  • private_fqdn
Example
azurerm_kubernetes_cluster {
  name = "kubernetes_cluster";
  location = …;  # required
  resource_group_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.