Microsoft.Web sites/basicPublishingCredentialsPolicies 2021-01-01
Bicep resource definition
The sites/basicPublishingCredentialsPolicies resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Web/sites/basicPublishingCredentialsPolicies resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2021-01-01' = {
name: 'string'
// For remaining properties, see microsoft.web/sites/basicpublishingcredentialspolicies objects
}
microsoft.web/sites/basicpublishingcredentialspolicies objects
Set the name property to specify the type of object.
For ftp, use:
{
kind: 'string'
name: 'ftp'
properties: {
allow: bool
}
}
For scm, use:
{
kind: 'string'
name: 'scm'
properties: {
allow: bool
}
}
Property values
CsmPublishingCredentialsPoliciesEntityProperties
Name | Description | Value |
---|---|---|
allow | <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>. | bool (required) |
microsoft.web/sites/basicpublishingcredentialspolicies
Name | Description | Value |
---|---|---|
name | Set to 'ftp' for type Microsoft.Web/sites/basicPublishingCredentialsPolicies. Set to 'scm' for type Microsoft.Web/sites/basicPublishingCredentialsPolicies. | 'ftp' 'scm' (required) |
Microsoft.Web/sites/basicPublishingCredentialsPolicies
Name | Description | Value |
---|---|---|
kind | Kind of resource. | string |
name | The resource name | 'ftp' (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: sites |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
Microsoft.Web/sites/basicPublishingCredentialsPolicies
Name | Description | Value |
---|---|---|
kind | Kind of resource. | string |
name | The resource name | 'scm' (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: sites |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
Quickstart samples
The following quickstart samples deploy this resource type.
Bicep File | Description |
---|---|
Highly Available Multi-region Web App | This template allows you to create a secure, highly available, multi-region end to end solution with two web apps in different regions behind Azure Front Door |
Secure N-tier Web App | This template allows you to create a secure end to end solution with two web apps with staging slots, front end and back end, front end will consume securely the back through VNet injection and Private Endpoint |
ARM template resource definition
The sites/basicPublishingCredentialsPolicies resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Web/sites/basicPublishingCredentialsPolicies resource, add the following JSON to your template.
{
"name": "string"
// For remaining properties, see microsoft.web/sites/basicpublishingcredentialspolicies objects
}
microsoft.web/sites/basicpublishingcredentialspolicies objects
Set the name property to specify the type of object.
For ftp, use:
{
"kind": "string",
"name": "ftp",
"properties": {
"allow": "bool"
}
}
For scm, use:
{
"kind": "string",
"name": "scm",
"properties": {
"allow": "bool"
}
}
Property values
CsmPublishingCredentialsPoliciesEntityProperties
Name | Description | Value |
---|---|---|
allow | <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>. | bool (required) |
microsoft.web/sites/basicpublishingcredentialspolicies
Name | Description | Value |
---|---|---|
name | Set to 'ftp' for type Microsoft.Web/sites/basicPublishingCredentialsPolicies. Set to 'scm' for type Microsoft.Web/sites/basicPublishingCredentialsPolicies. | 'ftp' 'scm' (required) |
Microsoft.Web/sites/basicPublishingCredentialsPolicies
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-01-01' |
kind | Kind of resource. | string |
name | The resource name | 'ftp' (required) |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
type | The resource type | 'Microsoft.Web/sites/basicPublishingCredentialsPolicies' |
Microsoft.Web/sites/basicPublishingCredentialsPolicies
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-01-01' |
kind | Kind of resource. | string |
name | The resource name | 'scm' (required) |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
type | The resource type | 'Microsoft.Web/sites/basicPublishingCredentialsPolicies' |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Highly Available Multi-region Web App |
This template allows you to create a secure, highly available, multi-region end to end solution with two web apps in different regions behind Azure Front Door |
Secure N-tier Web App |
This template allows you to create a secure end to end solution with two web apps with staging slots, front end and back end, front end will consume securely the back through VNet injection and Private Endpoint |
Terraform (AzAPI provider) resource definition
The sites/basicPublishingCredentialsPolicies resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Web/sites/basicPublishingCredentialsPolicies resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
name = "string"
// For remaining properties, see microsoft.web/sites/basicpublishingcredentialspolicies objects
}
microsoft.web/sites/basicpublishingcredentialspolicies objects
Set the name property to specify the type of object.
For ftp, use:
{
kind = "string"
name = "ftp"
properties = {
allow = bool
}
}
For scm, use:
{
kind = "string"
name = "scm"
properties = {
allow = bool
}
}
Property values
CsmPublishingCredentialsPoliciesEntityProperties
Name | Description | Value |
---|---|---|
allow | <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>. | bool (required) |
microsoft.web/sites/basicpublishingcredentialspolicies
Name | Description | Value |
---|---|---|
name | Set to 'ftp' for type Microsoft.Web/sites/basicPublishingCredentialsPolicies. Set to 'scm' for type Microsoft.Web/sites/basicPublishingCredentialsPolicies. | 'ftp' 'scm' (required) |
Microsoft.Web/sites/basicPublishingCredentialsPolicies
Name | Description | Value |
---|---|---|
kind | Kind of resource. | string |
name | The resource name | 'ftp' (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: sites |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
type | The resource type | "Microsoft.Web/sites/basicPublishingCredentialsPolicies@2021-01-01" |
Microsoft.Web/sites/basicPublishingCredentialsPolicies
Name | Description | Value |
---|---|---|
kind | Kind of resource. | string |
name | The resource name | 'scm' (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: sites |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
type | The resource type | "Microsoft.Web/sites/basicPublishingCredentialsPolicies@2021-01-01" |