Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDenoDeny

Method
📦 Aspire.Hosting.JavaScript v17.0.0
func (DenoAppResource) 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.
values[]stringOptional values that scope the permission. When empty, all access of the selected kind is denied.
DenoAppResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: