Web Apps - Get Function

İşlev bilgilerini web sitesinin kimliğine veya dağıtım yuvasına göre alma açıklaması.

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

URI Parametreleri

Name İçinde Gerekli Tür Description
functionName
path True

string

İşlev adı.

name
path True

string

Site adı.

resourceGroupName
path True

string

Kaynağın ait olduğu kaynak grubunun adı.

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

subscriptionId
path True

string

Azure abonelik kimliğiniz. Bu GUID biçimli bir dizedir (örn. 000000000-0000-0000-0000-000000000000).

api-version
query True

string

API Sürümü

Yanıtlar

Name Tür Description
200 OK

FunctionEnvelope

İşlev bilgileri döndürüldü.

404 Not Found

{functionName} adlı işlev yok.

Other Status Codes

DefaultErrorResponse

hata yanıtı App Service.

Güvenlik

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 kullanıcı hesabınızın kimliğine bürünme

Tanımlar

Name Description
DefaultErrorResponse

hata yanıtı App Service.

Details
Error

Hata modeli.

FunctionEnvelope

İşlev bilgileri.

DefaultErrorResponse

hata yanıtı App Service.

Name Tür Description
error

Error

Hata modeli.

Details

Name Tür Description
code

string

Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize.

message

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

target

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

Error

Hata modeli.

Name Tür Description
code

string

Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize.

details

Details[]

Ayrıntılı hatalar.

innererror

string

Hata ayıklamak için daha fazla bilgi.

message

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

target

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

FunctionEnvelope

İşlev bilgileri.

Name Tür Description
id

string

Kaynak Kimliği.

kind

string

Kaynak türü.

name

string

Kaynak Adı.

properties.config

object

Yapılandırma bilgileri.

properties.config_href

string

Yapılandırma URI'si.

properties.files

object

Dosya listesi.

properties.function_app_id

string

İşlev Uygulaması Kimliği.

properties.href

string

İşlev URI'si.

properties.invoke_url_template

string

Çağırma URL'si

properties.isDisabled

boolean

İşlevin devre dışı bırakılıp bırakılmadığını belirten bir değer alır veya ayarlar

properties.language

string

İşlev dili

properties.script_href

string

Betik URI'si.

properties.script_root_path_href

string

Betik kök yolu URI'si.

properties.secrets_file_href

string

Gizli dizi dosyası URI'sı.

properties.test_data

string

Azure Portal aracılığıyla test ederken kullanılan test verileri.

properties.test_data_href

string

Veri URI'lerini test edin.

type

string

Kaynak türü.