Web Apps - Get Function
Beschrijving voor functie-informatie ophalen op basis van de id voor de website of een implementatiesite.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}?api-version=2024-04-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 |
De 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 foutopsporingsgegevens. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsgegevens. |
Error
Foutmodel.
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
details |
Details[] |
Gedetailleerde fouten. |
innererror |
string |
Meer informatie over foutopsporing. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsgegevens. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsgegevens. |
FunctionEnvelope
Functie-informatie.
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Soort resource. |
name |
string |
Resourcenaam. |
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 |
Resourcetype. |