scm_allowed
Creates, updates, deletes, gets or lists a scm_allowed
resource.
Overview
Name | scm_allowed |
Type | Resource |
Id | azure.app_service.scm_allowed |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | CsmPublishingCredentialsPoliciesEntity resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, resourceGroupName, subscriptionId | Description for Returns whether Scm basic auth is allowed on the site or not. |
update | REPLACE | name, resourceGroupName, subscriptionId | Description 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 }}';