azurerm_kubernetes_clusterNivis 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
locationresource_group_name
Optional arguments
ai_toolchain_operator_enabled(defaults tonull)automatic_upgrade_channel(defaults tonull)azure_policy_enabled(defaults tonull)cost_analysis_enabled(defaults tonull)custom_ca_trust_certificates_base64(defaults tonull)disk_encryption_set_id(defaults tonull)dns_prefix(defaults tonull)dns_prefix_private_cluster(defaults tonull)edge_zone(defaults tonull)http_application_routing_enabled(defaults tonull)id(defaults tonull)image_cleaner_enabled(defaults tonull)image_cleaner_interval_hours(defaults tonull)kubernetes_version(defaults tonull)local_account_disabled(defaults tonull)cfg_name(defaults tonull)node_os_upgrade_channel(defaults tonull)node_resource_group(defaults tonull)oidc_issuer_enabled(defaults tonull)open_service_mesh_enabled(defaults tonull)private_cluster_enabled(defaults tonull)private_cluster_public_fqdn_enabled(defaults tonull)private_dns_zone_id(defaults tonull)role_based_access_control_enabled(defaults tonull)run_command_enabled(defaults tonull)sku_tier(defaults tonull)support_plan(defaults tonull)tags(defaults tonull)workload_identity_enabled(defaults tonull)aci_connector_linux(defaults tonull)api_server_access_profile(defaults tonull)auto_scaler_profile(defaults tonull)azure_active_directory_role_based_access_control(defaults tonull)bootstrap_profile(defaults tonull)confidential_computing(defaults tonull)default_node_pool(defaults tonull)http_proxy_config(defaults tonull)identity(defaults tonull)ingress_application_gateway(defaults tonull)key_management_service(defaults tonull)key_vault_secrets_provider(defaults tonull)kubelet_identity(defaults tonull)linux_profile(defaults tonull)maintenance_window(defaults tonull)maintenance_window_auto_upgrade(defaults tonull)maintenance_window_node_os(defaults tonull)microsoft_defender(defaults tonull)monitor_metrics(defaults tonull)network_profile(defaults tonull)node_provisioning_profile(defaults tonull)oms_agent(defaults tonull)service_mesh_profile(defaults tonull)service_principal(defaults tonull)storage_profile(defaults tonull)timeouts(defaults tonull)upgrade_override(defaults tonull)web_app_routing(defaults tonull)windows_profile(defaults tonull)workload_autoscaler_profile(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
current_kubernetes_versionfqdnhttp_application_routing_zone_namekube_admin_configkube_admin_config_rawkube_configkube_config_rawnode_resource_group_idoidc_issuer_urlportal_fqdnprivate_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.