Web Apps - Get Function
Leírás a Függvényinformációk lekérése a webhely azonosítója vagy egy üzembe helyezési pont alapján.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}?api-version=2025-03-01
URI-paraméterek
| Name | In | Kötelező | Típus | Description |
|---|---|---|---|---|
|
function
|
path | True |
string |
Függvény neve. |
|
name
|
path | True |
string |
Webhely neve. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
Annak az erőforráscsoportnak a neve, amelyhez az erőforrás tartozik. |
|
subscription
|
path | True |
string |
Az Ön Azure előfizetési azonosítója. Ez egy GUID formátumú sztring (például 000000000-0000-0000-0000-0000000000). |
|
api-version
|
query | True |
string |
API-verzió |
Válaszok
| Name | Típus | Description |
|---|---|---|
| 200 OK |
A függvény adatai visszaadva. |
|
| 404 Not Found |
A {functionName} nevű függvény nem létezik. |
|
| Other Status Codes |
App Service-hibaválasz. |
Biztonság
azure_auth
Azure Active Directory OAuth2-folyamat
Típus:
oauth2
Folyamat:
implicit
Engedélyezési URL:
https://login.microsoftonline.com/common/oauth2/authorize
Hatókörök
| Name | Description |
|---|---|
| user_impersonation | Megszemélyesíti a felhasználói fiókját |
Definíciók
| Name | Description |
|---|---|
|
Default |
App Service-hibaválasz. |
| Details | |
| Error |
Hibamodell. |
|
Function |
Funkció információk. |
DefaultErrorResponse
App Service-hibaválasz.
| Name | Típus | Description |
|---|---|---|
| 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 hiba hibakeresésérő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. |
FunctionEnvelope
Funkció információk.
| 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.config |
object |
Konfigurációs információk. |
| properties.config_href |
string |
Konfigurációs URI. |
| properties.files |
object |
Fájllista. |
| properties.function_app_id |
string |
Függvényalkalmazás azonosítója. |
| properties.href |
string |
Függvény URI-ja. |
| properties.invoke_url_template |
string |
A meghívás URL-címe |
| properties.isDisabled |
boolean |
Lekéri vagy beállít egy értéket, amely jelzi, hogy a függvény le van-e tiltva |
| properties.language |
string |
A függvény nyelve |
| properties.script_href |
string |
Szkript URI. |
| properties.script_root_path_href |
string |
Szkript gyökérútvonalának URI-ja. |
| properties.secrets_file_href |
string |
Titkos kódok fájl URI-ja. |
| properties.test_data |
string |
Tesztelje az Azure Portalon történő tesztelés során használt adatokat. |
| properties.test_data_href |
string |
Adat URI tesztelése. |
| type |
string |
Erőforrás típusa. |