azurerm_bastion_hostNivis Nix constructor for the azurerm_bastion_host 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,
copy_paste_enabled ? null,
file_copy_enabled ? null,
id ? null,
ip_connect_enabled ? null,
kerberos_enabled ? null,
cfg_name ? null,
scale_units ? null,
session_recording_enabled ? null,
shareable_link_enabled ? null,
sku ? null,
tags ? null,
tunneling_enabled ? null,
virtual_network_id ? null,
zones ? null,
ip_configuration ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_name
Optional arguments
copy_paste_enabled(defaults tonull)file_copy_enabled(defaults tonull)id(defaults tonull)ip_connect_enabled(defaults tonull)kerberos_enabled(defaults tonull)cfg_name(defaults tonull)scale_units(defaults tonull)session_recording_enabled(defaults tonull)shareable_link_enabled(defaults tonull)sku(defaults tonull)tags(defaults tonull)tunneling_enabled(defaults tonull)virtual_network_id(defaults tonull)zones(defaults tonull)ip_configuration(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
dns_nameprivate_only_enabled
Example
azurerm_bastion_host {
name = "bastion_host";
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.