Compartir a través de


HostingEnvironmentRecommendationResource.DisableRecommendationForHostingEnvironmentAsync 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 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

Nombre del sitio.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

environmentName es null.

Se aplica a