Exemple #1
0
 /// <summary>
 /// Get a recommendation rule for an app.
 /// </summary>
 /// <remarks>
 /// Get a recommendation rule for an app.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group to which the resource belongs.
 /// </param>
 /// <param name='siteName'>
 /// Name of the app.
 /// </param>
 /// <param name='name'>
 /// Name of the recommendation.
 /// </param>
 /// <param name='updateSeen'>
 /// Specify &lt;code&gt;true&lt;/code&gt; to update the last-seen timestamp of
 /// the recommendation object.
 /// </param>
 /// <param name='recommendationId'>
 /// The GUID of the recommedation object if you query an expired one. You don't
 /// need to specify it to query an active entry.
 /// </param>
 public static RecommendationRule GetRuleDetailsByWebApp(this IRecommendationsOperations operations, string resourceGroupName, string siteName, string name, bool?updateSeen = default(bool?), string recommendationId = default(string))
 {
     return(operations.GetRuleDetailsByWebAppAsync(resourceGroupName, siteName, name, updateSeen, recommendationId).GetAwaiter().GetResult());
 }