resource_healths
Creates, updates, deletes, gets or lists a resource_healths
resource.
Overview
Name | resource_healths |
Type | Resource |
Id | azure_stack.infrastructure_insights_admin.resource_healths |
Fields
- vw_resource_healths
- resource_healths
Name | Datatype | Description |
---|---|---|
alert_summary | text | field from the properties object |
health_state | text | field from the properties object |
location | text | The Azure Region where the resource lives |
namespace | text | field from the properties object |
registration_id | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceRegistrationId | text | field from the properties object |
resource_display_name | text | field from the properties object |
resource_location | text | field from the properties object |
resource_name | text | field from the properties object |
resource_type | text | field from the properties object |
resource_uri | text | field from the properties object |
route_prefix | text | field from the properties object |
rp_registration_id | text | field from the properties object |
serviceRegistrationId | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
usage_metrics | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The Azure Region where the resource lives |
properties | object | Health information related to a resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | location, resourceGroupName, resourceRegistrationId, serviceRegistrationId, subscriptionId | Returns the requested health information about a resource. |
list | SELECT | location, resourceGroupName, serviceRegistrationId, subscriptionId | Returns a list of each resource's health under a service. |
SELECT
examples
Returns a list of each resource's health under a service.
- vw_resource_healths
- resource_healths
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 }}';
SELECT
location,
properties,
tags
FROM azure_stack.infrastructure_insights_admin.resource_healths
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceRegistrationId = '{{ serviceRegistrationId }}'
AND subscriptionId = '{{ subscriptionId }}';