Skip to main content

vw_requests

Creates, updates, deletes, gets or lists a vw_requests resource.

Overview

Namevw_requests
TypeView
Idazure.customer_lockbox.vw_requests

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.requestId') as "request_id",
JSON_EXTRACT(properties, '$.justification') as "justification",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.createdDateTime') as "created_date_time",
JSON_EXTRACT(properties, '$.expirationDateTime') as "expiration_date_time",
JSON_EXTRACT(properties, '$.duration') as "duration",
JSON_EXTRACT(properties, '$.resourceIds') as "resource_ids",
JSON_EXTRACT(properties, '$.resourceType') as "resource_type",
JSON_EXTRACT(properties, '$.supportRequest') as "support_request",
JSON_EXTRACT(properties, '$.supportCaseUrl') as "support_case_url",
JSON_EXTRACT(properties, '$.workitemsource') as "workitemsource",
JSON_EXTRACT(properties, '$.subscriptionId') as "subscription_id",
JSON_EXTRACT(properties, '$.accessLevel') as "access_level",
subscriptionId,
requestId
FROM azure.customer_lockbox.requests
WHERE subscriptionId = 'replace-me';