Web Apps - Get Function
Beschrijving voor Functie-informatie ophalen aan de hand van de id voor de website of een implementatiesleuf.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}?api-version=2025-03-01
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
function
|
path | True |
string |
Functienaam. |
|
name
|
path | True |
string |
Sitenaam. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
Naam van de resourcegroep waartoe de resource behoort. |
|
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000000). |
|
api-version
|
query | True |
string |
API-versie |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
Functie-informatie geretourneerd. |
|
| 404 Not Found |
Functie met de naam {functionName} bestaat niet. |
|
| Other Status Codes |
Foutreactie van App Service. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
| Name | Description |
|---|---|
| user_impersonation | Uw gebruikersaccount imiteren |
Definities
| Name | Description |
|---|---|
|
Default |
Foutreactie van App Service. |
| Details | |
| Error |
Foutmodel. |
|
Function |
Functie informatie. |
DefaultErrorResponse
Foutreactie van App Service.
| Name | Type | Description |
|---|---|---|
| error |
Foutmodel. |
Details
| Name | Type | Description |
|---|---|---|
| code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
| message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
| target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
Error
Foutmodel.
| Name | Type | Description |
|---|---|---|
| code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
| details |
Details[] |
Gedetailleerde fouten. |
| innererror |
string |
Meer informatie om fouten op te sporen. |
| message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
| target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
FunctionEnvelope
Functie informatie.
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource-id. |
| kind |
string |
Soort resource. |
| name |
string |
Naam van de bron. |
| properties.config |
object |
Configuratiegegevens. |
| properties.config_href |
string |
Configuratie-URI. |
| properties.files |
object |
Bestandslijst. |
| properties.function_app_id |
string |
Functie-app-id. |
| properties.href |
string |
Functie-URI. |
| properties.invoke_url_template |
string |
De aanroep-URL |
| properties.isDisabled |
boolean |
Hiermee wordt een waarde opgehaald of ingesteld die aangeeft of de functie is uitgeschakeld |
| properties.language |
string |
De functietaal |
| properties.script_href |
string |
Script-URI. |
| properties.script_root_path_href |
string |
Script root pad URI. |
| properties.secrets_file_href |
string |
Geheimenbestands-URI. |
| properties.test_data |
string |
Testgegevens die worden gebruikt bij het testen via Azure Portal. |
| properties.test_data_href |
string |
Test de gegevens-URI. |
| type |
string |
Type bron |