Watch Aspire live streamsDocsTry Aspire

withDenoAllow

Method
📦 Aspire.Hosting.JavaScript v13.6.0
interface DenoAppResource {
// ... omitted for brevity
withDenoAllow(
kind: DenoPermissionKind,
values: string[]): DenoAppResource;
}

Signature

methodwithDenoAllowbuilder
Grants a Deno permission, optionally scoped to the supplied values.
withDenoAllow(
kind: DenoPermissionKind,
values: string[]): DenoAppResource
kindDenoPermissionKind
valuesstring[]
DenoAppResource

Applies to

This method applies to the following types: