vw_share_subscriptions
Creates, updates, deletes, gets or lists a vw_share_subscriptions
resource.
Overview
Name | vw_share_subscriptions |
Type | View |
Id | azure.data_share.vw_share_subscriptions |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
systemData as system_data,
type as type,
JSON_EXTRACT(properties, '$.createdAt') as "created_at",
JSON_EXTRACT(properties, '$.expirationDate') as "expiration_date",
JSON_EXTRACT(properties, '$.invitationId') as "invitation_id",
JSON_EXTRACT(properties, '$.providerEmail') as "provider_email",
JSON_EXTRACT(properties, '$.providerName') as "provider_name",
JSON_EXTRACT(properties, '$.providerTenantName') as "provider_tenant_name",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.shareDescription') as "share_description",
JSON_EXTRACT(properties, '$.shareKind') as "share_kind",
JSON_EXTRACT(properties, '$.shareName') as "share_name",
JSON_EXTRACT(properties, '$.shareSubscriptionStatus') as "share_subscription_status",
JSON_EXTRACT(properties, '$.shareTerms') as "share_terms",
JSON_EXTRACT(properties, '$.sourceShareLocation') as "source_share_location",
JSON_EXTRACT(properties, '$.userEmail') as "user_email",
JSON_EXTRACT(properties, '$.userName') as "user_name",
subscriptionId,
resourceGroupName,
accountName,
shareSubscriptionName
FROM azure.data_share.share_subscriptions
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';
SELECT
id as id,
name as name,
systemData as system_data,
type as type,
json_extract_path_text(properties, '$.createdAt') as "created_at",
json_extract_path_text(properties, '$.expirationDate') as "expiration_date",
json_extract_path_text(properties, '$.invitationId') as "invitation_id",
json_extract_path_text(properties, '$.providerEmail') as "provider_email",
json_extract_path_text(properties, '$.providerName') as "provider_name",
json_extract_path_text(properties, '$.providerTenantName') as "provider_tenant_name",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.shareDescription') as "share_description",
json_extract_path_text(properties, '$.shareKind') as "share_kind",
json_extract_path_text(properties, '$.shareName') as "share_name",
json_extract_path_text(properties, '$.shareSubscriptionStatus') as "share_subscription_status",
json_extract_path_text(properties, '$.shareTerms') as "share_terms",
json_extract_path_text(properties, '$.sourceShareLocation') as "source_share_location",
json_extract_path_text(properties, '$.userEmail') as "user_email",
json_extract_path_text(properties, '$.userName') as "user_name",
subscriptionId,
resourceGroupName,
accountName,
shareSubscriptionName
FROM azure.data_share.share_subscriptions
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';