Skip to main content

connection_strings_slots

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

Overview

Nameconnection_strings_slots
TypeResource
Idazure.app_service.connection_strings_slots

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectConnection strings.
typestringResource type.

Methods

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

SELECT examples

Description for Gets the connection strings of an app.

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

REPLACE example

Replaces all fields in the specified connection_strings_slots resource.

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