Skip to main content

basic_auths

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

Overview

Namebasic_auths
TypeResource
Idazure.app_service.basic_auths

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTbasicAuthName, name, resourceGroupName, subscriptionIdDescription for Gets the basic auth properties for a static site.
listSELECTname, resourceGroupName, subscriptionIdDescription for Gets the basic auth properties for a static site as a collection.
create_or_updateINSERTbasicAuthName, name, resourceGroupName, subscriptionIdDescription for Adds or updates basic auth for a static site.

SELECT examples

Description for Gets the basic auth properties for a static site as a collection.

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

INSERT example

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

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