DevTunnelResource
type DevTunnelResource interface { IComputeResource Resource ResourceWithArgs ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}Methods
GetTunnelEndpoint GetTunnelEndpoint(targetEndpointReference EndpointReference) EndpointReferenceParameters
targetEndpointReference EndpointReference The target endpoint reference.Returns
EndpointReference An Endpoint representing the public tunnel endpoint.
Returns a handle; failures surface later via Err().
WithAnonymousAccess() DevTunnelResourceReturns
DevTunnelResource The resource builder.
Returns a handle; failures surface later via Err().
WithExpiration(expirationHours float64) DevTunnelResourceParameters
expirationHours float64The idle expiration period, in whole hours from one hour through 30 days, inclusive.Returns
DevTunnelResource The resource builder.
Returns a handle; failures surface later via Err().
WithTunnelReference(targetEndpoint EndpointReference) DevTunnelResourceParameters
targetEndpoint EndpointReference The endpoint to expose via the dev tunnel.Returns
DevTunnelResource The resource builder.
Returns a handle; failures surface later via Err().
WithTunnelReferenceAll( resourceBuilder ResourceWithEndpoints, allowAnonymous bool,) DevTunnelResourceParameters
resourceBuilder ResourceWithEndpoints The resource builder for the referenced resource.allowAnonymous boolWhether anonymous access is allowed.Returns
DevTunnelResource The resource builder.
Returns a handle; failures surface later via Err().
WithTunnelReferenceAnonymous( targetEndpoint EndpointReference, allowAnonymous bool,) DevTunnelResourceParameters
targetEndpoint EndpointReference The endpoint to expose via the dev tunnel.allowAnonymous boolWhether anonymous access is allowed.Returns
DevTunnelResource The resource builder.
Returns a handle; failures surface later via Err().