Condividi tramite


IRecommendationsOperations.DisableRecommendationForHostingEnvironmentWithHttpMessagesAsync Metodo

Definizione

Disabilita in modo permanente la regola specifica per un sito Web.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DisableRecommendationForHostingEnvironmentWithHttpMessagesAsync (string resourceGroupName, string environmentName, string name, string hostingEnvironmentName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DisableRecommendationForHostingEnvironmentWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function DisableRecommendationForHostingEnvironmentWithHttpMessagesAsync (resourceGroupName As String, environmentName As String, name As String, hostingEnvironmentName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parametri

resourceGroupName
String

Nome del gruppo di risorse a cui appartiene la risorsa.

environmentName
String

Nome sito

name
String

Nome regola

hostingEnvironmentName
String
customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Eccezioni

Generata quando l'operazione ha restituito un codice di stato non valido

Generata quando l'operazione ha restituito un codice di stato non valido

Generata quando un parametro obbligatorio è Null

Commenti

Descrizione per Disabilita la regola specifica per un sito Web in modo permanente.

Si applica a