RecommendationsOperationsExtensions.GetRuleDetailsByWebAppAsync(IRecommendationsOperations, String, String, String, Nullable<Boolean>, CancellationToken) Method
Definition
Get a recommendation rule for an app.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationRuleInner> GetRuleDetailsByWebAppAsync (this Microsoft.Azure.Management.AppService.Fluent.IRecommendationsOperations operations, string resourceGroupName, string siteName, string name, Nullable<bool> updateSeen = null, System.Threading.CancellationToken cancellationToken = null);
static member GetRuleDetailsByWebAppAsync : Microsoft.Azure.Management.AppService.Fluent.IRecommendationsOperations * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationRuleInner>
Parameters
- operations
- IRecommendationsOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group to which the resource belongs.
- siteName
- String
Name of the app.
- name
- String
Name of the recommendation.
Specify <code>true</code> to update the last-seen timestamp of the recommendation object.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Get a recommendation rule for an app.