共用方式為


ScmSiteBasicPublishingCredentialsPolicyResource.GetAsync Method

Definition

Description for Returns whether Scm basic auth is allowed on the site or not.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to