Skip to main content

metadata

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

Overview

Namemetadata
TypeResource
Idazure.app_service.metadata

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectSettings.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
listSELECTname, resourceGroupName, subscriptionIdDescription for Gets the metadata of an app.
updateREPLACEname, resourceGroupName, subscriptionIdDescription for Replaces the metadata of an app.

SELECT examples

Description for Gets the metadata of an app.

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

REPLACE example

Replaces all fields in the specified metadata resource.

/*+ update */
REPLACE azure.app_service.metadata
SET
kind = '{{ kind }}',
properties = '{{ properties }}'
WHERE
name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';