constitutions
Creates, updates, deletes, gets or lists a constitutions resource.
Overview
| Name | constitutions |
| Type | Resource |
| Id | azure.confidential_ledger_dataplane.constitutions |
Fields
The following fields are returned by SELECT queries:
- get_constitution
| Name | Datatype | Description |
|---|---|---|
digest | string | SHA256 digest of the constitution script. Required. |
script | string | Contents of the constitution. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_constitution | select | ledger_endpoint | Gets 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.
| 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_constitution
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
;