Skip to main content

metadata_slots

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

Overview

Namemetadata_slots
TypeResource
Idazure.app_service.metadata_slots

Fields

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

Methods

NameAccessible byRequired ParamsDescription
listSELECTname, resourceGroupName, slot, subscriptionIdDescription for Gets the metadata of an app.
updateREPLACEname, resourceGroupName, slot, 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_slots
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND slot = '{{ slot }}'
AND subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified metadata_slots resource.

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