azurestack_virtual_network

Nivis Nix constructor for the azurestack_virtual_network resource (provider azurestack). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  address_space,
  location,
  resource_group_name,
  dns_servers ? null,
  id ? null,
  cfg_name ? null,
  subnet ? null,
  tags ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • address_space
  • location
  • resource_group_name
Optional arguments
  • dns_servers (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • subnet (defaults to null)
  • tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • guid
Example
azurestack_virtual_network {
  name = "virtual_network";
  address_space = …;  # required
  location = …;  # required
  resource_group_name = …;  # required
}

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