Compartir a través de


RecommendationsOperationsExtensions.DisableRecommendationForHostingEnvironmentAsync Método

Definición

Deshabilita la regla específica de un sitio web de forma permanente.

public static System.Threading.Tasks.Task DisableRecommendationForHostingEnvironmentAsync (this Microsoft.Azure.Management.WebSites.IRecommendationsOperations operations, string resourceGroupName, string environmentName, string name, string hostingEnvironmentName, System.Threading.CancellationToken cancellationToken = default);
static member DisableRecommendationForHostingEnvironmentAsync : Microsoft.Azure.Management.WebSites.IRecommendationsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DisableRecommendationForHostingEnvironmentAsync (operations As IRecommendationsOperations, resourceGroupName As String, environmentName As String, name As String, hostingEnvironmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parámetros

operations
IRecommendationsOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos al que pertenece el recurso.

environmentName
String

Nombre del sitio

name
String

Nombre de la regla

hostingEnvironmentName
String
cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Comentarios

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

Se aplica a