Compartilhar via


HostingEnvironmentRecommendationResource.DisableRecommendationForHostingEnvironment 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 Azure.Response DisableRecommendationForHostingEnvironment (string environmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member DisableRecommendationForHostingEnvironment : string * System.Threading.CancellationToken -> Azure.Response
override this.DisableRecommendationForHostingEnvironment : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DisableRecommendationForHostingEnvironment (environmentName As String, Optional cancellationToken As CancellationToken = Nothing) As 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