The sites/slots/basicPublishingCredentialsPolicies resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
The sites/slots/basicPublishingCredentialsPolicies resource accepts different properties based on the value of the name property.
This article shows the properties that are available when you set name: 'scm'
.
For other options, see:
To create a Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies resource, add the following JSON to your template.
{
"type": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies",
"apiVersion": "2022-09-01",
"name": "scm",
"kind": "string",
"properties": {
"allow": "bool"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies' |
apiVersion | The resource api version | '2022-09-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
'scm' |
kind | Kind of resource. | string |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
Name | Description | Value |
---|---|---|
allow | true to allow access to a publishing method; otherwise, false . |
bool (required) |