共用方式為


SiteRecommendationResource.DisableAsync(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: 2024-04-01
  • Resource: SiteRecommendationResource
public virtual System.Threading.Tasks.Task<Azure.Response> DisableAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member DisableAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DisableAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DisableAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to