Recommendations - Disable Recommendation For Site

Popis pro Zakáže specifické pravidlo pro web trvale.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable?api-version=2026-03-15

Parametry identifikátoru URI

Name V Vyžadováno Typ Description
name
path True

string

Název doporučení

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Název skupiny prostředků. Název nerozlišuje malá a velká písmena.

siteName
path True

string

Název aplikace.

subscriptionId
path True

string (uuid)

ID cílového předplatného. Hodnota musí být UUID.

api-version
query True

string

minLength: 1

Verze rozhraní API, která se má použít pro tuto operaci.

Odpovědi

Name Typ Description
200 OK

Operace Azure byla úspěšně dokončena.

Other Status Codes

DefaultErrorResponse

Neočekávaná chybová odpověď

Zabezpečení

azure_auth

Azure Active Directory OAuth2 Flow.

Typ: oauth2
Tok: implicit
URL autorizace: https://login.microsoftonline.com/common/oauth2/authorize

Rozsahy

Name Description
user_impersonation zosobnění uživatelského účtu

Definice

Name Description
DefaultErrorResponse

Odpověď na chybu služby App Service

DefaultErrorResponseError

Chybový model

DefaultErrorResponseErrorDetailsItem

Podrobné chyby.

DefaultErrorResponse

Odpověď na chybu služby App Service

Name Typ Description
error

DefaultErrorResponseError

Chybový model

DefaultErrorResponseError

Chybový model

Name Typ Description
code

string

Standardizovaný řetězec pro programovou identifikaci chyby.

details

DefaultErrorResponseErrorDetailsItem[]

Podrobné chyby.

innererror

string

Další informace k chybě ladění.

message

string

Podrobný popis chyby a informace o ladění.

target

string

Podrobný popis chyby a informace o ladění.

DefaultErrorResponseErrorDetailsItem

Podrobné chyby.

Name Typ Description
code

string

Standardizovaný řetězec pro programovou identifikaci chyby.

message

string

Podrobný popis chyby a informace o ladění.

target

string

Podrobný popis chyby a informace o ladění.