runtime_options
Creates, updates, deletes, gets or lists a runtime_options resource.
Overview
| Name | runtime_options |
| Type | Resource |
| Id | azure.confidential_ledger_dataplane.runtime_options |
Fields
The following fields are returned by SELECT queries:
- get_runtime_options
| Name | Datatype | Description |
|---|---|---|
log_exception_details | boolean | Whether to log exception details in the runtime. |
max_cached_interpreters | integer | Maximum number of cached interpreters. |
max_execution_time_ms | integer | Maximum execution time in milliseconds. |
max_heap_bytes | integer | Maximum heap size in bytes. |
max_stack_bytes | integer | Maximum stack size in bytes. |
return_exception_details | boolean | Whether to return exception details in the response. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_runtime_options | select | ledger_endpoint | Runtime options for user defined endpoints. It returns the runtime options. | |
update_runtime_options | update | ledger_endpoint | Runtime options for user defined endpoints. Updates the runtime options. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
ledger_endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client ledgerEndpoint parameter. (default: ) |
SELECT examples
- get_runtime_options
Runtime options for user defined endpoints. It returns the runtime options.
SELECT
log_exception_details,
max_cached_interpreters,
max_execution_time_ms,
max_heap_bytes,
max_stack_bytes,
return_exception_details
FROM azure.confidential_ledger_dataplane.runtime_options
WHERE ledger_endpoint = '{{ ledger_endpoint }}' -- required
;
UPDATE examples
- update_runtime_options
Runtime options for user defined endpoints. Updates the runtime options.
UPDATE azure.confidential_ledger_dataplane.runtime_options
SET
log_exception_details = {{ log_exception_details }},
max_cached_interpreters = {{ max_cached_interpreters }},
max_execution_time_ms = {{ max_execution_time_ms }},
max_heap_bytes = {{ max_heap_bytes }},
max_stack_bytes = {{ max_stack_bytes }},
return_exception_details = {{ return_exception_details }}
WHERE
ledger_endpoint = '{{ ledger_endpoint }}' --required
RETURNING
log_exception_details,
max_cached_interpreters,
max_execution_time_ms,
max_heap_bytes,
max_stack_bytes,
return_exception_details;