共用方式為


WebSiteFtpPublishingCredentialsPolicyResource.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}/basicPublishingCredentialsPolicies/ftp
  • Operation Id: WebApps_GetFtpAllowed
  • Default Api Version: 2024-04-01
  • Resource: WebSiteFtpPublishingCredentialsPolicyResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteFtpPublishingCredentialsPolicyResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteFtpPublishingCredentialsPolicyResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteFtpPublishingCredentialsPolicyResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebSiteFtpPublishingCredentialsPolicyResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to