vw_roles
Creates, updates, deletes, gets or lists a vw_roles
resource.
Overview
Name | vw_roles |
Type | View |
Id | azure.postgresql_hsc.vw_roles |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.roleType') as "role_type",
JSON_EXTRACT(properties, '$.password') as "password",
JSON_EXTRACT(properties, '$.externalIdentity') as "external_identity",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
clusterName,
roleName
FROM azure.postgresql_hsc.roles
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND clusterName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.roleType') as "role_type",
json_extract_path_text(properties, '$.password') as "password",
json_extract_path_text(properties, '$.externalIdentity') as "external_identity",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
clusterName,
roleName
FROM azure.postgresql_hsc.roles
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND clusterName = 'replace-me';