vw_deployments
Creates, updates, deletes, gets or lists a vw_deployments
resource.
Overview
Name | vw_deployments |
Type | View |
Id | azure.api_center.vw_deployments |
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, '$.description') as "description",
JSON_EXTRACT(properties, '$.environmentId') as "environment_id",
JSON_EXTRACT(properties, '$.definitionId') as "definition_id",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.server') as "server",
JSON_EXTRACT(properties, '$.customProperties') as "custom_properties",
subscriptionId,
resourceGroupName,
serviceName,
workspaceName,
apiName,
deploymentName
FROM azure.api_center.deployments
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, '$.description') as "description",
json_extract_path_text(properties, '$.environmentId') as "environment_id",
json_extract_path_text(properties, '$.definitionId') as "definition_id",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.server') as "server",
json_extract_path_text(properties, '$.customProperties') as "custom_properties",
subscriptionId,
resourceGroupName,
serviceName,
workspaceName,
apiName,
deploymentName
FROM azure.api_center.deployments
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me' AND workspaceName = 'replace-me' AND apiName = 'replace-me';