service_healths
Creates, updates, deletes, gets or lists a service_healths
resource.
Overview
Name | service_healths |
Type | Resource |
Id | azure_stack.infrastructure_insights_admin.service_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 | Holds information about the health of a service. |
tags | object | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The Azure Region where the resource lives |
properties | object | Holds information about the health of a service. |
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 , serviceHealth | Returns the requested service health object. | |
list | select | subscriptionId , resourceGroupName , location | $filter | Returns the list of all resource provider health states. |
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. |
serviceHealth | string | Service Health name. |
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 service health object.
SELECT
location,
properties,
tags
FROM azure_stack.infrastructure_insights_admin.service_healths
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND location = '{{ location }}' -- required
AND serviceHealth = '{{ serviceHealth }}' -- required
;
Returns the list of all resource provider health states.
SELECT
location,
properties,
tags
FROM azure_stack.infrastructure_insights_admin.service_healths
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND location = '{{ location }}' -- required
AND $filter = '{{ $filter }}'
;