Language

ConfidentialLedgerModelFactory.JsRuntimeOptions Method

Definition

JS runtime options for user defined endpoints and functions.

public static Azure.Security.ConfidentialLedger.Models.JsRuntimeOptions JsRuntimeOptions(bool? logExceptionDetails = default, long? maxCachedInterpreters = default, long? maxExecutionTimeMs = default, long? maxHeapBytes = default, long? maxStackBytes = default, bool? returnExceptionDetails = default);
static member JsRuntimeOptions : Nullable<bool> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<bool> -> Azure.Security.ConfidentialLedger.Models.JsRuntimeOptions
Public Shared Function JsRuntimeOptions (Optional logExceptionDetails As Nullable(Of Boolean) = Nothing, Optional maxCachedInterpreters As Nullable(Of Long) = Nothing, Optional maxExecutionTimeMs As Nullable(Of Long) = Nothing, Optional maxHeapBytes As Nullable(Of Long) = Nothing, Optional maxStackBytes As Nullable(Of Long) = Nothing, Optional returnExceptionDetails As Nullable(Of Boolean) = Nothing) As JsRuntimeOptions

Parameters

logExceptionDetails
Nullable<Boolean>

Whether to log exception details in the runtime.

maxCachedInterpreters
Nullable<Int64>

Maximum number of cached interpreters.

maxExecutionTimeMs
Nullable<Int64>

Maximum execution time in milliseconds.

maxHeapBytes
Nullable<Int64>

Maximum heap size in bytes.

maxStackBytes
Nullable<Int64>

Maximum stack size in bytes.

returnExceptionDetails
Nullable<Boolean>

Whether to return exception details in the response.

Returns

A new JsRuntimeOptions instance for mocking.

Applies to