vw_scale_unit_nodes
Creates, updates, deletes, gets or lists a vw_scale_unit_nodes
resource.
Overview
Name | vw_scale_unit_nodes |
Type | View |
Id | azure_stack.fabric_admin.vw_scale_unit_nodes |
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, '$.scaleUnitNodeStatus') as "scale_unit_node_status",
JSON_EXTRACT(properties, '$.powerState') as "power_state",
JSON_EXTRACT(properties, '$.bmcAddress') as "bmc_address",
JSON_EXTRACT(properties, '$.scaleUnitName') as "scale_unit_name",
JSON_EXTRACT(properties, '$.scaleUnitUri') as "scale_unit_uri",
JSON_EXTRACT(properties, '$.canPowerOff') as "can_power_off",
JSON_EXTRACT(properties, '$.vendor') as "vendor",
JSON_EXTRACT(properties, '$.model') as "model",
JSON_EXTRACT(properties, '$.serialNumber') as "serial_number",
JSON_EXTRACT(properties, '$.biosVersion') as "bios_version",
JSON_EXTRACT(properties, '$.capacity') as "capacity",
JSON_EXTRACT(properties, '$.gpus') as "gpus",
subscriptionId,
resourceGroupName,
location,
scaleUnitNode
FROM azure_stack.fabric_admin.scale_unit_nodes
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, '$.scaleUnitNodeStatus') as "scale_unit_node_status",
json_extract_path_text(properties, '$.powerState') as "power_state",
json_extract_path_text(properties, '$.bmcAddress') as "bmc_address",
json_extract_path_text(properties, '$.scaleUnitName') as "scale_unit_name",
json_extract_path_text(properties, '$.scaleUnitUri') as "scale_unit_uri",
json_extract_path_text(properties, '$.canPowerOff') as "can_power_off",
json_extract_path_text(properties, '$.vendor') as "vendor",
json_extract_path_text(properties, '$.model') as "model",
json_extract_path_text(properties, '$.serialNumber') as "serial_number",
json_extract_path_text(properties, '$.biosVersion') as "bios_version",
json_extract_path_text(properties, '$.capacity') as "capacity",
json_extract_path_text(properties, '$.gpus') as "gpus",
subscriptionId,
resourceGroupName,
location,
scaleUnitNode
FROM azure_stack.fabric_admin.scale_unit_nodes
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND location = 'replace-me';