Partager via


HostingEnvironmentRecommendationResource.DisableRecommendationForHostingEnvironmentAsync Méthode

Définition

Description pour Désactive définitivement la règle spécifique pour un site web.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable
  • IdRecommendations_DisableRecommendationForHostingEnvironment d’opération
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)

Paramètres

environmentName
String

Nom du site.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

environmentName a la valeur null.

S’applique à