#[non_exhaustive]pub struct Console {
pub machine: String,
pub protocol: ConsoleProtocol,
pub endpoint: Endpoint,
pub user: Option<String>,
pub password: Option<SecretValue>,
pub note: Option<String>,
pub tunnel: Option<Tunnel>,
/* private fields */
}Expand description
A machine’s graphical console the runner reached: where it answers, and how to sign in.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.machine: StringThe machine.
protocol: ConsoleProtocolThe protocol it speaks: VNC or RDP.
endpoint: EndpointWhere it answers.
user: Option<String>The account to sign in as, when it signs in to the machine’s own OS (a Windows VM’s Remote Desktop: its administrator).
password: Option<SecretValue>Its password (Proxmox’s ticket, a Windows VM’s administrator password, from the module’s sensitive output). Never print or log it.
note: Option<String>What to know of it (the extension pack VirtualBox’s takes, the machine a tunnel goes through).
tunnel: Option<Tunnel>The SSH tunnel it is reached through, when it is (Endpoint::Loopback is the tunnel’s
end): open for as long as this console is kept, ended when it is dropped. A viewer keeps
the console while it shows the screen, and can wait on Tunnel::closed beside its own
end.