共用方式為


AppServiceExtensions.ResetAllRecommendationFiltersAsync Method

Definition

Description for Reset all recommendation opt-out settings for a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/reset
  • Operation Id: Recommendations_ResetAllFilters
  • Default Api Version: 2024-04-01
public static System.Threading.Tasks.Task<Azure.Response> ResetAllRecommendationFiltersAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member ResetAllRecommendationFiltersAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
<Extension()>
Public Function ResetAllRecommendationFiltersAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to