vw_record_sets
Creates, updates, deletes, gets or lists a vw_record_sets
resource.
Overview
Name | vw_record_sets |
Type | View |
Id | azure.dns.vw_record_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,
type as type,
etag as etag,
JSON_EXTRACT(properties, '$.metadata') as "metadata",
JSON_EXTRACT(properties, '$.TTL') as "ttl",
JSON_EXTRACT(properties, '$.fqdn') as "fqdn",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.targetResource') as "target_resource",
JSON_EXTRACT(properties, '$.trafficManagementProfile') as "traffic_management_profile",
JSON_EXTRACT(properties, '$.ARecords') as "a_records",
JSON_EXTRACT(properties, '$.AAAARecords') as "aaaa_records",
JSON_EXTRACT(properties, '$.MXRecords') as "mx_records",
JSON_EXTRACT(properties, '$.NSRecords') as "ns_records",
JSON_EXTRACT(properties, '$.PTRRecords') as "ptr_records",
JSON_EXTRACT(properties, '$.SRVRecords') as "srv_records",
JSON_EXTRACT(properties, '$.TXTRecords') as "txt_records",
JSON_EXTRACT(properties, '$.CNAMERecord') as "cname_record",
JSON_EXTRACT(properties, '$.SOARecord') as "soa_record",
JSON_EXTRACT(properties, '$.caaRecords') as "caa_records",
JSON_EXTRACT(properties, '$.DSRecords') as "ds_records",
JSON_EXTRACT(properties, '$.TLSARecords') as "tlsa_records",
JSON_EXTRACT(properties, '$.NAPTRRecords') as "naptr_records",
subscriptionId,
resourceGroupName,
zoneName,
recordType,
relativeRecordSetName
FROM azure.dns.record_sets
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND zoneName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
etag as etag,
json_extract_path_text(properties, '$.metadata') as "metadata",
json_extract_path_text(properties, '$.TTL') as "ttl",
json_extract_path_text(properties, '$.fqdn') as "fqdn",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.targetResource') as "target_resource",
json_extract_path_text(properties, '$.trafficManagementProfile') as "traffic_management_profile",
json_extract_path_text(properties, '$.ARecords') as "a_records",
json_extract_path_text(properties, '$.AAAARecords') as "aaaa_records",
json_extract_path_text(properties, '$.MXRecords') as "mx_records",
json_extract_path_text(properties, '$.NSRecords') as "ns_records",
json_extract_path_text(properties, '$.PTRRecords') as "ptr_records",
json_extract_path_text(properties, '$.SRVRecords') as "srv_records",
json_extract_path_text(properties, '$.TXTRecords') as "txt_records",
json_extract_path_text(properties, '$.CNAMERecord') as "cname_record",
json_extract_path_text(properties, '$.SOARecord') as "soa_record",
json_extract_path_text(properties, '$.caaRecords') as "caa_records",
json_extract_path_text(properties, '$.DSRecords') as "ds_records",
json_extract_path_text(properties, '$.TLSARecords') as "tlsa_records",
json_extract_path_text(properties, '$.NAPTRRecords') as "naptr_records",
subscriptionId,
resourceGroupName,
zoneName,
recordType,
relativeRecordSetName
FROM azure.dns.record_sets
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND zoneName = 'replace-me';