Freigeben über


HostingEnvironmentRecommendationResource.DisableRecommendationForHostingEnvironment Methode

Definition

Beschreibung für Deaktiviert die spezifische Regel für eine Website dauerhaft.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable
  • Vorgangs-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

Parameter

environmentName
String

Websitename.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

environmentName ist NULL.

Gilt für: