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
The following fields are returned by SELECT
queries:
- get
- list
Name | Datatype | Description |
---|---|---|
location | string | The Azure Region where the resource lives |
properties | object | Health information related to a resource. |
tags | object | Resource tags. |
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
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , location , serviceRegistrationId , resourceRegistrationId | $filter | Returns the requested health information about a resource. |
list | select | subscriptionId , resourceGroupName , location , serviceRegistrationId | $filter | Returns a list of each resource's health under a service. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
location | string | Name of the region |
resourceGroupName | string | The name of the resource group. |
resourceRegistrationId | string | Resource registration ID. |
serviceRegistrationId | string | Service registration ID. |
subscriptionId | string | Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
$filter | string | OData filter parameter. |
SELECT
examples
- get
- list
Returns the requested health information about a resource.
SELECT
location,
properties,
tags
FROM azure_stack.infrastructure_insights_admin.resource_healths
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND location = '{{ location }}' -- required
AND serviceRegistrationId = '{{ serviceRegistrationId }}' -- required
AND resourceRegistrationId = '{{ resourceRegistrationId }}' -- required
AND $filter = '{{ $filter }}'
;
Returns a list of each resource's health under a service.
SELECT
location,
properties,
tags
FROM azure_stack.infrastructure_insights_admin.resource_healths
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND location = '{{ location }}' -- required
AND serviceRegistrationId = '{{ serviceRegistrationId }}' -- required
AND $filter = '{{ $filter }}'
;