vw_infra_role_instances
Creates, updates, deletes, gets or lists a vw_infra_role_instances
resource.
Overview
Name | vw_infra_role_instances |
Type | View |
Id | azure_stack.fabric_admin.vw_infra_role_instances |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.scaleUnit') as "scale_unit",
JSON_EXTRACT(properties, '$.scaleUnitNode') as "scale_unit_node",
JSON_EXTRACT(properties, '$.size') as "size",
JSON_EXTRACT(properties, '$.state') as "state",
subscriptionId,
resourceGroupName,
location,
infraRoleInstance
FROM azure_stack.fabric_admin.infra_role_instances
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND location = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.scaleUnit') as "scale_unit",
json_extract_path_text(properties, '$.scaleUnitNode') as "scale_unit_node",
json_extract_path_text(properties, '$.size') as "size",
json_extract_path_text(properties, '$.state') as "state",
subscriptionId,
resourceGroupName,
location,
infraRoleInstance
FROM azure_stack.fabric_admin.infra_role_instances
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND location = 'replace-me';