Skip to content
DocsTry Aspire
DocsTry

DevTunnelPortOptions Properties

ClassProperties4 members
Options for a dev tunnel port.
AllowAnonymousSection titled AllowAnonymousnullablebool?
Whether to allow anonymous access to this port. If null, defaults to the parent tunnel's setting. Defaults to null.
public bool? AllowAnonymous { get; set; }
DescriptionSection titled Descriptionnullablestring?
A description for this port within the dev tunnel.
public string? Description { get; set; }
LabelsSection titled LabelsnullableList<string>
Optional labels to attach to this tunnel port.
public List<string>? Labels { get; set; }
ProtocolSection titled Protocolnullablestring?
Protocol type to expose. "http", "https", or "auto". Defaults to match scheme of exposed endpoint.
public string? Protocol { get; set; }