azurerm_bastion_host

Nivis 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
  • location
  • resource_group_name
Optional arguments
  • copy_paste_enabled (defaults to null)
  • file_copy_enabled (defaults to null)
  • id (defaults to null)
  • ip_connect_enabled (defaults to null)
  • kerberos_enabled (defaults to null)
  • cfg_name (defaults to null)
  • scale_units (defaults to null)
  • session_recording_enabled (defaults to null)
  • shareable_link_enabled (defaults to null)
  • sku (defaults to null)
  • tags (defaults to null)
  • tunneling_enabled (defaults to null)
  • virtual_network_id (defaults to null)
  • zones (defaults to null)
  • ip_configuration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • dns_name
  • private_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.