azurerm_virtual_machine_run_command

Nivis Nix constructor for the azurerm_virtual_machine_run_command 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,
  virtual_machine_id,
  error_blob_uri ? null,
  id ? null,
  cfg_name ? null,
  output_blob_uri ? null,
  run_as_password ? null,
  run_as_user ? null,
  tags ? null,
  error_blob_managed_identity ? null,
  output_blob_managed_identity ? null,
  parameter ? null,
  protected_parameter ? null,
  source ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • virtual_machine_id
Optional arguments
  • error_blob_uri (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • output_blob_uri (defaults to null)
  • run_as_password (defaults to null)
  • run_as_user (defaults to null)
  • tags (defaults to null)
  • error_blob_managed_identity (defaults to null)
  • output_blob_managed_identity (defaults to null)
  • parameter (defaults to null)
  • protected_parameter (defaults to null)
  • source (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • instance_view
Example
azurerm_virtual_machine_run_command {
  name = "virtual_machine_run_command";
  location = …;  # required
  virtual_machine_id = …;  # required
}

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