Skip to main content

vw_ledgers

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

Overview

Namevw_ledgers
TypeView
Idazure.confidential_ledger.vw_ledgers

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
location as location,
tags as tags,
JSON_EXTRACT(properties, '$.ledgerName') as "ledger_name",
JSON_EXTRACT(properties, '$.ledgerUri') as "ledger_uri",
JSON_EXTRACT(properties, '$.identityServiceUri') as "identity_service_uri",
JSON_EXTRACT(properties, '$.ledgerInternalNamespace') as "ledger_internal_namespace",
JSON_EXTRACT(properties, '$.runningState') as "running_state",
JSON_EXTRACT(properties, '$.ledgerType') as "ledger_type",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.ledgerSku') as "ledger_sku",
JSON_EXTRACT(properties, '$.aadBasedSecurityPrincipals') as "aad_based_security_principals",
JSON_EXTRACT(properties, '$.certBasedSecurityPrincipals') as "cert_based_security_principals",
JSON_EXTRACT(properties, '$.hostLevel') as "host_level",
JSON_EXTRACT(properties, '$.maxBodySizeInMb') as "max_body_size_in_mb",
JSON_EXTRACT(properties, '$.subjectName') as "subject_name",
JSON_EXTRACT(properties, '$.nodeCount') as "node_count",
JSON_EXTRACT(properties, '$.writeLBAddressPrefix') as "write_lb_address_prefix",
JSON_EXTRACT(properties, '$.workerThreads') as "worker_threads",
subscriptionId,
resourceGroupName,
ledgerName
FROM azure.confidential_ledger.ledgers
WHERE subscriptionId = 'replace-me';