你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebSiteSlotResource.UpdateAuthSettingsSlotAsync 方法

定义

汇报与 Web 应用关联的身份验证/授权设置的说明。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings
  • 操作IdWebApps_UpdateAuthSettingsSlot
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettings>> UpdateAuthSettingsSlotAsync (Azure.ResourceManager.AppService.Models.SiteAuthSettings siteAuthSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAuthSettingsSlotAsync : Azure.ResourceManager.AppService.Models.SiteAuthSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettings>>
override this.UpdateAuthSettingsSlotAsync : Azure.ResourceManager.AppService.Models.SiteAuthSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettings>>
Public Overridable Function UpdateAuthSettingsSlotAsync (siteAuthSettings As SiteAuthSettings, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteAuthSettings))

参数

siteAuthSettings
SiteAuthSettings

与 Web 应用关联的身份验证设置。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

siteAuthSettings 为 null。

适用于