Skip to content
Docs Try Aspire

DevTunnelResource Constructors

Class Constructors 1 member
A resource representing a persistent dev tunnel that runs for the life of the AppHost.
Constructor(string, string, string, string, DevTunnelOptions?) Section titled Constructor(string, string, string, string, DevTunnelOptions?)
A resource representing a persistent dev tunnel that runs for the life of the AppHost.
public sealed class DevTunnelResource
{
public DevTunnelResource(
string name,
string tunnelId,
string command,
string workingDirectory,
DevTunnelOptions? options = null)
{
// ...
}
}
name string
tunnelId string
command string
workingDirectory string
options DevTunnelOptions? optional