Skip to main content

configurations

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

Overview

Nameconfigurations
TypeResource
Idazure.app_service.configurations

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectConfiguration of an App Service app.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionIdDescription for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.
listSELECTname, resourceGroupName, subscriptionIdDescription for List the configurations of an app
create_or_updateINSERTname, resourceGroupName, subscriptionIdDescription for Updates the configuration of an app.
updateUPDATEname, resourceGroupName, subscriptionIdDescription for Updates the configuration of an app.

SELECT examples

Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.

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

INSERT example

Use the following StackQL query and manifest file to create a new configurations resource.

/*+ create */
INSERT INTO azure.app_service.configurations (
name,
resourceGroupName,
subscriptionId,
kind,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}'
;

UPDATE example

Updates a configurations resource.

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