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

WebSiteResource.UpdateAuthSettings 方法

定义

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

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

参数

siteAuthSettings
SiteAuthSettings

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

siteAuthSettings 为 null。

适用于