IRecommendationsOperations.GetRuleDetailsByWebAppWithHttpMessagesAsync(String, String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken) Method

Definition

Get a recommendation rule for an app.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationRuleInner>> GetRuleDetailsByWebAppWithHttpMessagesAsync (string resourceGroupName, string siteName, string name, Nullable<bool> updateSeen = null, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetRuleDetailsByWebAppWithHttpMessagesAsync : string * string * string * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationRuleInner>>

Parameters

resourceGroupName
String

Name of the resource group to which the resource belongs.

siteName
String

Name of the app.

name
String

Name of the recommendation.

updateSeen
Nullable<Boolean>

Specify <code>true</code> to update the last-seen timestamp of the recommendation object.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.AzureOperationResponse<RecommendationRuleInner>>

Exceptions

Microsoft.Rest.Azure.CloudException

Thrown when the operation returned an invalid status code

Microsoft.Rest.SerializationException

Thrown when unable to deserialize the response

Microsoft.Rest.ValidationException

Thrown when a required parameter is null

Remarks

Get a recommendation rule for an app.

Applies to