vw_azure_bare_metal_instances
Creates, updates, deletes, gets or lists a vw_azure_bare_metal_instances
resource.
Overview
Name | vw_azure_bare_metal_instances |
Type | View |
Id | azure.bare_metal_infrastructure.vw_azure_bare_metal_instances |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
tags as tags,
JSON_EXTRACT(properties, '$.hardwareProfile') as "hardware_profile",
JSON_EXTRACT(properties, '$.storageProfile') as "storage_profile",
JSON_EXTRACT(properties, '$.osProfile') as "os_profile",
JSON_EXTRACT(properties, '$.networkProfile') as "network_profile",
JSON_EXTRACT(properties, '$.azureBareMetalInstanceId') as "azure_bare_metal_instance_id",
JSON_EXTRACT(properties, '$.powerState') as "power_state",
JSON_EXTRACT(properties, '$.proximityPlacementGroup') as "proximity_placement_group",
JSON_EXTRACT(properties, '$.hwRevision') as "hw_revision",
JSON_EXTRACT(properties, '$.partnerNodeId') as "partner_node_id",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
azureBareMetalInstanceName
FROM azure.bare_metal_infrastructure.azure_bare_metal_instances
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
tags as tags,
json_extract_path_text(properties, '$.hardwareProfile') as "hardware_profile",
json_extract_path_text(properties, '$.storageProfile') as "storage_profile",
json_extract_path_text(properties, '$.osProfile') as "os_profile",
json_extract_path_text(properties, '$.networkProfile') as "network_profile",
json_extract_path_text(properties, '$.azureBareMetalInstanceId') as "azure_bare_metal_instance_id",
json_extract_path_text(properties, '$.powerState') as "power_state",
json_extract_path_text(properties, '$.proximityPlacementGroup') as "proximity_placement_group",
json_extract_path_text(properties, '$.hwRevision') as "hw_revision",
json_extract_path_text(properties, '$.partnerNodeId') as "partner_node_id",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
azureBareMetalInstanceName
FROM azure.bare_metal_infrastructure.azure_bare_metal_instances
WHERE subscriptionId = 'replace-me';