IProxmoxHostCommandExecutor

Executes bash commands on a target Proxmox VE host (locally or over SSH).

public interface IProxmoxHostCommandExecutor

1. Methods

1.1. Run(string, TimeSpan)

Runs bashCommand on the target Proxmox host with a timeout.

ProxmoxHostCommandResult Run(string bashCommand, TimeSpan timeout)
Table 1. Parameters
Name Type Description

bashCommand

string

Bash command line to execute.

timeout

TimeSpan

Maximum execution duration.

Returns: ProxmoxHostCommandResult — Command execution result.