vw_origins
Creates, updates, deletes, gets or lists a vw_origins
resource.
Overview
Name | vw_origins |
Type | View |
Id | azure.cdn.vw_origins |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
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, '$.enabled') as "enabled",
JSON_EXTRACT(properties, '$.privateLinkAlias') as "private_link_alias",
JSON_EXTRACT(properties, '$.privateLinkResourceId') as "private_link_resource_id",
JSON_EXTRACT(properties, '$.privateLinkLocation') as "private_link_location",
JSON_EXTRACT(properties, '$.privateLinkApprovalMessage') as "private_link_approval_message",
JSON_EXTRACT(properties, '$.resourceState') as "resource_state",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.privateEndpointStatus') as "private_endpoint_status",
subscriptionId,
resourceGroupName,
profileName,
endpointName,
originName
FROM azure.cdn.origins
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND profileName = 'replace-me' AND endpointName = 'replace-me';
SELECT
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, '$.enabled') as "enabled",
json_extract_path_text(properties, '$.privateLinkAlias') as "private_link_alias",
json_extract_path_text(properties, '$.privateLinkResourceId') as "private_link_resource_id",
json_extract_path_text(properties, '$.privateLinkLocation') as "private_link_location",
json_extract_path_text(properties, '$.privateLinkApprovalMessage') as "private_link_approval_message",
json_extract_path_text(properties, '$.resourceState') as "resource_state",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.privateEndpointStatus') as "private_endpoint_status",
subscriptionId,
resourceGroupName,
profileName,
endpointName,
originName
FROM azure.cdn.origins
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND profileName = 'replace-me' AND endpointName = 'replace-me';