Compartilhar via


HostingEnvironmentRecommendationResource.DisableRecommendationForHostingEnvironmentAsync Método

Definição

Descrição de Desabilita permanentemente a regra específica para um site da Web.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable
  • Operação IdRecommendations_DisableRecommendationForHostingEnvironment
public virtual System.Threading.Tasks.Task<Azure.Response> DisableRecommendationForHostingEnvironmentAsync (string environmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member DisableRecommendationForHostingEnvironmentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DisableRecommendationForHostingEnvironmentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DisableRecommendationForHostingEnvironmentAsync (environmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

environmentName
String

Nome do site.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

environmentName é nulo.

Aplica-se a