Share via


WebSiteSlotFtpPublishingCredentialsPolicyResource.GetAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp
  • Operation Id: WebApps_GetFtpAllowedSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotFtpPublishingCredentialsPolicyResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotFtpPublishingCredentialsPolicyResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotFtpPublishingCredentialsPolicyResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotFtpPublishingCredentialsPolicyResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebSiteSlotFtpPublishingCredentialsPolicyResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to