RecommendationsOperationsExtensions.GetRuleDetailsByHostingEnvironmentAsync(IRecommendationsOperations, String, String, String, Nullable<Boolean>, String, CancellationToken) Method

Definition

Get a recommendation rule for an app.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationRuleInner> GetRuleDetailsByHostingEnvironmentAsync (this Microsoft.Azure.Management.AppService.Fluent.IRecommendationsOperations operations, string resourceGroupName, string hostingEnvironmentName, string name, bool? updateSeen = default, string recommendationId = default, System.Threading.CancellationToken cancellationToken = default);
static member GetRuleDetailsByHostingEnvironmentAsync : Microsoft.Azure.Management.AppService.Fluent.IRecommendationsOperations * string * string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationRuleInner>
<Extension()>
Public Function GetRuleDetailsByHostingEnvironmentAsync (operations As IRecommendationsOperations, resourceGroupName As String, hostingEnvironmentName 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 RecommendationRuleInner)

Parameters

operations
IRecommendationsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

hostingEnvironmentName
String

Name of the hosting environment.

name
String

Name of the recommendation.

updateSeen
Nullable<Boolean>

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

Task<RecommendationRuleInner>

Remarks

Description for Get a recommendation rule for an app.

Applies to