Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The sites/slots/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/slots/basicPublishingCredentialsPolicies resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies@2020-12-01' = {
name: 'string'
// For remaining properties, see microsoft.web/sites/slots/basicpublishingcredentialspolicies objects
}
microsoft.web/sites/slots/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/slots/basicpublishingcredentialspolicies
Name | Description | Value |
---|---|---|
name | Set to 'ftp' for type Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies. Set to 'scm' for type Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies. | 'ftp' 'scm' (required) |
Microsoft.Web/sites/slots/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/slots |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
Microsoft.Web/sites/slots/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/slots |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying 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/slots/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/slots/basicPublishingCredentialsPolicies resource, add the following JSON to your template.
{
"name": "string"
// For remaining properties, see microsoft.web/sites/slots/basicpublishingcredentialspolicies objects
}
microsoft.web/sites/slots/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/slots/basicpublishingcredentialspolicies
Name | Description | Value |
---|---|---|
name | Set to 'ftp' for type Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies. Set to 'scm' for type Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies. | 'ftp' 'scm' (required) |
Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-12-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/slots/basicPublishingCredentialsPolicies' |
Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-12-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/slots/basicPublishingCredentialsPolicies' |
Usage Examples
Azure Quickstart Templates
The following Azure 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/slots/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/slots/basicPublishingCredentialsPolicies resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
name = "string"
// For remaining properties, see microsoft.web/sites/slots/basicpublishingcredentialspolicies objects
}
microsoft.web/sites/slots/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/slots/basicpublishingcredentialspolicies
Name | Description | Value |
---|---|---|
name | Set to 'ftp' for type Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies. Set to 'scm' for type Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies. | 'ftp' 'scm' (required) |
Microsoft.Web/sites/slots/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/slots |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
type | The resource type | "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies@2020-12-01" |
Microsoft.Web/sites/slots/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/slots |
properties | CsmPublishingCredentialsPoliciesEntity resource specific properties | CsmPublishingCredentialsPoliciesEntityProperties |
type | The resource type | "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies@2020-12-01" |