transaction_status
Creates, updates, deletes, gets or lists a transaction_status resource.
Overview
| Name | transaction_status |
| Type | Resource |
| Id | azure.confidential_ledger_dataplane.transaction_status |
Fields
The following fields are returned by SELECT queries:
- get_transaction_status
| Name | Datatype | Description |
|---|---|---|
state | string | Represents the state of the transaction. Required. Known values are: "Committed" and "Pending". (Committed, Pending) |
transactionId | string | A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_transaction_status | select | transaction_id, ledger_endpoint | Gets the status of an entry identified by a transaction id. Gets the status of an entry identified by a transaction id. |
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: ) |
transaction_id | string | Identifies a write transaction. Required. |
SELECT examples
- get_transaction_status
Gets the status of an entry identified by a transaction id. Gets the status of an entry identified by a transaction id.
SELECT
state,
transactionId
FROM azure.confidential_ledger_dataplane.transaction_status
WHERE transaction_id = '{{ transaction_id }}' -- required
AND ledger_endpoint = '{{ ledger_endpoint }}' -- required
;