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

WebSiteSlotResource.UpdateAuthSettingsV2Slot 方法

定义

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

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

参数

siteAuthSettingsV2
SiteAuthSettingsV2

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

siteAuthSettingsV2 为 null。

适用于