Skip to main content

static_site_users

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

Overview

Namestatic_site_users
TypeResource
Idazure.app_service.static_site_users

Fields

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

Methods

NameAccessible byRequired ParamsDescription
listSELECTauthprovider, name, resourceGroupName, subscriptionIdDescription for Gets the list of users of a static site.
deleteDELETEauthprovider, name, resourceGroupName, subscriptionId, useridDescription for Deletes the user entry from the static site.
updateUPDATEauthprovider, name, resourceGroupName, subscriptionId, useridDescription for Updates a user entry with the listed roles

SELECT examples

Description for Gets the list of users of a static site.

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

UPDATE example

Updates a static_site_users resource.

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

DELETE example

Deletes the specified static_site_users resource.

/*+ delete */
DELETE FROM azure.app_service.static_site_users
WHERE authprovider = '{{ authprovider }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND userid = '{{ userid }}';