DevTunnelResource.WithExpiration
Method
type DevTunnelResource interface { // ... omitted for brevity WithExpiration(expirationHours float64) DevTunnelResource}Signature
method
WithExpiration builderConfigures how long the tunnel can remain unused or unmodified before it expires.
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().
Defined on
This method is defined on the following type: