vw_afd_origins
Creates, updates, deletes, gets or lists a vw_afd_origins
resource.
Overview
Name | vw_afd_origins |
Type | View |
Id | azure.cdn.vw_afd_origins |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.originGroupName') as "origin_group_name",
JSON_EXTRACT(properties, '$.azureOrigin') as "azure_origin",
JSON_EXTRACT(properties, '$.hostName') as "host_name",
JSON_EXTRACT(properties, '$.httpPort') as "http_port",
JSON_EXTRACT(properties, '$.httpsPort') as "https_port",
JSON_EXTRACT(properties, '$.originHostHeader') as "origin_host_header",
JSON_EXTRACT(properties, '$.priority') as "priority",
JSON_EXTRACT(properties, '$.weight') as "weight",
JSON_EXTRACT(properties, '$.sharedPrivateLinkResource') as "shared_private_link_resource",
JSON_EXTRACT(properties, '$.enabledState') as "enabled_state",
JSON_EXTRACT(properties, '$.enforceCertificateNameCheck') as "enforce_certificate_name_check",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.deploymentStatus') as "deployment_status",
subscriptionId,
resourceGroupName,
profileName,
originGroupName,
originName
FROM azure.cdn.afd_origins
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND profileName = 'replace-me' AND originGroupName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.originGroupName') as "origin_group_name",
json_extract_path_text(properties, '$.azureOrigin') as "azure_origin",
json_extract_path_text(properties, '$.hostName') as "host_name",
json_extract_path_text(properties, '$.httpPort') as "http_port",
json_extract_path_text(properties, '$.httpsPort') as "https_port",
json_extract_path_text(properties, '$.originHostHeader') as "origin_host_header",
json_extract_path_text(properties, '$.priority') as "priority",
json_extract_path_text(properties, '$.weight') as "weight",
json_extract_path_text(properties, '$.sharedPrivateLinkResource') as "shared_private_link_resource",
json_extract_path_text(properties, '$.enabledState') as "enabled_state",
json_extract_path_text(properties, '$.enforceCertificateNameCheck') as "enforce_certificate_name_check",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.deploymentStatus') as "deployment_status",
subscriptionId,
resourceGroupName,
profileName,
originGroupName,
originName
FROM azure.cdn.afd_origins
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND profileName = 'replace-me' AND originGroupName = 'replace-me';