Skip to main content

constitutions

Creates, updates, deletes, gets or lists a constitutions resource.

Overview

Nameconstitutions
TypeResource
Idazure.confidential_ledger_dataplane.constitutions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
digeststringSHA256 digest of the constitution script. Required.
scriptstringContents of the constitution. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_constitutionselectledger_endpointGets the constitution used for governance. The constitution is a script that assesses and applies proposals from consortium members.

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.

NameDatatypeDescription
ledger_endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client ledgerEndpoint parameter. (default: )

SELECT examples

Gets the constitution used for governance. The constitution is a script that assesses and applies proposals from consortium members.

SELECT
digest,
script
FROM azure.confidential_ledger_dataplane.constitutions
WHERE ledger_endpoint = '{{ ledger_endpoint }}' -- required
;