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

WebSiteSlotResource.UpdateAuthSettingsV2SlotAsync 方法

定义

汇报站点通过 V2 格式对应用的身份验证/授权设置的说明

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

参数

siteAuthSettingsV2
SiteAuthSettingsV2

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

siteAuthSettingsV2 为 null。

适用于