vw_certificates
Creates, updates, deletes, gets or lists a vw_certificates
resource.
Overview
Name | vw_certificates |
Type | View |
Id | azure.sphere.vw_certificates |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.certificate') as "certificate",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.subject') as "subject",
JSON_EXTRACT(properties, '$.thumbprint') as "thumbprint",
JSON_EXTRACT(properties, '$.expiryUtc') as "expiry_utc",
JSON_EXTRACT(properties, '$.notBeforeUtc') as "not_before_utc",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
catalogName,
serialNumber
FROM azure.sphere.certificates
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND catalogName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.certificate') as "certificate",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.subject') as "subject",
json_extract_path_text(properties, '$.thumbprint') as "thumbprint",
json_extract_path_text(properties, '$.expiryUtc') as "expiry_utc",
json_extract_path_text(properties, '$.notBeforeUtc') as "not_before_utc",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
catalogName,
serialNumber
FROM azure.sphere.certificates
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND catalogName = 'replace-me';