Skip to main content

resource_healths

Creates, updates, deletes, gets or lists a resource_healths resource.

Overview

Nameresource_healths
TypeResource
Idazure_stack.infrastructure_insights_admin.resource_healths

Fields

NameDatatypeDescription
alert_summarytextfield from the properties object
health_statetextfield from the properties object
locationtextThe Azure Region where the resource lives
namespacetextfield from the properties object
registration_idtextfield from the properties object
resourceGroupNametextfield from the properties object
resourceRegistrationIdtextfield from the properties object
resource_display_nametextfield from the properties object
resource_locationtextfield from the properties object
resource_nametextfield from the properties object
resource_typetextfield from the properties object
resource_uritextfield from the properties object
route_prefixtextfield from the properties object
rp_registration_idtextfield from the properties object
serviceRegistrationIdtextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
usage_metricstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocation, resourceGroupName, resourceRegistrationId, serviceRegistrationId, subscriptionIdReturns the requested health information about a resource.
listSELECTlocation, resourceGroupName, serviceRegistrationId, subscriptionIdReturns a list of each resource's health under a service.

SELECT examples

Returns a list of each resource's health under a service.

SELECT
alert_summary,
health_state,
location,
namespace,
registration_id,
resourceGroupName,
resourceRegistrationId,
resource_display_name,
resource_location,
resource_name,
resource_type,
resource_uri,
route_prefix,
rp_registration_id,
serviceRegistrationId,
subscriptionId,
tags,
usage_metrics
FROM azure_stack.infrastructure_insights_admin.vw_resource_healths
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceRegistrationId = '{{ serviceRegistrationId }}'
AND subscriptionId = '{{ subscriptionId }}';