vw_administrators
Creates, updates, deletes, gets or lists a vw_administrators
resource.
Overview
Name | vw_administrators |
Type | View |
Id | azure.postgresql.vw_administrators |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.principalType') as "principal_type",
JSON_EXTRACT(properties, '$.principalName') as "principal_name",
JSON_EXTRACT(properties, '$.objectId') as "object_id",
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
subscriptionId,
resourceGroupName,
serverName,
objectId
FROM azure.postgresql.administrators
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.principalType') as "principal_type",
json_extract_path_text(properties, '$.principalName') as "principal_name",
json_extract_path_text(properties, '$.objectId') as "object_id",
json_extract_path_text(properties, '$.tenantId') as "tenant_id",
subscriptionId,
resourceGroupName,
serverName,
objectId
FROM azure.postgresql.administrators
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me';