azurerm_virtual_machine_packet_capture

Nivis Nix constructor for the azurerm_virtual_machine_packet_capture 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,
  network_watcher_id,
  virtual_machine_id,
  id ? null,
  maximum_bytes_per_packet ? null,
  maximum_bytes_per_session ? null,
  maximum_capture_duration_in_seconds ? null,
  cfg_name ? null,
  filter ? null,
  storage_location ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • network_watcher_id
  • virtual_machine_id
Optional arguments
  • id (defaults to null)
  • maximum_bytes_per_packet (defaults to null)
  • maximum_bytes_per_session (defaults to null)
  • maximum_capture_duration_in_seconds (defaults to null)
  • cfg_name (defaults to null)
  • filter (defaults to null)
  • storage_location (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
azurerm_virtual_machine_packet_capture {
  name = "virtual_machine_packet_capture";
  network_watcher_id = …;  # required
  virtual_machine_id = …;  # required
}

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