Skip to main content

auth_settings_v2

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

Overview

Nameauth_settings_v2
TypeResource
Idazure.app_service.auth_settings_v2

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionIdDescription for Gets site's Authentication / Authorization settings for apps via the V2 format
updateREPLACEname, resourceGroupName, subscriptionIdDescription for Updates site's Authentication / Authorization settings for apps via the V2 format

SELECT examples

Description for Gets site's Authentication / Authorization settings for apps via the V2 format

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

REPLACE example

Replaces all fields in the specified auth_settings_v2 resource.

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