DevTunnelsResourceBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods for adding dev tunnels resources to an IDistributedApplicationBuilder.
public static class DevTunnelsResourceBuilderExtensions
type DevTunnelsResourceBuilderExtensions = class
Public Module DevTunnelsResourceBuilderExtensions
- Inheritance
-
DevTunnelsResourceBuilderExtensions
Methods
| AddDevTunnel(IDistributedApplicationBuilder, String, String, DevTunnelOptions) |
Adds a dev tunnel resource to the application model. |
| WithAnonymousAccess(IResourceBuilder<DevTunnelResource>) |
Allows the tunnel to be publicly accessed without authentication. |
| WithReference(IResourceBuilder<DevTunnelResource>, EndpointReference, Boolean) |
Exposes the specified endpoint via the dev tunnel and sets whether anonymous access is allowed. |
| WithReference(IResourceBuilder<DevTunnelResource>, EndpointReference, DevTunnelPortOptions) |
Exposes the specified endpoint via the dev tunnel. |
| WithReference(IResourceBuilder<DevTunnelResource>, EndpointReference) |
Exposes the specified endpoint via the dev tunnel. |
| WithReference<TResource>(IResourceBuilder<DevTunnelResource>, IResourceBuilder<TResource>, Boolean) |
Adds ports on the dev tunnel for all endpoints found on the referenced resource and sets whether anonymous access is allowed. |
| WithReference<TResource>(IResourceBuilder<DevTunnelResource>, IResourceBuilder<TResource>, DevTunnelPortOptions) |
Adds ports on the dev tunnel for all endpoints found on the referenced resource. |
| WithReference<TResource>(IResourceBuilder<TResource>, IResourceBuilder<IResourceWithEndpoints>, IResourceBuilder<DevTunnelResource>) |
Injects service discovery information as environment variables from the dev tunnel resource into the destination resource, using the tunneled resource's name as the service name. Each endpoint defined on the target resource will be injected using the format "services__{sourceResourceName}{endpointName}{endpointIndex}={uriString}". |