azurerm_virtual_machine_packet_captureNivis 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_idvirtual_machine_id
Optional arguments
id(defaults tonull)maximum_bytes_per_packet(defaults tonull)maximum_bytes_per_session(defaults tonull)maximum_capture_duration_in_seconds(defaults tonull)cfg_name(defaults tonull)filter(defaults tonull)storage_location(defaults tonull)timeouts(defaults tonull)
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.