withDenoDeny

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

Signature

methodwithDenoDenybuilder
Denies a Deno permission, optionally scoped to the supplied values.
withDenoDeny(
kind: DenoPermissionKind,
values: string[]): DenoAppResource
kindDenoPermissionKindThe permission to deny.
valuesstring[]Optional values that scope the permission. When empty, all access of the selected kind is denied.
DenoAppResource

Applies to

This method applies to the following types: