azurerm_virtual_machine_run_commandNivis 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
locationvirtual_machine_id
Optional arguments
error_blob_uri(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)output_blob_uri(defaults tonull)run_as_password(defaults tonull)run_as_user(defaults tonull)tags(defaults tonull)error_blob_managed_identity(defaults tonull)output_blob_managed_identity(defaults tonull)parameter(defaults tonull)protected_parameter(defaults tonull)source(defaults tonull)timeouts(defaults tonull)
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.