vw_registrations
Creates, updates, deletes, gets or lists a vw_registrations
resource.
Overview
Name | vw_registrations |
Type | View |
Id | azure_stack.azure_stack.vw_registrations |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
etag as etag,
JSON_EXTRACT(properties, '$.objectId') as "object_id",
JSON_EXTRACT(properties, '$.cloudId') as "cloud_id",
JSON_EXTRACT(properties, '$.billingModel') as "billing_model",
subscriptionId,
resourceGroup,
registrationName
FROM azure_stack.azure_stack.registrations
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
etag as etag,
json_extract_path_text(properties, '$.objectId') as "object_id",
json_extract_path_text(properties, '$.cloudId') as "cloud_id",
json_extract_path_text(properties, '$.billingModel') as "billing_model",
subscriptionId,
resourceGroup,
registrationName
FROM azure_stack.azure_stack.registrations
WHERE subscriptionId = 'replace-me';