vw_api_versions
Creates, updates, deletes, gets or lists a vw_api_versions
resource.
Overview
Name | vw_api_versions |
Type | View |
Id | azure.api_center.vw_api_versions |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.title') as "title",
JSON_EXTRACT(properties, '$.lifecycleStage') as "lifecycle_stage",
subscriptionId,
resourceGroupName,
serviceName,
workspaceName,
apiName,
versionName
FROM azure.api_center.api_versions
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me' AND workspaceName = 'replace-me' AND apiName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.title') as "title",
json_extract_path_text(properties, '$.lifecycleStage') as "lifecycle_stage",
subscriptionId,
resourceGroupName,
serviceName,
workspaceName,
apiName,
versionName
FROM azure.api_center.api_versions
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me' AND workspaceName = 'replace-me' AND apiName = 'replace-me';