Skip to main content

WebAppFtpAllowedSlot

Provides a WebAppFtpAllowedSlot from the Web group

Examples

Update FTP Allowed

exports.createResources = () => [
{
type: "WebAppFtpAllowedSlot",
group: "Web",
name: "myWebAppFtpAllowedSlot",
properties: () => ({ properties: { allow: true } }),
dependencies: ({}) => ({
resourceGroup: "myResourceGroup",
name: "myWebApp",
slot: "myWebAppSlot",
}),
},
];

Dependencies

Swagger Schema

{
description: 'Publishing Credentials Policies parameters.',
type: 'object',
allOf: [
{
description: 'Azure proxy only resource. This resource is not tracked by Azure Resource Manager.',
type: 'object',
properties: {
id: { description: 'Resource Id.', type: 'string', readOnly: true },
name: {
description: 'Resource Name.',
type: 'string',
readOnly: true
},
kind: { description: 'Kind of resource.', type: 'string' },
type: {
description: 'Resource type.',
type: 'string',
readOnly: true
}
},
'x-ms-azure-resource': true
}
],
properties: {
properties: {
description: 'CsmPublishingCredentialsPoliciesEntity resource specific properties',
required: [ 'allow' ],
type: 'object',
properties: {
allow: {
description: '<code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.',
type: 'boolean'
}
},
'x-ms-client-flatten': true
}
}
}

Misc

The resource version is 2022-03-01.

The Swagger schema used to generate this documentation can be found here.