Skip to main content

scm_allowed_slots

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

Overview

Namescm_allowed_slots
TypeResource
Idazure.app_service.scm_allowed_slots

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, slot, subscriptionIdDescription for Returns whether Scm basic auth is allowed on the site or not.
updateREPLACEname, resourceGroupName, slot, subscriptionIdDescription for Updates whether user publishing credentials are allowed on the site or not.

SELECT examples

Description for Returns whether Scm basic auth is allowed on the site or not.

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

REPLACE example

Replaces all fields in the specified scm_allowed_slots resource.

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