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

AppServiceEnvironmentResource.ResetAllFiltersForHostingEnvironmentRecommendationAsync 方法

定义

重置应用的所有建议退出设置的说明。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset
  • 操作IdRecommendations_ResetAllFiltersForHostingEnvironment
public virtual System.Threading.Tasks.Task<Azure.Response> ResetAllFiltersForHostingEnvironmentRecommendationAsync (string environmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member ResetAllFiltersForHostingEnvironmentRecommendationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ResetAllFiltersForHostingEnvironmentRecommendationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ResetAllFiltersForHostingEnvironmentRecommendationAsync (environmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

参数

environmentName
String

应用的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

environmentName 为 null。

适用于