azurestack_linux_virtual_machine

Nivis Nix constructor for the azurestack_linux_virtual_machine 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,
  admin_username,
  location,
  network_interface_ids,
  resource_group_name,
  size,
  admin_password ? null,
  allow_extension_operations ? null,
  availability_set_id ? null,
  computer_name ? null,
  custom_data ? null,
  disable_password_authentication ? null,
  encryption_at_host_enabled ? null,
  eviction_policy ? null,
  extensions_time_budget ? null,
  id ? null,
  license_type ? null,
  max_bid_price ? null,
  cfg_name ? null,
  priority ? null,
  provision_vm_agent ? null,
  source_image_id ? null,
  tags ? null,
  virtual_machine_scale_set_id ? null,
  zone ? null,
  additional_capabilities ? null,
  admin_ssh_key ? null,
  boot_diagnostics ? null,
  os_disk ? null,
  plan ? null,
  secret ? null,
  source_image_reference ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • admin_username
  • location
  • network_interface_ids
  • resource_group_name
  • size
Optional arguments
  • admin_password (defaults to null)
  • allow_extension_operations (defaults to null)
  • availability_set_id (defaults to null)
  • computer_name (defaults to null)
  • custom_data (defaults to null)
  • disable_password_authentication (defaults to null)
  • encryption_at_host_enabled (defaults to null)
  • eviction_policy (defaults to null)
  • extensions_time_budget (defaults to null)
  • id (defaults to null)
  • license_type (defaults to null)
  • max_bid_price (defaults to null)
  • cfg_name (defaults to null)
  • priority (defaults to null)
  • provision_vm_agent (defaults to null)
  • source_image_id (defaults to null)
  • tags (defaults to null)
  • virtual_machine_scale_set_id (defaults to null)
  • zone (defaults to null)
  • additional_capabilities (defaults to null)
  • admin_ssh_key (defaults to null)
  • boot_diagnostics (defaults to null)
  • os_disk (defaults to null)
  • plan (defaults to null)
  • secret (defaults to null)
  • source_image_reference (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • private_ip_address
  • private_ip_addresses
  • public_ip_address
  • public_ip_addresses
  • virtual_machine_id
Example
azurestack_linux_virtual_machine {
  name = "linux_virtual_machine";
  admin_username = …;  # required
  location = …;  # required
  network_interface_ids = …;  # required
  resource_group_name = …;  # required
  size = …;  # required
}

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