Skip to main content

service_healths

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

Overview

Nameservice_healths
TypeResource
Idazure_stack.infrastructure_insights_admin.service_healths

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringThe Azure Region where the resource lives
propertiesobjectHolds information about the health of a service.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, location, serviceHealthReturns the requested service health object.
listselectsubscriptionId, resourceGroupName, location$filterReturns 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.

NameDatatypeDescription
locationstringName of the region
resourceGroupNamestringThe name of the resource group.
serviceHealthstringService Health name.
subscriptionIdstringSubscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
$filterstringOData filter parameter.

SELECT examples

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
;