Skip to main content

ftp_allowed

Creates, updates, deletes, gets or lists a ftp_allowed resource.

Overview

Nameftp_allowed
TypeResource
Idazure.app_service.ftp_allowed

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectCsmPublishingCredentialsPoliciesEntity resource specific properties
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, name, subscriptionIdDescription for Returns whether FTP is allowed on the site or not.
updatereplaceresourceGroupName, name, subscriptionIdDescription for Updates whether FTP is allowed on the site or not.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringName of the app.
resourceGroupNamestringName of the resource group to which the resource belongs.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

SELECT examples

Description for Returns whether FTP is allowed on the site or not.

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.ftp_allowed
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

REPLACE examples

Description for Updates whether FTP is allowed on the site or not.

REPLACE azure.app_service.ftp_allowed
SET
data__kind = '{{ kind }}',
data__properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND name = '{{ name }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
RETURNING
id,
name,
kind,
properties,
type;