vw_authorizations
Creates, updates, deletes, gets or lists a vw_authorizations
resource.
Overview
Name | vw_authorizations |
Type | View |
Id | azure.api_management.vw_authorizations |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.authorizationType') as "authorization_type",
JSON_EXTRACT(properties, '$.oauth2grantType') as "oauth2grant_type",
JSON_EXTRACT(properties, '$.parameters') as "parameters",
JSON_EXTRACT(properties, '$.error') as "error",
JSON_EXTRACT(properties, '$.status') as "status",
subscriptionId,
resourceGroupName,
serviceName,
authorizationProviderId,
authorizationId
FROM azure.api_management.authorizations
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me' AND authorizationProviderId = 'replace-me';
SELECT
json_extract_path_text(properties, '$.authorizationType') as "authorization_type",
json_extract_path_text(properties, '$.oauth2grantType') as "oauth2grant_type",
json_extract_path_text(properties, '$.parameters') as "parameters",
json_extract_path_text(properties, '$.error') as "error",
json_extract_path_text(properties, '$.status') as "status",
subscriptionId,
resourceGroupName,
serviceName,
authorizationProviderId,
authorizationId
FROM azure.api_management.authorizations
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me' AND authorizationProviderId = 'replace-me';