Share via


Web Apps - Get Site Php Error Log Flag Slot

A webalkalmazás eseménynaplóinak lekérése leírás.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging?api-version=2023-12-01

URI-paraméterek

Name In Kötelező Típus Description
name
path True

string

A webalkalmazás neve.

resourceGroupName
path True

string

Annak az erőforráscsoportnak a neve, amelyhez az erőforrás tartozik.

Regex pattern: ^[-\w\._\(\)]+[^\.]$

slot
path True

string

A webalkalmazás-tárolóhely neve. Ha nincs megadva, akkor alapértelmezés szerint az éles pont lesz.

subscriptionId
path True

string

Az Azure-előfizetés azonosítója. Ez egy GUID formátumú sztring (például 000000000-0000-0000-0000-000000000000000).

api-version
query True

string

API-verzió

Válaszok

Name Típus Description
200 OK

SitePhpErrorLogFlag

OK

Other Status Codes

DefaultErrorResponse

App Service hibaválasz.

Biztonság

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation felhasználói fiók megszemélyesítése

Definíciók

Name Description
DefaultErrorResponse

App Service hibaválasz.

Details
Error

Hibamodell.

SitePhpErrorLogFlag

PHP-hibanaplózási jelző lekéréséhez használatos.

DefaultErrorResponse

App Service hibaválasz.

Name Típus Description
error

Error

Hibamodell.

Details

Name Típus Description
code

string

Szabványosított sztring a hiba programozott azonosításához.

message

string

Részletes hibaleírás és hibakeresési információk.

target

string

Részletes hibaleírás és hibakeresési információk.

Error

Hibamodell.

Name Típus Description
code

string

Szabványosított sztring a hiba programozott azonosításához.

details

Details[]

Részletes hibák.

innererror

string

További információ a hibakeresésről.

message

string

Részletes hibaleírás és hibakeresési információk.

target

string

Részletes hibaleírás és hibakeresési információk.

SitePhpErrorLogFlag

PHP-hibanaplózási jelző lekéréséhez használatos.

Name Típus Description
id

string

Erőforrás-azonosító.

kind

string

Erőforrás típusa.

name

string

Erőforrás neve.

properties.localLogErrors

string

Helyi log_errors beállítás.

properties.localLogErrorsMaxLength

string

Helyi log_errors_max_len beállítás.

properties.masterLogErrors

string

Master log_errors beállítás.

properties.masterLogErrorsMaxLength

string

Master log_errors_max_len beállítás.

type

string

Erőforrástípus.