Skip to main content

transaction_status

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

Overview

Nametransaction_status
TypeResource
Idazure.confidential_ledger_dataplane.transaction_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
statestringRepresents the state of the transaction. Required. Known values are: "Committed" and "Pending". (Committed, Pending)
transactionIdstringA 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_transaction_statusselecttransaction_id, ledger_endpointGets 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.

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

SELECT examples

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
;