vw_scale_units
Creates, updates, deletes, gets or lists a vw_scale_units
resource.
Overview
Name | vw_scale_units |
Type | View |
Id | azure_stack.fabric_admin.vw_scale_units |
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, '$.scaleUnitType') as "scale_unit_type",
JSON_EXTRACT(properties, '$.logicalFaultDomain') as "logical_fault_domain",
JSON_EXTRACT(properties, '$.nodes') as "nodes",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.model') as "model",
JSON_EXTRACT(properties, '$.totalCapacity') as "total_capacity",
JSON_EXTRACT(properties, '$.isMultiNode') as "is_multi_node",
subscriptionId,
resourceGroupName,
location,
scaleUnit
FROM azure_stack.fabric_admin.scale_units
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, '$.scaleUnitType') as "scale_unit_type",
json_extract_path_text(properties, '$.logicalFaultDomain') as "logical_fault_domain",
json_extract_path_text(properties, '$.nodes') as "nodes",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.model') as "model",
json_extract_path_text(properties, '$.totalCapacity') as "total_capacity",
json_extract_path_text(properties, '$.isMultiNode') as "is_multi_node",
subscriptionId,
resourceGroupName,
location,
scaleUnit
FROM azure_stack.fabric_admin.scale_units
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND location = 'replace-me';