SiteRecommendationResource.DisableAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.