vw_dps_certificates
Creates, updates, deletes, gets or lists a vw_dps_certificates
resource.
Overview
Name | vw_dps_certificates |
Type | View |
Id | azure.iot_hub_device_provisioning.vw_dps_certificates |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
etag as etag,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.subject') as "subject",
JSON_EXTRACT(properties, '$.expiry') as "expiry",
JSON_EXTRACT(properties, '$.thumbprint') as "thumbprint",
JSON_EXTRACT(properties, '$.isVerified') as "is_verified",
JSON_EXTRACT(properties, '$.certificate') as "certificate",
JSON_EXTRACT(properties, '$.created') as "created",
JSON_EXTRACT(properties, '$.updated') as "updated",
subscriptionId,
resourceGroupName,
provisioningServiceName,
certificateName
FROM azure.iot_hub_device_provisioning.dps_certificates
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND provisioningServiceName = 'replace-me';
SELECT
id as id,
name as name,
etag as etag,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.subject') as "subject",
json_extract_path_text(properties, '$.expiry') as "expiry",
json_extract_path_text(properties, '$.thumbprint') as "thumbprint",
json_extract_path_text(properties, '$.isVerified') as "is_verified",
json_extract_path_text(properties, '$.certificate') as "certificate",
json_extract_path_text(properties, '$.created') as "created",
json_extract_path_text(properties, '$.updated') as "updated",
subscriptionId,
resourceGroupName,
provisioningServiceName,
certificateName
FROM azure.iot_hub_device_provisioning.dps_certificates
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND provisioningServiceName = 'replace-me';