Share via


DevTunnelPortOptions Class

Definition

Options for a dev tunnel port.

public sealed class DevTunnelPortOptions
type DevTunnelPortOptions = class
Public NotInheritable Class DevTunnelPortOptions
Inheritance
DevTunnelPortOptions

Constructors

DevTunnelPortOptions()

Properties

AllowAnonymous

Whether to allow anonymous access to this port. If null, defaults to the parent tunnel's setting. Defaults to null.

Description

A description for this port within the dev tunnel.

Labels

Optional labels to attach to this tunnel port.

Protocol

Protocol type to expose. "http", "https", or "auto". Defaults to match scheme of exposed endpoint.

Applies to