vw_disk_encryption_sets
Creates, updates, deletes, gets or lists a vw_disk_encryption_sets
resource.
Overview
Name | vw_disk_encryption_sets |
Type | View |
Id | azure.compute.vw_disk_encryption_sets |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
location as location,
identity as identity,
type as type,
tags as tags,
JSON_EXTRACT(properties, '$.encryptionType') as "encryption_type",
JSON_EXTRACT(properties, '$.activeKey') as "active_key",
JSON_EXTRACT(properties, '$.previousKeys') as "previous_keys",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.rotationToLatestKeyVersionEnabled') as "rotation_to_latest_key_version_enabled",
JSON_EXTRACT(properties, '$.lastKeyRotationTimestamp') as "last_key_rotation_timestamp",
JSON_EXTRACT(properties, '$.autoKeyRotationError') as "auto_key_rotation_error",
JSON_EXTRACT(properties, '$.federatedClientId') as "federated_client_id",
subscriptionId,
resourceGroupName,
diskEncryptionSetName
FROM azure.compute.disk_encryption_sets
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
location as location,
identity as identity,
type as type,
tags as tags,
json_extract_path_text(properties, '$.encryptionType') as "encryption_type",
json_extract_path_text(properties, '$.activeKey') as "active_key",
json_extract_path_text(properties, '$.previousKeys') as "previous_keys",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.rotationToLatestKeyVersionEnabled') as "rotation_to_latest_key_version_enabled",
json_extract_path_text(properties, '$.lastKeyRotationTimestamp') as "last_key_rotation_timestamp",
json_extract_path_text(properties, '$.autoKeyRotationError') as "auto_key_rotation_error",
json_extract_path_text(properties, '$.federatedClientId') as "federated_client_id",
subscriptionId,
resourceGroupName,
diskEncryptionSetName
FROM azure.compute.disk_encryption_sets
WHERE subscriptionId = 'replace-me';