UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

67 lines (66 loc) 2.54 kB
import * as pulumi from "@pulumi/pulumi"; /** * Description for Returns whether FTP is allowed on the site or not. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppFtpAllowed(args: GetWebAppFtpAllowedArgs, opts?: pulumi.InvokeOptions): Promise<GetWebAppFtpAllowedResult>; export interface GetWebAppFtpAllowedArgs { /** * Name of the app. */ name: string; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: string; } /** * Publishing Credentials Policies parameters. */ export interface GetWebAppFtpAllowedResult { /** * <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>. */ readonly allow: boolean; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Resource Id. */ readonly id: string; /** * Kind of resource. */ readonly kind?: string; /** * Resource Name. */ readonly name: string; /** * Resource type. */ readonly type: string; } /** * Description for Returns whether FTP is allowed on the site or not. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppFtpAllowedOutput(args: GetWebAppFtpAllowedOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebAppFtpAllowedResult>; export interface GetWebAppFtpAllowedOutputArgs { /** * Name of the app. */ name: pulumi.Input<string>; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: pulumi.Input<string>; }