Compartir a través de


HostingEnvironmentRecommendationResource.DisableRecommendationForHostingEnvironment Método

Definición

Descripción para Deshabilita la regla específica para un sitio web de forma permanente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable
  • IdRecommendations_DisableRecommendationForHostingEnvironment de operaciones
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

Nombre del sitio.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

environmentName es null.

Se aplica a