Dela via


SiteRecommendationResource.Disable(CancellationToken) Method

Definition

Description for Disables the specific rule for a web site permanently.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable
  • Operation Id: Recommendations_DisableRecommendationForSite
  • Default Api Version: 2023-12-01
  • Resource: SiteRecommendationResource
public virtual Azure.Response Disable (System.Threading.CancellationToken cancellationToken = default);
abstract member Disable : System.Threading.CancellationToken -> Azure.Response
override this.Disable : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Disable (Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to