Skip to main content

metadata

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

Overview​

Namemetadata
TypeResource
Idazure.resource_health.metadata

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
applicableScenariosarrayThe list of scenarios applicable to this metadata entity.
dependsOnarrayThe list of keys on which this entity depends on.
displayNamestringThe display name.
supportedValuesarrayThe list of supported values.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_entityselectnameGets the list of metadata entities.
listselectGets the list of metadata entities.

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 metadata entity. Required.

SELECT examples​

Gets the list of metadata entities.

SELECT
id,
name,
applicableScenarios,
dependsOn,
displayName,
supportedValues,
systemData,
type
FROM azure.resource_health.metadata
WHERE name = '{{ name }}' -- required
;