Skip to main content

scm_allowed

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

Overview

Namescm_allowed
TypeResource
Idazure.app_service.scm_allowed

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionIdDescription for Returns whether Scm basic auth is allowed on the site or not.
updateREPLACEname, resourceGroupName, 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
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified scm_allowed resource.

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