Skip to main content

resource_health_metadata

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

Overview

Nameresource_health_metadata
TypeResource
Idazure.app_service.resource_health_metadata

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectResourceHealthMetadata resource specific properties
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_site_slotselectresourceGroupName, name, slot, subscriptionIdDescription for Gets the category of ResourceHealthMetadata to use for the given site as a collection
get_by_site_slotselectresourceGroupName, name, slot, subscriptionIdDescription for Gets the category of ResourceHealthMetadata to use for the given site
list_by_siteselectresourceGroupName, name, subscriptionIdDescription for Gets the category of ResourceHealthMetadata to use for the given site as a collection
get_by_siteselectresourceGroupName, name, subscriptionIdDescription for Gets the category of ResourceHealthMetadata to use for the given site
list_by_resource_groupselectresourceGroupName, subscriptionIdDescription for List all ResourceHealthMetadata for all sites in the resource group in the subscription.
listselectsubscriptionIdDescription for List all ResourceHealthMetadata for all sites in the subscription.

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
namestringName of web app
resourceGroupNamestringName of the resource group to which the resource belongs.
slotstringName of web app slot. If not specified then will default to production slot.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

SELECT examples

Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.resource_health_metadata
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND slot = '{{ slot }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;