RecommendationsOperationsExtensions.GetRuleDetailsByWebAppAsync 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.
Get a recommendation rule for an app.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RecommendationRule> GetRuleDetailsByWebAppAsync (this Microsoft.Azure.Management.WebSites.IRecommendationsOperations operations, string resourceGroupName, string siteName, string name, bool? updateSeen = default, string recommendationId = default, System.Threading.CancellationToken cancellationToken = default);
static member GetRuleDetailsByWebAppAsync : Microsoft.Azure.Management.WebSites.IRecommendationsOperations * string * string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RecommendationRule>
<Extension()>
Public Function GetRuleDetailsByWebAppAsync (operations As IRecommendationsOperations, resourceGroupName As String, siteName As String, name As String, Optional updateSeen As Nullable(Of Boolean) = Nothing, Optional recommendationId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RecommendationRule)
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.
- recommendationId
- String
The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Description for Get a recommendation rule for an app.
Applies to
Azure SDK for .NET