Skip to main content

auth_settings

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

Overview

Nameauth_settings
TypeResource
Idazure.app_service.auth_settings

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectSiteAuthSettings resource specific properties
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionIdDescription for Gets the Authentication/Authorization settings of an app.
updateREPLACEname, resourceGroupName, subscriptionIdDescription for Updates the Authentication / Authorization settings associated with web app.

SELECT examples

Description for Gets the Authentication/Authorization settings of an app.

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

REPLACE example

Replaces all fields in the specified auth_settings resource.

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