DevTunnelResource
Handle
interface DevTunnelResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport { getTunnelEndpoint(targetEndpointReference: EndpointReference): EndpointReference; withAnonymousAccess(): DevTunnelResource; withTunnelReference(targetEndpoint: EndpointReference): DevTunnelResource; withTunnelReferenceAll( resourceBuilder: IResourceWithEndpoints, allowAnonymous: boolean): DevTunnelResource; withTunnelReferenceAnonymous( targetEndpoint: EndpointReference, allowAnonymous: boolean): DevTunnelResource;} 5 members
Methods
method
getTunnelEndpoint Gets the tunnel endpoint reference for the specified target endpoint.
getTunnelEndpoint(targetEndpointReference: EndpointReference): EndpointReferenceParameters
targetEndpointReference EndpointReference Returns
EndpointReference Allows the tunnel to be publicly accessed without authentication.
withAnonymousAccess(): DevTunnelResourceReturns
DevTunnelResource Exposes the specified endpoint via the dev tunnel.
withTunnelReference(targetEndpoint: EndpointReference): DevTunnelResourceParameters
targetEndpoint EndpointReference Returns
DevTunnelResource Adds ports on the dev tunnel for all endpoints found on the referenced resource and sets whether anonymous access is allowed.
withTunnelReferenceAll( resourceBuilder: IResourceWithEndpoints, allowAnonymous: boolean): DevTunnelResourceParameters
resourceBuilder IResourceWithEndpoints allowAnonymous boolean Returns
DevTunnelResource Exposes the specified endpoint via the dev tunnel and sets whether anonymous access is allowed.
withTunnelReferenceAnonymous( targetEndpoint: EndpointReference, allowAnonymous: boolean): DevTunnelResourceParameters
targetEndpoint EndpointReference allowAnonymous boolean Returns
DevTunnelResource